body {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    background-color: #f8f9fa;
}

.modal-content {
    border-radius: 0 !important;
}

.sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -240px;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
    .sidebar.show {
        left: 0;
    }
.sidebar-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 60px;
    padding: 0;
    border: none;
    background: #212529;
    color: #fff;
    z-index: 1050;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}
/* rotação da seta */
.sidebar.show + .sidebar-toggle i {
    transform: rotate(180deg);
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
    font-size: 14px;
}
main {
    transition: margin-left 0.3s ease;
}
    main.shifted,
    footer.shifted,
    .sidebar-toggle.shifted {
        margin-left: 240px;
    }
    .sidebar a,
    .sidebar a.active {
        color: #153B7B !important;
        text-decoration: none;
    }

    .sidebar .img-responsive {
        max-width: 100%;
    }

    .sidebar .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 0.5rem;
        transition: background-color 0.2s;
    }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            background-color: rgba(255, 255, 255, 0.2);
        }

main {
    flex: 1;
    padding: 2rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

.logo span img
{
    max-width: 70%;
    display: block;
    text-align: center;
    margin: auto;
    padding: 7px 0px;    
}
.logo{
    border-bottom: 1px solid #313a46;
}
.side-nav
{
    margin-top: 7px;
}
.text-right {
    text-align: right !important;
}

.hide
{
    display: none;
}
.form-control[readonly] {
    background-color: #f8f9fa;
    opacity: 1;
    cursor: not-allowed;
}
