/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/

:root {
    --e-global-color-primary: #F2E8E6;
    --e-global-color-secondary: #FAF2EF;
    --e-global-color-text: #FFF9F5;
    --e-global-color-accent: #F2E6E5;
    --e-global-color-4c9feeb: #FDAE4B;
    --e-global-color-32052ff: #6C6496;
    --e-global-color-b989ec1: #0F033A;
    --e-global-color-62ea693: #FFF9F5;
    --e-global-color-3e73738: #F2E8E6;
    --e-global-color-41b3a42: #FAF2EF;
    --e-global-color-aba8a65: #FDAE4B;
    --e-global-color-60632e4: #F2E6E5;
    --e-global-color-4ae8d14: #FFFFFF;
    --e-global-color-8c14348: #F2E6E5;
    --e-global-color-f76d45e: #ECDFDE;
    --e-global-color-2a217e0: #807583;
    --e-global-color-d63be51: #FFFFFF;
    --e-global-color-78ca480: #E0E0E0;
}

/* ========= Fix Tema ======================================================= */
body p {
    line-height: 1.5 !important;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

#show-preferencesModal {
    color: #f3f3f3 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 0 9px 14px !important;
    display: inline-block !important;
    line-height: 21px !important;
    transition: all 0.2s ease-in-out !important;
}
#show-preferencesModal:hover {
    transition: .3s !important;
    color: var(--e-global-color-4c9feeb) !important;
}

#cookie-table-container {
    overflow-x: auto !important;
}

@media only screen and (max-width: 767px) {
    #footer > .container {
        margin-right: auto;
        margin-left: auto;
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

#footer a,
#theme_breadcrumbs a,
.mobile-navigation-wrapper a,
a.button,
#header a,
#dashboard a {
    text-decoration: none !important;
}

.elementor-widget-listeo-listings .row.margin-bottom-25 {
    margin: 0 !important;
}

.button-contattaci {
    text-decoration: none !important;
    color: var(--e-global-color-d63be51) !important;
}

body #header #logo {
    margin-right: 32px !important;
}
body #header.cloned.sticky #logo {
    margin: 0 32px 0 0 !important;
}
body #header-container #logo img {
    width: 120px !important;
    max-height: 40px !important;
}

body #navigation ul li:hover ul a, 
body #navigation ul ul.sub-menu a {
    font-size: 16px !important;
    line-height: 20px !important;
}
body #navigation ul ul.sub-menu li {
    margin-bottom: 8px !important;
}
body #navigation ul ul.sub-menu li:last-child {
    margin-bottom: 0 !important;
}
body #navigation ul ul.sub-menu li.current-menu-item a {
    color: var(--e-global-color-4c9feeb) !important;
}
body.single-listing #wrapper {
    background-color: var( --e-global-color-62ea693 ) !important;
}
body #wrapper #header-container {
    background-color: #fff !important;
}
body #header-container #header .usrname {
    color: #222 !important;
}
body .layout-switcher {
    display: flex !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 4px;
}
body .layout-switcher a {
    line-height: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #777;
}
figure.swiper-slide-inner, figure.wp-caption {
    position: relative;
    z-index: 0;
}
figure.swiper-slide-inner figcaption, figure.wp-caption figcaption, .card-caption {
    position: absolute !important;
    right: 20px !important;
    bottom: 3px !important;
    padding: 2px 4px !important;
    border-radius: 20px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: #fff !important;
    background-color: rgba(0,0,0,.3) !important;
    z-index: 2 !important;
}
.didascalia_top figure.swiper-slide-inner figcaption, .didascalia_top figure.wp-caption figcaption {
    top: 2px !important;
    bottom: unset !important;
}

