/*==================================== MEDIAQUERIS ====================================*/

/* ===================== Versión LAPTOP 1440 px ===================== */

@media all and (max-width: 1440px){

/* ----------------- Corrección Menú NAV ----------------- */

header{ height:12.8em;/*205px*/}
nav{max-width: 952px;}
#menu {
	display: table;
	width:100%;
	margin:0;
	padding: 0;
	overflow:hidden;
	background:url();
}
#menu > li {
    float: none; 
	display:table-cell;
	width: 14%;
	padding: 0;
	list-style-type:none;
	background:url();
	/*background:url(../images/menu_line.png) right 0 no-repeat*/
}
#menu > li > a{ 
	width:auto;
	display: block;
	padding:0;
	margin:0;
	border-right: 1px solid black;
	border-left: 1px solid black;
	font-size:1.3em; 
	color:#eef3f6; 
	text-decoration:none; 
	text-align:center; 
	height:auto; 
	line-height:2.9em; 
	letter-spacing:-1px;
}
#menu > li > a:hover, #menu > .active > a{
	background:url();
	background-color: #fff; 
	/*background:url(../images/menu_active2.gif) top repeat-x;*/ 
	/*color:#000;*/
}
.cabecera {
	overflow:hidden;
}
#logo{
	width:263px;
	height:75px;
	background-image: url(../images/logocortijo_laptop.png);
}
.boxsuperior{
	display: inline-block;
	width: auto;
	float: right;
	margin:1em 1em 0 0em;
}
.traductor {
    float: right;
    margin-right: 0.75em;
}

}/* Fin 1440px */
/* ===================== Versión Ultrabook_Tablet 1366 px ===================== */

@media all and (max-width: 1366px){

.traductor {
    height: 30px;
    width: 30px;
    float: right;
    margin-right: 0.5em;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
}/* Fin 1366px */

/* ===================== Versión Ultrabook_Tablet 1280 px ===================== */

@media all and (max-width: 1280px){

}/* Fin 1280px */

/* ===================== Versión Tablet 1024 px ===================== */

@media all and (max-width: 1024px){

body {background-size: cover;}

.box {
    padding: 20px 46px 50px 46px;
}
.boxindex {
	margin: 0;
}
.traductor {
    box-sizing: border-box;
    z-index: 1001;
    margin-right: 0.5em;
   	margin-top: 1em;
    overflow: hidden;
    float: right;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
.main {	margin: 0 auto;	width: 850px; }/*ancho de las paginas*/
#redes2 {display: none;}
.redes3 {
    display: block;
    width:100%;
    height: auto;
    text-align: right;
    background-color: black;
    padding: 1em 0 1em 0;
 }
 .redes3 a img{
 	margin-right: 1em;
 }
/* Con esto hago que el video de Youtube sea responsive */
.video {
	height:425px;
    width:100%;
    max-width:755px;
    margin-top: 50px;/*65px*/
    position:relative;
}
iframe {
	position:relative;
    height:100%;
    width:100%;
    top:0px;
    left:0px;
}
/*--*/
/* Esta es una solución para controlar la ventana del slide ya que no puedo hacerla que se adapte en ancho */
.marco-slide {
	display: block;
	width: 850px;
	overflow: hidden;
	height: auto;
	border: 1px solid #fff;
}
/*--*/
/* Esto controla el tamaño de las imágenes en el slide de la home */
#featured {
	border: 0px;
}
/*--*/
/* Cajas de info en la home */
.inf1 {
	height: 100px;
	width: 320px;
	float: left;
	background-image: url(../images/bg_content2.png);
	background-repeat: repeat;
	padding: 20px;
}
.inf2 {
	height: 100px;
	width: 320px;
	float: right;
	background-image: url(../images/bg_content2.png);
	background-repeat: repeat;
	padding: 20px;
}
#mapa {
	height: 25em;
}
/*--*/
/*  contenido entorno  */
.imgpag > img{
	width: 100%;
	height: auto;
}
/*--*/
/*  contenido habitaciones  */
#galery img {
    width: 45%;
    height: auto;
}
/*--*/
/*  contenido actividades  */
.activtexto {
    width: 400px;
}
.activ > div#clear{
    padding-bottom: 60px;
}
}/* Fin 1024px */

