@import url(colors.css);

@media (max-width: 768px) {

    .logoTitle {
        display: none;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        text-align: center;
        color: #333;
    }

    section {
        max-width: 1150px;
        padding-left: 32px;
        padding-right: 32px;
    }


    main {
        width: 100%;
        max-width: 1150px;
        margin: 0 auto;
        padding-top: 0px;
        padding-bottom: 0px;
    }



    /* BANNER */

    .banner {
        margin-top: 80px;
        height: auto;
    }


    .banner .banner_text {
        width: 100%;
        min-height: 200px;
        margin: 0 auto;
        height: auto;
        padding: 1em;
    }


    /* HEADER e NAVBAR */

    #header {
        position: fixed;
        top: 0;
    }


    #btn-mobile-open,
    #btn-mobile-close {
        display: block;
        margin-left: auto;
        margin-right: 5px;
        border: 0;
        background: transparent;

        display: flex;
        align-items: center;
        gap: 5px;
        color: #000;
    }

    #btn-mobile-open i,
    #btn-mobile-close i {
        font-size: 24px;
        border: none;
        background: transparent;
        padding: .5rem;
        border-radius: .5em;
        border: 0;
        color: #000;
    }

    #navbar.active #menu {
        visibility: visible;
        display: block;
        opacity: 1;
        overflow-y: auto;
        background: var(--color-primary);
        width: 80vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #navbar.active #btn-mobile-open {
        display: none;
    }

    ul#menu {
        opacity: .9;
        background: var(--color-primary);
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: -100%;
        transition-property: all;
        transition-duration: 1s;
        z-index: 1;
    }

    ul#menu a {
        display: block;
        padding: 1.5rem .5rem;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(255, 255, 255, .5);
        color: #FFF;
    }

    ul#menu a:hover,
    ul#menu a:focus {
        color: #000;
    }

    /* Dropdown vira accordion dentro do menu lateral */

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        width: calc(100% - 2rem);
        padding: 1.5rem .5rem;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(255, 255, 255, .5);
        line-height: inherit;
        text-align: left;
    }

    .dropdown-toggle:hover,
    .dropdown-toggle:focus {
        color: #000;
    }

    .link.dropdown-toggle::before {
        display: none;
    }

    .dropdown-caret {
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        width: auto;
        max-width: none;
        max-height: 0;
        overflow: hidden;
        margin: 0 1rem;
        padding: 0;
        background-color: rgba(255, 255, 255, .12);
        border: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: none;
        transform: none;
        transition: max-height .3s ease, opacity .2s ease, visibility .3s;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.is-open .dropdown-menu {
        max-height: 400px;
        transform: none;
    }

    .dropdown-menu li + li {
        margin-top: 0;
        padding-top: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
    }

    ul#menu .dropdown-menu a {
        margin: 0;
        padding: 1rem;
        border-bottom: 0;
        border-radius: 0;
        font-size: 1rem;
        color: #FFF;
    }

    ul#menu .dropdown-menu a i {
        color: #FFF;
    }

    ul#menu .dropdown-menu a:hover,
    ul#menu .dropdown-menu a:focus-visible {
        background-color: rgba(255, 255, 255, .15);
        color: #FFF;
    }
/* 
    ul#menu a::before {
        content: "";
        font-family: FontAwesome;
        font-style: noraml;
        font-size: 22px;
        display: inline-block;
        color: #FFF;
        overflow: visible;
        vertical-align: -.125em;
        margin-right: 10px;
    }

    ul#menu a.pgInicial::before {
        content: "\f015";
    }

    ul#menu a.report::before {
        content: "\f0a1";
    }

    ul#menu a.follow::before {
        content: "\f002";
    }


    ul#menu a.lgpd::before {
        content: "\f023";
    }

    ul#menu a.files::before {
        content: "\f56d";
    } */

    /* Botões no Mobile */

    .dxButtons {
        margin-top: 2em;
        margin-bottom: 2em;
        display: flex;
        justify-content: space-evenly;
        gap: 5px;
        flex-wrap: wrap;
    }

    .button {
        cursor: pointer;
        background-clip: border-box;
        border-width: 0px;
        border-style: none;
        padding: 15px 32px 15px 32px;
        max-width: 300px;
        font-size: 16px;
        font-weight: 700;
        transition: 0;
        border-radius: 3px;
        flex-grow: 1;
    }

}


@media (min-width: 768px) {

    #header {
        height: 70px;
    }

    #header #navbar {
        max-width: 1150px;
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    ul#menu {
        align-items: center;
        display: flex;
        gap: 1rem;
        min-width: 80%;
    }

    ul#menu li {
        flex-grow: 1;
        text-align: center;
    }

    .menu-mobile {
        display: none;
    }

    a.navbar-brand img {
        min-width: 136px;
        vertical-align: middle;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    #header #navbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    ul#menu {
        font-size: .875rem;
    }

}

@media (min-width: 1024px) {

    #header {
        height: 60px;
    }

    ul#menu {
        min-width: 100%;
    }

    .banner {
        margin-top: 0px;
    }

}