/**
 * Mobile media queries for parallax sections
 */


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

	.fancybox-outer .column img {
		margin: 0px;
		margin-bottom: 70px;
		width: 50%;
		height: 50%;
	}
}

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


}

/* IPAD Portrait */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { 

	.parallax{
		background-size:130% auto !important;
		-webkit-background-size:130% auto !important;
		background-attachment:scroll !important;
	}

	/*PARALLAX HEADER CSS*/

	section#header-option{
		-webkit-background-size:250% auto !important;
	}

	/*Video Header Cover Image*/
	div#tubular-cover-image{
		-webkit-background-size:250% auto !important;
	}
	.first-one .contwrapper {
	padding-top: 550px;
	}
	#the-nest .nest-icon {
	float: left;
	
	}

}

/* IPAD Landscape */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	
	.parallax{
		background-size:100% auto !important;
		-webkit-background-size:100% auto !important;
		background-attachment:scroll !important;
	}

	/*PARALLAX HEADER CSS*/

	section#header-option{
		-webkit-background-size:160% auto !important;
	}

	/*Video Header Cover Image*/
	div#tubular-cover-image{
		-webkit-background-size:160% auto !important;
	}
	#the-nest .nest-icon {
	float: left;
	
	}
	.nzs-mobile-menu nav.mainMenu_m {
	position: absolute;
	top: 100%;
	display: none;
	background-color: #FFF;
	margin-top: 0;
	width: 100%;
	padding: 0px;
	margin-right: 0px;
	}
	
	
	#shapes .home, .works, .cap, .thenext, .brands, .team2 {
	/*margin-bottom: 400px;*/
	-webkit-font-smoothing: antialiased;	
	}
	#shapes .works, .cap, .thenext, .brands, .team2 {
	-webkit-transform: none;
	padding-bottom: 300px;	
	}
	#shapes img, .contwrapper img.size-full {
		display: none;
	}
	
	/*#second-section .contwrapper {
	padding-top: 450px;
	padding-bottom: 0px;
	}*/
	
	#second-section {
	margin-top: 0px;
	}
	#second-section .contwrapper {
			padding-top: 100px;
			padding-bottom: 0px;
		}
	#second-section h1 {
	}
	#ca.cap.shape {
	margin-bottom: 0px;
	}
	#capabilities {
	/*margin-top: 200px;*/
	}

	#capabilities h1 {
	/*	text-align: center;*/
	}
	#capabilities .contwrapper {
	padding-top: 100px;
	}
	#capabilities .contwrapper .one-third {
	width: 100% !important;
	}
	.one-third p {
	text-align: center !important;
	}

	#the-nest {
	margin-top: 0px;
	}

	#the-nest .contwrapper {
	padding-top: 100px;
	padding-bottom: 0px;
	}
	#the-nest h2 {
	margin-bottom: 55px;
	}

/*	#the-nest .nest-icon {
		float: none;
		margin: 0 auto;
	}*/
	 #contact .nest-icon {
		 margin-bottom: 20px;
		 display: block;
		 float: none;
		 margin: 0 auto;
		 margin-top: 30px;
	 
	 }

	 #contact {
	
	 background: #141414;
	 	margin-bottom:0px;
	
	 }
	 #contact .contwrapper {
	 	padding-top: 100px;
	 }

	 #bottom-animation {
	 z-index: 98 !important;
	 background: #FFF;
	 margin-top: 0px;
	 }


	#brands-weve-worked-with {
	margin-top: 0px;
	}
	#brands-weve-worked-with .contwrapper {
	padding-top: 200px;
	}
	#brands-weve-worked-with img.size-full{
		display: block !important;
	}
	
	

}

/* Iphone Portrait */

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) { 
	.parallax{
		background-size:320% auto !important;
		-webkit-background-size:320% auto !important;
		background-attachment:scroll !important;
	}

	/*PARALLAX HEADER CSS*/

	section#header-option{
		-webkit-background-size:210% auto;
	}

	/*Video Header Cover Image*/
	div#tubular-cover-image{
		-webkit-background-size:160% auto;
	}
	
	.f_info-icon {
		display: none;
	}
}

/* Iphone Lanscape */

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { 
	
	.parallax{
		background-size:210% auto !important;
		-webkit-background-size:210% auto !important;
		background-attachment:scroll !important;
	}
	.f_info-icon {
		display: none;
	}

	/*PARALLAX HEADER CSS*/

	section#header-option{
		-webkit-background-size:160% auto;
	}

	/*Video Header Cover Image*/
	div#tubular-cover-image{
		-webkit-background-size:160% auto;
	}
}