/* ANCHOR Elementi generici  */

a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
}

ul {
    list-style: none;
}

html {
    overflow-x: hidden;
}

/* body {
    min-height: 100vh;
} */

ion-icon,
.feather {
    pointer-events: none;
}

p strong {
    font-weight: 500;
}

img {
    max-width: 100%;
}

/* ANCHOR Margin */
.mart30 {
    margin-top: 30px;
}

/* SECTION Elementi Grid layout */

.content-grid {
    width: 100%;
    --padding-inline: 2rem;
    --content-max-width: 1400px;
    /* --breakout-max-width: 1600px; */
    --breakout-max-width: 95vw;
    --breakout-size: calc((var(--breakout-max-width) - var(--content-max-width)) / 2);
    display: grid;
    grid-template-columns: [full-width-start] minmax(var(--padding-inline), 1fr) [breakout-start] minmax(0, var(--breakout-size)) [content-start] min(100% - (var(--padding-inline) * 2),
            var(--content-max-width)) [content-end] minmax(0, var(--breakout-size)) [breakout-end] minmax(var(--padding-inline), 1fr) [full-width-end];
}

.content-grid> :not(.breakout, .full-width),
.full-width> :not(.breakout, .full-width) {
    grid-column: content;
}

.content-grid>.breakout {
    grid-column: breakout;
}

.content-grid>.full-width {
    grid-column: full-width;
    display: grid;
    grid-template-columns: inherit;
}

.grid {
    display: grid;
}

.auto_grid {
    grid-auto-flow: column;
}

.align_center {
    align-items: center;
}

/* ANCHOR HERO */
.pos_abs.fullcontainer {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
}

.module-col {
    border-radius: 1.5rem;
}

.module-col .form_body {
    align-items: initial;
    gap: 2rem;
}

.img_mask.lamp-ico {
    --img-t-width: 200px;
    --img-t-height: 200px;
}

.pos_abs.lamp-ico.bot-left {
    top: 90vh;
    right: 50vw;
}

/* ANCHOR Punti di forza */
.bg-props {
    z-index: 2;
    width: 100vw;
    height: 100vh;
    left: 15vw;
    top: 130vh;
}

/* SECTION Banner  */

/* !SECTION */
/* SECTION Restauri  */
.single_before_and_after_comparison_card {
    overflow: hidden;
    border-radius: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.single_before_and_after_comparison_card:not(:has(.has_only_after))::before {
    content: "Prima";
    top: 0;
    left: 0;
    padding: 3px 10px;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--grigiochiaro);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    border-bottom-right-radius: 0.7rem;
    color: var(--grigioscuro);
    pointer-events: none;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    position: absolute;
}

.sbac_cursor {
    width: auto;
    height: 100%;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: -webkit-grab;
    cursor: grab;
    /* transition: left 0.2s ease; */
}


.sbac_cursor_line {
    width: 4px;
    height: 100%;
}

.sbac_cursor_pointer {
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    width: 2rem;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.sbac_after_element {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    position: relative;
}

.sbac_cursor_pointer svg {
    pointer-events: none;
}

.bg_maincolor svg,
.bg_secondarycolor svg {
    stroke: var(--white);
}

svg:not(:host).svg-inline--fa,
svg:not(:root).svg-inline--fa {
    overflow: visible;
    box-sizing: content-box;
}

.sbac_after_element img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.sbac_after_element:not(.has_only_after)::after {
    content: "Dopo";
    bottom: 0;
    right: 0;
    padding: 3px 10px;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--grigiochiaro);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    border-top-left-radius: 0.7rem;
    color: var(--grigioscuro);
    pointer-events: none;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.15) -1.95px -1.95px 2.6px;
    position: absolute;
}

.project-main-image {
    overflow: hidden;
    border-radius: 1rem;
    height: auto;
    width: 100%;
}

.project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* !SECTION */
/* SECTION Lampadari  */
.gallery-image {
    width: 250px;
    height: 100%;
    aspect-ratio: 3 / 5;
}

.gallery-image.single-accessory {
    width: 100%;
    height: 150px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;

}

/* !SECTION */
/* SECTION Vetrine  */
.showcase .grid:not(:last-child) {
    margin-bottom: 40px;
}

/* !SECTION */
/* SECTION Contatti  */

