@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #002333;
    --secondary: #159A9C;
    --third: #8d8d8d;
    --white: #FFFFFF;
    --whitesmoke: #FBFBFB;
    --whitesmoke2: #EAEAEA;
    --text: #343434;
    --bt_send: #688859;
    --bt_cancel: #C44141;
    --bt_text: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: Poppins, sans-serif;
    color: var(--text);
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    background-color: var(--whitesmoke);
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.end {
    clear: both;
}

/**
 * Versão Mobile
 */
@media only screen and (max-width: 999px) {
    header {
        width: 100%;
        height: 90px;
        background-color: var(--whitesmoke2);
    }

    header #logotipo {
        height: 60px;
        margin: 15px;
    }

    header #menu_bt {
        float: right;
        line-height: 90px;
        font-size: 40px;
        padding-left: 15px;
        padding-right: 15px;
        cursor: pointer;
    }

    header nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 15px;
        padding: 10px 20px;
        background-color: var(--primary);
        border-radius: 10px 0px;
    }

    header nav ul {
        list-style: none;
    }

    header nav ul li {
        line-height: 50px;
        border-bottom: 1px solid var(--secondary);
        font-size: 14px;
        font-weight: 500;
        padding: 0 2px;
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    header nav ul li a {
        color: var(--white);
    }

    section .propaganda-topo,
    section .propaganda-meio,
    section .propaganda-fim {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0px 10px;
        text-align: center;
    }

    section .propaganda-topo img,
    section .propaganda-meio img,
    section .propaganda-fim img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .noShow {
        display: none;
    }

    section .bannerFit {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 40px;
        text-align: center;
    }

    section .bannerFit img {
        width: 100%;
        height: auto;
    }

    section#noticia, section#home {
        padding: 20px;
    }

    section#noticia h1 {
        font-size: 30px;
        text-align: center;
        color: var(--primary);
        margin-top: 20px;
    }

    section#noticia p.subtitle {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 18px;
        color: var(--secondary);
        text-align: center;
    }

    section#noticia #categoria {
        text-align: center;
        font-size: 16px;
        color: var(--secondary);
    }

    section#noticia .dados {
        text-align: center;
        font-size: 14px;
        color: var(--third);
        font-weight: 300;
        margin-bottom: 30px;
    }

    section#noticia #imagemPrincipal {
        width: 100%;
        text-align: center;
    }

    section#noticia #imagemPrincipal img {
        max-width: 100%;
        border-radius: 10px 0px;
    }

    section#noticia #conteudo {
        width: 100%;
        font-size: 17px;
        color: var(--primary);
        padding-top: 40px;
        padding-bottom: 60px;
    }

     section#noticia #galeria {
        width: 100%;
        max-width: 1250px;
        margin: 30px auto;
        text-align: left;
    }

    section#noticia #galeria h2 {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    section#noticia #galeria img {
        width: 19%;
        margin: 0.5%;
        float: left;
        border-radius: 10px 0px;
        margin-bottom: 20px;
        cursor: pointer;
        transition: opacity 0.1s;
    }

    section#noticia #galeria img:hover {
        opacity: 0.8;
        transition: opacity 0.1s;
    }

    section#noticia #mais-noticias {
        width: 100%;
        max-width: 100%;
    }

    section#noticia #titulo-mais {
        width: 100%;
        margin: 20px auto;
        padding: 20px 0;
        border-top: 1px solid var(--secondary);
    }

    section#noticia  #titulo-mais h2 {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
    }
    section#noticia #titulo-mais p {
        font-size: 16px;
        color: var(--secondary);
    }

    section .postScroll,
    section .postRevista,
    section .postLista {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 40px;
        transition: opacity 0.1s;
    }

    span.leia{
        display: none;
    }

    section .postScroll:hover,
    section .postRevista:hover,
    section .postLista:hover {
        opacity: 0.9;
        transition: opacity 0.1s;
    }

    section .postScroll img,
    section .postRevista img,
    section .postLista img {
        width: 100%;
        border-radius: 5px 0px;
        margin-bottom: 10px;
    }

    section .postScroll .postData h2,
    section .postRevista .postData h2,
    section .postLista .postData h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    section .postScroll .postData p,
    section .postRevista .postData p,
    section .postLista .postData p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #popup .popup-content {
        background-color: var(--whitesmoke);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        max-width: 600px;
        width: 100%;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    #popup .popup-content h2 {
        color: var(--primary);
        margin-bottom: 20px;
        text-align: left;
    }

    #popup .popup-content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 10px;
    }

    #popup .popup-content .close {
        background-color: var(--primary);
        color: var(--white);
        padding: 6px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        float: right;
    }

    #galleryModal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
    }

    #galleryModal #galleryModalInner {
        position: relative;
        max-width: 800px;
        width: 100%;
        background-color: var(--whitesmoke);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        box-sizing: border-box;
        border-radius: 10px;
        box-shadow: #000 0px 0px 30px;
    }

    #galleryModal #galleryModalInner .close {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: var(--primary);
        color: var(--white);
        padding: 6px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
    }

    #galleryModal #galleryModalInner .close:hover {
        opacity: 0.8;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner #modalImage {
        padding: 5px;
        text-align: center;
        max-width: 800px;
        width: 100%;
        height: auto;
        max-height: 90%;
        border-radius: 10px;
    }

    #galleryModal #galleryModalInner .prev,
    #galleryModal #galleryModalInner .next {
        position: absolute;
        top: 50%;
        /*transform: translateY(-50%);*/
        background-color: var(--primary);
        color: var(--white);
        padding: 10px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        z-index: 1000;
        line-height: 20px;
        width: 40px;
        height: 40px;
        text-align: center;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner .prev:hover,
    #galleryModal #galleryModalInner .next:hover {
        opacity: 0.8;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner .prev {
        left: 10px;
    }

    #galleryModal #galleryModalInner .next {
        right: 10px;
    }

    footer {
        width: 100%;
        padding: 0px 20px;
        padding-top: 20px;
        background-color: var(--primary);
    }

    footer div.left, footer div.right, footer div.end {
        padding-bottom: 20px;
    }

    footer div p {
        color: var(--whitesmoke) !important;
        font-size: 12px !important;
    }

    footer div a{
        color: var(--whitesmoke) !important;
        font-size: 12px !important;
        text-decoration: underline;
    }

}

