/* ############################## */
/* BLOCK_001 - SLIDER FULL SCREEN */
/* ############################## */

#block_001 .container-fluid {
    max-width: unset !important;
}

#block_001 #single-slide {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 109px;
}

#block_001 #single-slide::before {
    position: absolute;
    z-index: 1;
    content: '';
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#block_001 img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

#block_001 #single-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: 100%;
}

#block_001 .title-big-1 {
    font-family: var(--title-font);
    text-transform: uppercase;
    color: #ffffff;
    font-size: 190px;
    margin-left: -6px;
    line-height: 180px;
}

#block_001 .title-big-2 {
    font-family: var(--title-font);
    text-transform: uppercase;
    color: #ffffff;
    font-size: 100px;
    margin-top: -50px;
}

#block_001 #editor p {
    color: #ffffff;
}

#block_001 #single-slide .title {
    font-size: 60px;
}

#block_001 #single-slide .text {
    font-size: 36px;
    line-height: 50px;
}

#block_001 .splide__arrow {
    top: calc(50% + 60px);
    background-color: transparent;
}

#block_001 .splide__arrow i {
    color: #ffffff;
    opacity: 1;
    font-size: 50px;
}

#block_001 .custom-slide-counter {
    margin-top: 20px;
    text-align: left;
    font-family: sans-serif;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

#block_001 .splide__slide.is-active .custom-slide-counter {
    opacity: 1;
    transform: translateY(0);
}

#block_001 .counter-text {
    font-size: 1rem;
    color: #ffffff;
}

#block_001 .counter-text .current {
    font-weight: bold;
}

#block_001 .counter-line {
    display: flex;
    gap: 8px;
    margin: 50px 0 10px 0;
}

#block_001 .counter-line .line {
    width: 50px;
    height: 4px;
    background-color: #ffffff;
    transition: all 1s ease-in-out;
}

#block_001 .counter-line .line.active {
    width: 150px;
    background-color: var(--first-color);
}


/* ############################## */
/* BLOCK_002 - BANNER CTA */
/* ############################## */

#block_002 {
    position: relative;
    min-height: 500px;
    padding: 140px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--second-color);
}

#block_002 .heading-1 {
    font-weight: 400 !important;
}

#block_002::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(31, 33, 87, 0.8) 0% 0% no-repeat padding-box;
}

#block_002 .btn-1 {
    display: inline-block;
    text-decoration: none;
    padding: 14px 25px;
    border: 2px solid var(--black-color);
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--black-color);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    transition: 0.15s ease-in-out;
}

#block_002 .btn-1:hover {
    border-color: var(--second-color);
    color: #ffffff;
    background-color: var(--black-color);
}

#block_002 .btn-1:after {
    color: var(--black-color);
}

#block_002 .btn-1:hover:after {
    color: #ffffff !important;
}

#block_002 #editor p,
#block_002 #editor a, 
#block_002 #editor ul li {
    font-family: var(--title-font);
    font-size: 25px;
    font-family: var(--title-font);
    font-weight: normal;
    line-height: 35px;
    color: #ffffff;
}

#block_002 #editor ul li::before {
    color: #ffffff;
    top: 2px;
}

#block_002 #editor h3 {
    color: #ffffff;
}

#block_002 .box-icon i {
    font-size: 45px;
}


/* #################################### */
/* 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: -2.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%;
    border-radius: 25px;
}

#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_004 .section-label.centered::before {
    left: 50%;
    transform: translateX(-50%);
}

#block_004 .box-img {
    position: sticky !important;
    top: 120px !important;
}

#block_004 .box-img .box-link {
    position: absolute;
    bottom: 41%;
    left: 17%;
    width: 68%;
    height: 20%;
}

#block_004 .box-img .box-link .link-1,
#block_004 .box-img .box-link .link-2 {
    display: block;
    margin-bottom: 3%;
    width: 97% !important;
    height: 108%;
}

#block_004 .box-img .box-link .link-1 a,
#block_004 .box-img .box-link .link-2 a {
    height: 100%;
    width: 100%;
}


/* #################################### */
/* BLOCK_005 - PARAGRAFO E CARDS */
/* #################################### */

#block_005 .position-sticky {
    position: sticky !important;
    top: 160px;
}

#block_005 .box-title {
    font-family: var(--main-font) !important;
    font-size: 18px;
    font-weight: bold;
}

#block_005 .circle-icon i {
    font-size: 40px;
}

#block_005 #editor p {
    margin-bottom: 0;
}

#block_005 .circle-icon .round-circle {
    height: 80px;
    width: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(31, 33, 87, 0.1);
}


/* #################################### */
/* BLOCK_006 - INTESTAZIONE PAGINA */
/* #################################### */

#block_006 {
    position: relative;
    display: flex;
    align-items: end;
}