/*OWL CAROUSEL */
.owce-carousel .owl-stage-outer {
    padding-top: 0 !important;
}
.owl-item .item {
    position: relative;
}
.owl-item .item .owl-content {
    position: absolute;
    right: 20px !important;
    bottom: 2px !important;
    padding: 0 4px !important;
    border-radius: 20px !important;
    font-size: 9px !important;
    font-weight: 300 !important;
    color: #fff !important;
    background-color: rgba(0, 0, 0, .3) !important;
    z-index: 2 !important;
}
.owl-dots {
    margin-top: 0 !important;
}


body #header-container #header .custom-header-button {  
    display: flex;
    justify-content: center !important;
    gap: 8px !important;
    align-items: center !important;
    font-size: 16px !important;
    background-color: rgb(253, 174, 75) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    width: fit-content !important;  
    float: right !important;
    text-decoration: none !important;
}
body #header-container #header .custom-header-button span {  
    font-size: 16px !important;
    color: #fff !important;
}
body #header-container #header .custom-header-button svg {  
    width: 16px;
    height: 16px;
}
body #header-container #header .custom-header-button:hover {
    background-color: #fdb65d !important;
}
body.error404 .custom-404-button {
    background-color: #fdae4b;
    font-family: "Be Vietnam Pro", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    fill: #fff;
    color: #fff;
    border-radius: 0px 20px 0px 20px;
    padding: 12px 36px 12px 36px;
    line-height: 1.5;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;  
    text-align: center;
    transition: all .3s;
}
body.error404 .custom-404-button .elementor-button-content-wrapper {
    display: flex;
    gap: 8px;  
    justify-content: center;
    flex-direction: row-reverse;
    text-decoration: inherit;
}
body.error404 .custom-404-button .elementor-button-content-wrapper .elementor-button-icon {
    align-items: center;
    display: flex;
    text-decoration: inherit;
}
body.error404 .custom-404-button .elementor-button-content-wrapper .elementor-button-icon svg {
  height: auto;
  width: 1em;
}
body.error404 .custom-404-button .elementor-button-content-wrapper .elementor-button-text {
  display: inline-block;
  text-decoration: inherit;
}

.listeo-carousel-widget a.carousel-card {
    text-decoration: none !important;
}

@media only screen and (max-width: 1024px) {
    body .listeo-carousel-widget {
        padding: 0 !important;
    }
    body .listeo-carousel-widget .carousel-card {
        width: calc(40vw - 32px) !important;
    }
}
@media only screen and (max-width: 767px) {
    body .listeo-carousel-widget .carousel-card {
        width: calc(60vw - 32px) !important;
    }
}
@media only screen and (max-width: 440px) {
    .custom-header-button {
        display: none !important;
    }
    body .listeo-carousel-widget .carousel-card {
        width: calc(75vw - 32px) !important;
    }
}
body .footer-new-bottom-inner {
    background-color: #111 !important;   
}

body #footer a:hover {
    transition: .3s !important;
    color: var(--e-global-color-4c9feeb) !important;
}

#footer ul.menu {
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    float: unset !important;
}

#footer ul.menu li::before {
  top: 2px !important;
}

@media only screen and (max-width: 600px) {
    body #footer .container .row .col-md-3.col-sm-6.col-xs-12 {
        margin: 8px 0 !important;
    }
    body #footer .footer-new-bottom-inner {
        flex-direction: column;
        justify-content: center;
        align-items: start;
        gap: 16px;
        display: flex;
    }
    body #footer .footer-new-bottom-inner .footer-new-bottom-left, 
    body #footer .footer-new-bottom-inner .footer-new-bottom-right{
        width: auto;
    }
    body #footer .footer-new-bottom-inner .footer-new-bottom-right ul li {
        margin: 0;
    }
}

body.error404 #wrapper {
    background-color: var( --e-global-color-62ea693 ) !important;
}
body.error404 #not-found {
    margin: 0 !important;
    padding: 80px 32px !important;
    display: flex !important;
    gap: 16px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}
