/*############################################################## */
/* HOMEPAGE - SLIDER */
/*############################################################## */

.slider {
    height: calc(100vh - 110px);
    position: relative;
    background: var(--grey-scale-1);
}

.custom-position-title {
    width: 100%;
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.slider .custom-position-title .title {
    color: var(--black-color);
    font-size: 135px;
    font-weight: bolder;
}

.slider .custom-position-title .subtitle {
    color: var(--first-color);
    font-weight: bold;
    font-size: 48px;
}

.slider .custom-position-macchinario {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.slider .splide-slider-macchinari {
    width: 59%;
}

.slider .splide-slider-macchinari li {
    display: flex;
    justify-content: left;
}

.slider .custom-position-macchinario img.macchinario {
    width: 80%;
}

.slider .custom-position-loghi {
    position: absolute;
    top: 36%;
    right: 11%;
    width: 30%;
    padding: 10px 30px;
    border-left: 1.5px solid var(--black-color);
    border-right: 1.5px solid var(--black-color);
}

.slider .custom-position-loghi img.logo {
    width: 200px;
    filter: grayscale(100%);
}

.slider .custom-position-loghi #editor p {
    font-size: var(--heading-4-font-size);
    line-height: var(--heading-4-line-height);
}

/*############################################################## */
/* HOMEPAGE - AREE */
/*############################################################## */

.section-aree {
    background-color: var(--second-color);
}

.section-aree * {
    color: var(--white-color);
}

.section-aree .box-img {
    position: relative;
}

.section-aree .box-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 250px;
    transition: var(--transition-1);
}

.section-aree .custom-rounded-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 2;
    border-radius: 250px;
}

.section-aree .title {
    position: relative;
    left: -3px;
    z-index: 2;
}

.section-aree .title:after {
    position: relative;
    top: 6px;
    content: '\f178';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 200;
    margin-left: 30px;
    transition: var(--transition-1);
}

.section-aree p {
    position: relative;
    z-index: 2;
    font-size: var(--heading-4-font-size);
    line-height: var(--heading-4-line-height);
}

.section-aree .box-color {
    position: relative;
}

.section-aree .box-color .numero {
    position: absolute;
    top: 50%;
    left: -55px;
    height: 135%;
    max-height: 230px;
    transform: translateY(-50%);
    z-index: 1;
}

.section-aree .hover-effect:hover .title:after {
    margin-left: 50px;
}

/*############################################################## */
/* HOMEPAGE - BOX GRUPPO */
/*############################################################## */

.section-gruppo .box-title {
    position: relative;
    padding-top: 12vh;
}

.section-gruppo .box-title #editor p {
    margin-bottom: 0;
}

.section-gruppo .logo {
    height: 70px;
}

.section-gruppo .read-more {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    color: #202527;
    opacity: .48;
    text-decoration: none;
    transition: var(--transition-1);
}

.section-gruppo .read-more:after {
    content: '\f178';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    margin-left: 10px;
    transition: var(--transition-1);
    position: relative;
}

.section-gruppo .read-more:hover {
    color: var(--third-color);
    opacity: 1;
}

/*############################################################## */
/* HOMEPAGE - POPUP BOX GRUPPO */
/*############################################################## */

.popup-gruppo {
    background-color: var(--white-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
}

.popup-gruppo.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s ease;
}

.popup-gruppo .container,
.popup-gruppo .container .row {
    height: 100%;
}

.popup-gruppo .logo {
    height: 70px;
}

.popup-gruppo .splide-popup img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 2.8;
}

.popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: var(--paragraphs-font-size);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--black-color);
    border: unset;
    background: unset;
    padding: unset;
}

.popup-close::before {
    content: '\f177';
    font-family: 'Font Awesome 6 Pro';
    display: inline-block;
    font-size: var(--paragraphs-font-size);
    font-weight: 300;
    color: var(--black-color);
    margin-right: 8px;
}

.popup-gruppo .splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: unset;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: auto;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    color: var(--black-color);
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    z-index: 1;
    font-size: 40px;
}

.popup-gruppo .splide__arrow--prev {
    left: -.8em;
}

.popup-gruppo .splide__arrow--next {
    right: -.8em;
}

.popup-gruppo .area-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: var(--paragraphs-font-size);
    font-weight: 400;
    text-transform: uppercase;
}


