/* ############################################### */
/* PC PORTATILE */
/* ############################################### */
@media screen and (max-width: 1600px) {

    :root {
        --section-label-font-size: 12px;
        --section-label-line-height: ;

        --heading-1-font-size: 40px;
        --heading-1-line-height: 50px;

        --heading-2-font-size: 30px;
        --heading-2-line-height: 38px;

        --heading-3-font-size: 25px;
        --heading-3-line-height: 30px;

        --heading-4-font-size: 16px;
        --heading-4-line-height: ;

        --heading-5-font-size: 16px;
        --heading-5-line-height: ;

        --heading-6-font-size: 16px;
        --heading-6-line-height: ;

        --paragraphs-font-size: 14px;
        --paragraphs-line-height: 28px;
        --paragraphs-letter-spacing: 0.8px;

        --menu-item-font-size: 14px;
        --menu-item-line-height: auto;
        --menu-item-letter-spacing: 1.6px;

        /* Altro */
        --section-padding: 70px 0;
        --letter-spacing-1: 3.6px;
    }

    .container-fluid.boxed {
        padding: 0 3.5vw;
    }

    .wheel-menu .glow-circle {
        width: 500px;
    }

    .banner-form {
        padding: 150px 40px;
    }

    .banner-form::before {
        width: 100%;
    }

    .header-desktop .logo {
        width: 130px;
        margin-right: 40px;
    }

    .header-desktop ul li a {
        margin-right: 15px;
    }

    .line-wrapper {
        padding: 15px 0 35px 0;
    }

    .box-pagina .content {
        padding: 30px 30px;
    }

    .box-banner-card {
        height: 430px;
    }

    .cronostoria .box-cronostoria {
        padding: 30px;
    }

    /* WHEEL MENU ############################# */

    .wheel-menu .wheel-preview {
        position: absolute;
        top: 234%;
        width: 420px;
        min-height: 130px;
        display: flex;
        align-items: center;
        gap: 22px;
        padding: 0 0 10px 0;
        border-radius: var(--standard-radius);
        background: var(--third-color);
        border: 2px solid var(--second-color);
        box-shadow: 0px 0px 10px #1A1A1E;
        color: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: -1;
        transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    }

    .wheel-menu .wheel-preview .preview-content {
        padding-top: 65px;
        padding-right: 35px;
    }

    .wheel-item.label-left .wheel-preview {
        padding-right: 0px;
    }

    .wheel-menu .wheel-preview .preview-image {
        width: 250px;
        flex: 0 0 168px;
        display: flex;
        align-items: center;
    }

    .wheel-item.label-left .wheel-dot::after {
        right: 100%;
        top: 50%;
        width: 205px;
        height: 3px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(0, 190, 240, 0) 0%, rgba(0, 190, 240, 0.35) 40%, rgba(0, 190, 240, 0.75) 75%, rgba(0, 190, 240, 1) 100%);
    }

    .wheel-item.label-right .wheel-preview {
        padding-left: 85px;
        left: -14px;
    }

    .wheel-menu .btn-1 {
        display: inline-block;
        font-family: var(--font-1);
        font-size: 14px;
        font-weight: var(--paragraphs-font-weight);
        padding: 7px 15px;
        border-radius: 50px;
        background: var(--first-color);
        color: var(--white-color);
        position: relative;
        border: 1px solid var(--first-color);
        transition: all var(--link-transition);
        position: relative;
        text-decoration: none;
    }

    .box-numeri .numero {
        font-size: 65px;
        line-height: 90px;
    }

    .box-numeri,
    .box-link {
        position: relative;
        padding: 50px 25px;
    }
}

/* ############################################### */
/* TABLET */
/* ############################################### */

@media screen and (max-width: 1200px) {}

/* ############################################### */
/* MOBILE - SMARTPHONE */
/* ############################################### */
@media screen and (max-width: 968px) {

    :root {
        --section-padding: 60px 0;
    }

    body {
        background-attachment: fixed;
    }

    .header-fix {
        padding-top: 30px;
    }


    .box-numeri,
    .box-link {
        padding: 0px;
    }

    .custom-border-right,
    .custom-border-bottom {
        display: none;
    }

    .splide__pagination {
        bottom: -35px;
        left: 0;
        padding: 0 1em;
        position: absolute;
        right: 0;
        z-index: 1;
    }

    #gform_1 #gform_fields_1 {
        display: block !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    #gform_1 #gform_fields_1 .gfield--type-email {
        width: 100% !important;
    }

    #gform_1 .ginput_container_email {
        width: 85% !important;
    }

    footer {
        padding: 5vh 0 12vh 0;
    }

    #breadcrumbs {
        margin-bottom: 10px;
    }

    .line-wrapper {
        padding: 25px 0 45px 0;
    }

    .box-step {
        position: relative;
        padding: 20px 14px;
    }

    .section-mediatext .img-bg {
        position: relative;
        right: 0;
        top: 0;
        transform: unset;
        width: 100%;
        z-index: 0;
    }

    .section-mediatext .box-text {
        padding: clamp(40px, 5vw, 60px);
    }

    .section-mediatext .box-marked {
        padding: clamp(15px, 5vw, 40px) clamp(40px, 5vw, 60px);
    }

    .banner-form {
        padding: 30px;
    }

    .banner-form #form {
        position: relative;
        margin-top: 20px;
    }

    .intestazione h1 {
        margin-bottom: 20px;
    }

    .section-dati-tecnici .margin-negative {
        margin-top: 0;
    }

    .box-carousel .splide__pagination__page {
        width: 70px;
    }

    .popup-box .popup {
        background-color: var(--white-color);
        padding: 15px;
    }

    .page-contatti.margin-negative {
        margin-top: 0;
    }

    .page-contatti .padding-fix {
        padding-top: 35px;
    }

    .box-banner-card {
        height: 420px;
    }

    .banner-bg-custom-2 {
        position: relative;
        padding: 40px 40px 350px 40px;
        background-image: url(../images/bobinatrici.webp);
        background-repeat: no-repeat;
        background-size: auto 50%;
        background-position: right 80% bottom -4%;
        height: 100%;
    }

    .cronostoria .box-line::before {
        display: none;
    }

    .cronostoria .splide__pagination {
        bottom: unset;
        left: unset;
        padding: 0 1em;
        position: absolute;
        right: 50%;
        z-index: 1;
        top: -40px;
        transform: translateX(-50%);
    }

    .box-articolo-fiera {
        border-radius: var(--standard-radius);
        border: 2px solid var(--second-color);
        padding: 80px 20px 40px 20px;
        position: relative;
        background: linear-gradient(225deg, #A8AAAC 0%, #DCDCDC 16%, #FFFFFF 51%, #DCDCDC 79%, #A8AAAC 100%);
    }

    .box-articolo-fiera:before {
        display: none;
    }

    .fiere-carousel .splide__arrow {
        top: 9%;
    }

    .fiere-carousel .splide__arrow--prev {
        left: 25px;
        right: unset;
    }

    .fiere-carousel .splide__arrow--next {
        right: unset;
        left: 55px;
    }

    .box-articolo-fiera .custom-position {
        position: absolute;
        top: 32px;
        right: 22px;
    }

    .banner-newsletter .gform-theme--framework .gfield:where(:not(.gfield--type-html):not(.gfield--type-section)) {
        margin: 25px 0px !important;
    }
}