/* font */

@media (max-width: 1200px) {
    h2 {
        margin-bottom: 2.5rem;
    }

    p {
        font-size: 1.6rem;
    }

    ul {
        gap: 1.7rem;
    }

    ul li {
        font-size: 1.6rem;
    }
}

/* btn */

@media (max-width: 1200px) {
    .btn.arrow {
        gap: 1.5rem;
    }

    .btn.arrow .text {
        transition: none;
        opacity: 1;
        overflow: unset;
        max-width: 15rem;
        color: var(--Red);
    }

    .btn.arrow .icon {
        transition: none;
    }
}

/* card */

@media (max-width: 1200px) {
    .card.img-big {
        padding: 4rem;
    }

    .card.img-big.white h2 {
        font-size: 3rem;
    }

    .card.article {
        margin-top: 4rem;
    }

    .card.prod p {
        height: 52px;
    }

    .card.article p {
        height: 70px;
    }
}

/* modal */
@media (max-width: 1199px) {
    header .modal.language .modal-dialog {
        display: flex;
        align-items: center;
        margin: 6.5rem auto auto auto;
    }
}

/* generale */

@media (max-width: 1199px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 1200px) {

    .mobile,
    img.mobile,
    .mobile-table {
        display: none !important;
    }
}

@media (max-width: 1199px) {

    .desktop,
    img.desktop {
        display: none !important;
    }
}

/* navbar */

