/*
 Theme Name:  Divi Child Theme

 Template:     Divi
 Version:      1.0.2
*/

/*****Add any custom CSS below this line*****/



@media (max-width: 500px) {
    .et_pb_section_0.et_pb_section.et_section_regular {
        display: block !important;
    }
}


/* Custom Video Popup */
/* Popup Close Icon Tweak */
.mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.mfp-fade.mfp-ready {
	top: 0px !important;
	position: fixed !important;
}
.mfp-iframe-holder .mfp-content {
    max-width: 70%;
}
.mfp-iframe-scaler button.mfp-close {
    top: -50px ;
}

.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close,
.mfp-wrap .mfp-close:active {
    top: -50px !important;
}

.video_popup_lightbox .mfp-iframe-holder .mfp-close {
    top: -50px;
}

.video_popup {
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.video_popup a:before {
   content: 'E';
    cursor: pointer;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 30px);
    z-index: 20;
    background-color: transparent;
    padding: 28px 0px;
    border-radius: 50%;
    font-size: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFF;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    width: 60px;
    text-align: center;
    font-family: 'ETmodules';
    border: 2px solid #FFF;
}
.video_popup a:after {
	display:none;
}
/*.video_popup a:after {
    content: 'E';
    cursor: pointer;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 30px);
    z-index: 20;
    background-color: transparent;
    padding: 28px 0px;
    border-radius: 50%;
    font-size: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFF;
    width: 60px;
    text-align: center;
    font-family: 'ETmodules';
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}*/

.video_popup.no_icon:before,
.video_popup.no_icon:after {
    display: none!important;
}
/*.video_popup:not(.no_icon):hover {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}*/
.video_popup:not(.no_icon):hover {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

.video_popup:hover a:before {
    opacity: 1!important;
}
/*
.video_popup:hover a:after {
    opacity: 1;
	background-color:rgba(255,255,255,0.5);
}*/

/*@media all and (max-width: 980px) {
    .video_popup a:before {
        top: calc(50% - 32.5px);
        left: calc(50% - 33px);
        padding: 33px 17px;
        font-size: 10px;
		width:30px;
    }
    .video_popup a:after {
        top: calc(50% - 32.5px);
        left: calc(50% - 33px);
        padding: 33px 17px;
        font-size: 32px;
    }
    .video_popup:hover a:before {
        opacity: 0;
        padding: 40px 22px;
        left: calc(50% - 43px);
        top: calc(50% - 42.5px);
    }
    .video_popup:hover a:after {
        opacity: 1;
        padding: 40px 22px;
        left: calc(50% - 43px);
        top: calc(50% - 42.5px);
        font-size: 42px;
    }
}*/
/*Topbar Promos*/
/*
.topbar {
	background: linear-gradient(
		90deg,
		#5BCEFA 0%,
		#F5A9B8 20%,
		#FFFFFF 40%,
		#F5A9B8 60%,
		#5BCEFA 80%,
		#5BCEFA 100%
	);
	color: #FFFFFF;
	text-align: center;
	padding: 5px 0;
	font-size: 14px;
	font-family: Arial, sans-serif;
	top: 0;
	left: 0;
	right: 0;
	position: fixed;
	z-index: 9999999999;
	overflow: hidden;
}

.topbar a {
	margin: 0;
	display: inline-block;
	white-space: nowrap;
	color: #000000 !important;
	text-decoration: none;
}

.et_fixed_nav #top-header {
	top: 33.8px;
}

#top-header {
	z-index: 99 !important;
}
.topbar {
	background: linear-gradient(
		90deg,
		#5BCEFA 0%,
		#F5A9B8 20%,
		#FFFFFF 40%,
		#F5A9B8 60%,
		#5BCEFA 80%,
		#5BCEFA 100%
	);
	color: #FFFFFF;
	text-align: center;
	padding: 5px 0;
	font-size: 14px;
	font-family: Arial, sans-serif;
	top: 0;
	left: 0;
	right: 0;
	position: fixed;
	z-index: 9999999999;
	overflow: hidden;
}

.topbar a {
	margin: 0;
	display: inline-block;
	white-space: nowrap;
	color: #000000 !important;
	text-decoration: none;
}

.et_fixed_nav #top-header {
	top: 33.8px;
}

#top-header {
	z-index: 99 !important;
}

#main-header {
	top: 64.3px !important;
}
.topbarMobile {
	background: linear-gradient(
		90deg,
		#5BCEFA 0%,
		#F5A9B8 20%,
		#FFFFFF 40%,
		#F5A9B8 60%,
		#5BCEFA 80%,
		#5BCEFA 100%
	);
	color: #FFFFFF;
	overflow: hidden;
	width: 100vw;
	box-sizing: border-box;
	display: none;
}
.topbarMobile a {
	color: #000000 !important;
	display: inline-block;
	white-space: nowrap;
	text-decoration: none;
}
@keyframes marquee {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}
@media (max-width: 980px) {
	.topbar {
		display: none;
	}
	.topbarMobile {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 9999999999;
		height: 30px;
	}
	.topbarMobile a {
		animation: marquee 40s linear infinite;
	}
	#main-header {
		top: 87px !important;
	}
	.et_fixed_nav #top-header {
		top: 30px;
	}
}
/*final header promos - marcar hasta aqui para desactivar*/

/*
 * Footer
*/

/* Contenedor principal del formulario */
#whatsapp-form-container {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: white;
    z-index: 1001;
    max-width: 350px;
	
	border: 2px solid #ab8770 !important;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.50) !important;
  padding: 20px 30px !important;
}


#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#whatsapp-form-container {
	min-width: 650px;
}
#whatsapp-form-container::after {
    content: '';
    position: absolute;
    right: 15px;
    bottom: -17px;
    width: 0;
    height: 0;
    border-top: 20px solid #97694e; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
	 transform: rotate(347deg);
}

#whatsapp-form-container .custom-form {
	min-width: 400px;
	margin-bottom: 10px;
}

#whatsapp-form-container .custom-form p{
	display: flex;
	gap: 0.5rem;
}

#whatsapp-form-container .wpcf7-spinner {
	margin: 0;
}

.whatsapp-close {
	display: none;
}

#whatsapp-form-container input[type="text"],
#whatsapp-form-container input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
}
#whatsapp-form-container input[type="text"]{
padding-left: 84px;
}


#whatsapp-form-container input[type="submit"] {
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
	max-width: 75px;
	color: #fff;
  background-color: #ab8770;
  border-color: #ab8770;
}

#whatsapp-form-container input[type="submit"]:hover {
    background-color: #b48a78;
}


#whatsapp-form-container .wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 5px;
}

#whatsapp-form-container .wpcf7-acceptance a {
    color: #c9a08e;
    text-decoration: none;
}

#whatsapp-form-container .wpcf7-acceptance a:hover {
    text-decoration: underline;
}


@media (max-width: 767px) {
  #whatsapp-form-container {
  	min-width: 90%;
	}
	
	#whatsapp-form-container .custom-form {
		min-width: auto;
	}
}

.grecaptcha-badge {
    bottom: 85px !important;
    
}
.opened #mobile_menu {
    top: 134px !important;
}

