/* ############################## */
/* BLOCK_001 - SLIDER FULL SCREEN */
/* ############################## */

#block_001 #single-slide {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

#single-slide::before {
    position: absolute;
    z-index: 1;
    content: '';
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
}

#block_001 #single-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: 100%;
}

#block_001 #single-slide.bg-custom {
    background-repeat: no-repeat;
    background-size: 100%;
    animation: slowBackground 20s infinite alternate;
}

#block_001 #single-slide .title {
    font-size: 60px;
}

#block_001 #single-slide .text {
    font-size: 36px;
    line-height: 50px;
}

#block_001 .splide__arrow i {
    color: #ffffff;
    opacity: 1;
    font-size: 50px;
}

@keyframes slowBackground {
    0% {
        background-size: 100%;
        background-position: center center;
    }

    100% {
        background-size: 110%;
        background-position: left center;
    }
}


/* ############################## */
/* BLOCK_002 - BANNER CTA */
/* ############################## */

#block_002 {
    min-height: 700px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#block_002 .banner-glass {
    position: relative;
}

#block_002 .banner-glass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 120%;
    width: 110%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}


/* #################################### */
/* BLOCK_003 - LOOP DELLE REALIZZAZIONI */
/* #################################### */

#block_003 .img-animated {
    width: 100%;
    transition: .4s ease-in-out;
}

#block_003 #box-post:hover .img-animated {
    transform: scale(1.1);
}

#block_003 .splide__arrow--prev {
    left: -3em;
}

#block_003 .splide__arrow--next {
    right: -3em;
}

#block_003 .box-title {
    font-size: 18px;
}

#block_003 .splide__pagination {
    bottom: -3.0rem;
}


/* #################################### */
/* BLOCK_004 - SEZIONE MEDIA / TEXT */
/* #################################### */

#block_004 .bg-banner {
    position: relative;
}

#block_004 .bg-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 130%;
    width: 110%;
}

#block_004 .decoration-img {
    position: absolute;
    width: 270px;
}

#block_004 .decoration-img.normale {
    bottom: -70px;
    left: -100px;
}

#block_004 .decoration-img.inverso {
    bottom: -70px;
    right: -100px;
}

#block_004 .section-label::before {
    left: 0;
    transform: translateX(0);
}


/* #################################### */
/* BLOCK_005 - PARAGRAFO E CARDS */
/* #################################### */

#block_005 .position-sticky {
    position: sticky !important;
    top: 30%;
}

#block_005 .box-title {
    font-family: var(--main-font) !important;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
}

#block_005 .circle-icon i {
    font-size: 40px;
}

#block_005 #editor p {
    margin-bottom: 0;
}


/* #################################### */
/* BLOCK_006 - INTESTAZIONE PAGINA */
/* #################################### */

#block_006 {
    position: relative;
    display: flex;
    align-items: end;
}

#block_006.full-height {
    min-height: 65vh;
}

#block_006.intestazione-height {
    padding-top: 150px;
}

#block_006::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: transparent linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
}



/* #################################### */
/* BLOCK_007 - RIPETITORE DI BOX */
/* #################################### */

#block_007 .bg-banner {
    position: relative;
}

#block_007 .bg-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 115%;
    width: 110%;
    background-color: var(--gray-color);
}

#block_007 .splide__arrow--prev {
    left: -3em;
}

#block_007 .splide__arrow--next {
    right: -3em;
}

#block_007 .box-title {
    font-family: var(--main-font) !important;
    font-size: 18px;
    font-weight: bold;
}

#block_007 .box i {
    font-size: 45px;
    color: var(--second-color);
}

#block_007 .box #editor p strong {
    color: #868686 !important;
}


/* #################################### */
/* BLOCK_008 - PHOTOGALLERY */
/* #################################### */

#block_008 {
    overflow-x: hidden;
}

#block_008 .splide__pagination__page {
    height: 8px;
    width: 100px;
    border-radius: 0 !important;
    margin: 0;
    background-color: transparent;
    border-bottom: 1px solid #8a8a8a;
}

#block_008 .splide__track {
    overflow: visible !important;
}

#block_008 .splide__pagination__page.is-active {
    transform: scale(1);
    background-color: #707271 !important;
}

#block_008 .splide__pagination {
    bottom: -0.5em;
}


/* #################################### */
/* BLOCK_009 - BANNER FORM CONTATTI */
/* #################################### */

#block_009 .fade-bg {
    position: relative;
}

#block_009 .fade-bg:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: transparent linear-gradient(91deg, #FFFFFF00 0%, #F5F5F5 100%) 0% 0% no-repeat padding-box;
}

#block_009 .border-left {
    border-left: 1px solid rgb(197, 197, 197);
}


/* #################################### */
/* BLOCK_010 - GRIGLIA CONTENUTI */
/* #################################### */

#block_010 .margin-negative {
    margin-top: -150px;
}

#block_010 .bg-banner {
    position: relative;
}

#block_010 .bg-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 113%;
    width: 110%;
    background-color: var(--gray-color);
    z-index: -1;
}


/* #################################### */
/* BLOCK_011 - BANNER A STEP */
/* #################################### */

#block_011 .bg-banner {
    position: relative;
}

#block_011 .bg-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 120%;
    max-height: 1170px;
    width: 110%;
    background-color: var(--gray-color);
    z-index: -1;
}

#block_011 .counter span {
    display: block;
    color: var(--second-color);
    font-size: 60px;
    font-weight: bold;
}

#block_011 #box {
    position: relative;
}

#block_011 #box .section-title {
    font-size: 20px;
}

#block_011 #box.low {
    margin-top: 130px;
}

#block_011 #box .arrow-step {
    position: absolute;
}

#block_011 #box .arrow-step.odd {
    top: 0;
    left: 90%;
    transform: rotateX(180deg);
}

#block_011 #box .arrow-step.even {
    bottom: 0;
    left: 90%;
    transform: rotateX(0);
}


/* #################################### */
/* BLOCK_013 - VIDEO YOUTUBE */
/* #################################### */

#block_013 .video iframe {
    width: 100%;
    height: 600px;
}