/*-----------------------------------------------------------------------------------*/
/*	1.	TABLET LANDSCAPE
/*-----------------------------------------------------------------------------------*/

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) { 

/* Header */

#dynamic.show {
	display:block;
}

#header .socials {
	float:right;
	display:inline-block;
}

/* Columns */

.gallery-block div.gallery-div {
	height:400px;
}

.gallery-block a div {
	width:40%;
}

.gallery-block a:last-child:nth-child(odd) div {
	width:100%;
}

.gallery-block a:nth-child(1) div, .gallery-block a:nth-child(4) div, .gallery-block a:nth-child(5) div, .gallery-block a:nth-child(8) div, .gallery-block a:nth-child(9) div, .gallery-block a:nth-child(12) div, .gallery-block a:nth-child(13) div, .gallery-block a:nth-child(14) div, .gallery-block a:nth-child(17) div, .gallery-block a:nth-child(18) div, .gallery-block a:nth-child(21) div, .gallery-block a:nth-child(22) div, .gallery-block a:nth-child(25) div {
	width:60%;
}

body .one-half {
	width: 47%;
}

body .one-third {
	width: 29.33%;
}

body .two-third {
	width: 64.67%;
}

body .one-fourth {
	width: 20%;
}

body .three-fourth {
	width: 74%;
}

body .one-fifth {
	width: 16.8%;
}

body .two-fifth {
	width: 37.6%;
}

body .three-fifth {
	width: 58.4%;
}

body .four-fifth {
	width: 67.2%;
}

body .one-sixth {
	width: 13.33%;
}

body .five-sixth {
	width: 82.67%;
}

body .one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth,.three-fifth, .four-fifth, .one-sixth, .five-sixth {
	position: relative;
	margin-right: 6%;
	margin-bottom: 0px !important;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body .righty, body .righty img {
	float: right;
}

body .lefty, body .lefty img {
	float: left;
}

body #content-wrapper .no-bottom {
	padding-bottom:0px !important;
}

.footer-bottom .copyright .logo {
	float:left;
}

body #footer .menu-footer {
	float:right;
}

}

/*-----------------------------------------------------------------------------------*/
/*	2.	TABLET PORTRAIT
/*-----------------------------------------------------------------------------------*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	
.logo {
	width:100%;
	text-align:center;
}

.navigation {
	display:none;
}

.mobile-menu-block {
	display:block;
}

.header-nav .mobile-open {
	display:none;
}

.floating-menu {
	top:0;
	right:0;
}

#header .socials {
	float:none;
	padding:0px;
	width:100%;
	display:block;
	text-align:center;
}

#header ul.socials li a {
	padding:0px 10px;
}

/* Columns */

li.single-member, .member-row li:first-child:nth-last-child(2), .member-row li:first-child:nth-last-child(2) ~ li, .member-row li:first-child:nth-last-child(3), .member-row li:first-child:nth-last-child(3) ~ li {
	width:50%;
}

.gallery-block div.gallery-div {
	height:400px;
}

.gallery-block a div {
	width:40%;
}

.gallery-block a:last-child:nth-child(odd) div {
	width:100%;
}

.gallery-block a:nth-child(1) div, .gallery-block a:nth-child(4) div, .gallery-block a:nth-child(5) div, .gallery-block a:nth-child(8) div, .gallery-block a:nth-child(9) div, .gallery-block a:nth-child(12) div, .gallery-block a:nth-child(13) div, .gallery-block a:nth-child(14) div, .gallery-block a:nth-child(17) div, .gallery-block a:nth-child(18) div, .gallery-block a:nth-child(21) div, .gallery-block a:nth-child(22) div, .gallery-block a:nth-child(25) div {
	width:60%;
}

.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth,.three-fifth, .four-fifth, .one-sixth, .five-sixth {
	width:100%;
	margin-bottom:30px;
}