/* ===================== Versión Tablet/Mobile 768 px ===================== */

@media all and (max-width: 768px){

body {
	background-size: cover;
	min-width: 100%;
	line-height: 24px;
}
p {
	text-align: left;
}
/*.boxsuperior{
	display: none;
	width: 0px;
	height: 0px;
	margin:0px;
}*/
.traductor {
    height: 30px;
    width: 30px;
    float: right;
    margin-right: 0.2em;
    margin-top: 1em;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
.main {
    margin: 0 auto;
    width: 85%;
}
#redes2 {display: none;}
.redes3 {
    display: block;
    width:100%;
    height: auto;
    text-align: right;
    background-color: black;
    padding: 1em 0 1em 0;
 }
 .redes3 a img{
 	margin-right: 1em;
 }
/*--*/
/* Con esto hago que el video de Youtube sea responsive */
.video {
	height:425px;
    width:100%;
    max-width:100%;
    margin-top: 50px;/*65px*/
    position:relative;
}
iframe {
	position:relative;
    height:100%;
    width:100%;
    top:0px;
    left:0px;
}
/*--*/
/* Esta es una solución para controlar la ventana del slide ya que no puedo hacerla que se adapte en ancho */
.marco-slide {
	display: block;
	width: 100%;
	overflow: hidden;
	height: auto;
	border: 1px solid #fff;
}
/*--*/
/* Esto controla el tamaño de las imágenes en el slide de la home */
#featured {
	border: 0px;
}
/*--*/
/* Cajas de info en la home */
aside {
	padding: 0px;
}
.inf1 {
	width: 260px;
}
.inf2 {
	width: 260px;
}
#mapa {
	height: 20em;
}
/*--*/
/*  Menú ppal NAV  */
#menu > li {
    width: 10%;
}
#menu > li > a {
    font-size: 1.1em;
    line-height: 2.9em;
    letter-spacing: -1px;
}
.bg1 {
    background-size: 18%;
}
.cabecera > h1 > a{
	position: relative;
	display: block;
	text-align: center;
}
/*--*/
/* Centrado de logotipo ppal*/
h1 {
	padding: 0;
}
div.cabecera > h1 {
    width: 100%;
    padding-top: 2.2em;
}
#logo {
    width: 100%;
    background-position: center;
}
/*--*/
/* Cajas de info actividades */
.activtexto {
	clear: both;
	float: none;
    width: 100%;
}
.activ > div#clear {
    padding-bottom: 2.8em;
}
#page5 #content {
    padding-bottom: 1.5em; 
}
#textotarifa > p{
	text-align: left;
}
/*--*/
/* Form reservas */
#ContactForm .input {
    width: 100%;
    height: auto;
    margin: 0.3em 0;
}
#ContactForm .textarea_box {
	width: 100%;
	margin-top: 0.2em;
}
/*--*/
}/* Fin 768px */

/* ===================== Versión Mobile 640 px ===================== */

@media all and (max-width: 640px){

body {
	background-size: cover;
	min-width: 100%;
	line-height: 22px;
}
.box {
    padding: 20px 46px 30px 46px;
}
.traductor {
    box-sizing: border-box;
    position: absolute;
    z-index: 900;
    height: 30px;
    width: 30px;
   	float: right;
    margin-top: -3em;
	margin-left: 1em;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
/*.boxsuperior{
	display: none;
	width: 0px;
	height: 0px;
	margin:0px;
}*/
.main {
    margin: 0 auto;
    width: 85%;
}
/*--*/
/*  Menú ppal NAV  */
#menu > li {
    width: 10%;
}
#menu > li > a {
    font-size: 1.1em;
    line-height: 2.9em;
    letter-spacing: -1px;
}
.bg1 {
    background-size: 22%;
}
#redes2 {display: none;}
.redes3 {
    display: block;
    width:100%;
    height: auto;
    text-align: right;
    background-color: black;
    padding: 3em 0 1em 0;
 }
 .redes3 a img{
 	margin-right: 1em;
 }