#block_006.full-height {
    min-height: 100vh;
}

#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 .top-radius {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block_007 .bottom-radius {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#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 #editor p {
    margin-bottom: 0;
}

#block_007 .icon i {
    font-size: 70px;
    color: var(--first-color);
}

#block_007 #sezione-box .top-radius {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block_007 #sezione-box .bottom-radius {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#block_007 #sezione-box #box .box-img {
    overflow: hidden;
}

#block_007 #sezione-box #box .box-img img {
    transition: .4s ease-in-out;
}

#block_007 #sezione-box #box:hover .box-img img {
    transform: scale(1.1);
}

#block_007 #sezione-box #box .heading-6 {
    text-transform: uppercase;
}

#block_007 #sezione-box #box #editor p {
    margin-bottom: 0;
}


/* #################################### */
/* BLOCK_008 - PHOTOGALLERY */
/* #################################### */

#block_008 {
    overflow-x: hidden;
}

#block_008 .splide__pagination__page {
    height: 8px;
    width: 150px;
    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: #0A0908 !important;
}

#block_008 .splide__pagination {
    bottom: -0.5em;
}


/* ------------------------------------------------- */
/* BLOCK_009 - BANNER FORM CONTATTI */
/* ------------------------------------------------- */

#block_009 .custom-position {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}


/* #################################### */
/* 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: 110%;
    width: 110%;
    background-color: var(--gray-color);
    z-index: -1;
    border-radius: 1.5rem;
}

#block_010 .section-label::before {
    left: 0;
    transform: unset;
}

#block_010 .box-img {
    position: sticky !important;
    top: 120px !important;
}

#block_010 .box-img .box-link {
    position: absolute;
    bottom: 41%;
    left: 17%;
    width: 68%;
    height: 20%;
}

#block_010 .box-img .box-link .link-1,
#block_010 .box-img .box-link .link-2 {
    display: block;
    margin-bottom: 3%;
    width: 97% !important;
    height: 108%;
}

#block_010 .box-img .box-link .link-1 a,
#block_010 .box-img .box-link .link-2 a {
    height: 100%;
    width: 100%;
}


/* #################################### */
/* 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 o file) */
/* #################################### */

#block_013 .video iframe {
    width: 100%;
    height: 600px;
    border-radius: 20px;
}

#block_013 video {
    width: 100%;
    height: 600px;
    border-radius: 20px;
}

#block_013 .img-copertina img {
    border-radius: 20px;
}



/* #################################### */
/* BLOCK_015 - LOOP DELLE TIPOLOGIE DI SERVIZIO */
/* #################################### */

#block_015 .splide__pagination {
    bottom: -2.0rem;
}



/* #################################### */
/* BLOCK_016 - LOOP DEI SETTORI */
/* #################################### */

#block_016 #box-settore {
    transition: .2s ease-in-out;
    background-color: #ffffff;
}

#block_016 #box-settore .icon i {
    font-size: 40px;
    color: var(--second-color);
    transition: .2s ease-in-out;
}

#block_016 #box-settore h4 {
    text-decoration: none !important;
    transition: .2s ease-in-out;
}

#block_016 #box-settore:hover {
    background-color: var(--second-color);
}

#block_016 #box-settore:hover .icon i {
    color: #ffffff;
}

#block_016 #box-settore:hover h4 {
    color: #ffffff;
}

#block_016 .splide__arrow--prev {
    left: -3em;
}

#block_016 .splide__arrow--next {
    right: -3em;
}

#block_016 .splide__pagination {
    bottom: -2.0rem;
}


/* ############################## */
/* BLOCK_017 - BANNER NUMERI AZIENDALI */
/* ############################## */

#block_017 {
    position: relative;
    min-height: 700px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#block_017::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(31, 33, 87, .8);
}

#block_017 h2 {
    color: #ffffff;
}

#block_017 .icon i {
    font-size: 45px;
    color: #ffffff;
}

#block_017 .number {
    font-family: var(--title-font);
    font-size: 40px;
    color: var(--first-color);
    font-weight: 400;
}

#block_017 .btn-1 {
    display: inline-block;
    text-decoration: none;
    padding: 14px 25px;
    border: 2px solid var(--black-color);
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--black-color);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    transition: 0.15s ease-in-out;
}

#block_017 .btn-1:after {
    color: #000;
}

#block_017 .btn-1:hover {
    border-color: var(--second-color);
    color: #ffffff;
    background-color: var(--black-color);
}

#block_017 .btn-1:hover:after {
    color: #ffffff !important;
}


/* ############################## */
/* BLOCK_018 - LOOP ARTICOLI BLOG */
/* ############################## */

#block_018 .img-animated {
    width: 100%;
    transition: .4s ease-in-out;
}

