/*!
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;
}

.single-content p {
	margin-bottom: 20px;
}

/* 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;
}
*/

@media screen and (min-width:1025px) {
	.item-is-stuck .site-branding img{
	    max-height: 48px!important;
	}
}


.site-top-header-wrap {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1201;
}


.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);
}

/* menu alineado abajo */

.site-header-item-main-navigation {
	align-items: flex-end;
	margin-bottom: 6px;
}

.item-is-stuck .site-header-item-main-navigation {
	align-items: flex-end;
	margin-bottom: 0;
}


/* HOME */

.align-bottom {
	margin-top: auto;
}

/* PAGINAS */

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

.content-servicio {
	display: flex;
	margin: 90px 0 60px;
	position: relative;
}

.content-servicio:nth-child(even) {
	flex-direction: row-reverse;
}

.content-servicio .content-gallery {
	width: 45%;
	position: relative;
	z-index: 1;
}

.content-servicio .content-text {
	width: calc(55% + 120px);
	margin-top: 50px;
	padding: 50px;
	position: relative;
	z-index: 2;
}

.content-servicio:nth-child(odd) .content-text {
	margin-left: -120px;
	background: #F7E7E7;
}

.content-servicio:nth-child(even) .content-text {
	margin-right: -120px;
	background: #F5F5F5;
}



/* horario */
.mptt-menu.mptt-navigation-select {
	display: none;
}

.mptt-shortcode-wrapper.mptt-table-fixed .mptt-shortcode-table {
    border: 3px solid #f0f0f0;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
	padding: 10px;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-theme-mode tbody td.event {
	width: 20%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody tr:nth-child(2n+2) {
    background-color: #fff;
}

.mptt-shortcode-wrapper.mptt-table-fixed {
    overflow-x: auto;
}


/* 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-list-item {
	margin-left: 0;
	margin-right: 10px;
}

.wpcf7-list-item-label {
	font-size: 17px;
}

.wpcf7-form input[type="submit"] {
    font-size: 16px;
}

.wpcf7-spinner {
	display: none;
}

/* FOOTER */

#colophon {
	z-index: 2;
}

/* RESPONSIVE */


@media screen and (max-width:1250px) {
	.site-main-header-wrap .site-header-row-container-inner>.site-container {
		padding: 0px 24px 0px 30px;
	}
	
	.site-top-header-wrap .site-header-row-container-inner>.site-container {
		padding: 8px 35px 0px 30px;
	}
	
	.main-navigation .primary-menu-container > ul li.menu-item > a {
		padding-left: 12px;
    	padding-right: 12px;
	}
}

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

}

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

}

@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);
}
