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

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

.fondo-padding::before{
  top: 10px;
  height: calc(100% - 20px);
}


/* EFECTOS */

.sticky-section {
  position: -webkit-sticky;
  position: sticky;
  top: 82px;
  /*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;
}
*/

.item-is-stuck .site-branding img{
   /* max-height: 48px!important;*/
    transition: all 0.1s linear;
}

#primary-menu .current-menu-item a {
	font-weight: 700;
}


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

/* HOME */

h1.elementor-heading-title span {
	display: block;
	font-size: 34px;
	line-height: 38px;
}

.mosaico-superpuesto:before {
	z-index: 2;
	pointer-events: none;
}

.elementor-element.elementor-arrows-position-outside .swiper, .elementor-lightbox.elementor-arrows-position-outside .swiper {
    width: calc(100% - 160px);
}

.elementor-element.elementor-arrows-position-outside .swiper .elementor-swiper-button-prev, .elementor-element.elementor-arrows-position-outside .swiper~.elementor-swiper-button-prev, .elementor-lightbox.elementor-arrows-position-outside .swiper .elementor-swiper-button-prev, .elementor-lightbox.elementor-arrows-position-outside .swiper~.elementor-swiper-button-prev {
    left: -30px;
}

.elementor-element.elementor-arrows-position-outside .swiper .elementor-swiper-button-next, .elementor-element.elementor-arrows-position-outside .swiper~.elementor-swiper-button-next, .elementor-lightbox.elementor-arrows-position-outside .swiper .elementor-swiper-button-next, .elementor-lightbox.elementor-arrows-position-outside .swiper~.elementor-swiper-button-next {
    right: -30px;
}

.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
	bottom: -45px;
}

.elementor-element.elementor-element-8cee852 .swiper-pagination-bullet {
	vertical-align: middle;
}

.elementor-element.elementor-element-8cee852 .swiper-pagination-bullet-active {
    width: 18px!important;
    height: 18px!important;
    border: 2px solid #fff;    
}

.leaflet-map {
	z-index: 1;
}

/* instagram */

.instagram-gallery-feed .swiper-container {
	margin-left: 50px!important;
    margin-right: 50px!important;
    position: static!important;
}

.instagram-gallery-list[data-feed_layout=carousel] .instagram-gallery-item {
	border: 4px solid var( --e-global-color-kadence9 );
	border-radius: 0;
}

.instagram-gallery-list .instagram-gallery-item__wrap, .instagram-gallery-list .instagram-gallery-item__media-wrap, .instagram-gallery-item {
	border-radius: 0!important;
}

.instagram-gallery-feed .swiper-button-prev {
	background-image: url(images/izq-blanco.png);
	background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 84px;
    width: 46px;
    margin-top: calc(0px - (84px / 2));
    left: -5px;
}

.instagram-gallery-feed .swiper-button-prev:after {
	display: none;
}

.instagram-gallery-feed .swiper-button-next {
	background-image: url(images/der-blanco.png);
	background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 84px;
    width: 46px;
    margin-top: calc(0px - (84px / 2));
    right: -5px;
}

.instagram-gallery-feed .swiper-button-next:after {
	display: none;
}


/* PAGINAS */

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


/* CARTA */

.content-carta {
	
}

.carta-plato {
	display: flex;
	position: relative;
	justify-content: space-between;
	margin-bottom: 15px;
}

.carta-nombre {
	z-index: 1;
	padding-right: 15px;
	font-size: 26px;
	line-height: 1.1em;
	/*white-space: nowrap;*/
}

.carta-nombre span {
	font-size: 0.7em;
	line-height: 1.1em;
	font-style: italic;
	padding-left: 10px;
	max-width: 670px;
    display: inline-block;
    margin-top: 5px;
}

.carta-nombre a {
	display: inline-block;
    background: var(--global-palette1);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    text-align: center;
    margin-left: 5px;
    vertical-align: bottom;
}

.carta-puntos {
	flex: 1;
	position: relative;
}

.carta-puntos:before {
	content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    width: 100%;
    height: 4px;
    border-bottom: 3px dotted #bbbbbb;
}

.carta-precio {
	z-index: 1;
	padding-left: 10px;
	white-space: nowrap;
}

.carta-alergenos {
	padding-left: 10px;
}

.carta-alergenos img {
	display: inline-block;
	margin-right: 5px;
	width: 24px;
}

.menu-buttons {
  transition: all 0.3s ease;
  z-index: 10;
}


/* CONTACT FORM 7 */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
	margin-bottom: 15px;
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #adadad;
    border-radius: 0;
    /*color: #888;*/
}

.wpcf7 label {
	display: block;
	background: #fff;
	border: 1px solid #adadad;
	margin-bottom: 15px;
	padding: 5px 10px;
	color: #666;
	clear: both;
	font-size: 90%;
}

.wpcf7 label input[type="text"], .wpcf7 label input[type="email"], .wpcf7 label input[type="tel"], .wpcf7 label textarea {
	margin-bottom: 0;
    width: 100%;
    padding: 0 0 0 10px;
    border: none;
    border-radius: 0;
    box-shadow: none!important;
}

.wpcf7-list-item label {
	padding: 0;
	border: none;
	color: inherit;
	margin-top: 10px;
	background: transparent;
}

