/* main {
    overflow: hidden;
}
 */

body {
    overflow-x: hidden;
}

.header-cover {
    padding-top: 120px;
}

.splide__slide img {
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, .2));
}

.splide__slide img.galleria_realizzazione {
    filter: unset !important;
}

#galleria_realizzazione .splide__pagination {
    bottom: -2.5em;
}

.splide__slide img.galleria_settore {
    filter: unset !important;
}

#galleria_settore .splide__pagination {
    bottom: -2.5em;
}

.sliderHome-img {
    position: absolute;
    width: 85vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.sliderLavorazione-img {
    position: absolute;
    width: 55vw;
    top: 35%;
    transform: translateY(-50%);
    z-index: 1;
    left: 10%;
}

#bg.sliderLavorazione-img {
    position: absolute;
    width: 55vw;
    top: 35%;
    transform: translateY(-50%);
    z-index: 1;
    left: 18%;
}

.sliderHome-img-right {
    left: 0;
}

.sliderHome-img-left {
    right: 0;
}

.slider-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4rem;
    max-width: 300px;
}

.slider-content a {
    text-decoration: none;
}

.slider-content h1 i {
    font-size: 45px;
    margin-left: 30px;
}

.img-blur {
    filter: blur(4px);
    transform: scale(1.05);
}

.bg-no-repeat {
    background-repeat: no-repeat;
}

.bg-cover {
    background-size: cover;
}

.bg-fade {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, var(--unnamed-color-ffffff) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
}

video {
    width: 100vw;
    height: auto;
    /*top: -15%;*/
    position: relative;
}

#slider-about video {
    width: 100vw;
    height: auto !important;
}

.video-absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mt-negative {
    margin-top: -150px;
    overflow-y: visible;
}

.bg-decoration {
    width: 45vw;
    height: auto;
    position: absolute;
    top: 40vh;
    left: -28vw;
    z-index: 1;
    pointer-events: none;
}

.bg-decoration-right {
    width: 55vw;
    height: auto;
    position: absolute;
    top: -45vh;
    right: -10vw;
    z-index: 1;
    pointer-events: none;
}

.grid-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.img-grid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-bg {
    height: 100%;
    width: 100%;
    background-color: #eaeaea;
}




/* ----- GRID PAGE SERVIZI ----- */
.grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
}

/* .grid-item1 {
    border: 1px solid var(--first-color);
} */

.grid1-item.item1 {
    grid-area: 1 / 1 / 3 / 2;
}

.grid1-item.item2 {
    grid-area: 1 / 2 / 2 / 3;
}

.grid1-item.item3 {
    grid-area: 1 / 3 / 3 / 4;
}

.grid1-item.item4 {
    grid-area: 2 / 2 / 4 / 3;
}

.grid1-item.item5 {
    grid-area: 3 / 1 / 4 / 2;
}

.grid1-item.item6 {
    grid-area: 3 / 3 / 4 / 4;
}

.grid1-item.item6 {
    grid-area: 4 / 1 / 5 / 2;
}

.grid1-item.item8 {
    grid-area: 4 / 2 / 5 / 4;
    font-size: 40px;
}

/* griglia mobile */
@media screen and (max-width: 768px) {
    .grid1 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .grid1-item {
        grid-area: auto !important;
    }
}

/* griglia tablet */
@media screen and (min-width: 769px) and (max-width: 1100px) {
    .grid1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .grid1-item {
        grid-area: auto !important;
    }
}





/* ----- GRID PAGE CHI SIAMO ----- */
.grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.grid2 .grid2-item {
    /* border: 1px solid #dedede; */
}

.grid2-item.item1 {
    grid-area: 1 / 1 / 2 / 3;
}

.grid2-item.item2 {
    grid-area: 1 / 3 / 2 / 4;
}

.grid2-item.item3 {
    grid-area: 2 / 1 / 5 / 2;
}

.grid2-item.item4 {
    grid-area: 2 / 2 / 3 / 3;
}

.grid2-item.item5 {
    grid-area: 2 / 3 / 4 / 4;
}

/* .grid2-item.item6 {
    grid-area: 4 / 1 / 5 / 2;
} */

.grid2-item.item7 {
    grid-area: 3 / 2 / 5 / 3;
}

.grid2-item.item8 {
    grid-area: 4 / 3 / 5 / 4;
}


/* griglia mobile */
@media screen and (max-width: 768px) {
    .grid2 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .grid2-item {
        grid-area: auto !important;
    }
}

/* griglia tablet */
@media screen and (min-width: 769px) and (max-width: 1100px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .grid2-item {
        grid-area: auto !important;
    }
}


/* ----- GRID REALIZZAZIONE SINGOLA ----- */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    align-items: start;
}

.grid3-item.item1 {
    grid-area: 1 / 1 / 2 / 2;
}

