/* ----------------------------------------- ESTILOS CONTENIDOS ---------------------------------------- */

/* -------------------------------- CONTENEDORES -------------------------------- */
.cms_contenido_ficha {
	float: left;
	width: 100%;
	height: auto;
	min-height: calc(100vh - 20.5em);
	padding: 0;
	margin: 0;
	margin-bottom: 4em;
	/*background: #fff;*/
}

.cms_contenido_ficha p {
	margin-bottom: 1.5em;
}

.cms_contenido_ficha p:last-child {
	margin-bottom: 0;
}

.cms_contenido_ficha a {
	padding-bottom: 0;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.cms_contenido_ficha a:hover {
	text-decoration: none !important;
	color: #0056b3;
}

.cms_contenido_ficha_conpadding {
	float: left;
	width: 100%;
    min-height: 21em;
	padding: 2.5em;
}

.cms_primer_contenedor {
	margin-top: 2em;
}

.cms_contenedor_anchuratotal {
	width: 100%;
}

.cms_contenedor_conpadding {
	padding: 1.5em;
	overflow: hidden;
}

.cms_contenedor_ficha_contacto {
	padding: 1.5em;
	overflow: hidden;
}

.cms_contenedor_ficha_contacto p:not(:last-child) {
	margin-bottom: 1.5em;
}

.cms_contenedor_doscolumnas > div {
	float: left;
	padding: 0;
	overflow: hidden;
}

.cms_contenedor_doscolumnas > div > p:last-child {
	margin-bottom: 0;
}

.cms_contenedor_foto {
	float: left;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

/* ---------------------- FOTOS ---------------------- */
.cms_foto_fondo {
	position: relative;
	min-height: 262px;
	max-height: 372px;
	height: 44.3vw;
	align-items: center;
	justify-content: center;
}

.cms_img_tamanologo {
	height: 3em;
}

.cms_img_centrada {
	display: block;
	margin: 0 auto;
}

.cms_mapa_provincia img {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 90%;
}

.cms_img_doscolumnas {
	width: 100%;
	height: auto;
	margin-bottom: 1.5em;
}

.cms_ico_contacto_usuario {
	background: url("images_css/ico_contacto_usuario.png") no-repeat top left;
	background-size: 40px 40px;
	padding-left: 2.2em;
}

.cms_ico_contacto_direccion {
	background: url("images_css/ico_contacto_direccion.png") no-repeat top left;
	background-size: 40px 40px;
	padding-left: 2.2em;
}

.cms_ico_contacto_telefono {
	background: url("images_css/ico_contacto_telefono.png") no-repeat top left;
	background-size: 40px 40px;
	padding-left: 2.2em;
}

.cms_ico_contacto_email {
	background: url("images_css/ico_contacto_email.png") no-repeat top left;
	background-size: 38px 38px;
	padding-left: 2.2em;
}

/* --------------------- IFRAMES --------------------- */
iframe {
	display: block;
    width: 100%;
	height: 450px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.2);
}

.video_responsive {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-bottom: 56.5% !important;
}

.video_responsive iframe {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* --------------------- TITULOS --------------------- */
#ficha_contenido h4 {
    margin-bottom: 1em;
    margin-top: 2em;
}

#ficha_contenido h4.cms_titu_pagina {
    margin-top: 0em;
    margin-left: 0em;
    margin-right: 0em;
}

.cms_titu_home_fondo {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
    max-width: 1200px;
	text-align: center;
	font-size: 2.5em;
	font-weight: 500;
	letter-spacing: .1em;
	line-height: 1em;
	color: #fff;
	padding: 1em;
    margin: 0 auto;
	-webkit-filter: drop-shadow(0px 0px 25px rgba(0,0,0,.8)) drop-shadow(0px 0px 25px rgba(0,0,0,.8)) drop-shadow(0px 0px 10px rgba(0,0,0,.8));
	filter: drop-shadow(0px 0px 25px rgba(0,0,0,.8)) drop-shadow(0px 0px 25px rgba(0,0,0,.8)) drop-shadow(0px 0px 10px rgba(0,0,0,.8));
	text-transform: uppercase;
}

.cms_titu_fondo {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	font-size: 1.7em;
	font-weight: 500;
	letter-spacing: .1em;
	line-height: 1em;
	color: #fff;
	padding: 1em;
	-webkit-filter: drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 10px rgba(0,0,0,1));
	filter: drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 10px rgba(0,0,0,1));
	text-transform: uppercase;
}