/*############################################################## */
/* HOMEPAGE - ULTIMI ARTICOLI */
/*############################################################## */

.section-news {
    background-color: var(--grey-scale-1);
}

/*############################################################## */
/* BOX ARTICOLO */
/*############################################################## */

.box-articolo {
    position: relative;
    transition: var(--transition-1);
    background-color: var(--white-color);
    border: 1.5px solid #707070;
    height: 100%;
}

.box-articolo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(121, 198, 214, 0.40);
    z-index: 0;
    transition: height .4s ease-in-out;
}

.box-articolo:hover::after {
    height: 100%;
}

.box-articolo .title {
    color: var(--first-color);
}

.box-articolo img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 2.2;
    margin: 15px 0 25px 0;
}

.box-articolo .read-more {
    display: block;
    text-align: right;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    color: #202527;
    opacity: .48;
    text-decoration: none;
    transition: var(--transition-1);
}

.box-articolo .read-more:after {
    content: '\f178';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    margin-left: 10px;
    transition: var(--transition-1);
    position: relative;
}

/*############################################################## */
/* SEZIONE INTESTAZIONE PAGINA */
/*############################################################## */

.section-intestazione .slider {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-intestazione .slider *:not(.section-intestazione span) {
    color: var(--white-color);
}

.section-intestazione .slider .subtitle {
    font-size: 30px;
}

.section-intestazione .box-title,
.section-intestazione .custom-space {
    padding-top: 12vh;
}

.section-intestazione .box-title {
    position: relative;
}

.section-intestazione .decoration-height,
.section-gruppo .decoration-height {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 0;
    background-color: var(--first-color);
    z-index: 0;
}

.section-intestazione .box-title #editor p {
    margin-bottom: 0;
}


/*############################################################## */
/* PAGINA IL GRUPPO - SEZIONE CON VOCI LISTA */
/*############################################################## */

.section-list-item .banner-sfondo {
    position: relative;
    height: 140vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-list-item .banner-sfondo .box-text {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 100%;
}

.section-list-item .banner-sfondo .box-text .container-fluid {
    max-width: 100% !important;
}

.section-list-item .banner-sfondo .box-text .container-fluid .cont-text {
    padding: 50px;
    background-color: var(--white-color);
}

.section-list-item .banner-sfondo .box-text .container-fluid .cont-text h3::before {
    content: '■ ';
    font-size: 18px;
    position: relative;
    top: -6px;
    margin-right: 6px;
}

/*############################################################## */
/* PAGINA IL GRUPPO - SEZIONE FAQ */
/*############################################################## */

.section-faq .accordion {
    background: transparent;
    color: var(--black-color);
    cursor: pointer;
    padding: 30px 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 42px;
    font-weight: 600;
    line-height: 48px;
    transition: var(--transition-1);
    position: relative;
}

.section-faq .accordion.active {
    color: #FF9E1B;
}

.section-faq .accordion:before {
    display: inline-block;
    content: "+";
    font-size: 35px;
    font-weight: 900;
    position: relative;
    top: -1px;
    color: var(--black-color);
    margin-right: 10px;
    transition: var(--transition-1);
}

.section-faq .accordion.active:before {
    color: var(--third-color);
    transform: rotate(45deg) !important;
}

.section-faq .panel {
    background: var(--white-color) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-bottom: 2px solid #E4E4E4;
}

.section-faq .big-title {
    font-size: 196px;
    color: var(--first-color);
    font-weight: bolder;
}

.section-faq .panel #editor p {
    font-size: 24px;
    line-height: 36px;
}

/* Versione con immagine di sfondo */

.section-faq.has-background {
    overflow: hidden;
    height: 180vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-faq.has-background *,
.section-faq.has-background .accordion:before {
    color: rgba(255, 255, 255, 0.48);
}

.section-faq.has-background .accordion.active:before {
    color: var(--third-color);
}

.section-faq.has-background .box-faq {
    position: relative;
}

.section-faq.has-background .box-faq::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 128%;
    background: rgba(0, 0, 0, 0.35);
}

.section-faq.has-background .panel {
    position: relative;
    background: transparent !important;
    border-bottom: none;
}

.section-faq.has-background .panel * {
    color: var(--white-color) !important;
}



.section-faq.has-background .accordion.active {
    color: var(--white-color);
}

.section-faq.has-background .accordion.active:before {
    color: var(--white-color);
}

