/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/********************************************************************
 						* WPML * 
 *********************************************************************/

.main-navigation ul li.wpml-ls-menu-item ul {
	width: auto;
}

/********************************************************************
 						* MAILERLITE * 
 *********************************************************************/

.ml-form-embedBody {
    padding: 0 !important;
}

/********************************************************************
 						* AMELIA * 
 *********************************************************************/

.amelia-v2-booking #amelia-container.am-fs__wrapper {
    margin: 50px auto !important;
}

.am-adv-select__popper .el-cascader-node.in-active-path .am-adv-select__item-label {
    color: black !important;
}

.site-content .amelia-v2-booking #amelia-container .am-fs-sb {
    background-color: var(--main-color);
}

.site-content .amelia-v2-booking #amelia-container .am-fs-sb__step {
	background-color: rgb(89 89 89 / 23%);
}

.site-content .amelia-v2-booking #amelia-container .am-button.am-button--filled,
.amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button {
    --am-c-btn-bgr: var(--main-color);
	border: 1px solid #00000029;
}

.site-content .amelia-v2-booking #amelia-container .am-button.am-button--filled:not(.is-disabled):hover {
    --am-c-btn-bgr: var(--main-dark-color);
}

.site-content .amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header {
    background: linear-gradient(135deg,var(--main-color), var(--main-dark-color));
}

.site-content .amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-menu {
    background: linear-gradient(135deg,var(--main-dark-color), var(--main-color));
}

.site-content .amelia-app-booking #am-cabinet .am-cabinet-dashboard {
    margin-top: 30px;
}


.site-content .amelia-v2-booking #amelia-container.am-fs__wrapper .am-fs__info .el-form-item:nth-child(n+1) {
    width: 100%;
}

.site-content .amelia-v2-booking #amelia-container.am-fs__wrapper .am-fs__info .el-form-item:last-child {
    display: flex;
    flex-direction: row-reverse;
	align-items: center;
}

.site-content .amelia-v2-booking #amelia-container .el-form-item.is-required .el-form-item__label {
    flex: 90%;
}


/********************************************************************
 						* MENÚ NAVEGACION * 
 *********************************************************************/

.main-navigation .main-nav li.cta-menu a {
    background-color: var(--main-light-color);
	color: var(--main-dark-color) !important;
	border: 1px solid var(--main-dark-color);
    opacity: 1;
    display: inline-block;
    line-height: 2.3em;
    padding: .2em 1em;
	border-radius: 30px;
}

.main-navigation .main-nav li.cta-menu a:hover {
    background: var(--main-color) !important;
}

.main-navigation .main-nav li.cta-menu a:hover,
.main-navigation .main-nav li.cta-menu:hover a {
	color: white !important;
}

.main-navigation .main-nav li.cta-menu {
    	padding: 10px;
	}

.main-navigation .main-nav li a {
	transition: all .4s !important;
}


/******************* STICKY NAVIGATION *****************************/

#sticky-navigation li.cta-menu a {
	line-height: 2.3em;
}

@media only screen and (max-width: 490px) {
	
	#sticky-navigation.site-logo.mobile-header-logo img {
		max-width: 250px;
		height: auto;
	}
}

/******************* MOBILE MENU *****************************/

@media only screen and (max-width: 700px) {
	
	.menu-toggle .gp-icon svg {
		height: 1.7em;
		width: 1.7em;
		top: .45em;
	}
	
	.secondary-navigation .top-bar, .main-nav {
   		margin: 0 auto;
	}	
}	


/******************* MENÚ MOVIL *****************************/

.main-navigation.slideout-navigation .main-nav > ul > li > a {
    padding: 1.1em;
}

.main-navigation.slideout-navigation .main-nav li.cta-menu {
	padding: 0px;	
}

.main-navigation.slideout-navigation .main-nav li.cta-menu a {
    border-radius: 0px;
    text-align: left;
    width: 100%;
    border-width: 1px 0px 1px 0px;
    border-color: var(--main-color);
}

.slideout-navigation.main-navigation .main-nav ul ul li a {
    padding-left: 35px;
}

/****************** DEGRADADO MENÚ ********************
header.site-header, #mobile-header, .is_stuck {
    background: linear-gradient(var(--main-light-color), var(--main-ultra-light-color));
}
**********/