body.error404 #not-found h1 {
    color: var( --e-global-color-b989ec1 ) !important;
}
body.error404 #not-found p {
    margin: 0 !important;
    font-size: 24px !important;  
    color: var( --e-global-color-32052ff ) !important;
}
body.error404 #not-found .text {
    display: flex !important;
    gap: 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 0 8px 0 !important;
}
@media only screen and (max-width: 767px) {
    body.error404 #not-found p {
        font-size: 18px !important;  
    }
}

#html_iframe_map {
    line-height: 0 !important;
  border: 1px solid var(--e-global-color-78ca480);
  border-radius: 20px !important;
  overflow: hidden !important;
}
#html_iframe_map iframe {
    min-height: 400px !important;
    height: 400px !important;
}

/* ========= OWL CAROUSEL =================================================== */

.owl-item .owl-thumb img {
    object-fit: cover !important;
} 
@media only screen and (max-width: 767px) {
    .owl-item .owl-thumb img {
        height: 320px !important;
    } 
}

/* ========= UTILITY ======================================================== */

body .max-width-500px {
	max-width: 500px !important;
}
body .max-width-50per {
	max-width: 50% !important;
}
body .icon_opacity {
	opacity: .1 !important;
}

@media only screen and (max-width: 1024px) {
    body .max-width-50per {
    	max-width: 75% !important;
    }
}
@media only screen and (max-width: 767px) {
    body .max-width-50per {
    	max-width: 100% !important;
    }
}

/* ========= THEME BUTTON =================================================== */

body .button_with_before {
    position:relative;
    z-index: 1;
    transition: all .3s ease-in-out !important;
    width: fit-content;
}
body .button_with_before::before {
    content: '';
    z-index: -1;
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--e-global-color-accent);    
    border-radius: 0 20px 0 20px;
    transform: translate(-6px, 6px);
    transition: all .3s ease-in-out !important;
}
body .button_with_before:hover {
    transition: all .3s ease-in-out !important;
}
body .button_with_before:hover::before {
    transform: translate(-9px, 9px);
    transition: all .3s ease-in-out !important;
}

/* ========= STYLED SECTIONS ================================================ */

