@media screen and (max-width: 1023px) {
    .head-top-link .logo {
        display: block;
    }

    .header-top .logo {
        display: none;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .header-simple {
        padding: 40px 0 15px;
    }

    .header-simple h1 {
        font-size: 46px;
        line-height: 58px;
        margin-bottom: 20px;
    }

    .header-simple p {
        padding-right: 200px;
    }

    .serveis-sec {
        padding-top: 5px;
    }

    .relacio-sec h2 {
        font-size: 42px;
        line-height: 52px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header-simple {
        padding: 40px 0 15px;
    }

    .header-simple h1 {
        font-size: 35px;
        line-height: 45px;
        margin-bottom: 20px;
    }

    .header-simple p {
        padding-right: 50px;
    }

    .serveis-sec {
        padding-top: 5px;
    }

    .relacio-sec h2 {
        font-size: 35px;
        line-height: 45px;
    }
}

@media screen and (max-width: 767px) {
    .header-simple {
        padding: 30px 0 10px;
    }

    .header-simple h1 {
        font-size: 32px;
        line-height: 39px;
        margin-bottom: 15px;
    }

    .header-simple p {
        padding-right: 0;
        font-size: 16px;
    }

    .serveis-sec {
        padding-top: 5px;
    }

    .la-zona-main {
        columns: 1;
    }

    .relacio-sec h2 {
        font-size: 30px;
        line-height: 35px;
        letter-spacing: -1.09px;
        margin-bottom: 30px;
    }
}

/* begin NOTICIES */

@media screen and (max-width: 1023px) {
    .noticies-sec {
        padding: 10px 0 30px;
    }

    ul.noticies-list {
        --n-columns: 2;
    }
}

@media screen and (max-width: 767px) {
    ul.noticies-list {
        --n-columns: 1;
    }

    .noticies-filtres {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .noticies-filtres .filtre {
        flex-basis: 100%;
    }
}

/* end NOTICIES */

/* begin LEGAL */

@media screen and (max-width: 1279px) and (min-width: 1024px) {
    section.lopd h2 {
        font-size: 30px;
        line-height: 40px;
    }

    section.lopd h3 {
        font-size: 22px;
        line-height: 30px;
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
    section.lopd h2 {
        font-size: 30px;
        line-height: 35px;
    }

    section.lopd h3 {
        font-size: 22px;
        line-height: 28px;
    }
}

@media screen and (max-width: 767px) {
    section.lopd h2 {
        font-size: 28px;
        line-height: 32px;
    }

    section.lopd h3 {
        font-size: 20px;
        line-height: 24px;
    }

    section.lopd p,
    section.lopd ul>li,
    section.lopd ol>li {
        font-size: 15px;
        line-height: 20px;
    }
}

/* end LEGAL */

/** JIRA CM-225 **/

@media screen and (max-width: 1919px) {
    #myModal .modal-content {
        overflow: auto;
        width: 51%;
        height: 85%;
    }
}

@media screen and (max-width: 1024px) {
    #myModal .modal-content {
        width: 81%;
        height: 89%;
        top: 46%;
    }
}

@media screen and (max-width: 600px) {
    .modal.is-open .two-col {
        flex-direction: column;
        row-gap: 15px;
    }

    .modal.is-open .two-col .frm-input {
        width: 100%;
    }

    .modal.is-open .one-col {
        padding: 0;
    }
}

@media screen and (max-width: 500px) {
    .modal.is-open {
        height: 94%;
    }

    #myModal .modal-content {
        width: 100%;
        overflow: auto;
        height: 100%;
    }
}