#block_018 #box-post:hover .img-animated {
    transform: scale(1.1);
}

#block_018 .splide__arrow--prev {
    left: -3em;
}

#block_018 .splide__arrow--next {
    right: -3em;
}

#block_018 .box-title {
    font-size: 18px;
}

#block_018 .splide__pagination {
    bottom: -2.0rem;
}

#block_018 #box-article .box-img {
    overflow: hidden !important;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block_018 #box-article .fade-bg {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    height: 120px;
    width: 100%;
    pointer-events: none;
    background: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0% 0% no-repeat padding-box;
}

#block_018 #box-article .box-img img {
    transition: .4s ease-in-out;
}

#block_018 #box-article:hover img {
    transform: scale(1.1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block_018 #box-article .box-img .category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
}

#block_018 #box-article .box-img .cat-link {
    display: inline-block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    margin-right: 15px;
    margin-top: 0;
}

#block_018 #box-article .box-img .cat-link span {
    text-decoration: underline;
}

#block_018 #box-article .box-img .cat-link::before {
    content: '\f02b';
    margin-right: 0px;
    font-family: "Font Awesome 6 Pro";
    font-size: 17px;
}

#block_018 #box-article {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

#block_018 #box-article .box-content .title {
    font-size: 20px;
    font-family: var(--title-font);
    color: var(--first-color);
    font-weight: 600;
    line-height: 28px;
}


/* ############################## */
/* BLOCK_019 - LOOP DEI CLIENTI */
/* ############################## */

#block_019 .img-animated {
    width: 100%;
    transition: .4s ease-in-out;
}

#block_019 #box-post .img-animated {
    filter: grayscale(1);
    transition: .1s ease-in-out;
}

#block_019 #box-post:hover .img-animated {
    filter: grayscale(0);
}

#block_019 .splide__arrow--prev {
    left: -3em;
}

#block_019 .splide__arrow--next {
    right: -3em;
}

#block_019 .box-title {
    font-size: 18px;
}

#block_019 .splide__pagination {
    bottom: -2.0rem;
}

#block_019 .small-text {
    font-size: 11px;
}

/* ############################## */
/* BLOCK_020 - CRONOSTORIA */
/* ############################## */

#block_020 .top-radius {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#block_020 #editor p {
    margin-bottom: 0;
}

#block_020 .bottom-radius {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#block_020 .margin-negative {
    margin-top: -150px;
}

#block_020 .box-img {
    position: relative;
}

#block_020 .anno {
    font-size: 46px;
    font-weight: 900;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 20px;
    line-height: 30px;
}

#block_020 .box-line .line {
    width: 4px;
    height: 100%;
    background-color: var(--second-color);
}

#block_020 .box-line {
    position: relative;
}

#block_020 .box-line .icon {
    height: 60px;
    width: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--second-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#block_020 .box-line .icon i {
    font-size: 30px;
    color: #ffffff;
}

#block_020 .cronostoria-item:first-child .line {
    height: 50%;
    transform: rotate(180deg);
    transform-origin: bottom center;
}

#block_020 .cronostoria-item:last-child .line {
    height: 50%;
}

#block_020 #editor ul {
    margin-bottom: 0;
}


/* ############################## */
/* BLOCK_022 - MAPPA */
/* ############################## */

#block_022 #google-map iframe {
    width: 100%;
    height: 700px !important;
}


/* ############################## */
/* BLOCK_023 - BANNER FILES */
/* ############################## */


/* ############################## */
/* BLOCK_024 - CONTATTI AZIENDALI */
/* ############################## */

#block_024 #contact-box {
    background-color: #ffffff;
    transition: .2s ease-in-out;
}

#block_024 #contact-box a {
    display: block;
    text-decoration: none; 
}

#block_024 #contact-box i {
    font-size: 35px;
    transition: .2s ease-in-out;
}

#block_024 #contact-box span {
    display: inline-block;
    transition: .2s ease-in-out;
}

#block_024 #contact-box .rounded-box {
    height: 70px;
    width: 70px;
    background-color: rgba(31, 33, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: 0 auto;
    margin-bottom: 15px;
    transition: .2s ease-in-out;
}

#block_024 #contact-box #editor p {
    color: #000;
    margin-bottom: 0;
    transition: .2s ease-in-out;
}

#block_024 #contact-box .rounded-box i {
    font-size: 30px;
    color: var(--first-color);
    transition: .2s ease-in-out;
}

#block_024 #editor p:last-child {
    margin-bottom: 0;
}

#block_024 #contact-box:hover {
    background-color: var(--first-color);
}

#block_024 #contact-box:hover .rounded-box {
    background-color: #ffffff;
}

#block_024 #contact-box:hover .rounded-box i {
    color: var(--second-color);
}

#block_024 #contact-box:hover #editor p {
    color: #ffffff;
}