body .styled_before {
	position: relative !important;
	z-index: 0 !important;
}
body .styled_before::before {
	content: '';
	position: absolute;
	top: -16px;
	left: -16px;
	z-index: -1 !important;
	background: var(--e-global-color-primary);
	background: linear-gradient(130deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    width: calc(100% + 32px) !important;
	height: calc(100% + 32px) !important;
	border-radius: 20px;
	transform: rotate(3deg);
}
body .styled_before_2 {
	position: relative !important;
	z-index: 0 !important;
}
body .styled_before_2::before {
	content: '';
	position: absolute;
	top: -8px;
	left: -24px;
	z-index: -1 !important;
	background: var(--e-global-color-primary);
	background: linear-gradient(120deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    width: calc(100% + 32px) !important;
	height: calc(100% + 32px) !important;
	border-radius: 20px;
	transform: rotate(-2deg);
}
body .styled_before_3 {
	position: relative !important;
	z-index: 0 !important;
}
body .styled_before_3::before {
    content: '';
	position: absolute;
	top: -4px;
	left: 2px;
	z-index: -1 !important;
	background: var(--e-global-color-primary);
	background: linear-gradient(140deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    width: calc(100% + 8px) !important;
	height: calc(100% + 8px) !important;
	border-radius: 20px;
	transform: rotate(1.5deg);
}

@media only screen and (max-width: 1024px) {
    body .styled_before::before {
        top: -8px !important;
        left: -8px !important;
        width: calc(100% + 16px) !important;
        height: calc(100% + 16px) !important;
        transform: rotate(2deg) !important;
    }
    
    body .styled_before_2::before {
        top: -8px !important;
        left: -12px !important;
        width: calc(100% + 16px) !important;
        height: calc(100% + 24px) !important;
        transform: rotate(-1deg) !important;
    }
    
    body .styled_before_3::before {
    	top: -4px !important;
    	left: 2px !important;
        width: calc(100% + 8px) !important;
    	height: calc(100% + 8px) !important;
    	transform: rotate(1deg) !important;
    }
}

/* ========= Card Listing =================================================== */

body .listing-card-container-nl {
	position: relative !important;
	z-index: 0 !important;
}
body .listing-card-container-nl .listing-card-nl {
    border-radius: 20px !important;
}
body .listing-card-container-nl::before {
    content: '';
	position: absolute;
	top: -4px;
	left: 2px;
	z-index: -1 !important;
	background: var(--e-global-color-primary);
	background: linear-gradient(140deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    width: calc(100% + 8px) !important;
	height: calc(100% + 8px) !important;
	border-radius: 20px;
	transform: rotate(1.5deg);
}
body .listing-card-container-nl .listing-image-container-nl {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 20px 20px 0 0 !important;
    aspect-ratio: 3/2 !important;
}

body .listing-card-container-nl svg {
    filter: unset !important;
    fill: #222222 !important;
    width: 17px !important;
    max-width: 17px !important;
}
body .listing-card-container-nl svg g,
body .listing-card-container-nl svg path {
    fill: #222222 !important;
}

body .listing-card-container-nl .details-place {
    padding: 0 20px 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 8px !important;
}

body .listing-card-container-nl .details-place .details-place-regions span:not(.tooltip-nl),
body .listing-card-container-nl .details-price span:not(.tooltip-nl),
body .listing-card-container-nl .details-guests span:not(.tooltip-nl) {
    color: rgb(108, 100, 150) !important;
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

body .listing-card-container-nl .details-price,
body .listing-card-container-nl .details-guests {
    padding: 8px 20px 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 8px !important;
}

body .listing-card-container-nl .details-price span.active {
    font-weight: 600 !important;
    color: var(--listeo-primary-color) !important;
}

body .listing-card-container-nl .details-guests {
    display: flex !important;
    flex-direction: row !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 8px !important;
}

body .listing-card-container-nl .listing-details-nl {
    text-decoration: none !important;
}

body .listing-card-container-nl .details-main-col-nl {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 0 !important;
}
body .listing-card-container-nl .listing-badges-nl, 
body .listing-card-container-nl .listing-title-nl,
body .listing-card-container-nl .listing-excerpt-nl {
    margin: 0 !important;
    padding: 0 !important;
}
body .listing-card-container-nl .listing-title-nl {
    color: rgb(15, 3, 58) !important;
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
}
body .listing-card-container-nl .listing-excerpt-nl {
    margin: 8px 0 !important;
    color: rgb(108, 100, 150) !important;
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}
body .listing-card-container-nl  .listing-amenities-nl {
    margin: 0 !important;
    margin-top: 20px !important;
    padding: 16px 20px !important;  
    border-top: 1px solid var(--e-global-color-78ca480);
}

body #listings-not-found {
    background-color: var(--e-global-color-62ea693) !important;
}
body #listings-not-found h2 {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    font-family: var(--e-global-typography-text-font-family),Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-b989ec1);
}
body #listings-not-found p {
    font-family: var(--e-global-typography-primary-font-family),Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    font-style: var(--e-global-typography-primary-font-style);
    line-height: var(--e-global-typography-primary-line-height);
    color: var(--e-global-color-32052ff);
}

/* =========== Single Location ============================================== */

.single-listing #footer {
    margin-top: 0 !important;
}
body.single-listing h2 {
    font-family: "Be Vietnam Pro", Sans-serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}
body.single-listing h3 {
    font-family: "Be Vietnam Pro", Sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    margin-top: 32px;
    margin-bottom: 20px;
}
body.single-listing #wrapper .single-listing-page-titlebar {
    background: transparent !important;
}
body.single-listing #wrapper .listing-titlebar-title {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    justify-content: center !important;
    align-items: start !important;
}
body.single-listing #wrapper .listeo-grid-gallery-title #titlebar {
    margin: 0 !important;
    padding: 80px 0 !important;
    border-bottom: 1px solid #F2E6E5 !important;
    margin-bottom: 80px !important;
}
body.single-listing #wrapper .listeo-grid-gallery-title h1.listing-titlebar-title-h1 {
    font-size: 40px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    font-family: "Be Vietnam Pro", sans-serif !important;
    color: #0F033A !important;
}
body.single-listing #wrapper .listeo-single-listing-gallery-grid {
    z-index: 2;
    position: relative;
    justify-content: start;
    align-items: center;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-titlebar-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap !important;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag {
    background: #fff !important;
    border: 1px solid #F2E6E5 !important;
    color: rgb(108, 100, 150) !important;
    display: flex;
    gap: 0;
    justify-content: start;
    align-items: center;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag span {
    color: rgb(108, 100, 150) !important;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag span.active {
    color: rgb(253, 174, 75) !important;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag svg {
    color: rgb(108, 100, 150) !important;
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag a {
    color: rgb(108, 100, 150) !important;
    margin-left: 4px;
    text-decoration: none !important;
}
body.single-listing .listing-details-sidebar a,
body.single-listing .share-buttons a {
    text-decoration: none !important;
}
body.single-listing #wrapper #titlebar.listing-titlebar .listing-tag a:hover {
    color: rgb(253, 174, 75) !important;
}
body.single-listing .listeo-single-listing-sidebar .listing-features {
    position: relative !important;
	z-index: 2 !important;
	padding: 32px !important;  
	display: flex;
	gap: 20px !important;
	flex-wrap: wrap;
    margin-bottom: 35px;
}
body.single-listing .listeo-single-listing-sidebar .listing-features::after {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background-color: #fff !important;
    border-radius: 20px !important;
    border: 1px solid #F2E6E5 !important;
	z-index: 1 !important;
}
body.single-listing .listeo-single-listing-sidebar .listing-features::before {
    content: '';
	position: absolute;
	top: -4px;
	left: 2px;
	z-index: -1 !important;
	background: #f2e8e6;
	background: linear-gradient(140deg, #faf2ef 0%, #f2e8e6 100%);
    width: calc(100% + 8px) !important;
	height: calc(100% + 8px) !important;
	border-radius: 20px;
	transform: rotate(1.5deg);
}
body.single-listing .listeo-single-listing-sidebar .listing-features.checkboxes li {
    width: auto !important;
}
body.single-listing .listeo-single-listing-sidebar .listing-features li.feature-has-icon {
    position: relative !important;
	z-index: 2 !important;
	display: flex;
    gap: 8px;
    justify-content: start;
    align-items: center;
    margin: 0;
    padding: 0;
}
body.single-listing .listeo-single-listing-sidebar .listing-features li.feature-has-icon .feature-svg-icon {
    width: 24px !important;
    height: 24px !important;  
    position: static !important;
}
body.single-listing .listeo-single-listing-sidebar .listing-features li.feature-has-icon .feature-svg-icon svg {
    width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
}

body.single-listing .listeo-single-listing-sidebar .widget_listing_owner {
    position: relative !important;
	z-index: 2 !important;
}
body.single-listing .listeo-single-listing-sidebar .widget_listing_owner::after {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background-color: #fff !important;
    border-radius: 20px !important;
    border: 1px solid #F2E6E5 !important;
	z-index: 1 !important;
}
body.single-listing .listeo-single-listing-sidebar .widget_listing_owner::before {
    content: '';
	position: absolute;
	top: -4px;
	left: 2px;
	z-index: -1 !important;
	background: #f2e8e6;
	background: linear-gradient(140deg, #faf2ef 0%, #f2e8e6 100%);
    width: calc(100% + 8px) !important;
	height: calc(100% + 8px) !important;
	border-radius: 20px;
	transform: rotate(1.5deg);
}
body.single-listing .listeo-single-listing-sidebar .widget_listing_owner .hosted-by-title {
    display: none !important;
}
body.single-listing .listeo-single-listing-sidebar .widget_listing_owner ul.listing-details-sidebar,
body.single-listing .listeo-single-listing-sidebar .widget_listing_owner a.send-message-to-owner {
    position: relative !important;
	z-index: 2 !important;
}

/* ========= Custom Titlebar ================================================ */

body #wrapper #theme_breadcrumbs span,
body #wrapper #theme_breadcrumbs a {
    color: rgb(108, 100, 150) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: "Be Vietnam Pro", sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}
body #wrapper #theme_breadcrumbs a:hover {
    transition: all .3s ease-in-out !important;
    color: rgb(253, 174, 75) !important;
}
body #wrapper #theme_breadcrumbs span.breadcrumb_last {
    color: rgb(253, 174, 75) !important;
}
body #wrapper #theme_titlebar .titlebar_svg {
    pointer-events: none !important;
}
body.single-listing #wrapper #listing-gallery {
    position: relative;
}
body.single-listing #wrapper #listing-gallery .titlebar_svg {
    position: absolute;
    z-index: 1;
    pointer-events: none !important;
    width: 80%;
    right: 0;
    bottom: -20%;
}
body.single-listing #wrapper #titlebar {
    z-index: 2;
}
body.single-listing #listing-overview {
    margin-bottom: 32px !important;
}