.grid3-item.item2 {
    grid-area: 1 / 2 / 2 / 4;
}

.grid3-item.item3 {
    grid-area: 2 / 1 / 3 / 3;
}

.grid3-item.item4 {
    grid-area: 2 / 3 / 3 / 4;
}

/* griglia mobile */
@media screen and (max-width: 768px) {
    .grid3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .grid3-item {
        grid-area: auto !important;
    }
}

/* griglia tablet */
@media screen and (min-width: 769px) and (max-width: 1100px) {
    .grid3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .grid3-item {
        grid-area: auto !important;
    }
}


.previous-post-link a,
.next-post-link a,
.posts-home {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Titillium Web', sans-serif;
    color: var(--black-color) !important;
}

.previous-post-link a i,
.next-post-link a i {
    color: #c3c3c3;
    font-size: 18px;
}

.previous-post-link a i {
    margin-right: 8px;
}

.next-post-link a i {
    margin-left: 8px;
}

.animated-img {
    position: absolute;
    width: 125vw;
    top: -517px;
    right: -262px;
}

/* #content {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
*/

.navigation-dots {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    z-index: 10;
}

.dot {
    height: 50px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.dot-up {
    margin-bottom: 15px;
}

.dot i {
    font-size: 30px;
    color: var(--black-color);
}

.img-lavorazione {
    position: absolute;
    top: -80%;
    right: -50%;
    width: 140%;
}

.img-finiture {
    position: absolute;
    top: 53%;
    left: 19%;
    width: 90%;
    transform: translateY(-50%);
}

.title-floating {
    font-size: 100px;
    color: #d8dade;
}

.slider-item {
    transition: .8s ease-in-out;
}

.bg-position {
    background-size: 140%;
    background-repeat: no-repeat;
    background-position: top -80vh right -30vw;
}

.video-height {
    height: 86vh;
}

.section-height {
    height: 100vh;
}

.slider-lavorazioni-height,
.slider-realizzazioni-height {
    height: 100vh;
}

.title-box {
    background-color: #ffffff;
    padding: 15px;
    font-size: 25px;
}

.fading-white {
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
}

/* .scrollSnap_section {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
}

.scrollSnap_slide {
    height: 100vh;
    scroll-snap-align: start;
} */



#page-lavorazioni .splide__arrow,
#page-realizzazioni .splide__arrow,
#page-home .splide__arrows,
.vertical .splide__arrow {
    font-size: 20px !important;
    left: 96%;
}

#page-lavorazioni .splide__arrow--prev,
#page-realizzazioni .splide__arrow--prev,
#page-home .splide__arrows--ttb .splide__arrow--prev,
.vertical .splide__arrow--prev {
    top: 91%;
}

#page-lavorazioni .splide__arrow--next,
#page-realizzazioni .splide__arrow--next,
#page-home .splide__arrows--ttb .splide__arrow--next,
.vertical .splide__arrow--next {
    bottom: 4%;
}

#page-home .splide__arrows--ttb .splide__arrow--next,
#page-home .splide__arrows--ttb .splide__arrow--prev {
    font-size: 20px !important;
}

.gfield_consent_label a {
    color: var(--black-color) !important;
}

#carousel-finiture .splide__arrow--prev {
    font-size: 40px !important;
}

#carousel-finiture .splide__arrow--next {
    font-size: 40px !important;
}

.bg-homepage {
    background-size: cover !important;
    background-repeat: no-repeat;
}

.last-slide {
    height: 100vh;
}

.bg-bottom-left {
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 700px;
}

.bg-bottom-left:after {
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    content: '';
    width: 750px !important;
    height: 750px !important;
    position: absolute;
    left: -100px;
    bottom: 0;
    transition: .2s ease-in-out;
    z-index: -1000;
}

#banner-azienda h3,
#banner-azienda a,
#banner-azienda2 a {
    color: #ffffff !important;
}

#banner-azienda a,
#banner-azienda2 a {
    text-decoration: none !important
}

#banner-azienda a:hover,
#banner-azienda2 a:hover {
    text-decoration: underline !important
}

.sticky>div {
    position: sticky;
    top: 15px;
}



.splide__arrows--ttb .splide__arrow {
    left: 96% !important;
    transform: translate(-50%) !important;
}

.bg-box-white {
    background-color: rgba(255, 255, 255, .7);
}


.bg-realizzazione::after,
.slider-realizzazioni-height::after {
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
    content: '';
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: .2s ease-in-out;
    z-index: 0;
}

.bg-realizzazione .text-white,
.slider-realizzazioni-height .container.position-relative {
    position: relative;
    z-index: 1;
}


.bg-move-right.in-page {
    background-position: center right !important;
}

#slider-mobile-text {
    min-height: 200px;
    display: flex;
    align-items: center;
}