/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color: #444;
}

p {
  line-height: 2rem;
}

.button-collapse {
  color: #26a69a;
}

.parallax-container {
  height: 520px !important;
  line-height: 0;
  /*height: auto;*/
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
}


.icon-block {
  padding: 0 15px;
}

footer.page-footer {
  margin: 0;
}

* {font-family:titilliumregular;}
/**
 Fuentes personalizadas
 */
 @font-face {
    font-family: 'titilliumregular';
    src: url('../../../fonts/titillium-regular.eot');
    src: url('../../../fonts/titillium-regular.eot?#iefix') format('embedded-opentype'),
         url('../../../fonts/titillium-regular.woff') format('woff'),
         url('../../../fonts/titillium-regular.ttf') format('truetype'),
         url('../../../fonts/titillium-regular.svg#titilliumregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titilliumthin';
    src: url('../../../fonts/titillium-thin.eot');
    src: url('../../../fonts/titillium-thin.eot?#iefix') format('embedded-opentype'),
         url('../../../fonts/titillium-thin.woff') format('woff'),
         url('../../../fonts/titillium-thin.ttf') format('truetype'),
         url('../../../fonts/titillium-thin.svg#titilliumthin') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'titilliumsemibold_upright';
    src: url('../../../fonts/titillium-semiboldupright.eot');
    src: url('../../../fonts/titillium-semiboldupright.eot?#iefix') format('embedded-opentype'),
         url('../../../fonts/titillium-semiboldupright.woff') format('woff'),
         url('../../../fonts/titillium-semiboldupright.ttf') format('truetype'),
         url('../../../fonts/titillium-semiboldupright.svg#titilliumsemibold_upright') format('svg');
    font-weight: normal;
    font-style: normal;
}
 

/**
 * ESTILOS EMOSISTEMAS
 */
html { color:#000; }
.table { display:table; }
.table > div { display:table-row; }
.table > div > div { display:table-cell; }

.template  { margin-top:20px; }


.paginacion { text-align:center; clear:both; margin:7px 0 0; text-align:center; }
.paginacion a { margin:0 2px; padding:0 10px 2px; color:#fff; }
.paginacion a {  text-decoration:none; }
.paginacion a:hover, .paginacion .current { font-weight:bold; background-color: rgba(51, 51, 51, 0.18); }

/* Colores principales (.mceContentBody se aplicara en el TinyMCE del panel) */
.botones_superiores > .caja_menu, .mainbg { background:#252855 !important; }
.mceContentBody { background:#fff; }
.maincolor { color:#252855 !important; }

.container { width:95%; max-width:1100px; }

/* Pequeña mascara para hacer capas un poco mas oscuras que el color principal de donde se encuentran */
.mask { background-color: #252853; }
/* Base para hacer mensajes de aviso y otros */
.msg { padding:10px; color:#fff; text-align:center; }

/* Cabeceras */
h1 { font-size: 3.2rem; line-height:3.2rem; text-align:center; }
h2 { font-size:2.5rem; }
h1, h2 { font-weight:bold; color:#252855; }

.nav_superior { background:#fff; color:#424242; }
.button-collapse { color:#424242; }


#logo-container > img { margin-top:7px; max-height:50px;  transition: max-height 0.7s; }
#index-banner > .parallax:before { display:block; content:""; top:0; left:0; position:absolute; background:#424242; width:100%; height:100%; z-index:1; opacity:0.6; }

.top_social { margin-top:6px; }
.top_social > a { margin-right:25px; }
.top_social > a > img { width:23px; height:23px; }
.top_contact { height:1px; }
.top_contact span * { font-size:12pt !important; }

/* Contenido */ 
.apartado p { text-align: left; line-height: 2rem; font-weight: 300; }
.apartado .vcard { float:left; font-size:16pt; }
.apartado .vcard i { color:#000; }
.apartado .form_contacto { float:right; max-width: 400px; width: 100%; }
.apartado .form_contacto .input-field label { left:0; } /* Fix del label en el contacto sobre el efecto de materialize*/

.apartado ul li { list-style: circle !important; margin: 0 0 10px 20px; }
.solicitainfo { margin:35px auto 0; display:block; max-width:300px; }

/* Botones mostrados en el parallax (menu izquierdo) */
.botones_superiores { text-align:center; line-height: 12px; }
.botones_superiores > .caja_menu { width:100%; height:85px; overflow:hidden; display:inline-block;}
.botones_superiores > .caja_menu h5 { position:absolute; margin-top:57px; text-align:center; width:100%; font-weight:bold; color:#fff; font-size:14pt; line-height:14pt; }
.botones_superiores > .caja_menu a { height:100%; width:100%; top:0; left:0; display:block; }
.botones_superiores > .caja_menu img { margin-top:7px; max-width:100%; max-height:100%; }
.botones_superiores > .caja_menu:hover {  background:#30356d !important;}


/* navegador contenido Home > ... > ... */
.navigator { border:3px solid #171823; border-radius:10px; overflow:hidden; background:#252853; border-top:0 !important; }
.navigator, .navigator a { color:#fff;  }
.navigator > a, .navigator > span { display:inline-block; padding:5px 20px; margin:0 10px; }
.navigator a:hover { background:#252853;
	/*background-image: -moz-linear-gradient( 90deg, rgb(66,66,66) 0%, rgb(101,101,101) 100%); background-image: -webkit-linear-gradient( 90deg, rgb(66,66,66) 0%, rgb(101,101,101) 100%); background-image: -ms-linear-gradient( 90deg, rgb(66,66,66) 0%, rgb(101,101,101) 100%)*/;
}
.navigator .icon { margin-left:0; padding-top:7px; } 
.navigator .icon > i { line-height:1px; font-size:13pt; line-height:13pt; padding-top:1px; }
.navigator .icon > span { display:none; }

/* Submenu en el contenido */
.menus { overflow:hidden; }
.menus li ul { display:none; }
.menus > ul > li { float:left; margin:0 15px 10px; }
.menus > ul > li > a { color:#fff;     background-color: #252853 !important; }



/* Tabla del inicio con el menu del dia*/
.contenido_inicio { padding:30px 0; border-bottom:3px solid #252853; }
.contenido_inicio > div { width:100%;  }
.contenido_inicio > div > img { width:100%; max-width:300px; height:230px; display:block; margin:0 auto; }
.contenido_inicio > div > h3 { margin:5px 0 7px 0; font-weight:bold; font-size:1.3rem; line-height:1.7rem; color:#313370; text-align:center; }
.contenido_inicio > div > div {  text-align:center; font-size:12pt; line-height:24px; margin-bottom: 36px; }


/* Sharer del incio */
.main_sharer { text-align:center; color:#252853; font-size:15pt; margin-top:10px; }
.facebook_share { background:#252853; color:#fff; display:block; width:100%; max-width:485px; border-radius:5px; text-align:center; padding:4px 0; margin:10px auto; cursor:pointer;}


/* Generico formularios */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked  { left:auto; visibility:hidden; } /* Fixeamos el required del input */
[type="checkbox"]:checked+label:before { border-right-color:rgba(51, 51, 51, 0.8); border-bottom-color:rgba(51, 51, 51, 0.4); }
/*input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="tel"], input[type="number"], input[type="search"], textarea.materialize-textarea { border-color:#fff; }*/

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="date"]:focus, input[type="tel"]:focus, input[type="number"]:focus, input[type="search"]:focus, textarea.materialize-textarea:focus {
	border-bottom-color: rgba(51, 51, 51, 0.44);
	box-shadow: 0px 1px 0px 0px rgba(51, 51, 51, 0.44);
}
.input-field .prefix.active { color: rgba(51, 51, 51, 0.80); }

.btn { background-color: #252853; }
.btn:hover, .btn-large:hover, button:focus { background-color: #252853; }


/* Galeria */
.galeria > div { display:inline-block; }
.galeria > div img { width:100%; }
.galeria > div { width:100%; margin-bottom:3%; }



.parallax { height:100%; }
.parallax img { position:absolute; }

/* Footer */
.page-footer h5 { color:#161616; text-transform:uppercase; }
.page-footer { color:#1d1d1d; font-size:12pt;  }
footer.page-footer .footer-copyright { color:#000; }
footer.page-footer .footer-copyright { height: auto !important; }
.page-footer .container { overflow:hidden; }
.footright { display:block;  }
.page-footer .container a { color:#252853 !important; }

.sitemapHTML a {
	margin:2px; display:block; width:100px; background:#fff; border:1px solid #969696; padding:6px; 
	box-sizing: border-box; -moz-box-sizing:border-box; -webkit-box-sizing: border-box;
}
.sitemapHTML .line b { background:#95A9CC; display:block; width:1px; height:37px; margin:0 auto; }


.home_slider { display:none; }



/* Responsive */
@media screen and (min-width:430px) and (max-width:860px) {
	.botones_superiores > .caja_menu { width:50%; }
	.botones_superiores > .caja_menu h5 { width:50%; }
}

@media screen and (min-width:600px) {
	/* Estos estilos estan reemplazados porque arriba hemos tenido que poner a la fuerza los originales para el tinymce en el panel y otro motivo*/
	/*.table, .table > div, .table > div > div { display:block; }*/


	.footright { float:right; }
	
	.postre { display:block; }
	
	
	
	#index-banner .section { top:25%; }
}

@media screen and (min-width:600px) and (max-width:899px) {
	.galeria > div { width:48%; }
	.galeria > div:nth-child(2n-1) { margin-right:3%; }
}

@media screen and (min-width:800px) {
	.home_slider { overflow:hidden; width:100%; height:500px; display:block; }
	.home_slider .slider_content { margin:0; }
	.home_slider .sliderDescription { width:80%; margin:0 10%; position:absolute; padding:30px 0; top:150px; text-align:center; background: rgba(255, 255, 255, 0.4) none repeat scroll 0% 0%; }
	.home_slider .sliderDescription .title { color:#252855!important; font-size: 3.2rem; line-height: 3.2rem; margin-bottom:30px; }
	.home_slider .sliderDescription .description { font-size: 1.64rem; line-height: 1.64rem; color:#fff; }
}

@media screen and (min-width:860px) {
	.botones_superiores { position:relative; margin-top:-85px; height:85px; }
	.botones_superiores > .caja_menu { width:215px; }
	.botones_superiores > .caja_menu h5 { width:215px; }
	
	.contenido_inicio > div { width:28%; display:inline-block; vertical-align:top; }
	.contenido_inicio > div:nth-child(2n) { margin:0 7.5%; }
	
	.contenido_inicio > div > div { text-align:justify; margin-bottom:0; }
}

@media screen and (min-width:900px) {
	
	.galeria > div { width:31%; }
	.galeria > div:nth-child(3n-1) { margin-left:3%; margin-right:3%; }
	
}

@media screen and (max-width:992px) {
	
	#nav-mobile { overflow: auto; overflow-x: hidden; }
	#nav-mobile ul { float:none; display:none; }
	
	nav ul li:hover, nav ul li.active { background:#fff !important; }
	ul.side-nav { height:100%; }
	
	.nav-wrapper .button-collapse { padding-right:20px; }
	
}
@media screen and (min-width:993px) {
	
	nav .brand-logo { float:left; position:static; height:1px; } /* 1px hace fix para evitar desplazamiento de las capas inferiores */
	#logo-container { width:212px; }
	
	#nav-mobile { float:left; margin-left:5px; }
	
	
	body { padding-top:64px; }
	.mceContentBody { padding-top:0 !important; } /* Fix para el tinymce */
	body > nav { position:fixed; top:0; z-index:9999; }
	
	.container { width:90%; }
	
	/* Menu superior */
	nav ul li.selected { background-color: rgba(0, 0, 0, 0.1); }
	nav ul li li { float:none; line-height:40px;  width:200px; } /* Fix sobre materialize para los desplegables*/
	nav li ul li:hover, nav li ul li.selected { background:#30356d; } 
	.nav-wrapper li > ul { /*display:none;*/ position:absolute;  display:block; 
		visibility:hidden; opacity:0; transition: all 0.7s;
	} 
	/* Tamaño de los menus, IMPORTANTE ese 140px, que es el tamaño que tendran todos para no descuadrar */
	.nav-wrapper li ul li a { font-size:11pt; color:#fff; display:block; padding:0px 0px; text-decoration:none; width:80%; margin:0 auto; }
	
	
	
	.nav-wrapper li:hover > ul { visibility:visible; opacity:1; }
	 
	/* Cuando nos pongamos encima de un li:hover, mostraremos SU UL */
	.nav-wrapper li ul li ul { left:200px; top:0; } /* Estos seran los submenus, los cuales moveremos 140px a la derecha (justo el width de .nav-wrapper li > ul) + SOLO EL BORDE O PADDING IZQUIERDO 
	Si quisieramos que se mostrasen invertidamente (hacia la derecha) solo hay que cambiar "right:" por "left:" */
	
	
	/* POR CSS 3 pondremos una flechita a los desplegables que tienen submenus, esto no funciona hasta IE9, pero es solo decorativo y ahorramos HTML*/
	/*body > nav li .flecha{ font-size: 9px; padding-left: 6px; display: none; }*/
	
	/* Primer nivel (aplicamos estilos especiales) */

	.nav-wrapper ul ul { background:#252855;  }
	
	.page-footer .container .caja_menu { float:left; width:32%; }
	.page-footer .container .caja_menu:nth-child(3n-1) { margin:0 2% }
	.page-footer .container .caja_menu:nth-child(3n+1) { clear:both; } /* Con esto simulamos un mini efecto de filas */
	
	#logo-container > img { margin-top:10px; max-width:100%; max-height:48px; }
}

@media screen and (min-width:1100px) {
	.home_slider .sliderDescription { width:66%; margin:0 14%; }
}
