/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
.item-is-fixed {
    /*background: var(--global-palette9);*/
}

iframe {
	width: 100%!important;
}

/* EFECTOS */

.sticky-section {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  /*z-index: 1;*/
}

.overlap-section {
  position: relative;
  z-index: 2;
}

/* fade con sticky content */
.fade-text {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.translate-text {
  transition: transform 0.5s ease-out;
  transform: translateY(0);
}

.fade-text.oculto {
  opacity: 0;
}

.fade-text-2 {
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.fade-on-scroll {
  opacity: 1;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transform: translateY(0);
}

.fade-on-scroll.oculto {
  opacity: 0;
  transform: translateY(-20px);
}

/* parallax */

.parallax-section {
    transition: none !important; /* Elimina cualquier animación en el fondo */
}

/* zoom */

.zoom-bg-container {
	transition: background-size 0.2s linear;
}



/* HEADER */
/*
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner, .transparent-header .site-main-header-wrap .site-header-row-container-inner {
	transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}
*/

.header-navigation ul li.menu-item>a {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
	font-weight: 700;
}

.main-navigation .primary-menu-container > ul li.wpml-ls-item > a {
	padding-right: 0px;
}

.disable-menu a {
	/*opacity: 0.6;*/
}

.disable-menu a small {
	color: var(--global-palette2);
}

.main-navigation .dropdown-nav-toggle {
	display: none;
}

/* movil */

.menu-item-has-children > div > a {
	padding-left: calc(0.5em + 41px);
}

.mobile-navigation ul ul {
	padding-left: 0;
}

.mobile-navigation ul li.wpml-ls-item {
	width: 15%;
    display: inline-block;
}

.mobile-navigation .wpml-ls-menu-item .wpml-ls-flag {
	margin-left: auto;
	margin-right: auto;
}




/* HOME */

figure.wp-caption {
	position: relative;
}

figure figcaption {
	position: absolute;
	top: calc(50% - 25px);
	left: 20px;
	right: 20px;
	background: #fff;
	color: var(--global-palette2);
	border-top: 2px solid var(--global-palette2);
	border-bottom: 2px solid var(--global-palette2);
	height: 50px;
    font-size: 18px;
    line-height: 48px;
    font-weight: 600;
}


/* PAGINAS */

.page .elementor-heading-title {
	margin: 0;
	margin-bottom: 0!important;
}

.swiper-wrapper {
	margin-bottom: 20px;
}



/* CONTACT FORM 7 */

input[type="text"], input[type="email"], input[type="tel"], textarea {
	/*margin-bottom: 15px;*/
	width: 100%;
}

.wpcf7-form label {
	color: #8f8f8f;
    font-size: 20px;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea, .wpcf7-form select {
    border: none;
    border-bottom: 1px solid var(--global-palette7);
    border-radius: 0;
    background: none;
    color: var(--global-palette7);
}
/*
.wpcf7 input[type=text]:focus,.wpcf7 input[type=email]:focus,.wpcf7 input[type=tel]:focus,.wpcf7 textarea:focus {
    color: #fff;
}
*/

.wpcf7-form span {
	color: var(--global-palette7);
}

.wpcf7-form a {
	color: var(--global-palette7);
	/*font-weight: 300;*/
}

.wpcf7-list-item {
	margin-left: 0;
	margin-right: 10px;
}

.wpcf7-form input[type="submit"] {
	background: none;
	border: 1px solid #fff;
	color: #fff;
}

.wpcf7-form input[type="submit"]:hover {
	background: #fff;
	color: var(--global-palette4);
}

.wpcf7 form .wpcf7-response-output {
	color: var(--global-palette7);
}

.wpcf7-spinner {
	display: none;
}

.modal-body {
    padding: 15px 25px;
}

/* FOOTER */

#colophon {
	z-index: 2;
}

#colophon .site-footer-row-layout-contained, #colophon .site-container {
	max-width: 1600px;
}

#colophon .site-middle-footer-inner-wrap .site-footer-section {
	padding-left: 4vw;
}

#colophon h2 {
	margin-bottom: 0;
}

#colophon ul li {
	line-height: 1.4em;
	position: relative;
	padding-left: 10px;
}

#colophon ul li::before {
    content: "-"; /* La rayita */
    position: absolute;
    left: 0;
    line-height: 1.5em;
}


@media screen and (max-width:1024px) {
	.mobile-fixed {
        background-attachment: fixed;
    }
}

@media screen and (max-width:767px) {
	#mobile-header .site-container {
	    padding-left: 10px;
	    padding-right: 10px;
	}
	
	#colophon .site-middle-footer-inner-wrap .site-footer-section {
	    padding-left: 2vw;
	}
}

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

}

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

}


/* COOKIES */

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    background-color: rgba(0,0,0,0.8)!important;
    border-top: none!important;
    z-index: 10000000000;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a {
	color: #fff!important;
	font-weight: 300!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
	font-weight: 600!important;
	padding: 6px 24px!important;
	border: 1px solid #e3e3e3;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-settings-btn {
	color: #fff!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn {
    line-height: 18px!important;
    width: 32px!important;
    height: 32px!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content {
	transform: scale(.9);
}