/**
 * Versão Desktop
 */
@media only screen and (min-width: 999px) {
    header {
        width: 100%;
        height: 120px;
        background-color: var(--whitesmoke2);
    }

    header #header-content,
    footer #footer-content {
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
    }

    header #header-content #logotipo {
        height: 80px;
        margin-top: 20px;
    }

    header #header-content #menu_bt {
        display: none;
    }

    header #header-content nav {
        height: 50px;
        float: right;
        margin-right: 7.5px;
        margin-top: 35px;
    }

    header #header-content nav ul {
        list-style: none;
    }

    header #header-content nav ul li {
        height: 50px;
        line-height: 50px;
        display: inline;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        margin: 0px 12.5px;
        padding-bottom: 10px;
    }

    header #header-content nav ul li a {
        color: var(--primary);
    }

    header #header-content nav ul li.active {
        border-bottom: 2px solid var(--secondary);
    }

    header #header-content nav ul li:hover {
        border-bottom: 2px solid var(--primary);
    }

    section .propaganda-topo,
    section .propaganda-meio,
    section .propaganda-fim {
        max-width: 1600px;
        margin: 30px auto;
        padding: 0 20px;
        text-align: center;
    }

    section .propaganda-topo img,
    section .propaganda-meio img,
    section .propaganda-fim img {
        border-radius: 5px;
    }

    section#home {
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
    }

    section#home #scrool-news {
        margin-top: 20px;
        margin-bottom: 50px;
        width: 60%;
        height: 350px;
        background-color: #343434;
        float: left;
        border-radius: 10px 0px;
    }

    section#home #scrool-news .postScroll {
        width: 100%;
        height: 100%;
        transition: opacity 0.1s;
    }

    section#home #scrool-news .postScroll:hover {
        opacity: 0.9;
        transition: opacity 0.1s;
    }

    section#home #scrool-news .postScroll img {
        height: 100%;
        float: left;
        border-radius: 10px 0px 0px 0px;
    }

    section#home #scrool-news .postScroll .postData {
        height: 100%;
        padding: 20px;
        overflow-y: hidden;
    }

    section#home #scrool-news .postScroll .postData h1 {
        font-size: 18px;
        color: var(--white);
    }

    section#home #scrool-news .postScroll .postData p {
        font-size: 13px;
        color: var(--whitesmoke);
        padding-top: 15px;
    }

    section#home #revista {
        margin-top: 20px;
        margin-bottom: 50px;
        width: 38%;
        height: 300px;
        float: right;
        border-radius: 10px 0px;
    }

    section#home #revista .postRevista {
        height: 145px;
        width: 100%;
        margin-bottom: 35px;
        transition: opacity 0.1s;
        background-color: whitesmoke;
        border-radius: 10px 0px;
    }

    section#home #revista .postRevista:hover {
        opacity: 0.8;
        transition: opacity 0.1s;
    }

    section#home #revista .postRevista img {
        float: left;
        height: 100%;
        border-radius: 10px 0;
    }

    section#home #revista .postRevista .postData {
        height: 100%;
        padding: 10px 10px;
        overflow-y: hidden;
    }

    section#home #revista .postRevista .postData h1 {
        font-size: 15px;
    }

    section#home #revista .postRevista p {
        font-size: 12px;
    }

    section#home #revista .postRevista.principal {
        height: 170px;
    }

    section#home #revista .postRevista.principal h1 {
        font-size: 17px;
    }

    section#home #revista .postRevista.principal p {
        font-size: 12px;
    }

    section#home .coluna-noticias {
        width: 21.25%;
        float: left;
        margin-right: 5%;
    }

    section#home .coluna-noticias.no-right {
        margin-right: 0%;
    }


    section#home .coluna-noticias .bannerFit {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    section#home .coluna-noticias .bannerFit img {
        width: 100%;
        height: auto;
    }

    section#home .coluna-noticias .postLista {
        margin-top: 20px;
        margin-bottom: 40px;
        transition: opacity 0.1s;
    }

    section#home .coluna-noticias .postLista:hover {
        opacity: 0.8;
        transition: opacity 0.1s;
    }

    section#home .coluna-noticias .postLista img {
        width: 100%;
        border-radius: 5px 0px;
        margin-bottom: 10px;
    }

    section#home .coluna-noticias .postLista .postData h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    section#home .coluna-noticias .postLista .postData p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .noShow {
        display: none;
    }

    section#noticia {
        width: 100%;
        max-width: 1250px;
        margin: 0 auto;
        padding: 30px 20px;
    }

    section#noticia #categoria {
        text-align: left;
        font-size: 15px;
        color: var(--secondary);
        float: left;
        margin-bottom: 30px;
    }

    section#noticia .dados {
        float: right;
        text-align: right;
        font-size: 15px;
        color: var(--third);
        font-weight: 300;
        margin-bottom: 30px;
    }

    section#noticia .propaganda-topo,
    section#noticia .propaganda-meio {
        margin: 20px auto;
    }

    section#noticia .propaganda-topo img,
    section#noticia .propaganda-meio img {
        width: 100%;
    }

    section#noticia h1 {
        font-size: 42px;
        text-align: center;
        color: var(--primary);
        margin-top: 30px;
    }

    section#noticia p.subtitle {
        margin-top: 16px;
        margin-bottom: 25px;
        font-size: 20px;
        color: var(--secondary);
        text-align: center;
    }

    section#noticia #imagemPrincipal {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    section#noticia #imagemPrincipal img {
        max-width: 100%;
        border-radius: 10px 0px;
    }

    section#noticia #conteudo {
        width: 80%;
        font-size: 18px;
        color: var(--primary);
        margin: 40px auto;
        padding-bottom: 60px;
    }

    section#noticia #galeria {
        width: 100%;
        max-width: 1250px;
        margin: 30px auto;
        text-align: left;
    }

    section#noticia #galeria h2 {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    section#noticia #galeria img {
        width: 19%;
        margin: 0.5%;
        float: left;
        border-radius: 10px 0px;
        margin-bottom: 20px;
        cursor: pointer;
        transition: opacity 0.1s;
    }

    section#noticia #galeria img:hover {
        opacity: 0.8;
        transition: opacity 0.1s;
    }

    section#noticia #titulo-mais {
        width: 100%;
        max-width: 1250px;
        margin: 20px auto;
        padding: 20px 0;
        border-top: 1px solid var(--secondary);
    }

    section#noticia #titulo-mais h2 {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    section#noticia #titulo-mais p {
        font-size: 16px;
        color: var(--secondary);
    }

    section#noticia #mais-noticias {
        width: 100%;
        max-width: 1250px;
        margin: 0 auto;
    }

    section#noticia #mais-noticias .postLista {
        width: 30%;
        float: left;
        margin-right: 5%;
        margin-bottom: 20px;
        transition: opacity 0.1s;
    }

    section#noticia #mais-noticias .postLista:hover {
        opacity: 0.9;
        transition: opacity 0.1s;
    }

    section#noticia #mais-noticias .postLista.no-right {
        margin-right: 0;
    }

    section#noticia #mais-noticias .postLista img {
        width: 100%;
        border-radius: 5px 0px;
        margin-bottom: 10px;
    }

    section#noticia #mais-noticias .postLista .postData h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    section#noticia #mais-noticias .postLista .postData p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #popup .popup-content {
        background-color: var(--whitesmoke);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        max-width: 600px;
        width: 100%;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    #popup .popup-content h2 {
        color: var(--primary);
        margin-bottom: 20px;
        text-align: left;
    }

    #popup .popup-content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 10px;
    }

    #popup .popup-content .close {
        background-color: var(--primary);
        color: var(--white);
        padding: 6px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        float: right;
    }

    #galleryModal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
    }

    #galleryModal #galleryModalInner {
        position: relative;
        max-width: 800px;
        width: 100%;
        background-color: var(--whitesmoke);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        box-sizing: border-box;
        border-radius: 10px;
        box-shadow: #000 0px 0px 30px;
    }

    #galleryModal #galleryModalInner .close {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: var(--primary);
        color: var(--white);
        padding: 6px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
    }

    #galleryModal #galleryModalInner .close:hover {
        opacity: 0.8;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner #modalImage {
        padding: 5px;
        text-align: center;
        max-width: 800px;
        width: 100%;
        height: auto;
        max-height: 90%;
        border-radius: 10px;
    }

    #galleryModal #galleryModalInner .prev,
    #galleryModal #galleryModalInner .next {
        position: absolute;
        top: 50%;
        /*transform: translateY(-50%);*/
        background-color: var(--primary);
        color: var(--white);
        padding: 10px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        z-index: 1000;
        line-height: 20px;
        width: 40px;
        height: 40px;
        text-align: center;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner .prev:hover,
    #galleryModal #galleryModalInner .next:hover {
        opacity: 0.8;
        transition: background-color 0.3s;
    }

    #galleryModal #galleryModalInner .prev {
        left: 10px;
    }

    #galleryModal #galleryModalInner .next {
        right: 10px;
    }

    footer {
        width: 100%;
        padding: 20px 0px;
        background-color: var(--primary);
    }

    footer .left {
        float: left;
    }

    footer .right {
        float: right;
    }

    footer div p {
        color: var(--whitesmoke) !important;
        font-size: 12px !important;
    }
}

.pagination { 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.pagination a {
    color: var(--primary);
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid var(--primary);
    margin: 0 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.pagination a:hover {
    background-color: var(--primary);
    color: var(--white);
    transition: background-color 0.3s, color 0.3s;
}

.arruma {
    clear: both;
}