/* Regole responsive del layout e dei componenti. */
/* Per dimensioni e interlinee del testo, modificare variables.css. */

/* ############################################### */
/* PC PORTATILE */
/* ############################################### */
@media screen and (max-width: 1600px) {
    #menu-desktop {
        padding: 12px 0 12px 0;
    }

    #menu-desktop .logo {
        width: 220px;
    }

    #menu-desktop .menu-item>a {
        font-size: 15px;
    }

    .slider .custom-position-loghi #editor p {
        font-size: 19px;
        line-height: var(--heading-4-line-height);
    }

    .slider .custom-position-title .title {
        font-size: 100px;
    }

    .slider .custom-position-title .subtitle {
        font-size: 35px;
    }

    footer {
        padding: 70px 0;
    }

    footer .footer-menu li a {
        font-size: 18px;
        line-height: var(--paragraphs-line-height);
        margin-bottom: 6px;
    }

    footer .contacts span,
    footer span,
    footer .contacts a,
    footer a {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .section-list-item .banner-sfondo .box-text .container-fluid .cont-text {
        padding: 20px;
    }

    .btn-file {
        padding: 13px 16px;
        font-size: 17px;
    }

    .section-intestazione .slider {
        height: 65vh;
    }

    .section-loop-aree .box-colorato .label {
        font-size: 45px;
    }

    .section-loop-aree .custom-position .box-content h2 {
        font-size: 40px;
        line-height: 45px;
    }

    .banner-categories .list-item {
        font-size: 20px;
    }

    .banner-categories .accordion::before,
    .banner-categories .list-item::before {
        font-size: 20px;
        margin-right: 4px;
        top: -2.5px;
    }

    .banner-categories .accordion {
        font-size: 20px;
    }

    .box-articolo .title {
        font-size: 26px;
        line-height: 32px;
    }

    .section-faq .accordion {
        padding: 0 0 30px 0;
        font-size: 28px;
        line-height: 37px;
    }

    .section-faq .accordion:before {
        font-size: 25px;
        margin-right: 7px;
    }

    .section-faq .panel #editor p {
        font-size: 20px;
        line-height: 32px;
    }

    .section-faq .big-title {
        font-size: 150px;
    }

    .section-faq.has-background .box-faq::before {
        top: 45%;
    }

    .section-faq.has-background {
        height: 140vh;
    }

    .intestazione-business-line .decoration-right {
        width: 5%;
    }

    .section-map {
        top: 0;
    }
}

/* ############################################### */
/* TABLET */
/* ############################################### */

@media screen and (max-width: 1200px) {}