/*
.wpcf7-form a {
	text-decoration: underline!important;
}
*/

.wpcf7 input[type="file"] {
	color: #fff;
}

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

.wpcf7-form input[type="submit"] {
	/*padding: 13px 40px 13px 40px;*/
	line-height: 1em;
}

.wpcf7-spinner {
	display: none!important;
}

.link-contacto {
	color: var(--global-palette3);
}

.page-id-620 .site-middle-footer-wrap {
	display: none;
}

.modal-title {
	font-family: var(--global-body-font-family);
	font-style: normal;
	font-weight: 700;
    font-size: 26px;
}

.modal-content button {
	line-height: 1em;
}


/* FOOTER */

#colophon {
	z-index: 2;
	position: relative;
}

#colophon:before {
	content: '';
	display: block;
	position: absolute;
	top: 40px;
    left: 40px;
    width: 115px;
    height: 115px;
	background-image: url(images/marco-1.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 1;
}

#colophon:after {
	content: '';
	display: block;
	position: absolute;
	top: 40px;
    right: 40px;
    width: 115px;
    height: 115px;
	background-image: url(images/marco-2.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 1;
}

a.footer-icon {
	display: block;
	margin-bottom: 10px;
}

.footer-icon i {
	display: inline-block;
    width: 42px;
    height: 42px;
    border: 2px solid var(--global-palette1);
    /*border-radius: 50%;*/
    text-align: center;
    line-height: 38px;
    margin-right: 10px;
    background: var(--global-palette1);
    font-size: 20px;
}

.site-middle-footer-wrap {
	position: relative;
}

.site-middle-footer-wrap:before {
	content: '';
	display: block;
	position: absolute;
	bottom: 40px;
    left: 40px;
    width: 115px;
    height: 115px;
	background-image: url(images/marco-4.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.site-middle-footer-wrap:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 40px;
    right: 40px;
    width: 115px;
    height: 115px;
	background-image: url(images/marco-3.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.site-footer-middle-section-1 {
	gap: 26px;
}

.site-footer-middle-section-1 ul.menu li {
	display: inline-block;
	padding-left: 20px;
	padding-right: 20px;
	position: relative;
}

.site-footer-middle-section-1 ul.menu li:not(:first-child)::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 7px;
    width: 1px;
    height: 16px;
	background: #000;
}



@media screen and (max-width:1250px) {
	.site-main-header-wrap .site-header-row-container-inner>.site-container {
		padding: 0px 30px 0px 30px;
	}
	
	.site-branding a.brand img {
	    max-width: 160px;
	}
	
	.main-navigation .primary-menu-container > ul > li.menu-item > a {
		padding-left: 20px;
    	padding-right: 20px;
	}
}


@media screen and (max-width:1024px) {
	h1.elementor-heading-title span {
		margin-bottom: 15px;
		font-size: 30px;
	}
	
	

}

@media screen and (max-width:767px) {
	.content-absolute {
		position: relative!important;
	}
	
	#mobile-header .site-container {
	    padding-left: 10px;
	    padding-right: 10px;
	}
	
	h1.elementor-heading-title span {
		font-size: 26px;
		margin-bottom: 10px;
	}
	
	.carta-nombre {
		font-size: 22px;
	}
	
	.carta-puntos {
		display: none;
	}
	
	
	.menu-buttons.fixed {
	  position: fixed;
	  top: 80px;
	  left: 0;
	  width: 100%;
	  background: #fff; /* o el color de fondo que necesites */
	  padding-bottom: 5px;
	  overflow-x: auto;
	  white-space: nowrap;
	  flex-wrap: nowrap;
	  justify-content: flex-start;
	  scrollbar-width: thin;
	  gap: 5px;
	}

	.menu-buttons.fixed > div {
		flex: 0 0 auto;
	}

	.menu-buttons.fixed > div a {
		font-size: 20px;
		font-weight: 400;
		padding: 7px 15px 7px 15px;
	}
	
	#colophon:before {
		top: 25px;
	    left: 25px;
	    width: 90px;
	    height: 90px;
	}
	
	#colophon:after {
		top: 25px;
	    right: 25px;
	    width: 90px;
	    height: 90px;
	}
	
	.site-middle-footer-wrap:before {
		bottom: 25px;
	    left: 25px;
	    width: 90px;
	    height: 90px;
	}
	
	.site-middle-footer-wrap:after {
		bottom: 25px;
	    right: 25px;
	    width: 90px;
	    height: 90px;
	}
}

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

}

@media screen and (max-width:560px) {
	#colophon:before {
		top: 15px;
	    left: 15px;
	    width: 70px;
	    height: 70px;
	}
	
	#colophon:after {
		top: 15px;
	    right: 15px;
	    width: 70px;
	    height: 70px;
	}
	
	.site-middle-footer-wrap:before {
		bottom: 15px;
	    left: 15px;
	    width: 70px;
	    height: 70px;
	}
	
	.site-middle-footer-wrap:after {
		bottom: 15px;
	    right: 15px;
	    width: 70px;
	    height: 70px;
	}
	
	.footer-social-wrap .footer-social-inner-wrap {
	    gap: 1.5em;
	}
	
	.site-footer-middle-section-1 ul.menu li {
	    padding-left: 14px;
	    padding-right: 14px;
	}
}


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