/************************************************/
/*** # VARIABLES ********************************/
/************************************************/

:root {
    --color-fff: #fff;
    --color-black: #000;
    --color-f7: #f7f7f7;
    --color-f0: #f0f0f0;

    --main-container-max-width: 1480px;
    --laptop-breakpoint: 1460px;
    --tablet-breakpoint: 1140px;
    --mobile-breakpoint: 767px;

    --pre-header-height: 50px;
    --header-content-height: 100px;
}


@media (max-width:767px) {
    :root {
        --pre-header-height: 40px;
        --header-content-height: 80px;
    }
}


#container {
    margin-top: calc(var(--pre-header-height) + var(--header-content-height));
}

/************************************************/
/*** # ELEMENTOR GLOBAL STYLES ******************/
/************************************************/
.color-primary {
    color: var(--e-global-color-primary) !important
}

.color-secondary {
    color: var(--e-global-color-secondary) !important
}

.color-text {
    color: var(--e-global-color-text) !important
}

.color-accent {
    color: var(--e-global-color-accent) !important
}

.color-fff {
    color: var(--color-fff) !important
}

.bg-color-primary {
    background-color: var(--e-global-color-primary) !important
}

.bg-color-secondary {
    background-color: var(--e-global-color-secondary) !important
}

.bg-color-text {
    background-color: var(--e-global-color-text) !important
}

.bg-color-accent {
    background-color: var(--e-global-color-accent) !important
}

.bg-color-fff {
    background-color: var(--color-fff) !important
}

.bg-color-f7 {
    background-color: var(--color-f7) !important
}

.bg-color-f0 {
    background-color: var(--color-f0) !important
}

.text-primary {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: var(--e-global-typography-primary-line-height);
    letter-spacing: var(--e-global-typography-primary-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);

}

.text-secondary {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
}

.text-accent {
    font-family: var(--e-global-typography-accent-font-family);
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
}

.text-normal {
    font-family: var(--e-global-typography-text-font-family);
    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);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
}



/************************************************/
/*** # MAIN RULES *******************************/
/************************************************/

body {
    font-family: "Primary", sans-serif;
}

e.con {
    overflow: hidden
}

strong,
b,
.strong,
.bold {
    font-weight: bold
}

i,
em {
    font-style: italic
}





/* - - - - - - - - - - - - - - - - - - - - - - -
# HEADER
- - - - - - - - - - - - - - - - - - - - - - - - */

#pre-header {
    height: var(--pre-header-height);
    z-index: 20
}

#header-content {
    height: var(--header-content-height);
    transition: height .5s ease;
}

#header-logo img {
    transition: max-width .5s ease;
}

#header {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 10;
    transition: top .5s ease;
}

body.admin-bar {
    #header {
        top: 32px;
    }
}


#header.scrolled {
    top: calc(-1 * var(--pre-header-height)) !important;
}

#header.scrolled #header-content {
    height: calc(var(--header-content-height) * 0.8);
}

#header.scrolled #header-logo img {
    max-width: 140px;
}

#header .elementor-nav-menu>li.menu-item:last-child a {
    background-color: var(--e-global-color-secondary);
    color: var(--color-fff);
    padding: 5px 10px;
    transition: background-color .5s ease;
}

#header .elementor-nav-menu>li.menu-item:last-child a:hover {
    background-color: var(--e-global-color-primary);
}

#header .elementor-nav-menu>li.menu-item:last-child a:hover {
    border-radius: 0px;
}

/* safari fix */
/* .header_content .elementor-widget-icon:nth-child(3) .elementor-icon,
.header_content .elementor-widget-icon:nth-child(5) .elementor-icon {
    max-width: .1em;
} */


@media (max-width: 768px) {

    #pre-header .elementor-icon-box-title,
    #pre-header .elementor-widget-search {
        display: none;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - -
# FOOTER
- - - - - - - - - - - - - - - - - - - - - - - - */
@media (max-width:767px) {
    #footer ul.elementor-nav-menu>li>a {
        display: block;
        text-align: center;
    }
}



/****************************************************************************************/
/* # CUSTOM PADDINGS ********************************************************************/
/* classi impostate tramite controllo iniettato nel widget 'container' di elementor     */
/****************************************************************************************/

/* default -> non inserisco regole */
.e-con.h_padding_default {}

.e-con.v_padding_default {}

.e-con.h_padding_medium {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-left: 5dvw;
    padding-right: 5dvw;
}

.e-con.h_padding_big {
    padding-left: 10vw;
    padding-right: 10vw;
    padding-left: 10dvw;
    padding-right: 10dvw;
}

.e-con.v_padding_medium {
    padding-top: 7vh;
    padding-bottom: 7vh;
    padding-top: 7dvh;
    padding-bottom: 7dvh;
}