/*############################################################## */
/* PAGINA WORLDWIDE - SEZIONE MAPPA */
/*############################################################## */

.section-map {
    position: relative;
    top: -38vh;
    padding-bottom: 100px;
}

.box-img-effect {
    position: relative;
}

.box-img-effect img {
    position: absolute;
    display: block;
    width: 100%;
    top: 0;
    left: 0;
    transition: var(--transition-1);
}

.box-img-effect img.prima {
    opacity: 1;
}

.box-img-effect img.dopo {
    opacity: 0;
}

.box-img-effect:hover img.prima {
    opacity: 0;
}

.box-img-effect:hover img.dopo {
    opacity: 1;
}

/*############################################################## */
/* PAGINA WORLDWIDE - SEZIONE BOX TESTO */
/*############################################################## */

.section-box-testo {
    background: var(--black-color);
}

.section-box-testo * {
    color: var(--white-color);
}

.section-box-testo .link {
    display: inline-block;
    text-decoration: none;
    color: var(--third-color);
    font-weight: normal;
    transition: var(--transition-1);
    text-transform: uppercase;
}

.section-box-testo .link:hover {
    filter: saturate(5);
}

.section-box-testo .link:after {
    content: '\f178';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    position: relative;
    top: 1.5px;
    margin-left: 10px;
}

.section-box-testo .custom-border-left {
    border-left: 1.5px solid #E4E4E4;
}


/*############################################################## */
/* PAGINA WORLDWIDE - SEZIONE NUMERI AZIENDALI */
/*############################################################## */

.section-numeri-aziendali .custom-border-bottom {
    border-bottom: 1.5px solid #707070;
    padding: 60px 0 10px 0;
}

.section-numeri-aziendali .custom-border-bottom:first-child {
    padding-top: 0;
}

.section-numeri-aziendali .numero {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: var(--first-color);
    line-height: 50px;
}

/*############################################################## */
/* PAGINA LAVORA CON NOI - SEZIONE FORM CANDIDATURA */
/*############################################################## */

.section-form-candidatura img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/4;
}


/*############################################################## */
/* ARTICOLO SINGOLO NEWS */
/*############################################################## */

.intestazione-articolo img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.intestazione-articolo .box-sticky {
    position: sticky;
    top: 120px;
}


/*############################################################## */
/* PAGINA AREE DI ATTIVITA'  */
/*############################################################## */

.section-loop-aree .box-colorato {
    position: relative;
    aspect-ratio: 4/4;
    width: 100%;
}

.section-loop-aree .numero {
    filter: brightness(0) invert(1);
    position: absolute;
    height: 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.64;
    z-index: 0;
}

.section-loop-aree .box-colorato .label {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 15%;
    transform: rotate(-90deg);
    font-size: 64px;
    font-weight: bold;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
    white-space: nowrap;
    width: 100%;
    transform-origin: top right;
    text-align: center;
}

.section-loop-aree .box-colorato a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-loop-aree .custom-position {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
}

.section-loop-aree .custom-position .box-content h2 {
    font-size: 48px;
    line-height: 56px;
}

.section-loop-aree .custom-position .box-content h2::before {
    content: '■ ';
    font-size: 25px;
    position: relative;
    top: -10px;
    margin-right: 6px;
}


/*############################################################## */
/* SINGOLA AREA BUSINBESS LINE - INTESTAZIONE    */
/*############################################################## */

.intestazione-business-line {
    position: relative;
    height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.intestazione-business-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: 0;
}

.intestazione-business-line .decoration-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 6%;
    height: 0;
    z-index: 0;
}

.intestazione-business-line * {
    color: var(--white-color);
}

.intestazione-business-line .subtitle {
    font-size: 24px;
}

.intestazione-business-line .title {
    font-size: 64px;
    line-height: 72px;
}

.section-contenuto #editor h1,
.section-contenuto #editor h2,
.section-contenuto #editor h3,
.section-contenuto #editor h4,
.section-contenuto #editor h5,
.section-contenuto #editor h6 {
    padding-bottom: 5px;
    border-bottom: 1.5px solid var(--black-color);
    margin-bottom: 15px;
}

.section-contenuto .lista-brand .item {
    padding: 30px 0 12px;
}

.section-contenuto .lista-brand .item img {
    width: 110px;
}