.single-contact svg {
    fill: var(--white);
    stroke: var(--secondarycolor);
}

.contacts-map-wrapper {
    width: 100%;
}

.contacts-map-wrapper iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

#contatti .img_mask {
    --img-t-width: 75px;
    --img-t-height: 75px;
}

#contatti .pos_abs.bot-right {
    /* bottom: 2px; */
    bottom: 2vh;
    left: 38%;
}

/* !SECTION */
/* SECTION Prefooter  */
.prefoot-pos.img_mask.lamp-ico {
    --img-t-width: 100px;
    --img-t-height: 100px;

}

.prefoot-pos {
    top: 40vh;
    right: 18%;
}

/* !SECTION */
/* SECTION Privacy Policy  */

.wt-cli-manage-consent-link {
    cursor: pointer;
}

.policy h3 {
    /* font-size: 2vw; */
    /* margin: 20px auto; */
    font-size: var(--fs-600);
}

.policy h4 {
    margin-bottom: 20px;
    font-size: var(--fs-550);
}

.policy h5 {
    margin-bottom: 20px;
    font-size: var(--fs-450);
}

.policy p {
    line-height: 1.5;
    font-size: var(--fs-400);
    margin-bottom: 20px;
    text-align: justify;
}

.policy p strong {
    letter-spacing: 1px;
    line-height: 2;
}

.policy ul {
    list-style: lower-latin;
    margin-left: 25px;
    padding: 15px 0;
    /* line-height: 1.6; */
}

.policy ul li {
    line-height: 1.6;
}

/* !SECTION  */

/* SECTION Pagina di ringraziamento */
#ringraziamento {
    display: flex;
    justify-content: center;
    text-align: center;
    background: var(--white);
    padding: 20px;
}

#ringraziamento .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

#ringraziamento h2 {
    text-transform: uppercase;
    font-size: 28px;
    padding-bottom: 20px;
    color: var(--maincolor);
    border-bottom: 1px solid var(--secondarycolor);
}

#ringraziamento p {
    /* margin: 30px 0; */
    font-size: 20px;
}

.page-id-141 .header_container,
.page-id-3 .header_container {
    justify-content: center;
}

/* !SECTION  */

/*!SECTION */
/* SECTION Per pagina test */
#test_zone {
    margin: 100px 0;
}

/* LINK Media */
/*SECTION - 1480px*/
@media only screen and (max-width: 1480px) {}

/* !SECTION */

/*SECTION - 900px*/
@media only screen and (max-width: 900px) {

    .grid_2_cols,
    .grid_3_cols,
    .grid_4_cols,
    .grid_5_cols,
    .grid_1_2_cols,
    .grid_2_1_cols,
    .grid_2_3_cols,
    .grid_3_2_cols,
    .grid_2_1_1_cols {
        grid-template-columns: 1fr;
    }

    .wrapper,
    .major_wrapper {
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }

    .grid_rev {
        grid-auto-flow: initial;
        direction: rtl;
    }

    /*ANCHOR - Hero Mobile */
    body section#hero .flex {
        align-items: center;
        justify-content: center;
    }

    body section#hero .hero-col .cb-title-wrapper>*,
    body section#hero .hero-col p {
        text-align: center;

    }

    #hero .pos_abs.lamp-ico {
        top: 20vh;
        right: 24vw;
    }

    .cb-title-wrapper h1,
    .cb-title-wrapper h2,
    .cb-title-wrapper h3,
    .cb-title-wrapper h4,
    .cb-title-wrapper h5 {
        text-align: center;
    }

    #hero h2 {
        line-height: 1.2;
    }

    #hero .text_left {
        text-align: center;
    }

    #lampadari {
        padding-bottom: 0;
    }

    .gallery-image {
        width: 100%;
    }

    #contatti .pos_abs.bot-right {
        /* bottom: 2px; */
        top: 0vh;
        left: 80%;
    }

    #contatti .img_mask {
        --img-t-width: 50px;
        --img-t-height: 50px;
    }

    .prefoot-pos.img_mask.lamp-ico {
        display: none;
        --img-t-width: 50px;
        --img-t-height: 50px;
        /* position: relative; */
    }

    .prefoot-pos.pos_abs {
        top: 85vh;
        right: 42%;
    }
}

/* !SECTION */