/* ############################################### */
/* MOBILE - SMARTPHONE */
/* ############################################### */
@media screen and (max-width: 968px) {
    .slider {
        height: 115vh;
        position: relative;
    }

    .slider .custom-position-title .title {
        font-size: 58px;
        line-height: 55px;
    }

    .slider .custom-position-title .subtitle {
        font-size: 25px;
        line-height: 55px;
    }

    .custom-position-title {
        top: 25%;
    }

    .slider .custom-position-loghi #editor p {
        font-size: var(--paragraphs-font-size);
        line-height: var(--paragraphs-line-height);
    }

    .slider .custom-position-macchinario {
        bottom: 53%;
    }

    .slider .custom-position-loghi {
        position: absolute;
        top: 58%;
        right: unset;
        width: 90%;
        padding: 10px 30px;
        border-left: 1.5px solid var(--black-color);
        border-right: 1.5px solid var(--black-color);
        left: 50%;
        transform: translateX(-50%);
    }

    .slider .custom-position-macchinario {
        bottom: 45%;
    }

    .slider .splide-slider-macchinari {
        width: 100%;
    }

    .slider .custom-position-macchinario img.macchinario {
        width: 100%;
    }

    .section-aree {
        background-color: var(--second-color);
        position: relative;

    }

    .section-intestazione .decoration-height,
    .section-gruppo .decoration-height {
        position: absolute;
        top: 0;
        left: 0;
        width: 45px;
        height: 0;
        background-color: var(--first-color);
        z-index: 0;
    }

    .section-gruppo {
        position: relative;

    }

    .popup-gruppo {
        padding: 50px 20px;
        background-color: rgb(255 255 255) !important;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        position: fixed;
        top: -25px;
        left: 0;
        z-index: 1000;
    }

    .popup-gruppo .container,
    .popup-gruppo .container .row {
        height: auto;
    }

    .section-label::before {
        left: -20px;
    }

    .section-gruppo .box-title {
        padding-top: 9vh;
    }

    .banner-sfondo .container-fluid {
        padding: 0 12px;
    }

    .section-intestazione .box-title,
    .section-intestazione .custom-space {
        padding-top: 9vh;
    }

    .section-intestazione .slider {
        height: 80vh;
        align-items: start;
        padding-top: calc(15vh + 40px);
    }

    .section-list-item .banner-sfondo {
        height: auto;
    }

    .section-list-item .banner-sfondo .box-text {
        position: relative;
    }

    .section-list-item .banner-sfondo .box-text .container-fluid .cont-text {
        padding-bottom: 0;
    }

    .section-map {
        position: relative;
        top: 0;
        padding-bottom: 0;
        height: 240px;
    }

    .section-box-testo .container-fluid {
        padding: 0 12px;
    }

    .section-intestazione .slider .subtitle {
        font-size: 20px;
        line-height: 26px;
    }

    .section-list-item .banner-sfondo .box-text .container-fluid .cont-text {
        padding: 50px 7vw;
        background-color: var(--white-color);
    }

    .section-aree .custom-rounded-img {
        aspect-ratio: 4 / 1.8;
    }

    .section-aree {
        padding-bottom: 0;
    }

    .section-aree p {
        font-size: 14px;
        line-height: 24px;
    }

    .section-aree .box-color .numero {
        position: absolute;
        top: 50%;
        left: -65px;
        height: 112%;
        max-height: 145px;
        transform: translateY(-50%);
        z-index: 1;
    }

    .section-gruppo .logo {
        height: 55px;
    }

    .btn-file {
        padding: 15px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .btn-file i {
        font-size: 19px;
    }

    .gform_button.button {
        font-size: 14px !important;
    }

    footer {
        padding: 60px 0;
    }

    footer .footer-menu li a {
        font-size: 17px;
        font-weight: 400;
        text-decoration: none;
        margin-bottom: 3px;
        transition: all 0.1s ease-in-out;
    }

    footer .contacts span,
    footer span,
    footer .contacts a,
    footer a {
        font-size: 17px;
        margin-bottom: 3px;
    }

    footer .logo {
        height: 55px;
    }

    footer .copyright,
    footer .copyright a {
        line-height: 18px;
    }

    footer .contacts .title,
    footer .title {
        margin-bottom: 17px;
    }

    .section-box-testo .custom-border-left {
        border-left: none;
    }

    .section-aree .title:after {
        position: relative;
        top: 4px;
        content: '\f178';
        font-family: 'Font Awesome 6 Pro';
        font-weight: 200;
        margin-left: 15px;
        transition: var(--transition-1);
    }

    .section-numeri-aziendali {
        overflow: hidden;
    }

    .section-numeri-aziendali .custom-border-bottom {
        border-bottom: none;
        padding: 30px 0 10px 0;
    }

    .section-numeri-aziendali .reveal-container {
        display: block;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 15px;
        border-bottom: 1.5px solid #707070;
    }

    .section-faq .big-title {
        font-size: 45px;
        position: relative;
        z-index: 1;
    }

    .section-faq .accordion {
        font-size: 29px;
        font-weight: 600;
        line-height: 35px;
        padding: 20px 0;
    }

    .section-faq .panel #editor p {
        font-size: 14px;
        line-height: 24px;
    }

    .section-faq .accordion:before {
        font-size: 24px;
    }

    .section-faq.has-background .box-faq::before {
        width: 110%;
        height: calc(100% + 300px);
        top: 35%;
    }

    .section-faq.has-background {
        height: auto;
        padding-bottom: 180px;
    }

    main.custom-mobile-spacer {
        padding-top: 50px;
    }

    .intestazione-business-line {
        height: 80vh;
        padding-top: calc(10vh + 20px);
    }

    .intestazione-business-line .subtitle {
        font-size: 20px;
    }

    .lista-brand span {
        font-size: var(--heading-6-font-size);
    }

    .banner-colorato #editor p {
        font-size: 20px;
        line-height: 35px;
        margin-bottom: 0;
    }

    .section-soluzioni .custom-position {
        position: relative;
        top: 0;
        left: 0;
        transform: unset;
        width: 100%;
        pointer-events: none;
    }

    .section-loop-aree .container-fluid {
        padding: 0;
    }

    .section-loop-aree {
        overflow: hidden;
    }

    .section-loop-aree .custom-position {
        position: relative;
        top: 0;
        left: 0;
        transform: unset;
        width: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section-loop-aree .box-colorato .label {
        font-size: 27px;
    }

    .section-loop-aree .numero {
        height: 62%;
    }

    .section-loop-aree .custom-position .box-content h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .section-loop-aree .custom-position .box-content h2::before {
        content: '■ ';
        font-size: 20px;
        position: relative;
        top: -6px;
        margin-right: 5px;
    }

    .section-contatti .content-table .table-box.box-2 {
        border-bottom: 1.5px solid var(--black-color);
        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-top: 1.5px solid var(--black-color);
        border-left: 1.5px solid var(--black-color);
        border-right: 1.5px solid var(--black-color);
        padding: 0;
    }

    .section-contatti .content-table .table-box.box-4 .accordion {
        display: flex;
        justify-content: space-between;
    }

    .section-contatti .content-table .table-box.box-4 .accordion:after {
        content: '+';
        font-size: 18px;
    }

    .popup-gruppo .splide__arrow {
        font-size: 25px;
    }

    .section-aree .title {
        font-size: 36px;
    }

}