/*--*/
/* Esta es una solución para quitar el slide y meter una imagen fija */
div.marco-slide {
	display: none;
}
article#content > span:after{
	content: url("../images/home_mobile.jpg");
	display: block;
	width: 100%;
	height: 232px;
	overflow: hidden;
	border: 1px solid #fff;
}
/*--*/
/* Cajas de info en la home */
aside {
	position: relative;
	display: block;
	width: 100%;
    height: 21em;
    padding: 0;
    margin-top: 3em;
    overflow: hidden;
}
aside ul{
	margin-left: 0px;
	clear: both;
}
.inf1 {
    width: 100%;
    position: absolute;
    padding-left: 2em;
}
.inf2 {
	width: 100%;
    position: absolute;
    padding-left: 2em;
    margin-top: 10em;
}
div.inf1 > ul{
	font-size: 1.1em;
}
div.inf2 > ul{
	font-size: 1.1em;
}
div.boxTripadvisor > h3{
	font-size: 1.5em;
}
#mapa {
	height: 20em;
}
/*--*/
/* Habitaciones */
#galery img {
    width: 90%;
}
/*--*/
}/* Fin 640px */

/* ===================== Versión Mobile 480 px ===================== */

@media all and (max-width: 480px){

body {
	background-size: cover;
	min-width: 100%;
	line-height: 22px;
}
.box {
    padding: 20px 46px 30px 46px;
}
.traductor {
    -webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
    position: absolute;
    z-index: 900;
    height: 30px;
    width: 30px;
    float: right;
   	margin-top: -3em;
	margin-left: 1em;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
/*.boxsuperior{
	display: none;
	width: 0px;
	height: 0px;
	margin:0px;
}*/
.main {
    margin: 0 auto;
    width: 93%;
}
#redes2 {display: none;}
.redes3 {
    display: block;
    width:100%;
    height: auto;
    text-align: right;
    background-color: black;
    padding: 3em 0 1em 0;
 }
 .redes3 a img{
 	margin-right: 1em;
 }
/*--*/
/*  Posición del logo ppal  */
div.cabecera > h1 {
    width: 100%;
    padding-top: 6em;
}
/*--*/
/*  Menú ppal NAV  */
nav {
	display: block;
	z-index: 1000; 
	position:fixed;
	width: 100%;
	top:-530px;
	left:0;
}
ul#menu{
	background-color: black; 
}
/* Hago que aparezca en btn que desplegará el menú*/
.menu_bar {
	display: block;
	width:100%;
	padding: 0.6em 0 0 0.6em;
	position: relative;
	top:0;
	left: 0;
	background-color:black;
	opacity: 0.8;
}
.menu_bar .bt-menu {
	display:block;
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
		    box-sizing:border-box;
}
.menu_bar img{
	width: 40px;
	padding:0.5em 0 0.5em 0.8em;
}
#menu > li {
    width: 100%;
    display:block;
    font-size: 1.3em;
}
#menu > li > a {
    font-size: 1.1em;
    line-height: 2.9em;
    letter-spacing: -1px;
}
/*--*/
/* Esta es una solución para quitar el slide y meter una imagen fija */
div.marco-slide {
	display: none;
}
article#content > span:after{
	content: url("../images/home_mobile.jpg");
	display: block;
	width: 100%;
	height: 232px;
	overflow: hidden;
	border: 1px solid #fff;
}
/*--*/
/* Cajas de info en la home */
aside {
	position: relative;
	display: block;
	width: 100%;
    height: 21em;
    padding: 0;
    margin-top: 1.3em;
    overflow: hidden;
}
aside ul{
	margin-left: 0px;
	clear: both;
}
.inf1 {
    width: 100%;
    position: absolute;
    padding-left: 2em;
}
.inf2 {
	width: 100%;
    position: absolute;
    padding-left: 2em;
    margin-top: 10em;
}
div.inf1 > ul{
	font-size: 1.1em;
}
div.inf2 > ul{
	font-size: 1.1em;
}
div.boxTripadvisor > h3{
	font-size: 1.5em;
}
#mapa {
	height: 20em;
}
/*--*/
/* Esto centra los titulares de las secciones */
.titulo {
    text-align: center;
}
/*--*/
/* Esto reduce el texto del footer */
#copy {
	width: 85%;
	padding: 2em 2em 0.5em 2em;	
}
.textocortijo {
    margin-top: 1.2em;
}
/*--*/
/* Habitaciones */
#galery img {
    width: 96%;
    margin: 0 auto;
    margin-top: 2em;
}
/*--*/
/* Entorno */
.imgpag {
    padding-top: 40px;
}
/*--*/
/* Actividades */
.activ {
    padding-top: 2em;
}
.imgactiv {
    width: 100%;
    height: 273px;
    text-align: center;
}
.imgactiv img{
    width: 335px;
    height: 254px;
}
.activtexto > h3{
	text-align: center;
}
.activtexto > p{
	text-align: justify;
}
/*--*/
/* Tarifas */
#imagtarifas {
    margin-top: 40px;
}
/*-Reservas */
#ContactForm .button {
    float: left;
}
}/* Fin 480px */
/* ===================== Versión Mobile 375 (Iphone6) px ===================== */