@media (max-width: 1199px) {
    .bar.red li {
        font-size: 1.4rem;
    }

    header .navbar {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    header .nav-mobile {
        display: none;
    }
}

/* footer */

@media (max-width: 1199px) {

    footer {
        padding-top: 4rem;
        margin-top: 4rem;
    }

    footer .copy {
        display: block;
    }

    footer img.logo {
        width: 30rem;
    }
}

@media (max-width: 1199px) {

    /* Section 1 */
    .section-1 {
        padding: 4rem 0 0 0;
        height: auto;
    }

    .section-1 .slide {
        gap: 10px;
    }

    .section-1 .slide-content h2 {
        font-size: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .section-1 .media-container img {
        width: 300px;
    }

    /* Section 2 */
    .section-2 h2 {
        margin-bottom: 0;
    }

    .section-2 p {
        margin-bottom: 1.5rem;
    }

    .section-2 .mt-8 {
        margin-top: 0;
    }

    /* Section 5 */
    .section-5 h2 {
        font-size: 3rem;
    }

    .section-5 .img {
        margin-bottom: 3rem;
    }

    .section-5.mt-9 {
        margin-top: 0;
    }

    /* Section 6 */
    .section-6.hover-section {
        padding: 4rem 0 4rem 0;
        margin-top: 4rem;
    }

    /* Section 7 */
    .section-7 .box {
        padding: 4rem 2rem;
    }

    .section-7 h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .section-7 p {
        margin-bottom: 2.5rem;
    }

    /* Section-8 */
    .section-8 {
        background-color: var(--Grey);
        padding: 4rem 0 5rem 0;
    }

    .section-8 h1 {
        font-size: 3.5rem;
    }

    .section-8 img {
        margin-top: 7rem;
    }

    /* Section-9 */
    .section-9 {
        height: 250px;
    }

    /* Section-11 */
    .section-11 h2 {
        margin-bottom: 2rem;
    }

    .section-11 p {
        margin-bottom: 2rem;
    }

    .section-11 img {
        width: 100px;
        height: 100px;
    }

    /* Section-13 */
    .section-13 {
        background-color: var(--Grey);
        background-image: url("img/mappa-back-mobile.png");
        height: auto;
    }

    .section-13 h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    /* Section-14 */
    .section-14 {
        margin-bottom: 0;
    }

    .section-14 .img {
        display: none;
    }

    .section-14 img {
        aspect-ratio: 710/484;
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Section-18 */
    .section-18 {
        margin-bottom: 0;
    }

    .section-18 .img {
        display: none;
    }

    .section-18 img {
        aspect-ratio: 710/484;
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Section-20 */
    .section-20 .timeline::before {
        left: 3.8rem;
        transform: none;
    }

    .section-20 .timeline-marker {
        left: 1rem;
        transform: none;
    }

    .section-20 .timeline-item {
        display: block;
        margin-bottom: 15rem;
    }

    .section-20 .timeline-content {
        display: block;
        width: 80%;
        margin: 0 1rem 1.5rem 4rem;
        padding: 0;
        background: none;
        text-align: left;
    }

    .section-20 .to-left,
    .section-20 .to-right {
        margin: 0 0 0 20%;
        text-align: left;
    }

    .section-20 .timeline-content h4 {
        margin-bottom: 1.5rem;
    }

    .section-20 .timeline-content img {
        margin: 1.5rem 0;
    }

    /* Section-22 */
    .section-22 h2 {
        text-align: left;
    }

    /* Section-24 */
    .section-24 {
        padding: 0 0 4rem 0;
    }

    /* Section-26 */
    .section-26 .nav-tabs {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .section-26 .tab-content {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .section-26 img {
        height: 150px;
        margin-bottom: 3rem;
    }

    /* Section-29 */
    .section-29 {
        padding-top: 0;
    }

    /* Section-30 */
    .section-30.mb-9 {
        margin-bottom: 0;
    }

    .section-30.pt-15 {
        padding-top: 4rem;
    }

    .section-3 .overlay {
        padding: 2rem;
    }

    .section-30 .img {
        width: 100%;
        position: relative;
        bottom: 0;
        right: 0;
        border-radius: 10px;
    }

    /* Section-32 */
    .section-32.hover {
        margin-bottom: 4rem;
    }

    .section-32 .box {
        border-radius: 1rem;
        background: var(--Grey);
        padding: 4rem;
    }

    /* Section-33 */
    .section-33 h2 {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }

    /* Section-35 */
    .section-35 h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    /* Section-37 */
    .section-37 a {
        margin-top: 2.5rem;
    }

    /* Section-38 */
    .section-38 {
        padding: 0 0 5rem 0;
    }

    .section-38 img {
        margin-top: 2rem;
    }

    /* Section-39 */
    .section-39 h2 {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .section-39 h3 {
        margin-bottom: 1.5rem;
    }

    .section-39 .group {
        margin-top: 4rem;
    }

    /* Section-41 */
    .section-41 h2 {
        font-size: 3rem;
    }

    .section-41 .box {
        border-radius: 0;
    }

    .section-41 .box .box-body {
        padding: 2rem 0;
    }

    .section-41 img {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    /* Section-43 */
    .section-43 .form-label.area {
        margin-bottom: 1rem;
    }

    /* Section-44 */
    .section-44 h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .section-44 .box .box-body {
        padding: 2.5rem;
    }

    .section-44 img {
        border-radius: 1rem;
    }

    .section-44 img.icon {
        border-radius: 0;
    }

    /* Section-46 */
    .section-46 h2 {
        font-size: 3rem;
    }

    /* Section-49 */
    .section-49 h2,
    .section-49 p {
        text-align: left;
    }

    /* Section-50 */
    .section-50 img.banner {
        height: 300px;
        margin-bottom: 3rem;
    }

    .section-50 h1 {
        font-size: 3.5rem;
    }

    .section-50 h2 {
        font-size: 2.5rem;
    }

    /* Section-51 */
    .section-51 .box .box-body {
        padding: 3rem;
    }

    .section-51 img {
        height: 250px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }

    /* Section-53 */
    .section-53 h2 {
        font-size: 3.5rem;
    }

    .section-53 p {
        margin-bottom: 7rem;
    }

    /* Section-54 */
    .section-54 h1 {
        font-size: 1.8rem;
    }

    .section-54 .block {
        margin-top: 4rem;
    }

    .section-54 h2 {
        font-size: 2.5rem;
    }

    .section-54 p {
        height: 68px;
    }
}

@media (max-width: 991px) {

    /* Section-13 */
    .section-13 {
        background-color: var(--Grey);
        background-image: unset !important;
        height: auto;
    }
}