/********* SOMBREADO MENÚ NAVEGACIÓN **************

.main-navigation .main-nav ul li a,
.menu-toggle,
.footer-widgets aside {
    text-shadow: 0 1px 2px #000000a3;
	transition: all .4s;
}

#primary-menu .gp-icon svg,
.menu-toggle .gp-icon svg,
.dropdown-menu-toggle .gp-icon svg {
	-webkit-filter: drop-shadow( 0px 1px 1px black);
	filter: drop-shadow( 0px 1px 1px black);
} 
**********/


/************************************************************************** 
 			  				* TIPOGRAFIA *
 *************************************************************************/

/************ BLOCKQUOTE (cita) ******************/

blockquote {
    border-left: 5px solid var(--main-color);
}

ol, ul {
    margin: 0 0 1.5em 2em;
}

/************ LISTA NÚMEROS ******************/

ol.lista-numeros-personalizada li::marker {
    font-size: 1.5em;
	font-weight: 400;
    content: counter(list-item) ". ";
    color: var(--main-color);
}

ol.lista-numeros-personalizada li{
    margin-bottom: 1em;
}

/************************************************************************** 
 			  					* HOME *
 *************************************************************************/


/*********** BOTON ANIMADO (.RIGHT-ICON) **************/

.right-icon {
    position: absolute;
	transition: all .4s !important;
}

.right-icon:hover {
    padding-right: 2em !important;
}

.right-icon .gb-icon {
    right: 10px !important;
    position: absolute;
    color: transparent;
    margin-right: -4px !important;
}

.right-icon:hover .gb-icon {
    color: white;
}

.imagen-servicios:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

/************************************************************************** 
 			  					* BLOG *
 *************************************************************************/

.post-image-aligned-left .inside-article .featured-image, 
.post-image-aligned-left .inside-article .post-image {
	width: 100%;
}

.single-post .entry-content h2 {
    margin-top: 45px;
}

.single-post .entry-content h3 {
    margin-top: 45px;
}

.single-post .entry-content h4 {
    margin-top: 45px;
}

/********** BREADCRUMBS ***********/

.rank-math-breadcrumb p {
    font-size: .8em;
    margin-bottom: .5em;
    opacity: .7;
    color: gray;
}

/********** MOSTRAR ÚLTIMA ACTUALIZACION ***********/

.single-post .entry-header h1.entry-title {
	color: #353535;
}

.posted-on .updated {
    display: inline-block;
}

.posted-on .updated:before {
    content: 'Actualizado el ';
}

.posted-on .updated + .entry-date {
    display: none;
}

/********* TAGS **********/

footer.entry-meta a {
    background: whitesmoke;
    padding: 2px 10px;
    font-size: .8em;
    display: inline-block;
    margin: 2px;
}

/************************************************************************** 
 			  				* COMENTARIOS *
 *************************************************************************/

.comments-title {
    font-size: .9em;
    opacity: .5;
    text-align: center;
    border-bottom: 1px dotted #b0b0b0;
    padding: 20px 0;
    margin-bottom: 2em;
    background: #fbfbfb;
    border-top: 1px dotted #b0b0b0;
    font-weight: normal;
}

#comments h3, 
#comments .comment-metadata, 
#comments .vcard cite {
    font-size: .85em;
}

.comment-body {
    background: #f5f5f545;
	padding: 20px 30px;
	margin: 0 0 40px 0;
	border: 1px solid #eaeaea;
}

.comment .children {
    border: 0;
    margin-left: 5%;
	border-bottom: 0 !important;
}

.comment-content {   
	border: 0;
 	border-top: 1px solid rgba(0,0,0,.05);
	padding: 20px 0;
}

.reply a {
    padding: 5px 15px;
	border: 1px solid;
	transition: all .4s;
	box-shadow: 0 0 2px #3c3c3c70;
}

#reply-title a {
	padding: 5px;
    margin-left: 20px;
}

.bypostauthor > article {
    background-color: var(--main-ultra-light-color);
}

#commentform input.submit {
    font-weight: bold;
    padding: 7px;
    border-radius: 10px;
    border: 1px solid #00000045;
    width: 100%;
	text-shadow: 1px 1px #6c6c6c;
    text-transform: uppercase;
	transition: all .4s;
}

#commentform input.submit:hover {
	background: black;
}

/************************************************************************** 
 			  					* SIDEBAR *
 *************************************************************************/

