@media screen and (min-width: 1000px) and (max-width: 1400px) {
    .moving-arrow {
        margin-top: -317px;
    }

    .main-menu .menu-product-img {
        width: 100%;
    }

    .main-menu .menu-item-1177 .sub-menu a {
        font-size: 13px !important;
    }

    #contattiForm {
        margin-bottom: 0;
    }
}

@media (max-width: 1199.98px) {
    .logo-container {
        min-height: 69px;
        width: 150px;
    }

    #menu-menu-principale #menu-item-1177 .sub-menu li {
        width: 30% !important;
    }
}

@media (max-width: 991.98px) {
    main {
        overflow: hidden !important;
    }

    .storia-row:after {
        content: '';
        width: 3px;
        height: calc(100% + 56px);
        left: 60px;
        transform: translateX(-50%);
        position: absolute;
        top: 0;
        background-color: #EEE;
        z-index: -1;
    }

    .storia__item.order-lg-1:after {
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-right: 20px solid var(--light-color);
        border-left: 0;
    }

    .storia__item:after {
        left: 0px !important;
    }

    .mt-70 {
        margin-top: 0;
    }

    .form-absolute {
        position: relative;
        top: auto;
        transform: translateY(0);
        margin-top: 48px;
        margin-bottom: -250px;
    }

    .mobile-menu {
        left: -3rem;
    }

    .form-container {
        margin: 80px 0 230px 0;
    }

    .bg-section-title {
        background: rgb(var(--primary-color-rgb), 1);
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 3%, rgba(var(--primary-color-rgb), 1) 3%, rgba(var(--primary-color-rgb), 1) 97%, rgba(255, 255, 255, 1) 97%, rgba(255, 255, 255, 1) 100%) !important;
    }

    .section.scroll-item {
        height: auto !important
    }

    #gallery_section1,
    #gallery_section2 {
        border: 0 !important;
    }

    #gallery_section2 {
        margin-bottom: 20px !important;
    }

    #section_2 {
        margin-top: 0px !important
    }

    #section_1 {
        background: transparent !important;
    }

    #numeri {
        height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .slider-video {
        width: auto;
        height: 100vh;
    }

    .custom-sticky-top {
        margin-top: 0;
    }

    #section-right {
        background: #ffffff !important;
    }

    #storia .icona--storia i {
        font-size: 40px;
    }

    #prodotto .img-prodotto {
        top: 0;
    }

    .page-template-page-contatti .form {
        transform: translateY(0);
    }

    #contattiForm {
        margin-bottom: 0;
    }

    .primary-bg-prd {
        background-color: var(--primary-color) !important;
    }

    #prodotto-single h1 {
        font-size: 45px;
    }

    #prodotto-single h2 {
        font-size: 50px;
    }
}

@media (max-width: 767.98px) {
    #menu-menu-principale {
        display: block;
        align-items: center;
        justify-content: center;
        list-style: none;
        margin-bottom: 0;
        width: 100%;
    }

    #menu-menu-principale .menu-item-has-children>a:after {
        display: none
    }

    #menu-menu-principale .sub-menu {
        min-width: 100%;
        padding: 7rem 2.5rem;
    }

    #menu-menu-principale .menu-item {
        padding: 0;
    }

    #testata h1 {
        font-size: 50px;
    }

    .mobile-menu {
        left: 0rem;
    }

    .storia-row:after {
        left: 32px;
    }

    #storia .icona--storia {
        border-radius: 15px !important;
    }

    h1,
    .h1 {
        font-size: 24px;
    }

    .mobile-menu {
        left: 0rem;
        width: 100%;
    }

    .logo-footer {
        max-width: 200px;
        margin: 20px auto;
    }

    footer {
        text-align: center;
    }

    footer .float-start {
        width: 33%;
        text-align: center;
    }

    .footer-social {
        width: 100%;
    }

    .stampo-disegno {
        margin-bottom: -30px;
    }

    .stampo-disegno img,
    .stampo-finito img {
        width: 75%;
    }

    .icona {
        min-width: 80px;
        height: 80px;
    }

    .bg-left-big {
        background: var(--primary-color);
    }

    .bg-left-big .mt-5 {
        margin-top: 0 !important
    }

    #contattiForm {
        margin-top: 60px !important
    }

    #breadcrumbs {
        display: none
    }

    #section-left {
        background: rgb(255, 255, 255) !important;
    }

    #single-news {
        height: auto !important;
        margin-top: 90px;
    }

    #single-news .img-fluid {
        margin: 40px 0;
    }

    .form-container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .form-absolute {
        position: relative;
        top: auto;
        transform: translateY(0);
        margin-top: 48px;
        margin-bottom: 50px;
    }

    #prodotto h2 {
        font-size: 40px;
        color: #fff;
    }

    #prodotto h3 {
        font-size: 50px;
        color: #fff;
    }

    .moving-arrow {
        height: 120px;
        margin-top: -405px;
    }
}