/* MÓDULO - Formulários */

span.required {
    color: red;
    font-weight: bold;
}


/* MÓDULO - Menu */
:root {
    --primary-color: #ACE2FF;
    --secondary-color: #12a1ed;
    --terciary-color: #004f8d; /* 00233f */
    /* --quartiary-color: rgb(19, 54, 82); */
    --quartiary-color: #004f8d;
    --quintiary-color: #004f8d;
}

p {
    margin-inline: 0;
}


header {
    background: url(../img/background-menu.png) no-repeat;
    background-position: left;
    margin-bottom: 3rem;
}

.sidebar {
    height: 100%;
    width: 300px;
    position: fixed;
    top: 0;
    left: -300px;
    /* background-color: var(--terciary-color); */
    /* background: url(../img/fundo.png) no-repeat; */
    background: url(../img/background-menu.png) no-repeat;
    background-size: cover;
    /* border-image: fill 0 linear-gradient(#12a0edb0, #12a0edb0); */
    padding-top: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 100;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #12a0edb0 #12a0edb0;
  } 
  
.sidebar::-webkit-scrollbar {
    width: 12px;
}

.sidebar::-webkit-scrollbar-track {
    background: #12a0edb0;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #12a0ed;
    border-radius: 20px;
    border: 3px solid #12a0ed;
}

.sidebar.show {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar .categoria-nome {
    margin-left: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

/* Estilizando os links do menu */
.sidebar > nav > ul > li > a {
    padding: 15px 25px;
    width: 300px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover, .sidebar a:focus {
    background-color: var(--quartiary-color);
    color: #fff;
}

.content {
    padding: 20px;
    transition: margin-left 0.3s ease-in-out;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 50;
}

.overlay.show {
    display: block;
}

@media (min-width: 800px) {
    .sidebar {
        left: 0;
    }

    .menu-toggle {
        display: none;
    }

    .content, main, header, footer {
        margin-left: 300px; /* Adiciona uma margem ao conteúdo quando o menu está aberto */
        margin-bottom: 0;
    }

    .overlay, .overlay.show {
        display: none;
    }

    header {
        background: none;
    }
}

p.categoria-nome { 
    font-size: 11px;
    color: var(--primary-color);
    font-weight: bold;
}

aside i.fa-solid, .fa-icon {
    color: white;
    margin-right: 1.5rem;
    width: 15px;
}

.fa-icon {
    color: black;
    margin-right: 1rem;
}

button.menu-toggle {
    border: none;
    background-color: var(--secondary-color);
    width: 50px;
    border-radius: 0.5rem;
    margin: 0.125rem;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

#titulo-pagina {
    font-size: 1.75rem;
}

.dropdown-menu {
    position: static;
    transform: none;
    will-change: initial;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    color: white;
    text-align: right;
    padding: 10px;
}

.submenu-link {
    padding-left: 2rem;
    background-color: #004f8d !important;
    color: white;
    padding-block: 1rem;
}

nav ul li a {
    text-decoration: none;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
}