/**
 * Custom styles.
 */
 
/* Gravity Forms
--------------------------------------------- */
::-webkit-input-placeholder { color: #555; }
:-moz-placeholder { opacity: 1; color: #555; } /* Firefox 18- */
::-moz-placeholder { opacity: 1; color: #555; } /* firefox 19+ */
:-ms-input-placeholder { color: #555; } /* ie */
input:-moz-placeholder { color: #555; }

/*
.home .form-disclaimer {
	color: #CCC;
	background: rgba(0,0,0,0.25);
}
*/

.home .gfield_label, .home .gform_wrapper label, .home .gform_wrapper a, .home .entry-content .gform_wrapper a {
	color: white !important;
}

.home .gform_wrapper input:not([type=submit]),
.home .gform_wrapper select,
.home .gform_wrapper textarea {
	background: rgba(255,255,255,0.45);
	border: none;
	color: #333;
}


/* Gutenberg
------------------------------------------------------------ */
.has-negro-color				{ color: #000000 !important; }
.has-negro-background-color		{ background-color: #000000 !important; }
.has-blanco-color				{ color: #FFFFFF !important; }
.has-blanco-background-color	{ background-color: #FFFFFF !important; }
.has-gris1-color				{ color: #a5a9aa !important; }
.has-gris1-background-color		{ background-color: #a5a9aa !important; }
.has-gris2-color				{ color: #85898a !important; }
.has-gris2-background-color		{ background-color: #85898a !important; }
.has-gris3-color				{ color: #57585a !important; }
.has-gris3-background-color		{ background-color: #57585a !important; }
.has-naranja-color				{ color: #eb775b !important; }
.has-naranja-background-color	{ background-color: #eb775b !important; }


/* Cabecera Personalizada 
------------------------------------------------------------ */

.image-header-wrapper {
	background: rgba(0, 0, 0, 0.4);
	height: 100%;
	position: relative;
}

.image-header-fill {
	width: 100%;
	display: block;
	overflow: auto;
	height: 100px;
	min-height: 400px;
	background-position: center center !important;
}

.image-header-fill,
.google-maps {
	margin-top: 70px;
}

.titulo {
	position: absolute;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 27px;
	line-height: 1;
	margin: 0 0 0 -570px;
	left: 50%;
	padding: 30px 40px;
	text-transform: uppercase;
	bottom: 0;
}
 
/* Google Maps
------------------------------------------------------------ */

.home #custom-map {
	margin-bottom: 25px;
}

.ancho-completo {
	color: #FFF;
	/* min-height: 600px; */
	width: 99.9vw;
	margin-left: calc(-50vw + 50%);
	height: 448px;
	/* overflow: auto; */
	/* display: block; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-attachment: fixed;
	background-position: 50% 0px;
	background-repeat: no-repeat;
	background-size: cover;
}

.ancho-completo .inner {
	max-width: 1280px;
	padding: 50px 0;
	margin: 0 auto;
	text-align: justify;
}

#infomapa {
	color: #aaacab;
	text-align: center;
	text-transform: uppercase;
}

#infomapa img {
	max-width: 220px;
	margin: 0 auto 13px;
	display: block;
	border-bottom: 1px solid #EFEFEF;
	padding-bottom: 15px;
}

#infomapa .nombre-negocio {
	font-weight: bold;
	font-size: 1.8em;
	display: block;
	margin-bottom: 5px;
}

#infomapa a {
	color: #eb775b;
	text-decoration: none;
}

#infomapa a:hover {
	text-decoration: underline;
}

/* Animación
------------------------------------------------------------ */

/* Opacity: 0. Esto es necesario para que los elementos que haya que animar, empiecen siendo invisibles para evitar efecto aparición/desaparición. Tienen que estar aquí todos los que se incluyan en el archivo animation.js */

.wp-block-getwid-section,
.wp-block-getwid-icon-box,
.wp-block-column,
.wp-block-table,
.gform_wrapper,
.entry,
.ancho-completo {
	opacity: 0;
}

.home .wp-block-getwid-section,
.home .wp-block-getwid-icon-box,
.home .wp-block-column,
.home .wp-block-table,
.home .gform_wrapper,
.home .entry,
.home .ancho-completo {
	opacity: 1;
}

@-webkit-keyframes fadeInUp {
	from { opacity: 0; -webkit-transform: translateY(20px); }
	to { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@-webkit-keyframes kenburns {
  100% {
    transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
  }
}

.wp-block-getwid-section .wp-block-getwid-section__background-holder { /* Para que no se salga la foto de la sección al crecer */
	overflow: hidden;
}

.kenburns .wp-block-getwid-section__background {
	animation-timing-function: ease-in;
	animation: kenburns 20s;
	-ms-animation: kenburns 20s;
	-webkit-animation: kenburns 20s;
	-0-animation: kenburns 20s;
	-moz-animation: kenburns 20s;
	animation-fill-mode: forwards;
}

.fadeInUp {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}

.fadeup-effect {
	opacity: 0;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

.content a img {
	transition: all .3s ease-in-out; 
}

.content a:hover img {
	-ms-transform: scale(1.05) !important; 
	-webkit-transform: scale(1.05) !important;
	transform: scale(1.05) !important;  
}

/*

.home .icon {
	transition: all 0.25s ease;
}


*/

/* Custom particular del cliente
------------------------------------------------------------ */

/*
.site-header {
	background-color: #F7F7F7;
	box-shadow: 0 0rem 3rem -0rem rgba(50,50,50, 0.136);
}
*/

.site-header {
	background-color: #FFFFFF;
	box-shadow: 0 0rem 3rem -0rem rgba(50,50,50, 0.136);
}

.menu a {
	color: #57585a;
}

.sub-menu a {
	color: #FFF;
}

.menu-toggle .hamburger, .menu-toggle .hamburger:before, .menu-toggle .hamburger:after {
	background-color: #eb775b;
}

.custom-logo {
	max-width: 240px;
}

.fp-viewing-1 .site-header, .fp-viewing-2 .site-header, .fp-viewing-3 .site-header, .fp-viewing-4 .site-header, .fp-viewing-5 .site-header {
	height: 10rem;
	background-color: #FFF;
}

.wp-block-getwid-banner .wp-block-getwid-banner__wrapper:after {
	background-color: red;
	opacity: 0;
}

button, [type='button'], [type='reset'], [type='submit'], .button, .wp-block-button__link {
	border-radius: 0px;
}

/* Para quitar la hero-section de las páginas internas */
	.site-header { position: unset; }
	.home .site-header { position: absolute; }
	.entry-title {
		text-align: center;
	}
	.pagina-contacto .site-header {
		margin-bottom: 0;
	}
	
h1, h2, h3, h4 {
	color: #57585a !important;
}

body {
	line-height: 1.5;
}

p, li {
	text-align: justify;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 50px;
}

.wp-block-separator {
	margin-left: 0;
	border-bottom: 1px solid #e9795b;
}


ul.flechas >li, ul.flechas >li ul li {
	list-style-type: none;
	margin-bottom: 10px;
}

ul.flechas >li:before, ul.flechas >li ul li:before {
	font-family: "ionicons";
	content: "\f3d6";
	display: inline;
	position: relative;
	left: -30px;
	margin-right: -10px;
	color: #eb775b;
}

.wp-block-quote {
	border-left: 4px solid #eb775b;
}

.entry-meta {
	text-align: center;
}

.blog .site-inner {
	min-height: calc( 100vh - 440px);
}

.seccion-servicios .servicio {
	border: 1px solid #eb775b;
	min-height: 200px;
	width: 18%;
	float: left;
	display: flex;
	justify-content: center;
	flex-direction: column;
	height: 200px;
	margin: 0 1% 1em;
}

.seccion-servicios h4 {
	font-size: 20px;
}

.seccion-servicios .icon {
	font-size: 50px;
	color: #a5a9aa;
}

.home .seccion-quienes-somos .wp-block-column:nth-child(2n) {
	padding-left: 40px;
}

/* Custom general
------------------------------------------------------------ */

.seccion-servicios .wp-block-column:nth-child(2n) {
	margin-left: 50px;
}

.gform_ajax_spinner {
	max-width: 25px;
}

.sombra img {
	box-shadow: 0 2rem 6rem -2rem rgba(42, 49, 57, 0.736);
}

.home .wp-block-getwid-recent-posts__content-wrapper {
	margin-top: 0 !important;	
}

.home input, .home select, .home textarea, .gform_wrapper li.hidden_label input {
	margin: 0;
}

.home .site-footer {
	display: none;
}

.clear {
	clear: both;
}

.page .content,
.entry-content {
	margin-bottom: 0;
}

.reading-options { /* Night Mode y Font Size */
	display: none;
}

.wp-block-getwid-banner {
	margin-bottom: 10px;
}

.center-content .content {
	width: 750px;
	max-width: 100%;
}

.home .content {
	width: 100%;
}


.wp-block-image.alignwide {
	max-width: 1000px;
}

.home .hero-section {
	display: none;
}

.shared-counts-wrap {
	text-align: center;
}

.shared-counts-wrap.style-buttons .shared-counts-button {
	float: none;
	display: inline-block;
}

.shared-counts-wrap.before_content {
	padding-bottom: 40px;
}

.padding-left-columna {
	padding-left: 50px;
}

.wp-block-getwid-section {
	padding-left: 7%;
	padding-right: 7%;
}

.nopadding {
	padding-left: 0;
	padding-right: 0;
}

.seccion-contacto .wp-block-column:first-of-type {
	border-right: 5px solid #444;
	padding-right: 70px;
	text-align: right;
}

.seccion-contacto .wp-block-column:first-of-type p {
	text-align: right;
}

.seccion-contacto .wp-block-column:not(:first-child) {
	padding-left: 10px;
}

.seccion-contacto li.wp-block-getwid-social-links__item {
	list-style-type: none;
}

#cookie-law-info-bar {
	background-color: rgba(0, 0, 0, 0.75) !important;
	color: #FFF !important;
	border-top: none !important;
	min-height: 50px;
}

#cookie-law-info-bar span {
	color: white !important;
	margin: 5px 50px;
	display: block;
	font-size: 14px;
}

#cookie_action_close_header {
	color: white !important;
	background-color: #555 !important;
	text-decoration: none!important;
}

#cookie-law-info-bar a {
	color: white !important;
	text-decoration: underline;
	font-size: 14px;
}

#cookie-law-info-bar a:hover {
	color: #ABABAB!important;
}

.donde-estamos {
	background: none repeat scroll 0 0 #FBFBFB;
	border-bottom: 1px solid #ECECEC;
	border-top: 1px solid #ECECEC;
	margin: 20px 0;
	overflow: auto;
	padding: 10px;
	text-align: center;
	color: #617183;
}

.callnowbutton {
	display:none;
}

.callnowbutton .icon {
	color: white;
	background: #eb775b;
	padding: 0px 10px;
	border-radius: 5px;
	width: 45px;
	height: 55px;
	display: block;
	text-align: center;
	font-size: 35px;
}

.callnowbutton .icon:hover {
	color: white !important;
}

.firma {
	text-align: center;
	padding-top: 40px;
	display: block;
}

.firma p {
	margin: 0;
	text-align: center;
}

.ssl_seal {
	float: none;
	width: 120px;
	position: relative;
	margin: 20px auto 0;
	padding-bottom: 40px;
/*	margin-bottom: 60px; Si va a un lado */
}

.ssl_seal:hover:before {
	content: "Web Segura - Comodo SSL Certificate www.atley.es";
	font-family: arial;
	font-style: normal;
	background: rgba(3,3,3,0.8);
	padding: 5px;
	color: white;
	font-size: 12px;
	display: block;
	position: absolute;
	left: 125px;
	top: 23px;
	border-radius: 10px;
	width: 300px;
}

a.linkopacity img, a.img {
	filter:alpha(opacity=100);
	-moz-opacity: 1.0; 
	opacity: 1.0;
	-khtml-opacity: 1.0;
	transition: all .3s ease-in-out; 
}


a.linkopacity:hover img, a:hover img {
	filter:alpha(opacity=65); 
	-moz-opacity: 0.65; 
	opacity: 0.65;
	-khtml-opacity: 0.65;
	/*transition: all 0.5s ease;*/
	transition: all .3s ease-in-out; 
}

.galeria img:hover {
	filter:alpha(opacity=65); 
	-moz-opacity: 0.65; 
	opacity: 0.65;
	-khtml-opacity: 0.65;
	border: none;
}

.galeria img {
	border: none !important;
}

.video-container {  /* Para hacer los vídeos youtube responsive */
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden; 
	margin-bottom: 25px;
}

.video-container iframe, .video-container object, .video-container embed, .video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.share-before {
	text-align: center;
}

.servicio {
	display: block;
	float: left;
	width: 48%;
	margin: 0 1% 40px;
	overflow: hidden; 
	position: relative;
	text-align: center;
}

.servicio:hover {
	box-shadow: 0 2rem 6rem -2rem rgba(42, 49, 57, 0.736);
	transition: all 0.5s ease;
}

.servicio .image {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);	
}

.servicio .image:hover {
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	filter: grayscale(0%);	
    -webkit-filter: saturate(150%); /* Safari 6.0 - 9.0 */
    filter: saturate(150%);
}

.servicio a:hover img {
	filter:alpha(opacity=100);
	-moz-opacity: 1.0; 
	opacity: 1.0;
	-khtml-opacity: 1.0;
}

.servicio .image:hover::before {
	opacity: 1;
}

.servicio .image::before {
	opacity: 0;
	display: block !important;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 97%;
	background: rgba(42, 49, 57, 0.5);
	content: '';
	pointer-events: none;
	transition: all 0.1s ease;
}

.servicio .title {
	position: absolute;
	z-index: 2;
	top: 100%;
	left: 50%;
	opacity: 0;
	color: #ffffff;
	font-size: 1.1em;
	font-weight: 700;
	text-decoration: none;
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: all 0.3s ease;
}

.servicio .image:hover + .title, 
.servicio .image:focus + .title {
	top: 50%;
	opacity: 1;
}

.bloque-contacto {
	clear: both;
	padding: 50px 50% 20px !important;
}

 
/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1280px) {

	.bloque-contacto {
		clear: both;
		padding: 50px 20% 20px !important;
	}
	
}

@media only screen and (max-width: 1000px) {

	.home .wp-block-getwid-recent-posts .wp-block-getwid-recent-posts__post {
		width: 33% !important;
	}
	
}

@media only screen and (max-width: 900px) {

	.order-1 {
		order: -1;
	}
	
	.site-header {
		height: 10rem;
	}
	
	.wp-block-column:nth-child(2n),
	.seccion-servicios .wp-block-column:nth-child(2n) {
		margin-left: 0;
	}
	
	.crop img {
		width: 100%;
		height: 400px;
		object-fit: cover;	
	}
	
	.seccion-servicios .servicio {
		width: 28%;
	}
	
	.home-claim h2 {
		line-height: 50px;
		margin-top: 80px;
	}
	
	.home .wp-block-getwid-section:nth-child(-n+4) {
		margin-bottom: 85px !important;
	}
	.menu a {
		color: #FFF;
	}

}


@media only screen and (max-width: 800px) {

	.seccion-contacto .wp-block-columns  {
		flex-flow: row wrap;
	}
	
	.seccion-contacto .wp-block-column {
		padding: 0 !important;
		margin: 0 !important;
		flex-basis: 100% !important;
	}

	.seccion-contacto .wp-block-column:first-of-type {
		border-right: none;
		text-align: center;
	}
	
	.seccion-contacto .wp-block-column:first-of-type p {
		text-align: center;
	}

}


@media only screen and (max-width: 780px) {

	.bloque-contacto {
		padding: 50px 5% 20px !important;
	}

	.padding-left-columna {
		padding-left: 0px;
	}
	
}

@media only screen and (max-width: 600px) {

	.seccion-servicios .servicio {
		width: 48%;
	}
	
	.home .wp-block-getwid-recent-posts .wp-block-getwid-recent-posts__post {
		width: 100% !important;
	}
	
	.home .seccion-quienes-somos .wp-block-column:nth-child(2n) {
		padding-left: 0px;
	}	

}

@media only screen and (max-width: 520px) {

	.callnowbutton {
		position: fixed; 
		display: block;	
		right: 15px;
		bottom: 15px;
		z-index: 9999;
	}

	.servicio {
		width: 100%;
		margin: 0 0 40px;
	}	

	.servicio .title {
		position: relative;
		top: 20px;
		opacity: 1;
		color: #333;
		font-size: 19px;
		font-weight: 700;	
	}
	
	.servicio .image:hover::before {
		opacity: 0;
	}

	.servicio .image:hover + .title, .servicio .image:focus + .title {
		top: 20px;
	}

}

@media only screen and (max-width: 450px) {

	.wrap {
		width: 80%;
	}
	
	.wp-block-getwid-section__wrapper {
		padding: 0;
	}
	.home .wp-block-getwid-section__wrapper {
		padding: 25px;
	}
	
	p, li {
		text-align: left;
	}
	
	.home-claim h2 {
		line-height: 35px;
		margin-top: 120px;
	}
	
	.home .featured-home span {
		line-height: 20px;
	}
	
	.custom-logo {
		max-width: 220px;
	}
		
}

@media only screen and (max-width: 350px) {
	
	.shared-counts-wrap.style-buttons a.shared-counts-button {
		width: 53px;
	}

}