.section-page-metodo-de-ensino-video {
    margin-top: 240px;
}

.imgx {
    position: relative;
    display: inline-block;
    width: 100%;
    /* max-width: 490px; */
    height: auto;
    overflow: hidden;
    /* border-radius: 20px; */
    max-height: 500px;

}

.section-page-metodo-de-ensino-video img {
    width: 100%;
    max-height: 500px;
}

.section-page-metodo-de-ensino-video .imgx:before {
    /* background: linear-gradient(180deg, rgba(0, 36, 74, 0) 0%, rgba(255, 0, 0, 0.38) 100%); */
    background: linear-gradient(to top, #00244A, rgba(255, 0, 0, 0.38));
    /* background: linear-gradient(180deg, rgba(0, 36, 74, 0) 100%, rgba(255, 0, 0, 0.38) 50%); */

    /* background: linear-gradient(180deg, rgba(0, 36, 74, 0) 0%, #00244A 100%); */

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 1;
}

#section-page-novidades .page-numbers {
    background-color: #fff;
    color: #0E3054;
    padding: 15px;
    border-radius: 30px;
    margin: 0 10px;
    border: 1px solid #C3C3C3;
    height: 53px;
    width: 50px;
    text-align: center;
}

#section-page-novidades .current {
    background-color: #0E3054;
    color: #fff;
}

#section-page-novidades .next {
    display: none;
}

#section-page-novidades .prev {
    display: none;
}

.text-for-date-news {
    font-size: 14px;
}

.carrosel-cards-new {
    display: flex;
    flex-direction: row;
}




.container-no-news {
    margin-top: 50px;
    width: 100%;
    justify-content: center;
    display: flex;
    
}


.container-no-news span {
    font-size: 22px;
    display: flex;
    text-align: center;
}

#section-page-novidades a {
    border-bottom: none;
}

#section-page-novidades .btn-component {
    box-shadow: 0px -4px 4px 0px #00000040;
}

.title-component-news {
    font-size: 32px;
    /* width: 50%; */
}

#section-page-novidades .pagination {
    width: 100%;
    padding: 50px 5px 0px 0px;
}

.news-h2-section {
    height: 120px;
}

.carrosel-cards-new img {
    height: 340px;
}

.over-text-news {
    position: absolute;
    top: 425px;
    margin-left: 5%;
    width: 45%;
    z-index: 999;
}

.over-text-news h1 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}

.line-news {
    border-bottom: 1px solid #CBCBCB;
    width: 100%;
}

.container-main-image-news {
    display: flex;
    justify-content: center;
}

.container-main-image-news img {
    width: 100%;
    max-height: 500px;
    max-width: 500px;
}

@media (min-width: 768px) {
    .title-component-news {
        /* font-size: 32px; */
        width: 50%;
    }

    .container-no-news {
        position: relative;
        top: 55px;
    }

    .line-news {
        margin-top: 100px;
    }

    #section-page-novidades .pagination {
        margin-right: 50px;
        justify-content: end;
    }


}

@media (max-width: 767px) {
    .section-page-metodo-de-ensino-video {
        margin-top: 140px;
    }

    .carrosel-cards-new {
        display: flex;
        overflow-x: auto;
        width: max-content;
    }

    .subtitle-partners {
        top: 0;
        padding: 0 10px;
    }

    .title-component-news {
        font-size: 25px;
        padding: 0 10px;
    }

    .over-text-news {
        top: 265px;
        width: 75%;
    }
    
    .over-text-news h1 {
        color: #fff;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 18px;
    }

    .container-main-news .post-component-header {
        margin-top: 50px;
    }

    .link-main-post-news {
        justify-content: center;
    }

    .container-main-news {
        padding: 0 30px;
    }

    .sub-container-no-news{
        padding: 0 15px;
        margin-left: 40px;
    }

    .line-news {
        margin-top: 20px;
    }

    .carrosel-cards-new img {
        height: 240px;
    }

    .section-page-metodo-de-ensino-video img {
        height: 210px;
    }

}
