/* CONTENEDOR */

.contenedor { margin: 0px auto 0px auto; max-width: 100%; height: 100%; box-sizing: border-box; }

/* GRID */

.grid { display: flex; flex-flow: row wrap; align-items: flex-start; height: auto; margin: 0px auto 0px auto; width: 100%; clear: both; box-sizing: border-box; }
.grid:last-child { border-bottom: none; }
.grid_limitado { max-width: 1200px; }

/* CABECERA */

.cabecera { display: block; width: 100%; height: 60px; line-height: 60px; overflow: hidden; box-sizing: border-box; }
.cabecera h1 { font-size: 20px; color: #333; line-height: 60px; }

/* ITEM */

.grid .item { position: relative; display: block; flex: 1 0 250px; align-self: auto; height: auto; overflow: hidden; box-sizing: border-box; }
.grid .item .img_wrapper { display: block; width: 100%; height: 200px; margin: 0px auto 15px auto; text-align: center; overflow: hidden; box-sizing: border-box; }
.grid .item .img { width: 100%; height: 200px; margin: 0px; }
.grid .item .img img { width: auto; height: 200px; }
.grid .item .nombre { display: block; width: 100%; height: 20px; line-height: 20px; font-size: 16px; color: #333; text-decoration: none; padding: 0px; margin-bottom: 15px; overflow: hidden; box-sizing: border-box; }
.grid .item .nombre:hover { color: rgb(0,150,220); }
.grid .item .extracto { display: block; width: 100%; height: 80px; font-size: 14px; line-height: 20px; overflow: hidden; padding: 0px; margin-bottom: 15px; box-sizing: border-box; }
.grid .item .enlaces { display: block; width: 100%; height: auto; font-size: 14px; line-height: 20px; overflow: hidden; padding: 0px; padding-top: 15px; margin-bottom: 15px; box-sizing: border-box; border-top: 1px solid rgb(230,230,230); }
.grid .item .enlaces .micon { float: left; display: block; position: relative; top: -1px; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 12px; overflow: hidden; padding: 0px; margin-right: 6px; box-sizing: border-box; }
.grid .item .enlaces span { float: left; margin-right: 6px; }
.grid .item .enlaces ul { display: block; width: 100%; height: auto; padding: 0px; margin: 0px; box-sizing: border-box; }
.grid .item .enlaces ul li { float: left; display: block; width: auto; height: auto; margin: 0px; margin-right: 6px; }
.grid .item .enlaces ul li a:after { content: " - "; }

/* ESPECIALES */

#grid_maestro .cabecera { width: calc(100%/1 - 10px); background-color: rgba(255,255,255,1); padding: 0px 15px 0px 15px; box-sizing: border-box; }
/**/
#item_maestro { flex: 1 0 250px; background-color: rgba(255,255,255,1); }
#item_maestro .img_wrapper { height: 200px; }
#item_maestro .nombre { padding: 0px 15px 0px 15px; }
#item_maestro .extracto { padding: 0px 15px 0px 15px; }
/**/
#item_contacto { background-color: rgba(255,255,255,1); margin-left: 25px; margin-right: 25px; padding: 30px; }
#item_contacto .img { width: 100%; height: 60px !important; margin-bottom: 10px; text-align: center; }
#item_contacto img { width: 60px !important; height: 60px !important; }
#item_contacto .nombre { text-align: center; font-size: 14px; font-weight: normal; letter-spacing: 0.2px; }
#item_contacto .formulario { display: block; width: 100%; height: auto; }
#item_contacto .btn_maxi { display: block; width: calc(100%/1 - 100px); }
#item_contacto .btn_medio { display: block; width: calc(100%/1 - 60px); }
#item_contacto .btn_medio img { width: 16px !important; height: 16px !important; }
/**/
#grid_politicas .cabecera { width: calc(100%/1 - 10px); background-color: rgba(255,255,255,1); padding: 0px 15px 0px 15px; box-sizing: border-box; }
#grid_politicas { background-color: rgba(255,255,255,1); }
#grid_politicas h2 { font-size: 18px; letter-spacing: normal; line-height: 30px; color: #333; }

/* COMENTARIOS */

#comentarios #respond h3 { font-weight: lighter; font-size: 20px; letter-spacing: normal; line-height: 30px; margin: 0px 0px 15px 0px; color: #333; }
#comentarios #commentform .comment-notes { margin: 0px 0px 15px 0px; }

/* COOKIE NOTICE */

#cookie-notice { position: fixed; margin: 0px auto 0px auto; max-width: 100%; height: 100%; box-sizing: border-box; z-index: 1000000000; background-color: rgba(0,0,0,0.8) !important; }
#cookie-notice .cookie-notice-container { position: absolute; width: 500px; height: auto; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 30px; background-color: rgba(255,255,255,0.9) !important;
	overflow: hidden; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; -o-border-radius: 7px; -khtml-border-radius: 7px;
	-webkit-box-shadow: rgba(50,100,200,0.3) 0 0 50px; -moz-box-shadow: rgba(50,100,200,0.3) 0 0 50px; box-shadow: rgba(50,100,200,0.3) 0 0 50px;
}
#cookie-notice .cookie-notice-container #cn-notice-text { display: block; float: none; text-align: left; font-size: 14px; color: #333 !important; margin-bottom: 15px; }

/* Z-INDEX */

.grid .gb_efecto { z-index: 1000; }
.grid .item { z-index: 2000; }


/* EFECTOS */

.limitado { max-width: 1120px; }
.limitado_small { max-width: 980px; }
.circular { overflow: hidden; border-radius: 500px; -webkit-border-radius: 500px; -moz-border-radius: 500px; -o-border-radius: 500px; -khtml-border-radius: 500px; }
.redondeado { overflow: hidden; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; -o-border-radius: 7px; -khtml-border-radius: 7px; }
.redondeado_small { overflow: hidden; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; -khtml-border-radius: 4px; }
.sombreado { -webkit-box-shadow: rgba(50,100,200,0.3) 0 0 50px; -moz-box-shadow: rgba(50,100,200,0.3) 0 0 50px; box-shadow: rgba(50,100,200,0.3) 0 0 50px; }
.sombreado_small { -webkit-box-shadow: rgba(50,100,200,0.2) 0 0 15px; -moz-box-shadow: rgba(50,100,200,0.2) 0 0 15px; box-shadow: rgba(50,100,200,0.2) 0 0 15px; }
.hundido { overflow: hidden; -webkit-box-shadow: inset rgba(0,0,0,0.5) 0 1px 2px; -moz-box-shadow: inset rgba(0,0,0,0.5) 0 1px 2px; box-shadow: inset rgba(0,0,0,0.5) 0 1px 2px; }
.transition { transition: all 0.15s ease-in; -webkit-transition: all 0.15s ease-in; -o-transition: all 0.15s ease-in; -moz-transition: all 0.15s ease-in; -ms-transition: all 0.15s ease-in; }

/* BORDES */

.b_all { border: 1px solid #DCDCDC; }
.b_t { border-top: 1px solid #DCDCDC; }
.b_b { border-bottom: 1px solid #DCDCDC; }
.b_l { border-left: 1px solid #DCDCDC; }
.b_r { border-right: 1px solid #DCDCDC; }

/* RESPONSIVE */

/* Tableta horizontal */
@media (max-width: 1090px) {
	.grid .item_single_img { margin-bottom: 30px; }
}

/* Tableta vertical */
@media (max-width: 790px) {
	.grid .item .img_wrapper { height: 420px !important; }
	.grid .item .img { height: 420px !important; }
	.grid .item .img img { height: 420px !important; }
}

/* Móvil vertical */
@media (max-width: 390px) {
	#cookie-notice .cookie-notice-container { width: 300px; }
	#cookie-notice .cookie-notice-container a { margin-bottom: 15px; }
	#cookie-notice .cookie-notice-container a:last-child { margin-bottom: 0px; }
	.grid .item { flex: 1 0 250px !important; }
	.grid .item .img_wrapper { height: 250px !important; }
	.grid .item .img { height: 250px !important; }
	.grid .item .img img { height: 250px !important; }
	#item_contacto { margin-bottom: 25px; }
}

/**/