#right-sidebar input, #right-sidebar textarea, .kb-form .kadence-blocks-form-field a.kb-accept-link {
    font-size: .85em;
}

#right-sidebar #kb-container-g-recaptcha {
    transform: scale(0.75);
    transform-origin: 0 0;
    left: -10px;
    position: relative;
    margin-bottom: -1em;
}

#right-sidebar .formulario-desplegable {
    font-size: 13px;
	background: #f0f0f0;
}

/************************************************************************
 						* TABLA DE CONTENIDOS * 
 *************************************************************************/

.tabla-de-contenidos {
	display: inline-block;
	margin: 1em 0 2.5em 0; 
	background-color: var(--main-ultra-light-color);
}

.tabla-de-contenidos summary span {
    color: var(--main-color);
}

.tabla-de-contenidos details {
    border: 1px solid #e8e8e8;
    padding: 1em 25px;
	cursor: pointer;
}

.tabla-de-contenidos summary {
    display: flex;
    align-items: center;
	font-weight: bold;
}

.tabla-de-contenidos summary > * {
    margin: 0 .5em;
}

.tabla-de-contenidos summary span {
    font-weight: bold;
	font-size: 1em;
	transition: all .4s;
}

.tabla-de-contenidos details:hover span {
    color: black;
}

.tabla-de-contenidos details:not([open]) .mostrar {
    display: block;
}

.tabla-de-contenidos details[open] .mostrar,
.tabla-de-contenidos details:not([open]) .esconder {
    display: none;
}

.tabla-de-contenidos ul {
    margin: 1em 0px;
    font-size: .9em;
    list-style: none;
}

.heading-level-3 {
    margin-left: 1.5em;
    opacity: .75;
}

/*************************************************************************
 							* WHATSAPP CHAT * 
 *************************************************************************/

.whatsapp-chat {
    position: fixed;
    bottom: 8%;
    right: 1.6rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 9999;
	background: rgb(37, 211, 102);
    text-shadow: 1px 1px #7d7d7d;
	border-radius: 10px;
}

.whatsapp-chat path {
	fill: white;
}

.whatsapp-chat a {
    padding: .4em .5em .2em .5em;
}

.whatsapp-chat span.mensaje {
    position: absolute;
    right: 60px;
    min-width: 150px;
    background: #25d366;
	font-size: .95em;
    line-height: 1.1em;
    text-align: center;
    padding: .5em;
    border-radius: 10px;
	color: white;
	opacity: 0;
	transition: opacity .4s;
}

.whatsapp-chat span.notificacion {
    position: absolute;
    right: 40px;
    background: red;
    font-size: .8em;
    line-height: 0;
    text-align: center;
    padding: 1em 0.7em;
    font-weight: 600;
    border-radius: 100px;
    color: white;
    top: -15px;
}

.whatsapp-chat:hover span.mensaje {
    opacity: 1;
}

.whatsapp-desktop {
	display: inline-block;
}

.whatsapp-movil {
	display: none;
}

/******************** VERSIÓN MÓVIL ************************/	


@media only screen and (max-width: 700px) {
	
	.whatsapp-movil {
		display: inline-block;
	}
	
	.whatsapp-desktop {
		display: none;
	}
	
	.whatsapp-chat span.mensaje {
   	 display: none;
	}
}	

/*************************************************************************
 							* SOCIAL BUTTONS * 
 *************************************************************************/

.redes-sociales {
    margin-top: 50px;
}

.single-post .redes-sociales h4 {
    text-align: center;
    font-size: 1em;
    color: var(--main-color);
    text-transform: uppercase;
}

.wplogout-float-social-wrapper a svg, 
.wplogout-social-wrapper a svg {
	transition: all .15s ease-in;
	transition: all .2s cubic-bezier(.62,3.15,.4,-.64);
}

.wplogout-float-social-wrapper a:hover svg,
.wplogout-social-wrapper a:hover svg {
	transform: scale(1.4);
}

.wplogout-float-social-sharing svg,
.wplogout-social-sharing svg {
    position: relative;
    top: 0;
}

.wplogout-float-social-wrapper a, 
.wplogout-social-wrapper a {
	background: var(--social-widgets);
	fill: white;
}

.wplogout-float-social-wrapper a:hover:after {
    content: 'Compartir';
    position: absolute;
    margin-left: 40px;
    margin-top: -7px;
    line-height: 1.4em;
    background: var(--main-light-color);
    padding: 5px 9px;
    border-radius: 9px;
}