body .feature-left .one-half, body .feature-right .one-half {
	width:100%;
	margin-bottom:0px;
}

}

/*-----------------------------------------------------------------------------------*/
/*	3.	MOBILE PHONE LANDSCAPE
/*-----------------------------------------------------------------------------------*/

@media only screen and (min-width: 480px) and (max-width: 767px) {

.header-nav .mobile-open {
	display:none;
}

.navigation {
	display:none;
}

.mobile-menu-block {
	display:block;
}

.logo {
	width:100%;
	text-align:center;
}

#slide-sidebar {
	width:100%;
}

.floating-menu {
	top:0;
	right:0;
}

#header .socials {
	float:none;
	padding:0px;
	width:100%;
	display:block;
	text-align:center;
}

#header ul.socials li a {
	padding:0px 10px;
}

/* Columns */

li.single-member, .member-row li:first-child:nth-last-child(2), .member-row li:first-child:nth-last-child(2) ~ li, .member-row li:first-child:nth-last-child(3), .member-row li:first-child:nth-last-child(3) ~ li {
	width:100%;
}

.gallery-block div.gallery-div {
	height:250px;
}

.gallery-block a div {
	width:100%;
}

.gallery-block a:nth-child(1) div, .gallery-block a:nth-child(4) div, .gallery-block a:nth-child(5) div, .gallery-block a:nth-child(8) div, .gallery-block a:nth-child(9) div, .gallery-block a:nth-child(12) div, .gallery-block a:nth-child(13) div, .gallery-block a:nth-child(14) div, .gallery-block a:nth-child(17) div, .gallery-block a:nth-child(18) div, .gallery-block a:nth-child(21) div, .gallery-block a:nth-child(22) div, .gallery-block a:nth-child(25) div {
	width:100%;
}

.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth,.three-fifth, .four-fifth, .one-sixth, .five-sixth {
	width:100%;
	margin-bottom:30px;
}

body .feature-left .one-half, body .feature-right .one-half {
	width:100%;
	margin-bottom:0px;
}

}

/*-----------------------------------------------------------------------------------*/
/*	4.	TABLET & MOBILE PHONES GENERAL
/*-----------------------------------------------------------------------------------*/

@media only screen and (max-width:755px) {

.logo {
	width:100%;
	text-align:center;
}

.navigation {
	display:none;
}

.mobile-menu-block {
	display:block;
}

.header-nav .mobile-open {
	display:none;
}

#slide-sidebar {
	width:100%;
}

.floating-menu {
	top:0;
	right:0;
}

#header .socials {
	float:none;
	padding:0px;
	width:100%;
	display:block;
	text-align:center;
}

#header ul.socials li a {
	padding:0px 10px;
}

/* Columns */

li.single-member, .member-row li:first-child:nth-last-child(2), .member-row li:first-child:nth-last-child(2) ~ li, .member-row li:first-child:nth-last-child(3), .member-row li:first-child:nth-last-child(3) ~ li {
	width:100%;
}

.gallery-block div.gallery-div {
	height:250px;
}

.gallery-block a div {
	width:100%;
}

.gallery-block a:nth-child(1) div, .gallery-block a:nth-child(4) div, .gallery-block a:nth-child(5) div, .gallery-block a:nth-child(8) div, .gallery-block a:nth-child(9) div, .gallery-block a:nth-child(12) div, .gallery-block a:nth-child(13) div, .gallery-block a:nth-child(14) div, .gallery-block a:nth-child(17) div, .gallery-block a:nth-child(18) div, .gallery-block a:nth-child(21) div, .gallery-block a:nth-child(22) div, .gallery-block a:nth-child(25) div {
	width:100%;
}

.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth,.three-fifth, .four-fifth, .one-sixth, .five-sixth {
	width:100%;
	margin-bottom:30px;
}

body .feature-left .one-half, body .feature-right .one-half {
	width:100%;
	margin-bottom:0px;
}

}