/*
Theme Name: SENIOR SI
Theme URI:
Description:
Author: SENIOR SI
Author URI: 
Version: 1.0
*/
body {
	font-family: 'Open Sans', sans-serif;
	color: #000000;
	font-weight: 400;	
	font-size: 14px;	
	margin: 0;
	word-wrap: break-word;	
}
html, body {height: 100%;}
::-moz-selection {background-color:#aac800;color:#fff;}
::selection {background-color:#c8d200;color: #fff;}
strong {font-weight: 600;}
a {
	text-decoration: none;	
	color: #006085;
	-webkit-transition: all ease-in-out 0.4s;
	-moz-transition: all ease-in-out 0.4s;
	-ms-transition: all ease-in-out 0.4s;
	-o-transition: all ease-in-out 0.4s;
	transition: all ease-in-out 0.4s;
}
a:hover,
a:focus,
a:active {
	color: #8ca0a8;		
	text-decoration: none;
	outline: none;
}

nav a {text-decoration:none;}
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;	
}
nav li {display: inline-block; margin: 0;padding:0;}	
nav li a {display: block;}
img { 
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}


address, time {
    display: block;
    color: #96989a;
    font-size: 80%;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* TIPOGRAFÍA */
p {
	font-size: 100%;
    line-height: 25px;	
	margin: 0 0 20px 0;
}
p:last-child {margin-bottom: 0;}	
h1, h2, h3, h4, h5, h6 {
	color: #006085;
	font-weight: 700;
	margin: 0 0 10px 0;	
	clear: both;
	line-height:1.2;
}
h1 {font-size: 260%;}
h2 {font-size: 200%;}	
h3 {font-size: 170%;}	
h4 {font-size: 130%;}	
h5 {font-size: 120%;}	
h6 {font-size: 110%;}

blockquote {
	font-size: 120%;	
	font-style: italic;		
	color: #878c8c;
}

hr {
    display: block;
    height: 2px;
    width: 100px;
    background: #afb4b4;
	border: none;
    position: relative;
    margin: 15px 0 12px 0;
}

.text-ctr hr {
    margin: 15px auto 12px auto;
}

/* RETÍCULA */
.contenedor-ancho, 
.contenedor,
.fila .fila,
.col,
.fila:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.contenedor-ancho, .contenedor {
	width: 100%;	
	margin: 0 auto;	
	z-index: 1;
}
.contenedor {max-width: 1200px;}
.fila .fila { margin: 0 -20px;}
.col { padding: 10px  20px;}
.fila:after {
    content: "";
    clear: both;
    display: table;
}

/* AUXILIARES */
.clearfix {clear:both;}
.subir-60 {margin-top:-60px;}
.text-ctr {text-align: center;}	
.columnas-altura {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.columna-altura {
	display: -webkit-flex;
	display: flex;
}
.separador {
	display: block;
	height: 2px;
	width: 100px;
	background:#d5dddd;
	position: relative;
	margin: 20px 0;
}	
.text-ctr .separador {margin: 20px auto;}

/* CABECERA/PIE */
.cabecera {
	background-color: rgb(0,96,133);
	position:relative;
	width:100%;
	z-index:100;
 	box-shadow: 0 5px 15px rgba(0,0,0,.1)
}
.cabecera .contacto, .cabecera .rrss {display:none;}
.logo {text-align:center;}		
.pie {padding: 60px 0; color:#9ba5a5; background-color:#002330;}
.creditos {margin: 30px 0 0 0;}
.pie a {color: #FFF;}
.pie a:hover, .pie a:focus, .pie a:active {color: #879191;}
.pie h3 {color: #FFF;font-size:120%;text-transform:uppercase;padding-top:10px;}

.cabecera .contenedor.vertical {padding-top:40px;}

.banner-covid-19 {
	background: rgb(0,96,133);
	position:fixed;
	z-index: 210;
	text-align:center;
	margin-bottom: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,.3);
}	

.banner-covid-19 a h4 {
	color: #FFF;
	font-size: 94%;
	font-weight: normal;
}

.banner-covid-19 h4 {
	margin: 0;
	padding: 5px 0;
}

.banner-covid-19 h4::before, .banner-covid-19 h4::after {
	content: url(img/ico-banner-covid-info.png);
	display: inline-block;
	vertical-align: -5px;
	margin: 0 6px;
	width: 20px;
	height: 20px;
}

.banner-covid-19 h4::after {
	content: url(img/ico-banner-covid.png);
}

.certificaciones-pie {
	padding:30px 0 0 0;
}
.certificaciones-pie p {
	padding:10px 0 0 0!important;	
}

.certificaciones-pie p a {
	font-size: 80%;
	color: #4c636c;
}


.certificaciones-pie img {
	padding: 0 15px 0 0;
}

/* Animaciones */
@keyframes precarga {
	0% {opacity: 0;}
	10% {opacity: 0;}		
	100% {opacity: 1;}
}
@-webkit-keyframes precarga {
	0% {opacity: 0;}
	10% {opacity: 0;}		
	100% {opacity: 1;}
}

@keyframes animacion1 {
	0% {opacity: 0;margin-top:-140px;}
	10% {opacity: 0;}		
	100% {opacity: 1;margin-top:0;}
}
@-webkit-keyframes animacion1 {
	0% {opacity: 0;margin-top:-140px;}
	10% {opacity: 0;}		
	100% {opacity: 1;margin-top:0;}
}

@keyframes animacion2 {
	0% {opacity: 0;bottom:-100px;}
	30% {opacity: 0;}		
	100% {opacity: 1;bottom:0}
}
@-webkit-keyframes animacion2 {
	0% {opacity: 0;bottom:-100px;}
	30% {opacity: 0;}		
	100% {opacity: 1;bottom:0}
}
/* PORTADA/TÍTULO */
.precarga, .home .logo {
	animation-name: precarga;
	animation-duration: 2s;
}
.portada {
	color:#FFF;	
	position: relative;
	z-index:1;	
	width:100%;
	height: 70vh;	
	padding:0!important;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	background-size: cover;
	background-position: center center;
}
.portada::after {
	content:"";
	display:block;
	width: 0;
	height: 0;	
	position: absolute;	
	z-index:1;	
	left: 50%;
	bottom: 0;	
	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);	
	margin: -40px auto 0 auto;
	border-right: 60px solid transparent;
	border-top: 60px solid transparent;
	border-left: 60px solid transparent;
	border-bottom: 40px solid #c8d200;			
}

/* Slider Portada */
.slider-portada {text-align:center;}
.slider-portada h2, .slider-portada h3 {color:rgb(255,255,255);}
.slider-portada h2 {font-size: 220%; margin:0;}
.slider-portada h3 {font-weight: 500; color:rgba(255,255,255,.8);}
.slider-portada h4 {
	font-weight: 400;	
	color:rgba(255,255,255,.8);
	margin:0;	
}
.slider-portada .contenido-slide {
	position: absolute;	
	width:100%;
	z-index:1;	
	text-align: center;		
	top: 0;	
}
.slider-portada div {height: 70vh;position:relative;}
.slider-portada .col {padding:0;}
.slider-portada .slick-prev, .slider-portada .slick-next, .galeria .slick-prev, .galeria .slick-next {
    top: 50%;	
	z-index:20;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);	
}

.galeria .slick-prev::before, .galeria .slick-next::before {color: #fff;}

.slider-portada-slogan {
	position: absolute;	
	width:100%;
	height:100%;
	z-index:1;	
	text-align: center;		
	top: 0;	
	margin: 0 auto;
}
.slider-portada-slogan .principal {
	position: absolute;	
	width: 100%;
	top: 50%;		
	transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);	
	margin: 0 auto;	

}
.slider-portada-slogan .detalles {
	position: absolute;
	bottom: 0;
	width: 100%;	
	padding-bottom:80px;
	animation-name: animacion2;
	animation-duration: 2s;	
}
.slider-portada-slogan h1 {
	color: #fff;	
    font-size: 130%;	
	font-weight: 300;
	margin-bottom: 40px;	
	animation-name: animacion1;
	animation-duration: 1.4s;
}
.slider-portada-slogan span {
    font-size: 150%;
    font-weight: 700;
    text-transform: uppercase;
}
.slider-portada-slogan h3 {
	font-size: 80%;
	color:#c8d200;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 0 20px;
}

.slider-portada .slick-prev {left: 20px;}
.slider-portada .slick-next {right: 20px;}
.slider-portada .slick-dots {display:none !important;}
.slider-fdcolor, .slider-fdimagen {
	content: "";
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
}
.slider-fdcolor {
	background: #000;
	opacity: 0.5;	
}
.slider-fdimagen {background-repeat: no-repeat;background-size: cover;background-position: center center;}

/* Título */
.titulo {
	position:relative;
	z-index:1;
	padding:60px 0 40px 0;
	text-align:center
}
.titulo h1 {color:#FFF;position:relative;z-index:10;text-transform:uppercase;}
.titulo::after {
	content:"";
	display:block;
	width: 0;
	height: 0;	
	position: absolute;	
	z-index:1;	
	left: 50%;
	bottom: 0;	
	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);	
	margin: -40px auto 0 auto;
	border-right: 60px solid transparent;
	border-top: 60px solid transparent;
	border-left: 60px solid transparent;
	border-bottom: 40px solid white;			
}
.page-id-16 .titulo::after, .page-id-14 .titulo::after {border-bottom-color: #006085;}
.titulo-fdcolor {
	content: "";
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.6;	
	position: absolute;
	background:#000;
}
.titulo-fdimagen {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-image: url(img/fd-titulo-general.jpg);
}


.post-type-archive-residencias .titulo-fdimagen, .tax-provincia_residencias .titulo-fdimagen {
	background-image: url(img/fd-titulo-residencias.jpg);
}

.fd-degradado {
	background: rgba(40,119,180,1);
	background: -moz-linear-gradient(45deg, rgba(40,119,180,1) 0%, rgba(0,80,140,1) 100%);
	background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(40,119,180,1)), color-stop(100%, rgba(0,80,140,1)));
	background: -webkit-linear-gradient(45deg, rgba(40,119,180,1) 0%, rgba(0,80,140,1) 100%);
	background: -o-linear-gradient(45deg, rgba(40,119,180,1) 0%, rgba(0,80,140,1) 100%);
	background: -ms-linear-gradient(45deg, rgba(40,119,180,1) 0%, rgba(0,80,140,1) 100%);
	background: linear-gradient(45deg, rgba(40,119,180,1) 0%, rgba(0,80,140,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2877b4', endColorstr='#00508c', GradientType=1 );	
}

/* MENUS */
/* Menú principal */
.contenedor-menu {padding:0 20px;}	
.contenedor-menu-principal {background-color: #006085;}	
.menu-principal {margin:0;}
.menuprincipal {background-color:#003246; margin: 0 -20px; padding: 0 20px;}
.menu-principal ul {display: none;}
.menu-principal li {
	text-transform:uppercase;
	display: block;
}
.menu-principal li a {
	font-size:13px;
	font-weight: 700;	
	letter-spacing: -0.1px;	
	color:rgb(255,255,255);
	padding: 10px;
}
.menu-principal li ul  {position: relative;display: block;}
.menu-principal li ul li {font-size: 90%; text-transform:none;}
.menu-principal li ul li a {color:rgba(255,255,255,.5);padding: 8px 8px 8px 20px;font-weight:400;}
.menu-principal li ul li ul li {font-size: 80%;}
.menu-principal li ul li ul li a {color:#a0c8dc;padding: 8px 8px 8px 40px;}
.menu-principal li a:hover,
.menu-principal li a:focus,
.menu-principal li a:active {
	color:#c8d200;
}
.menu-principal .current-menu-item a,
.menu-principal .current-page-ancestor a,
.menu-principal .current-post-ancestor a { color: rgba(255,255,255,.5);}

.menu-principal input[type=checkbox]{display: none; -webkit-appearance: none;}
input[type=checkbox]:checked ~ .menuprincipal {
	display: block;
}
.mostrar-menu {
	color: #fff;
	display:inline-block;
	background: #003246;
	padding: 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
}
.menu-empleo {
	position:relative;
	padding-left:22px;
}
.menu-empleo::before {
	content: url('img/ico-empleo.png');
	position:absolute;
	left:0;
	transform: scale(.5,.5);
	opacity: .6;
}
/* Idiomas */
.menu-principal .lang-item a {padding: 6px 0 10px 10px;}
.menu-principal .lang-item  {display: inline-block;float:left;}

/* Menú RRSS */
.rrss a {
	margin-right:4px;
	font-size: 14px;		
	color: #c8d200;	
	display: inline-block;
	float:left;
	width: 20px;
	height: 20px;	
	overflow: hidden;		
}

.rrss a:hover {color:#ddd;}
.rrss a:before {
	content: "\f00d";
    font-family: 'Font Awesome 5 Brands';
	width: 20px;	
	line-height: 20px;
	text-align: center;
	padding-left: 5px;
	margin-right: 20px;
}
.rrss a[href*="twitter.com"]:before { content: "\f099"; }
.rrss a[href*="facebook.com"]:before { content: "\f39e"; padding-left: 8px; }
.rrss a[href*="flickr.com"]:before { content: "\f16e"; }
.rrss a[href*="plus.google.com"]:before { content: "\f0d5"; }
.rrss a[href*="instagram.com"]:before { content: "\f16d"; padding-left: 6px; }
.rrss a[href*="linkedin.com"]:before {content: "\f0e1"; padding-left: 6px; }
.rrss a[href*="pinterest.es"]:before { content: "\f231"; padding-left: 7px;	 }
.rrss a[href*="vimeo.com"]:before { content: "\f27d"; }
.rrss a[href*="wordpress.com"]:before,
.rrss a[href*="wordpress.org"]:before { content: "\f19a"; }
.rrss a[href*="youtube.com"]:before { content: "\f167"; }
.rrss a[href^="mailto:"]:before { content: "\f0e0"; }
.rrss a[href*="spotify.com"]:before { content: "\f1bc"; }
.rrss a[href*="behance.net"]:before { content: "\f1b4"; }
.rrss a[href$="/feed/"]:before { content: "\f09e"; }

/* Menú pie */
.menu-pie li {
	font-size: 82%;	
	display: block;
	text-transform: uppercase;		
}

.menu-pie li a {
	padding: 12px 0;	
}

.menu-pie li {border-bottom:solid thin #3c4646;}	
.menu-pie li:last-child {border-bottom:none;}	

/* CONTENIDO */
.seccion, .archivo, .entrada {padding: 60px 0;}
.archivo aside, .entrada aside {margin-top: 30px;}
.seccion,
.fd-servicio,
.inicio-presentacion-iconos {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* Destacado */
.destacado-ctr::before {content:"";display:block;height:1px; width:100px;background:#d5dddd;position:relative;margin: 20px auto;}
.destacado::before {content:"";display:block;height:1px; width:100px;background:#d5dddd;margin:20px 0;}
.destacado, .destacado-ctr {position:relative;font-size:130%;font-weight:700;}
.destacado-ctr {text-align:center;}

/* Inicio */
.inicio-contactar {padding: 80px 0;background-image: url(img/fd-inicio-contactar.jpg);}
.inicio-presentacion {
	position: relative;
	background: rgba(200,210,0,1);
	background: -moz-linear-gradient(top, rgba(200,210,0,1) 0%, rgba(101,150,60,1) 80%, rgba(101,150,60,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(200,210,0,1)), color-stop(80%, rgba(101,150,60,1)), color-stop(100%, rgba(101,150,60,1)));
	background: -webkit-linear-gradient(top, rgba(200,210,0,1) 0%, rgba(101,150,60,1) 80%, rgba(101,150,60,1) 100%);
	background: -o-linear-gradient(top, rgba(200,210,0,1) 0%, rgba(101,150,60,1) 80%, rgba(101,150,60,1) 100%);
	background: -ms-linear-gradient(top, rgba(200,210,0,1) 0%, rgba(101,150,60,1) 80%, rgba(101,150,60,1) 100%);
	background: linear-gradient(to bottom, rgba(200,210,0,1) 0%, rgba(101,150,60,1) 80%, rgba(101,150,60,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c8d200', endColorstr='#65963c', GradientType=0 );
}
.inicio-presentacion::after {
	content: "";
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.1;
	position: absolute;
	background-color: transparent;
	background-image: url(img/fd-inicio-presentacion.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.text-presentacion {font-size:130%;margin-bottom:40px!important;}
.inicio-clientes .destacado-ctr {margin-bottom: 30px;}
.inicio-clientes .encabezado-h2.encabezado-centrado .encabezado-titulo::after {background: #919696;}

.carrusel-logos img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray; /* IE 6-9 */	
	-webkit-transition: all .5s ease;
	transition: all .5s ease;		
}
.carrusel-logos img:hover {
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-ms-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	filter: grayscale(0%);
	filter: none; /* IE 6-9 */	
	-webkit-transition: all .5s ease;
	transition: all .5s ease;		 
}
.carrusel-logos .slide {	
	background-color:#fff;
	padding: 10px;	
	margin:0 10px;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;		
}

/* INTEGRIDAD Y CONDUCTA */
.integridad-conducta a {
	font-weight: 600;

}
.integridad-conducta h5 {
	font-size: 14px;
	margin: 20px 0 5px 0!important;
}

.integridad-conducta .tabla-legal td, .integridad-conducta .tabla-legal th {
    padding: 10px 20px!important;
}

.integridad-conducta .tabla-legal th {
    color: #006085!important;
    text-transform: uppercase;
}
/* Quiénes somos */
.organigrama {margin-bottom:60px;}
.somos-elegir .lista-simple li::before {color:#c8d200;}
.somos-elegir .lista.lista-simple li::before {color:#c8d200;}
.enlace-qs {
	border: solid thin #fff;
	padding:16px;
	font-weight:700;
	display: block;
	text-align:center;
	background:#f1f1f1;
	font-size:100%;
	text-transform:uppercase;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;		
}
.enlace-qs:hover {
	background:rgb(0,96,133);
	color: #fff;
}
/* Servicios */
.integrales, .sociosanitarios {background-color: #006085;}
.destacado-servicio {
	color: #006085;	
	padding-left:50px;
	position: relative;	
	font-size: 118%;
	font-weight: 700;
}

.destacado-servicio::before, .destacado-servicio::before {
    left: 0;
    top: -10px;
    color: #006085;
    color: #c8d200;
    font-family: 'Playfair Display', serif;
	content: "“";	
    font-size: 80px;
    font-style: normal;
    line-height: 1;
    position: absolute;
}

.integrales-limpieza .fd-servicio, .integrales-logistica .fd-servicio, .integrales-produccion .fd-servicio, .sociosanitarios-sad .fd-servicio, .sociosanitarios-residencias .fd-servicio {min-height:200px;}
.seccion.servicio {padding:0!important;}
.det-servicio .columna {padding:40px 0;}	

/* LEGAL  */
.legal h4 {color:rgb(0,96,133); margin-top: 40px}
.legal h4:first-of-type {margin-top: 0}

/* Servicios Testimonios */
.sociosanitarios-sad-testimonios .separador {background: #afb4b4;margin: 2px 0 5px 0;}
.testimonios { position: relative;}
.testimonio-detalle {padding-left:20px;}
.testimonio-detalle h4 {font-size:110%;}
.testimonio-detalle h4 span { color: #878c8c;font-weight:normal;font-size:90%;}
.testimonio-texto blockquote::before {
    left: 20px;
    top: 20px;
    color: #006085;
    font-family: 'Playfair Display', serif;
	content: "“";	
    font-size: 80px;
    font-style: normal;
    line-height: 1;
    position: absolute;
}
.testimonio-texto blockquote {line-height: 1.8;}
.testimonio-texto {
    font-size: 86%;	
	position: relative;
	background-color: #ffffff;
	padding: 20px;
	border: 1px solid #dadada;
	margin-bottom: 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;		
}
.testimonio-texto:before,
.testimonio-texto:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 45px;
	border-style: solid;
}
.testimonio-texto:before {
	bottom: -11px;
	margin-left: -1px;
	border-width: 11px 11px 0 11px;
	border-color: #dadada transparent transparent transparent;
}
.testimonio-texto:after {
	bottom: -10px;
	border-width: 10px 10px 0 10px;
	border-color: #ffffff transparent transparent  transparent;
}
.fw-testimonials .fa {
    font-family: 'Font Awesome 5 Free';	
	font-weight: bold;
   font-size: 20px;
}

.fw-testimonials .next i::before {
    content:"/f060"!important;
}

.fw-testimonials .prev i::before {
    content:"/f061";
}

/* Servicios Residencias */
.residencia {margin-top:20px !important;}
.residencia ul {
	background:#fff;
	list-style-type:none;
	padding:10px 0;
	margin:10px 0; 
	position: relative;
	min-height: 180px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;	
}
.residencia ul li {padding: 5px 0 5px 30px;}
.residencia .nombre {
	min-height: 40px;	
	font-weight:700;
	margin-left:-30px;
}
.residencia .situacion {
	border-top: solid thin #ddd;
	padding-top:10px;
	margin-top:2px;	
}
.residencia .tel {font-size:100%;font-weight:700;}


/* Residencias */
.residencia-datos p {
	margin: 0;
}

.residencia-datos {
	max-width:1200px;
    text-align: center;	
	margin-left: auto;	
	margin-right: auto;	
	padding: 60px  0;	
}

.residencia-datos strong, .residencia-datos a {
	font-weight:700;	
}

.residencia-datos > div {
	padding: 0;
	margin-bottom: 10px;
	display:block;
	text-align: center;
	position:relative;
	vertical-align: top;	
}

.residencia-datos .datos::before {
    content: "";
	display: block;
	position: relative;		
	height: 60px;
	width: 60px;
    margin: 0 auto;		
	background: #c8d200;
	margin-bottom: 10px;	
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	-o-border-radius: 30px;
	border-radius: 30px;			
}

.datos.telefonos::after, .datos.correos::after, .datos.localizacion::after, .datos.sitioweb::after, .datos.numplazas::after  {
	position:absolute;	
	top:0;	
	left: 50%;
	display: block;
	height: 50px;
	width: 68px;
	transform: scale(.5)translateX(-100%);	
}

.datos.telefonos::after {
    content: url(img/residencia-ico-tel.png);		
}

.tel-senior {	
	display: inline-block;
	position: relative;
	font-weight:700;							
}

.tel-senior::before {
    content: url(img/residencia-tel-senior.png);	
	display: inline-block;
	position: relative;
	width: 22px;	
	height: 24px;
    margin-top: -5px;
    margin-left: -22px;         			
	transform: scale(.5)translateX(-100%);	
	float: left;						
}

.datos.correos::after {
    content: url(img/residencia-ico-email.png);		
}

.datos.localizacion::after {
    content: url(img/residencia-ico-situacion.png);		
}
.datos.sitioweb::after {
    content: url(img/residencia-ico-web.png);		
}
.datos.numplazas::after {
    content: url(img/residencia-ico-plazas.png);		
}

.residencia-medios {
    text-align: center;	
}

.residencia-medios{
	position: relative;		
}
.residencia-tour::before, .residencia-video::before  {
    content: "";
	display: block;
	position: absolute;	
	top:-70px;
	left:50%;
	transform: translateX(-50%);
	height: 1px;
	width: 180px;
	margin: 40px auto;	
	background-color:  #d7dcdc;		
}

.residencia-medios > div {
	display: inline-block;
	padding-bottom: 40px;	
}

.boton-tour, .boton-video {
	border: solid thin #006085;
    padding: 12px 24px;
    font-weight: 700;
    display: block;	
	margin:10px 4px;     
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;    
}

.boton-tour:hover, .boton-video:hover {
	opacity: .5;  
	color: #006085;	
    padding: 12px 30px;		
}

.boton-tour::before, .boton-video::before {
	display: block;
	float: left;
	height: 25px;
	width: 25px;  
}

.boton-tour::before {
    content: url(img/residencia-ico-tour.png);	
	transform: scale(.4)translate(-60%,-60%);
	margin-right:10px;  
	margin-top:-2px;	       
}

.boton-video::before {
    content: url(img/residencia-ico-video.png);	
	transform: scale(.5)translate(-50%,-50%);  	          
}

figure.wp-block-image.size-full {
	margin:0;
}

.single-residencias .titulo h4 {
	color:#c8d200;
	letter-spacing: 1px;
	text-transform: uppercase;
	position:relative;
	z-index: 10;
}

.single-residencias h2 {	
	color:#c8d200;
	font-size:260%;
}

.single-residencias h3 {
    font-weight: 400;		
	color:#006085;
	font-size:120%;
	letter-spacing: .6px;	
}

.single-residencias h4 {
    font-weight: 400;
    font-size: 110%;
}

.residencia-encabezado h2.has-text-align-center::before {
    content: "";
	display: block;
	position: relative;	
	height: 1px;
	width: 100px;
	margin: 10px auto 6px auto;	
	background-color:  #d7dcdc;		
}

.residencia-encabezado-lateral .wp-block-group__inner-container {
	position: relative;
	margin-left: 20px;
}

.residencia-encabezado-lateral .wp-block-group__inner-container::before {
    content: "";
	display: block;
	position: absolute;	
	left:-20px;
	margin-right: 40px;
	height: 100%;
	width: 1px;	
	background-color:  #d7dcdc;		
}

.residencia-presentacion {
	padding: 60px 20px;
}

.residencia-instalaciones {
	padding: 20px 0 0 0;
}

.residencia-instalaciones h4 {
	margin: 20px 0;
}

.residencia-instalaciones .wp-block-columns {
    margin-bottom: 0;
}

.residencia-info {
	padding: 60px 20px;
}

.galeria-residencia .blocks-gallery-grid, .galeria-residencia .wp-block-gallery {display: block !important;}
.galeria-residencia figure {
    margin-inline-start: -20px;
    margin-inline-end: -20px;
}

.galeria-residencia .blocks-gallery-grid .blocks-gallery-item, .galeria-residencia .residencia-instalaciones {
    margin-bottom: .2em;	
}

.galeria-residencia .wp-block-gallery .blocks-gallery-item figcaption {
	padding-bottom: 30px;
}

#lightcase-sequenceInfo {
    display: none !important;
}

.formulario-residencias {
	padding-right: 10px;
}

.formulario-contacto.formulario-residencia input, .formulario-contacto.formulario-residencia textarea, .formulario-contacto.formulario-residencia select {
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.5);
    font-size: 12px;
    margin-top: 5px;
}

.formulario-contacto.formulario-residencia select option {
    background: rgba(255,255,255,.07);
	color: rgb(0,0,0);
    font-size: 12px;
    margin-top: 5px;
}

.formulario-contacto.formulario-residencia ::-webkit-input-placeholder { /* Edge */
  color: rgba(255,255,255,.5);
}

.formulario-contacto.formulario-residencia :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: rgba(255,255,255,.5);
}

.formulario-contacto.formulario-residencia ::placeholder {
  color: rgba(255,255,255,.5);
}

.formulario-contacto.formulario-residencia input[type="submit"] {background: #c8d200; color:rgb(60,80,0)!important; font-weight: 600;margin: 10px 0 -10px 0;}

.formulario-contacto.formulario-residencia .condiciones, .formulario-contacto.formulario-residencia .aceptacion {
  color: rgba(255,255,255,.5);
  font-weight: 400;  
  font-size:85%;
  margin:0;
}

.formulario-contacto.formulario-residencia .condiciones a {
  color: rgba(255,255,255,.5);
}


.form-nombre, .form-telefono, .form-email {
	width: 32.6%;
	display:inline-block;
	float:left;
}

.form-nombre, .form-telefono {
    margin-right: 1%;
 }

#mapa iframe {
	height: 100%;
	min-height:600px;
} 

#mapa.wp-block-cover {
	padding:0;
}

#mapa .wp-block-columns {
    margin-bottom: 0;
}


 @media (min-width: 782px) {
	.single-residencias .residencia-instalaciones .wp-block-column:not(:first-child) {
	    margin-left: .2em;
	}
	.single-residencias #mapa .wp-block-column:not(:first-child) {
	    margin-left: 0;
	}	
}
.residencias-intro {
	max-width:860px;
	text-align: center;
	margin: 0 auto;
}

.residencias-intro h3:after {
	content:"";
	display:block;
	position: relative;		
	top:0;	
	width: 100px;  
	height:1px;	
	margin:20px auto;
	background: #afb4b4;
}

.residencias-filtro {
	margin: -50px auto 45px auto;
	width: 100%;
}
.residencias-filtro .categorias.todas {
	text-align: center;	
	margin:20px 0;	
}

.residencias-filtro .categorias.todas li {
	display: block;
	margin-bottom: 10px;	
}

.ver-todas {margin-right:4px;}
.ver-todas, .residencias-filtro .todas.categorias li a {
	border: solid 1px #006085;
	color: #006085;	
	padding: 0 8px;
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;  	
}

.post-type-archive-residencias .ver-todas {
	color: #afb4b4 !important;
	border: solid 1px #afb4b4 !important;	
}

.ver-todas:hover, .residencias-filtro .todas.categorias li a:hover {
	border: solid 1px #c8d200;
	color: #c8d200;	
}

.residencias-filtro .todas.categorias li a::after {
	display:none;
}

.term-leon .residencias-filtro .todas.categorias li a.leon,
.term-palencia .residencias-filtro .todas.categorias li a.palencia,
.term-santander .residencias-filtro .todas.categorias li a.santander,
.term-segovia .residencias-filtro .todas.categorias li a.segovia,
.term-soria .residencias-filtro .todas.categorias li a.soria,
.term-valladolid  .residencias-filtro .todas.categorias li a.valladolid  {
	color: #afb4b4;
	border: solid 1px #afb4b4;
}


.residencias-cuadricula {
	display: grid;		
	grid-template-columns: 1fr; 
	column-gap: 10px; 
	grid-row-gap: 10px
}

.residencia-elemento {
	position: relative;
	z-index: 1;
	background: rgb(0,96,133);
	overflow: hidden;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;  	
}

.residencia-elemento:nth-of-type(1).slide-abajo, 
.residencia-elemento:nth-of-type(2).slide-abajo, 
.residencia-elemento:nth-of-type(3).slide-abajo, 
.residencia-elemento:nth-of-type(4).slide-abajo,
.residencia-elemento:nth-of-type(5).slide-abajo, 
.residencia-elemento:nth-of-type(6).slide-abajo, 
.residencia-elemento:nth-of-type(7).slide-abajo, 
.residencia-elemento:nth-of-type(8).slide-abajo,
.residencia-elemento:nth-of-type(9).slide-abajo, 
.residencia-elemento:nth-of-type(10).slide-abajo, 
.residencia-elemento:nth-of-type(11).slide-abajo, 
.residencia-elemento:nth-of-type(12).slide-abajo,
.residencia-elemento:nth-of-type(13).slide-abajo, 
.residencia-elemento:nth-of-type(14).slide-abajo, 
.residencia-elemento:nth-of-type(15).slide-abajo, 
.residencia-elemento:nth-of-type(16).slide-abajo {	
	animation-fill-mode: backwards;		
}
.residencia-elemento:nth-of-type(1).slide-abajo,
.residencia-elemento:nth-of-type(5).slide-abajo,
.residencia-elemento:nth-of-type(9).slide-abajo,
.residencia-elemento:nth-of-type(13).slide-abajo {	
	animation-delay: .2s;	
}
.residencia-elemento:nth-of-type(2).slide-abajo,
.residencia-elemento:nth-of-type(6).slide-abajo,
.residencia-elemento:nth-of-type(10).slide-abajo,
.residencia-elemento:nth-of-type(14).slide-abajo {	
	animation-delay: .4s;
}
.residencia-elemento:nth-of-type(3).slide-abajo,
.residencia-elemento:nth-of-type(7).slide-abajo,
.residencia-elemento:nth-of-type(11).slide-abajo,
.residencia-elemento:nth-of-type(15).slide-abajo {	
	animation-delay: .6s;	
}
.residencia-elemento:nth-of-type(4).slide-abajo,
.residencia-elemento:nth-of-type(8).slide-abajo,
.residencia-elemento:nth-of-type(12).slide-abajo,
.residencia-elemento:nth-of-type(16).slide-abajo {	
	animation-delay: .8s;
}

.residencia-elemento h3 {
	font-size:120%;
}

.residencia-elemento:hover img {
	transform: scale(1.15);
}

.residencia-imagen img {
	min-height: 260px;	
    object-fit: cover;
    object-position: left;
}

.residencia-elemento .residencia-imagen::after {
	content:"";
	display:block;	
	position:absolute;
	z-index: 1;	
	top:0;
	width:100%;  
	height:100%;
    top: 0;   
    background:rgba(0,76,110,.8); 
}

.residencia-elemento:hover .residencia-imagen::after {
    background: rgba(160,170,0,.8);   
}

.residencia-resumen {
	position: absolute;
	bottom:0;
	z-index: 2;
	width:100%;
	height:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
}

.residencia-resumen header {
	position: absolute;	
	width:100%;		
	bottom:0;	
}

.residencia-resumen header a h3::after {
	content:"";
	display:block;
	position: relative;		
	top:0;	
	width:40px;  
	height:1px;	
	margin-top:10px;
	background: #c8d200;
}

.residencia-resumen header a h3, .residencia-categorias ul li {
	color:rgb(255,255,255);
	letter-spacing:.2px;	
	display:block;
	position:relative;		
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
}

.residencia-resumen header a h3 {
	padding:100% 30px 60px 30px;
	margin-left:40px;		
	height:100%;	
	width:100%;
	bottom:0;	
	margin:0;
	z-index: 4;
}

.residencia-resumen header a h3:hover {
	color:rgba(255,255,255,.8);		
}

.residencia-categorias ul li  {
	width:100%;	
	padding: 0 30px 30px 30px;
	position:absolute;
	z-index: 1;
	bottom:0;
}

.residencia-categorias .categorias ul {
    padding: 0;
    margin:0;
}

.residencia-resumen header a h3, .residencia-categorias ul li a, .residencia-resumen header a h3:hover, .residencia-categorias ul li a:hover, .residencia-elemento img, .residencia-elemento:hover img, .residencia-elemento .residencia-imagen::after, .residencia-elemento:hover .residencia-imagen::after {
	-webkit-transition: all ease-in-out 0.4s;
	-moz-transition: all ease-in-out 0.4s;
	-ms-transition: all ease-in-out 0.4s;
	-o-transition: all ease-in-out 0.4s;
	transition: all ease-in-out 0.4s;
}

/* Animaciones */

@keyframes fundido {
	0% {opacity: 0;}			
	100% {opacity: 1;}
}
@-webkit-keyframes fundido {
	0% {opacity: 0;}			
	100% {opacity: 1;}
}

@keyframes slide-arriba {
	0% {top: -100px; opacity: 0;}		
	100% {top: 0; opacity: 1;}
}

@-webkit-keyframes slide-arriba {
	0% {top: -100px;opacity: 0;}	
	100% {top: 0;opacity: 1;}
}

@keyframes slide-abajo {
	0% {top: 100px; opacity: 0;}		
	100% {top: 0; opacity: 1;}
}


@-webkit-keyframes slide-abajo {
	0% {top: 100px;opacity: 0;}	
	100% {top: 0;opacity: 1;}
}

@keyframes slide-izda {
	0% {left: -300px; opacity: 0;}		
	100% {left: 0; opacity: 1;}
}

@keyframes slide-dcha {
	0% {right: -300px; opacity: 0;}		
	100% {right: 0; opacity: 1;}
}

@keyframes slide-abajo-destacado {
	0% {bottom: -100px; opacity: 0;}	
	10% {opacity: 0;}	
	100% {bottom: 0; opacity: 1;}
}

@-webkit-keyframes slide-abajo-destacado {
	0% {bottom: -100px;opacity: 0;}
	10% {opacity: 0;}		
	100% {bottom: 0;opacity: 1;}
}
.fundido {
	animation: 	fundido;
	animation-duration: .5s;	
}
.slide-arriba,
.slide-abajo,
.slide-izda,
.slide-dcha {
	position:relative;
	overflow: hidden;			
}

.slide-arriba {
	animation: slide-arriba;
	animation-duration: 1.4s;			
}

.slide-abajo {	
	animation: slide-abajo;	
	animation-duration: 1.4s;			
}

.slide-izda {
	animation: slide-izda;		
	animation-duration: 1.4s;			
}

.slide-dcha {
	animation: slide-dcha;
	animation-duration: 1.4s;			
}

/* Sectores */
.columna-sector {margin-top:20px !important;}
.sector img {
    -webkit-transform: scale(.65) !important;
    transform: scale(.65) !important;
    margin: -28px 0;
}

.sector h3 {font-size:150%; margin-top:5px;}
.sector {
	text-align:center;
	padding: 15px 0 20px 0;
 	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px; 	
}
.sector .columna {
	padding:20px 0;
}
.icono-sector img {-webkit-transform: scale(.65) !important;transform: scale(.65) !important;margin: -28px 0;}
.lista-empresas {list-style-type:none;padding:0;margin:0; font-size:90%; }
.lista-empresas::before {
    content: "";
    height: 2px;
    width: 80px;
	background: #c8d200;
    display: block;
 	margin: 8px auto 8px auto;
}
.lista-empresas li::after {
    content: "";
    height: 1px;
    width: 80px;
	background: #e4e8e8;
    display: block;
 	margin: 5px auto 5px auto;
}
.lista-empresas li:last-child::after {
    content: none;
}
/* Personas */
.documentos {padding-top:0!important}
.documentos img {
   width:50%;
   height:auto;
   margin-bottom: 20px;
}
/* Pag contacto */
/* Pestañas */
.tab {
	overflow: hidden;
	background-color: #afb4b4;
 	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0; 
	
}
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
 	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0; 		  
}
#defaultOpen {
	margin-left:1px;
 	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0; 
}
.tab button:hover {background-color: #afb4b4;color:#ddd;}
.tab button.active {
	background-color: #fff;
	color:#006085;
 	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0; 	
}
.tabcontent {
  display: none;
  padding: 20px 25px;
  border: 1px solid #afb4b4;
  border-top: none;
}
.datos-contacto h3 {margin-bottom: 30px;}
.datos-contacto h4 {text-transform:uppercase;}
/* Info-Covid-19 */
.info-covid .contenedor {
	max-width: 900px;
}
.info-covid img {
	border: solid thin rgb(205, 229, 238);
	content-size: border-box;
	padding: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;	
}

/* TEXTOS LEGALES*/

.textos-legales p,.textos-legales li:last-child {margin-bottom: 15px;}
.textos-legales h3 {font-size: 150%;}
.textos-legales li {line-height: 1.7;}
.textos-legales li:first-child {margin-top:15px;}
.textos-legales ul {margin-top: -10px; padding-left: 60px;}
.textos-legales li {margin-bottom: 4px;}
.textos-legales ol {list-style:none;}
.textos-legales ol li h3:before {margin-left: -20px; margin-right: 5px;}
.textos-legales ol li h3:before {
	margin-left:-24px;
	margin-right: 5px;
}
.textos-legales .lista-1:before {content:"1.";}
.textos-legales .lista-2:before {content:"2.";}
.textos-legales table {margin: 15px 0 20px 0;font-size: 94%;}
.tabla-proteccion-datos td {padding: 3px 0;}
.tabla-cookies td {padding:20px;border-bottom: solid thin #ddd;}
#adiccional {height: 20px;}

.texto-oblig {margin-top: 40px; padding-top: 40px; border-top: solid thin #ddd;}
.texto-oblig p {margin-bottom: 5px;}

/* ELEMENTOS */
/* Contacto */
.contacto {list-style-type:none;padding:0;margin:0; position: relative;}
.contacto li {padding: 10px 0 10px 40px;}
.cabecera .contacto li {display:inline-block;padding: 0 0 0 30px;}
.tel {font-size:20px;line-height: 20px;	font-weight:700;}
.tel::before, .fax::before, .movil::before, .email::before, .situacion::before, .horario::before, .web::before, .fecha:before, .plazas:before {
    font-family: 'Font Awesome 5 Free';	
	color:#c8d200;	
	font-size:16px;
	font-weight:bold;		
	display:block;
	width: 16px;
	height:16px;
	float:left;
	margin-left:-30px;
	margin-right:10px;
}
.contacto.contacto-residencias {padding-bottom: 30px;}
.contacto.contacto-residencias li {padding: 5px 0 0 16px;}
.contacto-residencias .tel::before, .contacto-residencias .email::before {	display:inline-block;float:none;}
.tel-24h {font-weight:bold;font-size:140%;display:inline;padding: 10px 0 10px 30px!important;}
.contacto.contacto-residencias .tel-24h {padding-left: 10px!important;}
.tel-24h::before {
	content: url(img/ico-tel-24h.png);
	display:inline;
	vertical-align: -8px;		
	margin-left:-30px;
}
.tel::before {content: "\f095";}
.fax::before {content: "\f1ac";}
.movil::before {content: "\f095";}
.email::before {content: "\f2b6";font-weight:normal;}
.situacion::before {content: "\f124";}
.horario::before {content: "\f017";}
.web::before {content: "\f061";}
.fecha::before {content: "\f095";}
.plazas::before {content: "\f007";}

.email.email-secundario {padding: 0 0 0 40px;margin-top: -5px;}
.email.email-secundario::before {content: none;}

.tabla-info {margin-bottom:20px;}
.tabla-info td, .tabla-info th {
    border: solid thin #ddd;
    padding: 10px;
}
.tabla-info th {background: #ddd;}
/* CONSTRUCTOR */
/* Constructor Sección*/
.seccion, .col{background-repeat:no-repeat;background-position:center center;background-size: cover;}
.seccion-100 .col {padding: 0;}
.fondo-fijo {background-attachment:fixed;}
/* Constructor Columna*/
.columna-bloque .columna {width:100%;}
.columna-bloque {margin: 0 20px;-webkit-border-radius: 5px;-moz-border-radius: 5px;-o-border-radius: 5px;border-radius: 5px;}

/* Constructor Lista */
.lista, .lista-simple {list-style-type:none;padding:0;margin:0 0 20px 0; }
.lista li {padding: 8px 0 8px 30px;text-transform: uppercase;}
.lista-simple li {padding: 5px 0 5px 30px;text-transform: uppercase;}
.info .lista-simple li {text-transform: none;}
.lista li::before, .lista-simple li::before {
	content: "\f0da";	
    font-family: 'Font Awesome 5 Free';
	color:#afb4b4;
	vertical-align:-3px;
	font-weight:bold;		
	line-height:18px;	
	float:left;
	margin-left:-30px;
	margin-right:10px;
}
.lista li::after, .widget .menu li::after {
    content: "";
    height: 1px;
    width: 100%;
	background: #e4e8e8;
    display: block;
 	margin: 8px 0 -8px 0;	
}
.lista.lista-simple li::after {content: none;}

.negativo .lista li::before, .negativo .lista-simple li::before {color: #c8d200;}
.lista.lista-centrada li::before {display: none;}
.lista-centrada li {text-align:center;}
.lista-centrada li::after {width: 25%; margin: 10px auto -10px auto;}
/* BUSCADOR */
.buscador {position: relative;}
.buscador input[type="image"] {
	width:36px;
	height: 35px;
    padding: 10px;	
	top: 0;		
	right: 0;	
	position:absolute;	
	overflow: hidden;
	background: #006085;	
	border: solid 1px #006085;
}
.buscador input {padding: 10px 30px; color:#929496;border:solid thin #929496; border:solid thin rgba(255,255,255,.5);height: 36px;}
.barra-superior .buscador input {color:#b3c9e0;}
.buscador-blog select {display:none;}

/* FORMULARIOS */
form label {
	color: #878c8c;
	display: inline-block;	
    padding: 10px 0 2px 0;	
}
fieldset {
	background: #FFFFFF;
	padding: 1.6rem;	
	padding: 16px;
	border:none;
	margin: 0 0 1rem 0;	
	margin: 0 0 10px 0 
}
legend {text-transform: uppercase;}
button, input[type="button"], input[type="reset"], input[type="submit"], input, select, textarea {
    padding: 15px;
	width: auto;	
    border: none;
    box-shadow: none;
    cursor: pointer;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;		
}
input, select, textarea {
	width: 100%;
	background: rgba(50,56,62,.05);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
}
select{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;		
}
input{ padding: 15px;}
button, input[type="button"], input[type="reset"], input[type="submit"] {
	background: #006085;
    color: #fff;
	-webkit-transition: all ease-in-out 0.4s;
	-moz-transition: all ease-in-out 0.4s;
	-ms-transition: all ease-in-out 0.4s;
	-o-transition: all ease-in-out 0.4s;
	transition: all ease-in-out 0.4s;	
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {background: #CBCBCB;}
input[type="radio"], input[type="checkbox"] {width: auto; display:inline;}
.formulario-contacto p {margin: 0 0 10px 0;}
.formulario-contacto input[type="checkbox"] {margin-left:-12px;}
.formulario-contacto input[type="submit"] {margin:10px 0 0 0;text-transform:uppercase;}
.formulario-contacto label span {color: red;}
.formulario-contacto .col label {padding: 4px 0;}
.condiciones, .aceptacion {font-size:92%;line-height: 1.58;margin: 0 0 5px 0}
.aceptacion{ font-weight:700;}

/* Botones*/
.boton, .boton-borde {
	text-transform:uppercase;
	font-weight:600;
	font-size:86%;	
    padding: 15px 30px;
	margin: 5px 0;	
	display: inline-block;	
	position:relative;
	z-index:2;	
	overflow:hidden;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;	
	-webkit-transition: all ease-in-out .4s;
	-moz-transition: all ease-in-out .4s;
	-ms-transition: all ease-in-out .4s;
	-o-transition: all ease-in-out .4s;
	transition: all ease-in-out .4s;					
}
.boton {color:rgb(255,255,255); background-color: #006085;}
.boton:visited, .boton:active, .boton:focus {color:rgb(255,255,255);}
.boton:hover {color:rgba(255,255,255,.5);background-color:#003c5a}

/* NEGATIVO*/
/* NEGATIVO*/
.negativo,
.negativo h1, 
.negativo h2,
.negativo .destacados h2, 
.negativo h3, 
.negativo h4, 
.negativo h5, 
.negativo h6,
.negativo a {
	color: #FFF;	
}
.negativo p {color: rgba(255,255,255,.7);}
.negativo a:hover, .negativo .boton-flecha:hover, .negativo .boton-flecha:visited, .negativo .boton-flecha:active, .negativo .boton-flecha:focus {color: rgba(255,255,255,.4);}
.negativo input, .negativo textarea {background: rgba(255,255,255,.2);color: rgba(255,255,255,.8);}
.negativo .noticia h3 a {color: #50565c;}
.negativo .noticia h3 a:hover {color: #009bdb;}
.negativo .borde {border:none;}
.negativo .boton-blanco {color: #00b0eb;}
.negativo .boton-blanco:hover {color: #c8ccd0;}

/* CONSTRUCTOR */
/* Botones */
.boton, .boton-borde {
	text-transform:uppercase;
	font-weight:600;
	font-size:86%;	
    padding: 15px 30px;
	margin: 5px 0;	
	display: inline-block;	
	position:relative;
	z-index:2;	
	overflow:hidden;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;	
	-webkit-transition: all ease-in-out .4s;
	-moz-transition: all ease-in-out .4s;
	-ms-transition: all ease-in-out .4s;
	-o-transition: all ease-in-out .4s;
	transition: all ease-in-out .4s;						
}
.boton {color:rgb(255,255,255) !important; background-color: #006085;}
.boton:visited, .boton:active, .boton:focus {color:rgb(255,255,255);}
.boton:hover {color:rgba(255,255,255,.5);background-color:#003c5a}
.boton-borde {color: #006085 !important;border-style: solid;border-width: thin;border-color: #006085; background-color:transparent;}
.boton-borde:visited, .boton-borde:active, .boton-borde:focus {color: rgb(0,176,235);}
.boton-borde:hover {color: #b4bac0 !important; border-color: #b4bac0;background-color:transparent;}
.boton-verde {color:rgb(60,80,0)!important; background: #c8d200;}
.boton-verde:hover {color:rgb(60,80,0);background:#a0aa00;}
.boton-blanco {color:#006085 !important; background: #ffffff;}
.boton-blanco:visited, .boton-blanco:active, .boton-blanco:focus {color:#006085;}
.boton-blanco:hover {color: #006085;background:#dce0e4;}
.boton-borde-verde {color: #c8d200 !important;border-style: solid;border-width: thin;border-color: #c8d200; background-color:transparent;}
.boton-borde-verde:visited, .boton-borde-verde:active, .boton-borde-verde:focus {color: #c8d200;}
.boton-borde-verde:hover {color: #a0aa00 !important;border-color:#a0aa00;; background-color:transparent;}
.boton-borde-blanco {color: #ffffff; border-style: solid;border-width: thin;border-color: #ffffff; background-color:transparent;}
.boton-borde-blanco:hover {color:#dce0e4 !important;border-color:#dce0e4 !important; background-color:transparent;}
.contenedor-boton {width: 100%;display: table;margin: 15px 0;}
.boton-dcha {float:right;}
.boton-ctr {display:inherit; margin: 0 auto;}

/* Encabezado especial */
.encabezado {margin-bottom:20px;}
.encabezado-titulo {position:relative;}
.encabezado-centrado {text-align:center;}
.negativo .encabezado::before {background: rgba(255,255,255,.2);}
.negativo .encabezado-h2.encabezado-centrado .encabezado-titulo::after {background: rgba(255,255,255,.2);}
.encabezado-h2.encabezado-centrado .encabezado-titulo::after {	
	content:"";
	display:block;
	height:1px;
	margin: 20px 0;
	width: 120px;
	background: #dce0e4;	
}
.encabezado-centrado .encabezado-titulo::after, .encabezado-h2.encabezado-centrado .encabezado-titulo::after, .encabezado-h2.encabezado-centrado::before {width: 160px;margin: 15px auto;}
.encabezado-centrado .encabezado-titulo::before  {margin-left:-20px;left:50%;}
.encabezado-antetitulo {font-size:110%;font-weight: 300;letter-spacing: 1px;padding-bottom: 10px;}
.encabezado.encabezado-h2 {padding:0 0 0 30px;position:relative;}
.encabezado-h2.encabezado-centrado {padding:0}
.encabezado-h2::before {
    content: "";
    height: 100%;
    width: 2px;
    position: absolute;
	background: #c8d200;
	top:0;
	left:0;
}
.encabezado-h2.encabezado-centrado .encabezado-titulo {border-left: none; padding:0;margin-bottom: 20px;}
.encabezado-h2.encabezado-centrado .encabezado-titulo::before {
    height: 2px;
    width: 40px;
    left: 0;
	top:100%;	
	bottom:-1px;
	margin-left:-20px;left:50%;	
	transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
}
.encabezado-h2.encabezado-centrado .encabezado-titulo::after {width: 100px;	height:2px;background: #c8d200;}
.encabezado-titulo::before, .encabezado-h2::before, .encabezado-h2.encabezado-centrado .encabezado-titulo::after {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;	
}
.encabezado-h2 .encabezado-titulo::before, .encabezado-h2 .encabezado-titulo::after, .encabezado-h2.encabezado-centrado::before {display:none;margin:0}

/* BLOG*/
/* Antiguo editor */
.wp-caption {max-width: 100% !important;}
.wp-caption .wp-caption-text {
	line-height: 1.4;	
	color: #969ca2;
	text-align: center;
	font-size: 85%;
	padding-top: 8px;	
}
.alignleft {float: left;margin: 5px 15px 0 0;}
.alignright {float: right;margin: 5px 0 0 15px;}
.aligncenter {text-align: center;margin: 0 auto;display: block;}
.gallery {margin: 0 2px!important;}
.gallery img{border: solid thin #ddd !important;}
.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	margin-left: 0;	
	padding: 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}	
.gallery-columns-1 .gallery-item { max-width: 100%;}
.gallery-columns-2 .gallery-item { max-width: 50%;}
.gallery-columns-3 .gallery-item { max-width: 33%;}
.gallery-columns-4 .gallery-item { max-width: 25%;}
.gallery-columns-5 .gallery-item { max-width: 20%;}
.gallery-columns-6 .gallery-item { max-width: 16.66%;}
.gallery-columns-7 .gallery-item { max-width: 14.28%;}
.gallery-columns-8 .gallery-item { max-width: 12.5%;}
.gallery-columns-9 .gallery-item { max-width: 11.11%;}
.gallery-icon img { margin: 0 auto;}
.gallery-caption {	
	color: #969ca2;
	text-align:center;	
	display: block;
	font-size: 85%;
	padding: 8px;	
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
/* Fin antiguo editor */
/* Galerías nuevo editor */
.wp-block-gallery .blocks-gallery-item {display: block;}
/* Fin Galerías nuevo editor */


/* Listado categorías */
.todas.categorias span {display:inline-block;margin-bottom:5px;float:none!important;}
.todas.categorias li a::after {content:"|";color:#eceef0;padding-left:8px;}
.categorias, .evento-categorias {text-transform:uppercase;}
.categorias ul {list-style: none;margin: 0 0 5px 0; padding:0;}
.categorias li {display:inline;padding:0;text-transform:uppercase;}
.categorias li a::after {content:",";}
.categorias li:last-child a::after {content:"";}
.etiquetas {padding:5px 0;}
.etiquetas span {color: #32383e;}
.etiquetas, .etiquetas a, .categorias li a {color: #b4bac0;}
.etiquetas a:hover, .categorias li a:hover {color: #006085;}
/* Listado widgets */
aside ul {
	list-style: none;
	margin: 0;
	padding:0;
}

aside ul li {
	margin: 12px 0;
}

aside ul li a, .tagcloud a {color:#96989a;}
aside ul li a:hover, .tagcloud a:hover {color:#006085;}
aside h3, .comments-area h3 {
	position: relative;	
	text-transform: uppercase;
	letter-spacing: 1.4px;
	font-size: 110%;
	font-weight:700;
	padding-top:40px;
}
aside h3::after, .comments-area h3::after {
	content:"";	
	display: block;	
	width: 100%;	
	height: 1px;
	border: 0;
	background: #dce0e4;
	margin: 12px 0;
}
/* Etiquetas */


/* Paginacion WP */
.pagination {padding: 10px 0;}
.pagination h2 {display:none;}
.pagination .next, .pagination .prev, .pagination .page-numbers {
	border-right: solid thin #dce0e4;
	text-align: center;		
	display: inline-block;
	padding: 0 15px;	
	margin: 20px 0;			
}

.pagination .prev {
	padding-left: 0;			
}

.pagination .next {border-right: none;}
.pagination span.page-numbers {border-right: solid thin #DDD;color: #DDDDDD;	}
.pagination .next:before, .pagination .prev:before {
	text-align: center;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	-o-border-radius: 25px;
	border-radius: 25px;		
}	
.pagination .next:before, .pagination .prev:before {font-family: 'Font Awesome 5 Free';font-size:14px;font-weight:bold;padding: 8px 11px;}
.pagination .next:before {content: "\f054";}
.pagination .prev:before {content: "\f053";}
/* Comentarios */
.comment-form p {margin:0;}
.comment-form label {padding: 4px 0 2px 0;color:#92989e;font-size:95%;}
.comment-form-cookies-consent label {font-size:80%;}
.comment-form input[type="submit"] {margin-top:10px;text-transform:uppercase;}

/* Listado archivo */	
.listado.noticia {border-bottom: solid thin #dce0e4; margin-bottom:40px; padding-bottom:40px; }
.listado.noticia .imagen-enlace { margin-bottom:20px;}
.listado.noticia .categorias { }


@media only screen { 
	.col {
    	float: left;
		min-height: 1px;	
		width: 100%;
	}
}

@media only screen and (min-width: 600px) {
	.residencias-cuadricula {	
		grid-template-columns: 1fr 1fr;  
	}
}
/* Desktop */
@media only screen and (min-width:769px) {
	h1 {font-size: 300%;}
	h2 {font-size: 220%;}	
	h3 {font-size: 170%;}	
	h4 {font-size: 130%;}	
	h5 {font-size: 120%;}	
	h6 {font-size: 110%;}	
/* 	RETÍCULA */
	.col { padding: 0  20px;}
    .ancho-5 { width: 5%; }
    .ancho-10 { width: 10%; }
    .ancho-12 { width: 12%; }		
    .ancho-15 { width: 15%; }			
    .ancho-16 { width: 16%; }			
    .ancho-20 { width: 20%; }	
    .ancho-25 { width: 25%; }
    .ancho-30 { width: 30% ;}	
    .ancho-33 { width: 33.33%; }			
    .ancho-40 { width: 40%; }						
    .ancho-50 { width: 50%; }
    .ancho-60 { width: 60%; }			
    .ancho-66 { width: 66.66%; }	
    .ancho-70 { width: 70%; }	
    .ancho-75 { width: 75%; }	
    .ancho-80 { width: 80%; }
    .ancho-85 { width: 85%; }
    .ancho-88 { width: 88%; }		
    .ancho-90 { width: 90%; }
	
    .ancho-5.columna-bloque { width: calc(5% - 40px);}
    .ancho-10.columna-bloque { width: calc(10% - 40px); }
    .ancho-12.columna-bloque { width: calc(12% - 40px); }		
    .ancho-15.columna-bloque { width: calc(15% - 40px);}			
    .ancho-16.columna-bloque { width: calc(16% - 40px); }			
    .ancho-20.columna-bloque { width: calc(20% - 40px); }	
    .ancho-25.columna-bloque { width: calc(25% - 40px); }
    .ancho-30.columna-bloque { width: calc(30% - 40px);}	
    .ancho-33.columna-bloque { width: calc(33.33% - 40px); }			
    .ancho-40.columna-bloque { width: calc(40% - 40px); }						
    .ancho-50.columna-bloque { width: calc(50% - 40px); }
    .ancho-60.columna-bloque { width: calc(60% - 40px); }			
    .ancho-66.columna-bloque { width: calc(66.66% - 40px); }	
    .ancho-70.columna-bloque { width: calc(70% - 40px); }	
    .ancho-75.columna-bloque { width: calc(75% - 40px); }	
    .ancho-80.columna-bloque { width: calc(80% - 40px); }
    .ancho-85.columna-bloque { width: calc(85% - 40px); }
    .ancho-88.columna-bloque { width: calc(88% - 40px);}		
    .ancho-90.columna-bloque { width: calc(90% - 40px);}		
	
/* AUXILIARES */
	.vertical {display: table;}
	.vertical-fila {display: table-row;}
	.vertical-celda {vertical-align: middle; display: table-cell; float: none !important;}	
	.npd-total { padding: 0 !important;}
	.npd { padding-left: 0 !important; padding-right: 0 !important;}	
	.nmg { margin-left: 0; margin-right: 0;}
	.npd-dcha { padding-right: 0 !important;}
	.npd-izda { padding-left: 0 !important;}
	.npd-top { padding-top: 0 !important;}
	.npd-bottom { padding-bottom: 0 !important;}	
	.nmg-dcha { margin-right: 0 !important;}
	.nmg-izda { margin-left: 0 !important;}		
	.text-dcha { text-align: right;}	
			
/* CABECERA/PIE/TÍTULO */		
	.cabecera .contacto, .cabecera .rrss {display:block;}
	.cabecera {background-color: transparent;border-bottom:solid thin rgba(255,255,255,.1); 	box-shadow: none;}	
	.principal {
		position: absolute;
		width: 100%;
		top: 0;
	}	
	.titulo {padding:300px 0 40px 0;}
	.single-residencias .titulo {padding:0;height:100vh;}
	.single-residencias .titulo .contenedor {position:relative;top: 50%;transform:translateY(-60%);}						
/* STICKY */
	.sticky {
		position: fixed;
		top: 0;
		width: 100%;	  
	}
	.cabecera .contenedor.vertical {padding-top:30px;}
	.cabecera.sticky {background-color: rgb(0,96,133);border-bottom:solid 0px rgba(255,255,255,.1); box-shadow: 0 5px 15px rgba(0,0,0,.1);}		
	.cabecera.sticky .menu-principal li a {padding: 20px 6px;}
	.cabecera.sticky .menu-principal li:last-child a {padding-right: 0;}		
	.cabecera.sticky .menu-principal .lang-item a {padding: 0 0 0 10px;}
	.cabecera.sticky .menu-principal li ul li a {padding: 10px;}	
	.cabecera.sticky .menu-empleo::before {top:15%;}	
	.logo {text-align:left;}		
	.logo img {width:100%;}			
	.sticky .logo img {width:75%;height: auto;}
	.sticky, .cabecera, .logo img, .sticky .logo img, .cabecera.sticky .menu-empleo::before, .menu-empleo::before {
		-webkit-transition: all ease-in-out 0.4s;
		-moz-transition: all ease-in-out 0.4s;
		-ms-transition: all ease-in-out 0.4s;
		-o-transition: all ease-in-out 0.4s;
		transition: all ease-in-out 0.4s;	  
	}
/* MENUS */
/* Menú principal */	
	.menu-principal ul {
		display: table;
		width: 100%;		
		padding: 0;	
		margin:0
	}	
	.menuprincipal {display: table-row;background-color:transparent;}		
	.menu-principal li {display: table-cell;	text-align:center;}									
	.menu-principal li a {padding: 40px 6px;}
	.menu-principal li:last-child a {padding-right: 0;}	
	.sub-menu {width: auto !important;}
	.menu-principal li ul  {
		opacity: 0;
		visibility:hidden;
		position: absolute;	
		margin: 0;
		padding: 0;
		margin-top:20px;		
	}
	.menu-principal li:hover ul {
		opacity: 1;
		visibility:visible;	
		margin-top: 0;	
		display: block;
		position: absolute;		
		z-index: 120;
		-webkit-transition: all ease-in-out 0.4s;
		-moz-transition: all ease-in-out 0.4s;
		-ms-transition: all ease-in-out 0.4s;
		-o-transition: all ease-in-out 0.4s;
		transition: all ease-in-out 0.4s;
	}

	.menu-principal li:hover ul::before {
		content:"";
		display:block;
		width: 0;
		height: 0;	
		position: absolute;	
		z-index:1;	
		left: 20px;
		top: -30px;	
		margin: 0;
		border-right: 20px solid transparent;
		border-top: 20px solid transparent;
		border-left: 20px solid transparent;
		border-bottom: 10px solid #003246;			
}	
	
	.menu-principal li ul li {
		background-color: #003246;
		color:blue;	
		position: relative;
		display:block;
		text-align:left;			
	}	
	.menu-principal li ul li a {padding: 12px;}	
	.menu-principal .lang-item a {padding: 0 0 0 10px;}
	
	input[type=checkbox]:checked ~ .menuprincipal {display: table;}	
	.mostrar-menu {display:none;}
	.menu-empleo::before {top:29%;}	
/* Idiomas */	
	.menu-principal .lang-item  {display: table-cell;float:none;}		
/* PORTADA */	
	.portada {height: 100vh;	}
	.slider-portada div {height: 100vh;}	
	.slider-portada-slogan h1 {font-size: 200%;}
	.slider-portada-slogan h1 span {font-size: 180%;}	
	.slider-portada-slogan h3 {font-size: 100%;}	

/* CONTENIDO */
	.archivo aside, .entrada aside{margin-top: 0;}	
	.seccion, .archivo, .entrada {padding: 80px 0;}
/* Inicio */	
	.inicio-presentacion {padding:110px 0;}	
	.carrusel-logos .slide {padding:20px 20px;}			
/* Quiénes somos */	
	.somos-elegir .vertical-celda {vertical-align:top;}	
/* Servicios */	
	.integrales-det {
		width: 80%;
		margin: 0 auto;
	}	
	.sociosanitarios-det {
		width: 80%;
		margin: 0 auto;
	}		
	.det-servicio .columna {padding:80px 80px;}	
	.integrales-limpieza .det-servicio .columna, .integrales-produccion .det-servicio .columna, .sociosanitarios-sad .det-servicio .columna {padding:80px 60px 80px 20px;}	
	.integrales-logistica .det-servicio .columna, .sociosanitarios-residencias .det-servicio .columna {padding:80px 20px 80px 60px;}
	

	.centrar-v {
		display: flex;
   		justify-content: center;
   		align-items: center;
   	}
	.integrales-limpieza.centrar-v .fila > div:second-child,
	.integrales-produccion.centrar-v .fila > div:second-child {
		display: flex;
   		justify-content: center;
   		align-items: center;
   	}   
   
	.sociosanitarios-sad.centrar-v .fila .det-servicio {
		display: flex;
		justify-content: center;
		align-items: center;
	}   					
      
	.integrales-logistica.centrar-v .fila > div:first-child {
		display: flex;
   		justify-content: center;
   		align-items: center;
   	}   
	.sociosanitarios-residencias.centrar-v .fila > div:first-child {
		display: flex;
   		justify-content: center;
   		align-items: center;
   	}  		
	.residencia-datos > div {
		display:inline-block;
		width: 150px;
	}
	.residencia-presentacion, .residencia-info {
		padding: 100px 40px;
	}

	.residencia-instalaciones {
		padding: 80px 0 100px 0;
	}	
	.residencias-filtro .categorias.todas li {
		display: inline;
	}
	.ver-todas, .residencias-filtro .todas.categorias li a {
		padding: 8px 24px;	
	}

}

@media only screen and (min-width: 1080px){
	.residencias-cuadricula {	
		grid-template-columns: 1fr 1fr 1fr 1fr; 
	}	
}

@media only screen and (min-width: 1200px){
	.menu-principal {margin-left: 60px;}	
	.residencia-datos > div {
		width: 230px;	
	}	
}