@media only screen and (min-width: 1900px) {
	.ad-gallery .ad-image-wrapper {
		height:800px;
	}
}


@media only screen and (max-width: 1950px) {
	.ad-gallery .ad-image-wrapper {
		height:700px;
	}
}


@media only screen and (max-width: 1470px) {
	#contacto, #vision, #exposiciones { height:500px}
	
	#scrollbar .viewport {  height: 430px; }
	
	#scrollbar1 .viewport { min-height: 430px }

	.ad-gallery .ad-nav {width: 1300px; margin-left: -650px;left: 50%}
}

@media only screen and (max-height: 920px) {
	#contacto, #vision, #exposiciones { height:500px}
	
	#scrollbar .viewport {  height: 430px; padding-bottom:20px }
	
	#scrollbar1 .viewport { min-height: 430px }

	.te_content img{ height: 730px !important}
}


@media only screen and (max-height: 945px) {
	.ad-gallery .ad-image-wrapper {
		height:600px;
	}
	.te_content img{ height: 730px !important}
}

@media only screen and (max-height: 820px) {
	.ad-gallery .ad-image-wrapper {
		height:400px;
	}

	.te_content img{ height: 450px !important}
}


@media only screen and (max-width: 1300px) and (orientation: landscape)  {
	.ad-gallery .ad-image-wrapper {
		height:520px;
	}
	
	.ad-gallery .ad-nav {width: 1000px; margin-left: -500px;left: 50%}
	
	#contacto, #vision, #exposiciones { height:400px}
	
	#scrollbar .viewport {  height: 330px; }
	
	#scrollbar1 .viewport { min-height: 330px }
	
	.ps_container{
	margin:70px auto 0px auto;
	}
}


@media only screen and (max-width: 1024px) and (orientation: landscape) {
	.ad-gallery .ad-image-wrapper {
		height:405px;
	}
	
	.ad-gallery .ad-nav {width: 800px; margin-left: -400px;left: 50%}

	ul#menu ul {
		width:130px
	}
	ul#menu ul li { width:130px}
	
	ul#menu ul li li { width:auto; background:#fff}
	
	ul#menu ul li:hover { background:#F61C2E}
	
	ul#menu ul li a:hover { background:none}
	
	ul#menu ul ul { left:131px}
	
	ul#menu li:nth-child(5) { margin-left:10px}
	
	#address { top:35px}
	
	.bt_register, .bt_register_en { margin-top:0}
	
	
	#vision, #exposiciones { height:350px}
	
	#scrollbar .viewport {  height: 280px; }
	
	#scrollbar1 .viewport { min-height: 280px }
	
	
	
	input[type="text"]:nth-of-type(3) { margin-bottom:4px}
	
	textarea { line-height:25px}
	
}

@media only screen and (max-height: 580x) and (orientation: landscape){
	.ad-gallery .ad-image-wrapper {
		height:405px;
	}
	
	#vision, #exposiciones { height:350px}
	
	#scrollbar .viewport {  height: 280px; }
	
	#scrollbar1 .viewport { min-height: 280px }

	.te_content img{ height: 400px !important;}
	
}



@media only screen and (orientation:portrait) and (max-width: 1024px) {
	
	
	#vision, #exposiciones { height:700px}
	
	.ad-gallery .ad-image-wrapper {
		height:405px;
	}
	
	ul#menu ul {
		width:135px; 
	}
	
	ul#menu li a#gal2, ul#menu li a#gal1 { width:128px }
	
	ul#menu ul ul { left:141px}
	
	textarea { line-height:25px;}
	
	input[type="text"]:nth-of-type(3) { margin-bottom:4px}
	
	.ad-gallery .ad-nav {width: 800px; margin-left: -400px;left: 50%}
}