.e-con.v_padding_big {
    padding-top: 14vh;
    padding-bottom: 14vh;
    padding-top: 14dvh;
    padding-bottom: 14dvh;
}

/* se non default, reset elementor padding */
.e-con.h_padding_none,
.e-con.h_padding_medium .e-con-inner,
.e-con.h_padding_big .e-con-inner,
.e-con.h_padding_none .e-con-inner {
    padding-left: 0px;
    padding-right: 0px;
}

.e-con.v_padding_none,
.e-con.v_padding_medium .e-con-inner,
.e-con.v_padding_big .e-con-inner,
.e-con.v_padding_none .e-con-inner {
    padding-top: 0px;
    padding-bottom: 0px;
}

@media (max-width:1140px) {
    .e-con.h_padding_medium {}

    .e-con.v_padding_big {
        /* 		padding-top: 6vh;
		padding-bottom: 6vh;
		padding-top: 6dvh;
		padding-bottom: 6dvh; */
    }

    .e-con.v_padding_medium {}

    .e-con.v_padding_big {}
}



/****************************************************************************************/
/* # CUSTOM MARGINS ********************************************************************/
/* classi impostate tramite controllo iniettato nel widget 'container' di elementor     */
/****************************************************************************************/

/* default -> non inserisco regole */

.e-con.v_margin_default {}


.e-con.v_margin_medium {
    margin-top: 10vh;
    margin-bottom: 10vh;
    margin-top: 10dvh;
    margin-bottom: 10dvh;
}

.e-con.v_margin_big {
    margin-top: 18vh;
    margin-bottom: 18vh;
    margin-top: 18dvh;
    margin-bottom: 18dvh;
}

/* se non default, reset elementor margin */
.e-con.v_margin_none,
.e-con.v_margin_medium .e-con-inner,
.e-con.v_margin_big .e-con-inner,
.e-con.v_margin_none .e-con-inner {
    margin-top: 0px;
    margin-bottom: 0px;
}

@media (max-width:1140px) {

    .e-con.v_margin_big {}

    .e-con.v_margin_medium {}

    .e-con.v_margin_big {}
}



/************************************************/
/*** # IMMOBIGLINO ******************************/
/************************************************/


.rounded-20 {
    border-radius: 0px 20px;
}

.rounded-30 {
    border-radius: 0px 30px;
}

.rounded-40 {
    border-radius: 0px 40px;
}

.rounded-50 {
    border-radius: 0px 50px;
}

.rounded-60 {
    border-radius: 0px 60px;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded_riquadro_img img {
    border-radius: 0px 20px;
}

.rounded_riquadro_img .elementor-image-box-content {
    padding-inline: 20px;
}

.shadowed {
    /* filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25)); */
}

.immobile_loop .elementor-post-info__terms-list-item,
.immobile_loop .tipologia_contratto {
    text-transform: uppercase;
}

@media (min-width: 1141px) {
    .immobile_loop .elementor-page-title,
    .immobile_loop .descrizione {
        min-height: 4em
    }

    .immobile_loop .indirizzo {
        min-height: 2.6em
    }
}

.prezzo * {
    font-size: 1.4em !important;
    text-decoration: underline;
    text-decoration-color: var(--e-global-color-primary);
}

#content {
    overflow: hidden;
}

.carosello_immobili {
    overflow: visible;
}

.carosello_immobili .swiper.elementor-loop-container {
    position: relative;
    overflow: visible;
}

.carosello_immobili .swiper.elementor-loop-container::before,
.carosello_immobili .swiper.elementor-loop-container::after {
    content: "";
    position: absolute;
    height: 110%;
    width: 200%;
    z-index: 3;
    background-color: var(--color-fff);
    top: -5%;
}

.carosello_immobili .swiper.elementor-loop-container::before {
    left: -202%
}

.carosello_immobili .swiper.elementor-loop-container::after {
    left: 102%
}


.griglia_immobili .elementor-pagination .page-numbers {
    font-size: 2rem;
}

.elementor-form textarea {
    resize: none;
}



body.single-immobile .video_column:not(:has(iframe)) {
    display: none;
}

body.single-immobile .dettagli_aggiuntivi_column:not(:has(ul)) {
    display: none;
}

body.single-immobile .planimetria_button a:not([href]) {
    display: none;
}


body.single-immobile ul.dettagli-aggiuntivi {
    list-style: none;
    background-color: var(--color-f0);
    padding: 40px;
    max-width: 80%;
}

body.single-immobile ul.dettagli-aggiuntivi li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 1em;
}

body.single-immobile ul.dettagli-aggiuntivi li:last-child {
    margin-bottom: 0;
}