@media all and (max-width: 375px){

header {
    height: 12.5em;
}
#content {
    padding-bottom: 0.2em;
}
div.cabecera > h1 {
    width: 100%;
    padding-top: 5em;
}
.boxindex{
    padding: 0;
    margin: 0 1px;
    overflow: hidden;
}
.boxindex > article{
	display: none;
}
.boxindex:after{
	content: "";
	display: block;
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
		    box-sizing:border-box;
	width: 100%;
	height: 160px;
	margin:0 auto;
	padding: 0 2px 0 2px;
	border: 1px solid #fff;
	background-image: url("../images/home_mobile_2.jpg");
	background-repeat: no-repeat;
	background-position: center;
}
div.boxTripadvisor > h3 {
    font-size: 1.6em;
    line-height: 1.2em;
    padding: 0 1em;
}
.traductor {
    -webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
    position: absolute;
    z-index: 900;
    height: 30px;
    width: 30px;
    float: right;
   	margin-top: -3em;
	margin-left: 1em;
    overflow: hidden;
}
a.goog-te-menu-value > span:first-child{
	color: white;
}
#redes2 {display: none;}
.redes3 {
    display: block;
    width:100%;
    height: auto;
    text-align: right;
    background-color: black;
    padding: 4em 0 1em 0;
 }
 .redes3 a img{
 	margin-right: 1em;
 }
/*--*/
/* Cortijo */
/* Aquí introduzco una versión reducida del video*/
#content > div.video {
    display: block;
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
		    box-sizing:border-box;
	width: 100%;
	height: 240px;
	overflow: hidden;
	margin-bottom: 0.3em; 
}
.textocortijo {
    margin-top: 1.2em;
}
/*--*/
/* Habitaciones */
#galery img {
    margin-top: 1em;
}
.titulo {
    font-size: 2.8em;
}
/*--*/
/* Entorno */
.margen {
    margin-top: 1.2em;
}
/*--*/
/* Actividades */
.imgactiv {
    width: 100%;
    height: auto;
}
.imgactiv img {
    width: 100%;
    height: auto;
}
.activtexto{
	margin-top: 0.5em;
}
.activtexto > h3 {
    padding-top: 1em;
}
.activtexto > p {
    text-align: left;
}
/*--*/
/* Footer */
footer > #copy {
    width: 100%;
    padding: 2em 0em 0.5em 0em;
}
}/* Fin 375px */
/* ===================== Versión Mobile 320px ===================== */

/*====*/
}