@media only screen and (max-width: 767px) {
    body #wrapper #theme_titlebar .titlebar_svg,
    body.single-listing #wrapper #listing-gallery .titlebar_svg {
        pointer-events: none !important;
        top: -30% !important;
        right: -30% !important;
        left: unset !important;
        bottom: unset !important;
    }
}

/* =========== Form Pagina Contatti ========================================= */

#cf7-contatti #cf7-contatti-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px 32px;
    margin-bottom: 1rem; /* space between form and button */
}
#cf7-contatti #cf7-contatti-container label {
    color: var( --e-global-color-32052ff );
    font-weight: 500;
}
#cf7-contatti #cf7-contatti-container span input,
#cf7-contatti #cf7-contatti-container textarea {
    margin-top: 8px !important;
}
#cf7-contatti #cf7-contatti-container label,
#cf7-contatti #cf7-contatti-container input,
#cf7-contatti #cf7-contatti-container textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}
#cf7-contatti #cf7-contatti-container input,
#cf7-contatti #cf7-contatti-container textarea {
    border-radius: 20px;
}
#cf7-contatti #cf7-contatti-container textarea {
    min-height: 100px;
    max-height: 1000px;
    height: 200px;
}
#cf7-contatti #cf7-contatti-container .message-field {
    grid-column: 1 / 3;
}
/* Submit button wrapper aligned left */
#cf7-contatti .form-submit-wrapper {
    text-align: left;
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper {
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: all .3s ease-in-out !important;
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia {
    background-color: var( --e-global-color-4c9feeb );
    font-family: "Be Vietnam Pro", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    fill: var( --e-global-color-d63be51 );
    color: var( --e-global-color-d63be51 );
    border-radius: 0px 20px 0px 20px;
    padding: 12px 36px 12px 36px;
    line-height: var( --e-global-typography-primary-line-height );
    text-align: center;
    transition: all .3s;  
    display: inline-block;  
    border: none !important;
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-content-wrapper {  
    display: flex;  
    justify-content: center;  
    flex-direction: row-reverse;
    gap: 8px;
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-icon {
    align-items: center;
    display: flex;
    font-family: "Be Vietnam Pro", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    fill: var( --e-global-color-d63be51 );
    color: var( --e-global-color-d63be51 );
    line-height: var( --e-global-typography-primary-line-height );
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-icon svg {
    height: auto;
    width: 1em;
}
#cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-icon svg.icon-loading {
    display: none;
}
.wpcf7 form.submitting #cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper {
    pointer-events: none !important;
    opacity: .5 !important;
}
.wpcf7 form.submitting #cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-icon svg.icon-loading {
    display: flex !important;
}
.wpcf7 form.submitting #cf7-contatti .form-submit-wrapper #cf7-contatti-invia-wrapper #cf7-contatti-invia .button-icon svg.icon-arrow {
    display: none !important;
}
.wpcf7 form #cf7-contatti .form-response-wrapper:first-child {
    margin-bottom: 32px;
}
.wpcf7 form #cf7-contatti .form-response-wrapper:last-child {
    margin-top: 32px;
}
.wpcf7 form #cf7-contatti .form-response-wrapper .wpcf7-response-output {
    margin: 0;
    padding: .5em 1em;
    border: 2px solid #000;
    border-radius: 20px;
    color: #000;
    background-color: #00000010;
}
.wpcf7 form.sent #cf7-contatti .form-response-wrapper .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
    background-color: #46b45010;
}
.wpcf7 form.failed #cf7-contatti .form-response-wrapper .wpcf7-response-output,
.wpcf7 form.invalid #cf7-contatti .form-response-wrapper .wpcf7-response-output
.wpcf7 form.spam #cf7-contatti .form-response-wrapper .wpcf7-response-output {
    border-color: #e12323;
    color: #e12323;
    background-color: #e1232310;
}
#cf7-contatti span.wpcf7-not-valid-tip {
    color: #db4e4e;
    font-size: 1em;
    font-weight: normal;
    display: block;
    margin: 0;
    font-size: 13px;
    background: transparent;
    display: inline-block;
    border-radius: 3px;
    padding: 0px 6px;
    top: 0px;
    margin: 0 0 10px 0;
    display: inline-block;
    text-align: center;
    position: relative;
}
#cf7-contatti .form-acceptance-wrapper,
#cf7-contatti .form-recaptcha-wrapper {
    margin: 20px 0 !important;
}
#cf7-contatti .form-acceptance-wrapper .wpcf7-list-item {
    margin: 0 !important;
}
#cf7-contatti .form-acceptance-wrapper .wpcf7-list-item label {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 8px;
}
#cf7-contatti .form-acceptance-wrapper .wpcf7-list-item label .wpcf7-list-item-label span {
    font-size: 12px !important;
    line-height: 1 !important;
    color: var(--e-global-color-32052ff) !important;
}
#cf7-contatti .form-acceptance-wrapper .wpcf7-list-item .cf7-contatti-acceptance {
    margin: 4px 0 0 0 !important;
}

#cf7-contatti .form-acceptance-wrapper p,
#cf7-contatti .form-recaptcha-wrapper p {
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: var(--e-global-color-32052ff) !important;
}
#cf7-contatti .form-acceptance-wrapper a,
#cf7-contatti .form-recaptcha-wrapper a {
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: var(--e-global-color-4c9feeb) !important;
}

@media only screen and (max-width: 767px) {
    #cf7-contatti #cf7-contatti-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 16px 32px !important;
        margin-bottom: 1rem !important; /* space between form and button */
    }
}

/* ========================================================================== */

#cookie-table {
    background-color: #fff;
    color: #333;
    font-size: 12px !important;
    border: 1px solid #efefef !important;
}

#cookie-table tr {
    border-bottom: 1px solid #efefef !important;
}
#cookie-table tr:nth-child(2n+1) {
    background-color: #f9f9f9 !important;
}
#cookie-table tr:first-child {
    background-color: #f3f3f3 !important;
}
#cookie-table tr td {
    padding: 4px 12px !important;
    width: fit-content !important;
}
#cookie-table tr td a{
    color: #fdae4b !important;
    font-size: 12px !important;
}