.banner-colorato * {
    color: var(--white-color);
}

.banner-colorato #editor p {
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 0;
}

#editor.custom-editor a {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 8px;
    transition: var(--transition-1);
}

#editor.custom-editor a:hover {
    filter: saturate(5);
}

.section-soluzioni .custom-ratio {
    object-fit: cover;
    aspect-ratio: 4/2.8;
}

.section-soluzioni {
    position: relative;
}

.section-soluzioni .custom-position {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.section-soluzioni .container-fluid {
    max-width: 100% !important;
    padding: 0 12px !important;
}


/*############################################################## */
/* PAGINA CONTATTI */
/*############################################################## */

.section-contatti .content-table .table-box {
    height: 100%;
}

.section-contatti .content-table .table-box a {
    transition: var(--transition-1);
}

.section-contatti .content-table .table-box a:hover {
    color: var(--first-color);
}

.section-contatti .content-table .table-box .custom-spacer {
    padding-left: 20%;
}

.section-contatti .content-table .table-box.box-1 {
    border-bottom: 1.5px solid var(--black-color);
    border-left: 1.5px solid var(--black-color);
    border-right: 1.5px solid var(--black-color);
    padding: 25px;
}

.section-contatti .content-table .table-box.box-2 {
    border-bottom: 1.5px solid var(--black-color);
    border-right: 1.5px solid var(--black-color);
    padding: 25px;
}

.section-contatti .content-table .table-box span,
.section-contatti .content-table .table-box a {
    display: block;
    margin-bottom: 5px;
}

/* Accordion */
.section-contatti .accordion {
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: var(--transition-1);
    position: relative;
}

.section-contatti .accordion.icon:after {
    content: "+";
    display: inline-block;
    font-size: var(--paragraphs-font-size);
    font-weight: var(--paragraphs-font-weight);
    color: var(--black-color);
    transition: var(--transition-1);
    margin-left: 4px;
}

.section-contatti .accordion.active:after {
    transform: rotate(45deg);
}

.section-contatti .panel {
    background: var(--white-color) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Fine Accordion */

.section-contatti .content-table .table-box.box-3 {
    border-right: 1.5px solid var(--black-color);
    border-left: 1.5px solid var(--black-color);
    padding: 25px;
}

.section-contatti .content-table .table-box.box-4 {
    border-right: 1.5px solid var(--black-color);
    padding: 0;
}

.section-contatti .content-table .table-box.box-4 .accordion {
    padding: 12px 25px;
}

.section-contatti .content-table .table-box.box-4 .panel {
    border-bottom: 1.5px solid var(--black-color);
}

.section-contatti .content-table .table-box.box-4 .panel:last-child {
    border-bottom: none;
}

.section-contatti .content-table .table-box.box-4 .panel .content {
    padding: 0 25px 12px 25px;
}


/*############################################################## */
/* PAGINA NEWS */
/*############################################################## */

.banner-categories {
    padding: 60px 0;
    background-color: var(--grey-scale-1);
}

.banner-categories .accordion {
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 24px;
    text-align: left;
    outline: none;
    transition: var(--transition-1);
    position: relative;
    color: var(--black-color);
}

.banner-categories .accordion::before {
    content: '■ ';
    font-size: 25px;
    position: relative;
    top: -3.5px;
    margin-right: 6px;
    color: var(--black-color);
}

.banner-categories .panel {
    background: var(--white-color) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.banner-categories .list-item {
    display: block;
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 24px;
    text-align: left;
    outline: none;
    transition: var(--transition-1);
    position: relative;
    color: var(--black-color);
    text-decoration: none;
}

.banner-categories .list-item::before {
    content: '■ ';
    font-size: 25px;
    position: relative;
    top: -3.5px;
    margin-right: 6px;
    color: var(--black-color);
}

#editor.press-release h3 {
    border-left: 8px solid var(--first-color);
    padding-left: 10px;
    margin-bottom: 30px
}

#editor.press-release h4 {
    padding: 10px 0;
}

#editor.press-release strong {
    display: inline-block;
    padding-bottom: 2px;
    margin-bottom: 10px;
    border-bottom: 1.5px solid var(--black-color);
}

/*############################################################## */
/* PAGINA 404 */
/*############################################################## */

.section-404 {
    min-height: 400px;
    height: 50vh;
    display: flex;
    align-items: center;
}