/*------------- Ipad vertical -------------*/
@media (max-width: 1024px) and (orientation : portrait){

body{overflow-x:hidden;}

/* Contenedores generales */
header,footer{width: 100%;}
.container{width: 100%;}

nav ul li{width: 24.2%;}

.caja-temas .tema{width: 22.3%;}

}













/*------------- Ipad horizontal real -------------*/
@media only screen and (min-width : 980px) and (max-width : 1024px) and (orientation : landscape) {

body{overflow-x:hidden;}

/* Contenedores generales */
header,footer{width: 100%;}
.container{width: 100%;}

nav ul li{width: 24.2%;}

.caja-temas .tema{width: 22.3%;}

}













/*------------- Iphone -------------*/
@media (max-width: 767px) {

body{overflow-x:hidden; padding: 0; margin: 0;}
body.no-scroll{overflow:hidden !important; height: 100%;}

/* Contenedores generales */
header,footer{width: 100%;}
.container{width: 100%;}

/* Cabecera */
header{margin-bottom: 0; background: #fff; padding: 5px 0;}
header .logo{background:#fff; width:auto; height:auto; border-radius:inherit; padding: 0; text-align: left; margin-left: 10px; float: left; width: 70%;}
.abre-lateral{display: block; float: right; margin: 10px 20px 0 0; font-size: 35px; color: #E174E7;}

/* Menu */
nav{display: none;}

/* Caja temas */
.caja-temas{border:0;}
.caja-temas .tema{width: 44%; margin: 15px 10px 15px 10px;}
.caja-temas .tema h3{font-size: 15px; margin-bottom: 5px;}

.caja-dos .tema{width: 43%;}


/* Contenido */
.contenido{margin: 30px 0;}
.contenido h2{font-size: 23px;}
.contenido .texto .foto{width: 97%; margin-bottom: 20px; margin-top: 0;}
.contenido .texto .text-right{float: left; width: 95%; margin-left: 5%;}

.contenido .texto h2{font-size: 27px;}


/* Calendario */
.contenido .calendario{margin-top: 30px;}
.contenido .calendario h2{}


/* Contenido largo */
.contenido.largo .temas{margin-top: 0px;}
.contenido.largo .temas .tema{width: 32%; margin: 0px 0;}
.contenido.largo .temas .tema .in{padding: 0 5px;}


/* Contacto */
.mapa iframe{height: 250px !important;}

footer p{margin: 0 10px 5px 0; line-height: 20px;}



}





/* Iphone 4 y 5  */
@media only screen and (max-width : 320px){

header .logo{width: 65%;}
.abre-lateral{font-size: 28px; margin-top: 7px;}

.contenido .inner{padding: 0 20px;}

.contenido h2{font-size: 20px; margin-bottom: 15px;}
.contenido .texto{font-size: 15px; line-height: 22px;}

.caja-temas {margin-top: 30px;}
.caja-temas .tema{width: 42%;}
.caja-temas .tema h3{font-size: 12px;}

.caja-dos .tema{width: 42%;}
.caja-dos .tema h3{font-size: 15px !important;}

.contenido .texto h2{font-size: 20px; margin-bottom: 20px;}
.contenido .texto h3{margin-top: 30px; font-size: 19px;}

.mapa iframe{height: 220px !important;}

footer{font-size: 12px;}

}








/* Resoluciones intermedias como Nexus 5  */
@media (min-width: 360px) and (max-width : 384px){

}



/*------------- Iphone 6 plus -------------*/
@media (min-width: 414px) and (max-width: 736px){

}



/* Resoluciones intermedias como Nexus 7  */
@media (min-width: 600px) and (max-width : 600px){

}



/*------------- MOVIL HORIZONTAL IPHONE 5,6 > -------------*/
@media (min-width: 480px) and (max-width: 736px) and (orientation : landscape){

}