body::-webkit-scrollbar-track {
    background-color: #F4F4F4;
}
body::-webkit-scrollbar {
    width: 6px;
    background: #F4F4F4;
}
body::-webkit-scrollbar-thumb {
    background: #a09d9d;
}

/*==================== LOGIN ====================*/
.container {
    height: 100vh !important;
}

@media only screen and (max-width: 1400px) {
    .container {
        max-width: 100% !important;
    }
}

/*==================== MENU - DASHBOARD ====================*/
.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */

}

#botao_logout {
    display: block;
}

/*============ MUDANÇA NO LAYOUT DO BOTAO DO MENU ============== */

.button_menu{
    color: #020024 !important;
    border: 2px solid #020024 !important;
}

.button_menu:focus{
    color: #fff !important;
    background-color: #020024 !important;
    border: 2px solid #020024 !important;
}



@media screen and (max-width: 767.98px) {
    #botao_logout {
        margin-right: 50px;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
}

.sidebar ul {
    margin-top: 20px;
}


.sidebar .nav-link.active {
    color: #fff;
    font-weight: 600;
    background-color: #4e73df !important;

}


.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}
.sidebar::-webkit-scrollbar-track {
    background-color: #F4F4F4;
}
.sidebar::-webkit-scrollbar {
    width: 6px;
    background: #F4F4F4;
}
.sidebar::-webkit-scrollbar-thumb {
    background: #a09d9d;
}

/*
 * Navbar
 */

.navbar-brand {
    color: #2b2b2b;
    font-weight: 600;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 20px;

}

.navbar-brand:hover {
    color: #fff;
    text-decoration: none;
}

.nav_top {
    background-color: #f8f9fa;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);

}



.navbar .navbar-toggler {
    border: 0.5px solid #fff;
    top: 1.25rem;
    right: 1rem;
    color: #fff;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
    border: 2px solid #fff;
}

#img_perfil{
    margin-left: 5px;
    margin-right: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F1F2F2;
}

.dropdown-toggle::after {
    display: none;
}
.dropdown-item:hover {
    color: #fff;
    background-color: #4e73df;
}

#sidebarMenu {
    background-color: #07112c !important;
    overflow-y: auto;
}

.icons_dash {
    font-size: 18px;
}

.box_form {
    height: 100%;
    background: #fff;
    box-shadow: 8px 1px 8px 2px #ccc;
    padding: 10px;
    border-left: #4e73df 5px solid;
    border-radius: 8px;
    margin-bottom: 10px;
}

.multiform{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.f1{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 12rem;
    height: 4rem;
    background-color: gray;
}


.f1.active{
    background-color: #2e59d9;
}
.icone{
    color: white;
    font-size: 2rem;
}
.texto_icone{
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.linha{
    width: 7rem;
    height: 0.2rem;
    background-color: gray;
}


/*==================== ENCOMENDAS ====================*/

.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 0px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.table thead th {
    color: #464E5F !important;
    font-weight: 500 !important;
}

.status {
    height: 35px;
    margin: 0 auto;
    font-size: 14px !important;
}

#limpa_filtro {
    background-color: #4e73df;
    color: #fff;
}
#limpa_filtro:hover {
    background-color: #253870;
    color: #fff;
}
#btn_atualiza_lista{
    background-color: #4e73df;
    color: #fff;

}
#btn_atualiza_lista:hover {
    background-color: #253870;
    color: #fff;
}

table {
    font-size: 14px !important;

}

#tabela_encomenda_wrapper {
    margin-bottom: 50px;
}

#tabela_encomenda {
    width: 100% !important;
}

.btn_mais_acoes {
    display: flex;
    background-color: #4e73df !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;

    /* font-size: 14px !important; */
    /* font-weight: 500 !important; */
    /* margin: 0 5px !important; */
}

.dropdown_menu_acoes li a {
    color: rgb(105, 105, 105) !important;
}

.dropdown_menu_acoes li a:hover {
    background-color: #4e73df !important;
    color: #fff !important;
}

/*==================== USUARIOS ====================*/



/*==================== MANIFESTO ====================*/

.loader{
    display: none;
}
.button{
    display: none;
}


/*==================== MODAL LISTA ENCOMENDA ====================*/
.card_lista_encomenda{
    margin-bottom: 10px;
}

.card_lista_encomenda .card-header{
    background-color: #4e73df;
    color: #fff;
    border: 1px solid #4e73df;
}
.card_lista_encomenda .card-body{
    padding: 5px;
}
.card_lista_encomenda .card-body p{
    font-size: 14px;
    margin-bottom: 5px ;
}
.card_lista_encomenda .card-body .texto_card{
    font-size: 14px;
    font-weight: 600;
}

/*==================== ESTOQUE ====================*/

.input-number::-webkit-outer-spin-button,
.input-number::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}


/* =================painel================*/

.cartao{

    box-shadow: 1px 1px 4px 0px gray;
    margin-bottom: 20px;
}

/* graficos */

.area_grafico{
    display: flex;
    margin-bottom: 20px;
}

.grafico{
    background-color: #fff;
    box-shadow: 1px 1px 4px 0px gray;
    padding: 16px;
    border-radius: 12px;
    flex: 1;

}

.grafico {
    margin: 0 10px;
}

.grafico:first-of-type {
    margin-left: 0;
}

.grafico:last-of-type {
    margin-right: 0;
}


@media only screen and (max-width: 600px) {

    .f1{
        height: 5rem;
        width: 5rem;
    }

    .texto_icone{
        color: white;
        font-size: 0.6rem;
        font-weight: 600;
    }
    .linha{
        width: 1rem;
    }

    #botao_logout{
        display: none;
    }


}

@media only screen and (max-width: 770px){
    .area_grafico{
        flex-direction: column;
    }

    .grafico {
        margin: 10px 0px;
    }

    #agencia{
        margin-bottom: 10px;
    }

    #btn_atualiza_lista{
        width: 100%;

    }

    #limpa_filtro{
        width: 100%;
    }



}

@media only screen and (max-width: 962px){
    .area_grafico{
        flex-direction: column;
    }

    .grafico {
        margin: 10px 0px;
    }

}

/* ========== SIDEBAR COLAPSÁVEL (DESKTOP) ========== */
@media (min-width: 768px) {
    i:hover {
        cursor: pointer;
        color: #fff;
    }
    #sidebarMenu {
        width: 220px;
        overflow: hidden;
        transition: width 0.3s ease;
    }

    #mainContent {
        margin-left: 220px !important;
        width: calc(100% - 220px) !important;
        max-width: 100%;
        flex: none;
        transition: margin-left 0.3s ease, width 0.3s ease;
    }

    html.sidebar-collapsed #sidebarMenu {
        width: 62px;
    }

    html.sidebar-collapsed #mainContent {
        margin-left: 62px !important;
        width: calc(100% - 62px) !important;
    }

    html.sidebar-collapsed .sidebar .nav-link .col {
        display: none;
    }

    html.sidebar-collapsed .sidebar .nav-link .col-2 {
        flex: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    html.sidebar-collapsed .sidebar .nav-link .row {
        justify-content: center;
    }

    html.sidebar-collapsed .sidebar-toggle-btn {
        justify-content: center !important;
        padding-right: 0 !important;
    }
}

.sidebar-toggle-btn button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
}

.sidebar-toggle-btn button:hover {
    color: #fff;
}