.cms_subtitu_fondo {
	display: inline-block;
	font-size: .7em;
	font-weight: 300;
	line-height: 1.5em;
	letter-spacing: .1em;
	margin-top: .6em;
	text-transform: none;
}

.cms_titu_pagina {
	font-size: 2.5em;
	font-weight: 200;
	line-height: 1em;
	margin-bottom: 1.5em;
}

.cms_titu {
	font-size: 1.2em;
	font-weight: 600;
	margin-bottom: 1em;
}

.cms_subtitu {
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 1em;
}

/* ---------------------- TEXTOS --------------------- */
.cms_texto_tx p, p.cms_texto_tx {
	font-size: 80%;
	margin-bottom: 1.5em !important;
}

.cms_numero_destacado {
	display: block;
	font-size: 2.5em;
	font-weight: 600;
	line-height: 1em;
	/*color: #00904f;*/
	color: #3daf2c;
}

.cms_numero_destacado_fondo {
	font-size: 3em;
	font-weight: bold;
	/* color: rgba(0,144,79,.2); */
	color: rgba(0,185,226,.2);
	margin-bottom: -0.6em;
	margin-left: -.5em;
}

.cms_mapa_provincia {
	float: left;
	cursor: default;
	-webkit-transition: all .2s ease !important;
	-moz-transition: all .2s ease !important;
	-ms-transition: all .2s ease !important;
	-o-transition: all .2s ease !important;
	transition: all .2s ease !important;
	/*transform-origin: bottom left;*/
	overflow: hidden;
}

.cms_mapa_provincia:hover {
	-webkit-transform: scale(1.1) !important;
	-moz-transform: scale(1.1) !important;
	-ms-transform: scale(1.1) !important;
	-o-transform: scale(1.1) !important;
	transform: scale(1.1) !important;
}

/*.cms_mapa_provincia img {
	-webkit-filter: drop-shadow(-5px 10px 0px rgba(0,0,0,.2));
	filter: drop-shadow(-5px 10px 0px rgba(0,0,0,.2));
}

.cms_mapa_provincia:hover img {
	-webkit-filter: drop-shadow(-5px 10px 2px rgba(0,0,0,.2));
	filter: drop-shadow(-5px 10px 2px rgba(0,0,0,.2));
}*/

.cms_mapa_provincia p {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-bottom: 0;
	color: #fff;
}

.cms_mapa_gipuzkoa_txt {
	left: -.5em;
}

.cms_mapa_bizkaia_txt {
	left: 3em;
}

.cms_mapa_navarra_txt {
	left: -.5em;
	top: calc(50% - 1em) !important;
}

.cms_mapa_cantabria_txt {
	left: -.5em;
	top: calc(50% - .8em) !important;
}

.cms_mapa_alava_txt {
	left: 1em;
	top: calc(50% + 1em) !important;
}

.cms_mapa_larioja_txt {
	left: -1.5em;
}

.cms_mapa_madrid_txt {
	left: .2em;
}

.cms_imagen_fondo {
	float: left;
	cursor: default;
	width: 100%;
	padding: 0;
	margin: 0;
	margin-bottom: 2em;
	overflow: hidden;
}

.cms_imagen_fondo a, .cms_imagen_fondo a:hover {
    display: block;
	overflow: hidden;
	color: #fff;
	background: #fff;
    border-bottom: none;
    width: 100%;
    height: 100%;
}

.cms_imagen_fondo img {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: calc(100% + 1px);
	opacity: 1;
	-webkit-transition: all .5s ease !important;
	-moz-transition: all .5s ease !important;
	-ms-transition: all .5s ease !important;
	-o-transition: all .5s ease !important;
	transition: all .5s ease !important;
	transform-origin: 50% 50%;
}

.cms_imagen_fondo:hover img {
	-webkit-transform: translateY(-50%) scale(1.1) !important;
	-moz-transform: translateY(-50%) scale(1.1) !important;
	-ms-transform: translateY(-50%) scale(1.1) !important;
	-o-transform: translateY(-50%) scale(1.1) !important;
	transform: translateY(-50%) scale(1.1) !important;
	opacity: .5;
	filter: blur(.1em);
}

.cms_imagen_fondo p, .cms_imagen_fondo h4, .cms_imagen_fondo span {
	display: flow-root;
	font-size: 130%;
	letter-spacing: .05em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	padding: 1em .5em;
	margin-bottom: 0;
	text-align: center;
	color: #fff;
	-webkit-filter: drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 10px rgba(0,0,0,1));
	filter: drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 25px rgba(0,0,0,1)) drop-shadow(0px 0px 10px rgba(0,0,0,1));
}