body.single-immobile ul.dettagli-aggiuntivi li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--e-global-color-secondary);
    font-weight: bold;
}

#caratteristiche .elementor-widget-icon-box .elementor-icon-box-title {
    font-weight: bold;
}

#caratteristiche .elementor-widget-icon-box:not(:has(.elementor-icon-box-description)) {
    display: none;
}

footer .elementor-nav-menu.sm-vertical a {display: inline-block}
footer ul.sub-menu {display: none !important}

/************************************************/
/*** # MAPPA ********************************/
/************************************************/

.mappa_immobili .gm-style-iw-chr {
    height: 20px
}

.mappa_immobili .gm-style-iw-chr button {
    width: 45px !important;
    height: 30px !important;
}

.mappa_immobili .gm-style-iw-chr button span {
    margin: 0px 10px !important;
}

.mappa_immobili .map-info-window {
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mappa_immobili .info-window-title {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 2em;
    font-weight: bold;
    line-height: 1em;
}


.mappa_immobili .info-window-address {
    font-weight: bold;
    color: var(--e-global-color-primary);
}

.mappa_immobili .info-window-img {
    width: 100%;
    max-height: 130px;
    object-fit: cover;
    object-position: center;
    margin-block: .5em;
    border-radius: 0px 20px;
}

.mappa_immobili .info-window-description {}

.mappa_immobili .info-window-price {
    font-weight: bold;
    font-size: 1.4em;
    text-decoration: underline;
    text-decoration-color: var(--e-global-color-primary);
    margin-top: .25em;
}

.mappa_immobili a.info-window-link {
    padding: 8px 12px;
    background-color: var(--e-global-color-primary);
    border-radius: 0px 10px;
    font-family: var(--e-global-typography-primary-font-family);
    color: var(--color-fff);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.2em;
    margin-bottom: 1em;
    align-self: end;
}


/************************************************/
/*** # CUSTOM ELEMENTOR ANIMATION CLASSES *******/
/************************************************/

.custom_fadeUp_anim {
    animation-name: custom_fadeUp_anim;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --delta-y: clamp(20px, 20%, 40px)
}

@keyframes custom_fadeUp_anim {
    0% {
        transform: translateY(var(--delta-y));
        opacity: 0
    }

    80% {
        opacity: 1
    }

    100% {
        transform: translateY(0%);
    }
}


.custom_slideUp_anim {
    overflow: hidden
}

.custom_slideUp_anim .elementor-widget-container {
    animation-name: custom_slideUp_anim;
    animation-duration: inherit;
    animation-delay: inherit;
}

@keyframes custom_slideUp_anim {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0%)
    }
}


.custom_slideDown_anim {
    overflow: hidden
}

.custom_slideDown_anim .elementor-widget-container {
    animation-name: custom_slideDown_anim;
    animation-duration: inherit;
    animation-delay: inherit;
}

@keyframes custom_slideDown_anim {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%)
    }
}

.custom_clipUp_anim {
    animation-name: custom_clipUp_anim
}

.custom_clipDown_anim {
    animation-name: custom_clipDown_anim
}

.custom_clipLeft_anim {
    animation-name: custom_clipLeft_anim
}

.custom_clipRight_anim {
    animation-name: custom_clipRight_anim
}

@keyframes custom_clipUp_anim {
    0% {
        clip-path: inset(100% 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes custom_clipDown_anim {
    0% {
        clip-path: inset(0 0 100% 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes custom_clipLeft_anim {
    0% {
        clip-path: inset(0 0 0 100%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes custom_clipRight_anim {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}



.custom_blurIn_anim {
    animation-name: custom_blurIn_anim
}

@keyframes custom_blurIn_anim {
    0% {
        filter: blur(100px);
    }

    100% {
        filter: blur(0px);
    }
}

.custom_scaleIn_anim {
    animation-name: custom_scaleIn_anim;
    animation-timing-function: cubic-bezier(0.33, 1.35, 0.54, 1.23)
}

@keyframes custom_scaleIn_anim {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}



/* COOKIE BANNER */
.cookie-notice-container a {
	color: #fff !important;
	text-decoration: underline !important
}
#cn-close-notice {display: none}

/* POLICIES */
.policies h2 {
	font-size: var(--e-global-typography-36edf19-font-size);
    margin-top: 40px;
    margin-bottom: 20px;
}
.policies p {margin-bottom: 10px !important}
.policies a {text-decoration: underline; color: var(--e-global-color-primary)}
.policies ul li {    margin: 0;
    margin-left: 25px;}

/* temp disable IG */
.elementor-widget-social-icons,
.social_ig,
footer .elementor-widget-icon-list li.elementor-icon-list-item:nth-child(3) {
    display: none;
}