/******* FLOATING ********/

.wplogout-float-social-wrapper {
    position: fixed;
    top: 55%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 9999;
}

.wplogout-float-social-sharing {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    min-height: 30px;
    font-size: 12px;
    padding: 14px 14px 14px 12px;
}

.wplogout-float-social-sharing:first-of-type {
     border-top-right-radius: 5px;
}

.wplogout-float-social-sharing:last-of-type {
    border-bottom-right-radius: 5px;
}

/******* FIXED ********/

.wplogout-social-wrapper {
    margin: 30px 0;
    font-size: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.wplogout-social-sharing {
    border-radius: 5px;
	text-align: center;
    flex-grow: 1;
    padding: 10px;
	margin: 0 2px;
	line-height: 0;
}

/******* SOCIAL COLORS ********/

.wplogout-social-facebook:hover {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}

.wplogout-social-twitter:hover {
    fill: #fff;
    background-color: rgba(29, 161, 242, 1);
}

.wplogout-social-pinterest:hover {
    fill: #fff;
    background-color: rgba(189, 8, 28, 1);
}

.wplogout-social-linkedin:hover {
    fill: #fff;
    background-color: rgba(0, 119, 181, 1);
}

.wplogout-social-whatsapp:hover {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}


/************************************************************************** 
 			  				* CONTACT *
 *************************************************************************/

.kb-accept-form-field {
	flex-flow: row !important;
}

.kb-accept-link {
	order: 3;
	color: #0000007a;
}

.kb-accept-form-field label {
	width: 20px !important;
}

.kadence-blocks-form-success {
    background: #e2fad5 !important;
    color: #0e6c14 !important;
    border: 1px solid #4f9f18 !important;
    text-align: center;
    padding: 40px 5% !important;
}


/******************** VERSIÓN MÓVIL ************************/	

@media only screen and (max-width: 700px) {
	
	/**** RECAPTCHA ***/
	
	#right-sidebar #kb-container-g-recaptcha {
		transform: none;
		left: 0px;
		position: relative;
		margin-bottom: 0;
	}
}

/************************************************************************** 
 			  			* ARCHIVES & SEARCH *
 *************************************************************************/

.entry-content:not(:first-child), 
.entry-summary:not(:first-child), 
.page-content:not(:first-child),
.search #main,
.archive #main {
    margin-top: 0;
}


.search .entry-header,
.archive .entry-header {
    background: none;
}

.archive .page-title {
	text-align: center;
	font-size: 2em;
}

.search .page-title {
	text-transform: none;
	font-size: 1.8em;
	text-align: center;
}

body.blog,
body.search,
body.archive {
	background: linear-gradient(181deg, whitesmoke 50%, white 80%);
}

.blog .page-header,
.search .page-header,
.archive .page-header {
	margin-top: 25px;
	background: #ececec87;
    color: #cacaca;
}

.entry-header .entry-meta {
    font-size: .8em;
    opacity: .5;
	margin-bottom: 30px;
}

.blog .inside-article, 
.search .inside-article, 
.archive .inside-article {
    border: 1px solid #e3e3e3;
}

.blog .entry-summary p,
.search .entry-summary p,
.archive .entry-summary p {
    font-size: .8em;
	line-height: 1.5em;
}


/******************** VERSIÓN MÓVIL ********************/
	

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

	.search article,
	.archive article,
	.blog article,
	#right-sidebar aside {
		margin: 0 20px 20px 20px;
	}

	.blog .page-header, 
	.search .page-header, 
	.archive .page-header {
		margin-top: 0;
	}

	.archive .page-title,
	.blog .page-title {
		font-size: 1.5em;
	}

	.search .page-title {
		font-size: 1.5em;
	}
}

/************************************************************************** 
 			  			* COMPLIANZ *
 *************************************************************************/

#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
  box-shadow: rgba(0, 0, 0, 0.19) 0px 20px 80px, rgba(0, 0, 0, 0.23) 0px 26px 26px;
  background: linear-gradient(20deg, white 75%, var(--main-light-color));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
  background-color: var(--main-color);
  border: 1px solid var(--main-dark-color);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link {
  color: var(--main-dark-color);
}


/********************************************************************
 							* NO MOSTRAR * 
 ********************************************************************/

.rank-math-text,
.single-post #nav-below {
    display: none;
}