.cms_imagen_fondo a:hover p, .cms_imagen_fondo a:hover h4, .cms_imagen_fondo a:hover span {
	text-decoration: none;
}

#mapa_BM a {
	font-size: 89%;
}

/* -------------- LISTAS PGINAS LEGALES -------------- */
#ficha_contenido .cms_contenido_ficha_conpadding ol {
    padding-inline-start: 25px;
}

#ficha_contenido .cms_contenido_ficha_conpadding  ol li::marker {
    font-family: 'Bebas Neuer', sans-serif;
}

#ficha_contenido .cms_contenido_ficha_conpadding > ol > li::marker {
    font-size: 160%;
    font-weight: 600;
}

#ficha_contenido .cms_contenido_ficha_conpadding ul {
    list-style-type: disc;
}


/* -------------------------------------------- MEDIA QUERYS ------------------------------------------- */

/* ----- col-sm ----- DISPOSITIVOS MUY PEQUEÑOS (móviles anchura menor o igual a 767px) ----- */
@media (max-width: 767px) {

	/* -------------------------------- CONTENEDORES -------------------------------- */

	/* ---------------------- FOTOS ---------------------- */

	/* --------------------- IFRAMES --------------------- */

	/* --------------------- TITULOS --------------------- */

	/* ---------------------- TEXTOS --------------------- */

    /* -------------- LISTAS PGINAS LEGALES -------------- */

}

/* ----- col-md ----- DISPOSITIVOS PEQUEÑOS (tablets, anchura mayor o igual a 768px) -------- */
@media (min-width: 768px) {

	/* -------------------------------- CONTENEDORES -------------------------------- */
	.cms_contenido_ficha {
		min-height: calc(100vh - 17.5em);
	}

	.cms_contenedor_ficha_contacto p:not(:last-child) {
		margin-bottom: .5em;
	}

	.cms_contenedor_doscolumnas > div:nth-child(2n+1) {
		padding-left: 0;
		padding-right: 15px;
	}

	.cms_contenedor_doscolumnas > div:nth-child(2n+2) {
		padding-left: 15px;
		padding-right: 0;
	}

	/* ---------------------- FOTOS ---------------------- */
	.cms_img_doscolumnas {
		position: relative;
		height: 11.5em;
		width: auto;
		margin-bottom: 0;
	}

	.cms_ico_contacto_usuario {
		background-size: 20px 20px;
		background-position: 0 .2em;
		padding-left: 1.8em;
	}

	.cms_ico_contacto_direccion {
		background-size: 20px 20px;
		background-position: 0 .2em;
		padding-left: 1.8em;
	}

	.cms_ico_contacto_telefono {
		background-size: 20px 20px;
		background-position: 0 .2em;
		padding-left: 1.8em;
	}

	.cms_ico_contacto_email {
		background-size: 20px 20px;
		background-position: 0 .2em;
		padding-left: 1.8em;
	}

	/* --------------------- IFRAMES --------------------- */

	/* --------------------- TITULOS --------------------- */

	/* ---------------------- TEXTOS --------------------- */
	.cms_imagen_fondo {
	    margin-bottom: 0;
	}

	.cms_imagen_fondo a, .cms_imagen_fondo a:hover {
	    width: calc(100% - .5em);
	}

	.cms_imagen_fondo:nth-child(2n + 1) a {
		margin-right: .5em;	
	}

	.cms_imagen_fondo:nth-child(2n + 2) a {
		margin-left: .5em;	
	}

    /* -------------- LISTAS PGINAS LEGALES -------------- */

}

/* ----- col-lg ----- DISPOSITIVOS MEDIANOS (ordenadores, anchura mayor o igual a 992px) ---- */
@media (min-width: 992px) {

	/* -------------------------------- CONTENEDORES -------------------------------- */

	/* ---------------------- FOTOS ---------------------- */

	/* --------------------- IFRAMES --------------------- */

	/* --------------------- TITULOS --------------------- */

	/* ---------------------- TEXTOS --------------------- */
	.cms_mapa_provincia p {
		font-size: 80%;
	}

}

/* ----- col-xl ----- DISPOSITIVOS GRANDES (ordenadores, anchura mayor o igual a 1200px) ---- */
@media (min-width: 1200px) {

	/* -------------------------------- CONTENEDORES -------------------------------- */

	/* ---------------------- FOTOS ---------------------- */

	/* --------------------- IFRAMES --------------------- */

	/* --------------------- TITULOS --------------------- */

	/* ---------------------- TEXTOS --------------------- */

    /* -------------- LISTAS PGINAS LEGALES -------------- */

}