.menus {

    display: flex;
}

.navbar {

    position: fixed;
    z-index: 4;
    right: 0;
    background-color: #2F6AA6;
    height: 57px;
    width: 80%;
    box-shadow: 2px 0px 6px rgba(0, 0, 0, 0.2);
    transition: all ease-in-out 0.4s;
}

.navbar.space {

    width: 100%;

}


.dropdown-menu #name2 {

    display: none;
}

.button-menu {
    margin-left: 0px;
    cursor: pointer;
    transition: all ease 300ms;
    padding: 0.65rem 1rem;
}

.button-menu:hover {
    background-color: #154474;
}

.navbar-link.effect {
    background-color: #255484;
}


.btn-dots::after {

    display: none;
    margin-left: .255em;
    vertical-align: .255em;
    content: none;
    border: none;
}

.table-head {

    font-weight: 600 !important;
}

#sub-menu {

    position: fixed;
    z-index: 4;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #202020;
    width: 0%;
    height: 155vh;
    margin-top: 0px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    transition: all ease-in-out 0.4s;

}

#logo-cabecalho {

    width: 100%;
    background-color: #255484;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

#sub-menu.open {
    width: 20%;

}

#sub-menu .link {

    border-left: 4px solid #0690;
    border-bottom: 3px solid #0690;
    color: #f7f6f6;
    font-weight: 500;
    padding-left: 3rem;

}

#sub-menu .link:hover {
    color: #f7f6f6;
    border-left: 4px solid #2F6AA6;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-color: #050505;
}

#sub-menu .link.active {
    color: #FFF;
    border-left: 4px solid #2F6AA6;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-color: #050505;
}

.conteudo {
    margin-left: 22%;
    transition: all ease-in-out 0.4s;
}

.conteudo.space {
    margin-left: 2%;
}

#grafico-agendamento {

    width: 100%;
    height: 500px;
}

.icon {
    position: absolute;
    cursor: pointer;
    margin-right: 5px;
    padding-left: 5px;
    background-color: #f8f9fa00;

}


body #login {
    width: 50%;
    height: 100vh;
    position: absolute;
    right: 0px;

}

body .inputs {
    border: 1px solid #A7B6BE;
}

.mensagem-aviso {
    opacity: 1;
    /* Começa visível */
    transition: opacity 1s ease-in-out;
    /* Transição suave de 1 segundo */
}

.mensagem-aviso.fade-out {
    opacity: 0;
    /* Termina invisível */
}

@media (max-width: 1200px) {

    body #imagem {
        width: 70% !important;
    }

    #sub-menu.open {

        width: 25%;
    }

    .navbar {

        width: 75%;
    }

    .conteudo {

        margin-left: 26%;
    }

}


@media (max-width: 991px) {

    #navbarNav #dropdown-m {
        flex-direction: column !important;
    }
}

@media (max-width: 947px) {

    .navbar {

        width: 100%;
    }

    .mensagem-dashboard {

        width: 50% !important;
        top: -17% !important;
    }

    .menu-toggle {

        display: none !important;
    }

    #logo-cabecalho {

        display: none;
    }

    #sub-menu {

        bottom: 0;
        position: fixed;
        z-index: 2;
        display: flex;
        flex-direction: row;
        background-color: #202020;
        width: 100%;
        height: 60px;
        box-shadow: none;
        max-width: none;

    }

    #sub-menu.open {

        width: 100%;

    }

    #sub-menu ul {

        width: 100%;
        justify-content: space-between;
        flex-direction: row !important;
    }

    #sub-menu .link {

        color: #f7f6f6;
        border-top: 4px solid #0690;
        border-left: none;
        border-bottom: none;
        font-weight: 500;
        padding-left: 0rem;
    }

    #sub-menu .link:hover {

        color: #f7f6f6;
        border-top: 4px solid #0690;
        border-left: none;
        border-top-left-radius: none;
        border-bottom-left-radius: none;
        background-color: #0690;
    }

    #sub-menu .link.active {

        color: #FFF;
        border-top: 4px solid #2F6AA6;
        border-left: none;
        border-top-left-radius: none;
        border-bottom-left-radius: none;
        background-color: #050505;
    }

    #sub-menu .nav-link {

        padding: 0.5rem !important;
    }

    .nav-item i {

        font-size: 1.7rem !important;
    }

    .nav-item span {

        display: none;
    }

    .conteudo {

        margin-left: 5%;
    }

    .title-dashboard {

        font-size: 2rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}

@media (max-width: 800px) {

    body #imagem,
    #fundo {
        display: none;
        width: 0%;
    }

    body #login {
        width: 100%;
    }


}


@media (max-width: 590px) {

    #dropdown-m #name {
        display: none;
    }

    .mensagem-dashboard {

        width: 75% !important;
    }

    .dropdown-menu #name2 {

        display: block;
    }
    
    .dropdown-menu[data-bs-popper] {
        left: -67px;
    }

    #sub-menu .nav-link {

        padding: 0.6rem !important;
    }

    .nav-item i {

        font-size: 1.5rem !important;
    }

}


@media (max-width: 500px) {

    .input-group>.form-control,
    .input-group>.form-floating,
    .input-group>.form-select {
        position: relative;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0
    }

    .input-group .btn {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .form-table {

        flex-direction: column !important;
    }
}

@media (max-width: 440px) {

    .input-ldata {
        flex-wrap: wrap;
    }

}



@media (max-width: 400px) { 

    .mensagem-aviso {

        width: 80% !important;
    }
}

@media (max-width: 349px) {

    #sub-menu .nav-link {

        padding: 0.90rem !important;
    }

    .nav-item i {

        font-size: 1.1rem !important;
    }

}