body,
html {
    height: 100%;
    display: grid;
    font-size: 14px;
}

.wrap,
.wrap-inner {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrap-inner {
    display: flex;
    height: 100%;
}

.sidebar {
    background: #232E3C;
    transition: all 300ms;
    width: 260px;
    height: 100%;
    color: white;
}

.sidebar-inner {
    padding: 20px;
    position: relative;
}

.sidebar.hide {
    transform: translateX(-100%);
    opacity: 0;
    width: 0;
    padding: 0;
    pointer-events: none;
}

.sidebar.hide .sidebar-inner {
    padding: 0;
}

.content {
    background-color: #F4F6FA;
    width: 100%;
    position: relative;
    z-index: 3;
}

.content-inner {
    padding: 20px;
    min-height: calc(100vh - 70px - 50px);
}

.navbar-header {
    background-color: #FFFFFF;
    padding: 18px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 70px;
}

.footer-bar {
    font-size: 12px;
    background-color: #FFFFFF;
    padding: 18px;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.footer-bar p {
    margin-bottom: 0;
}

.navbar-header-left,
.footer-bar-left {
    width: 100%;
}

.navbar-header-right,
.footer-bar-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

button.toggle-dropdown {
    border: none;
    background-color: transparent;
    padding: 0;
}

.sidebar-accordion .accordion-item,
.sidebar-accordion .accordion-item:first-of-type .accordion-button,
.sidebar-accordion .accordion-item .accordion-collapse .accordion-item:last-of-type .accordion-collapse,
.sidebar-accordion .accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 0;
    border: none;
    background-color: transparent;
}

.sidebar-accordion .accordion-button {
    background-color: #3d4d61;
    box-shadow: none;
    color: white;
}

.sidebar-accordion .accordion-item .accordion-collapse,
.sidebar-accordion .accordion-item:last-of-type .accordion-collapse {
    border: none;
}

.sidebar-accordion .accordion-button::after {
    background-image: url('../../img/chevron-white.svg');
    background-position: center;
    background-size: 60%;
}

.sidebar-accordion .accordion-body {
    background-color: #3d4d61;
}

.sidebar-accordion i {
    margin-right: 10px;
    min-width: 24px;
}

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

.sidebar-nav li {
    line-height: 2;
    position: relative;
    padding-left: 15px;
    transition: all 200ms;
}

.sidebar-title {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.sidebar-title:hover {
    color: white;
}

.sidebar-nav li:before {
    content: '';
    background-image: url('../../img/chevron-white.svg');
    background-position: center;
    background-size: 60%;
    transform: rotate(90deg);
    position: absolute;
    left: -2px;
    top: 12px;
    width: 14px;
    height: 10px;
    background-repeat: no-repeat;
}

.sidebar-nav li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-nav li:hover {
    transform: translateX(8px);
}

.sidebar-link {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    display: inline-block;
    width: 100%;
    transition: all 200ms;
    position: relative;
}

.sidebar-link span {
    position: relative;
    z-index: 1;
}

.sidebar-link:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #3d4d61;
    width: 0;
    height: 100%;
    transition: all 200ms;
}

.sidebar-link:hover {
    color: white;
}

.sidebar-link:hover:before {
    width: 100%;
}

.sidebar-link i {
    margin-right: 6px;
    min-width: 24px;
}

.sidebar-close-icon {
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
}

@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        height: 100%;
        z-index: 5;
        width: 100%;
    }
    .sidebar-close-icon {
        display: block;
    }
}

table.responsive {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table.responsive tr {
    padding: 7px;
    transition: .3s;
}

table.responsive tbody tr:nth-child(odd) {
    background: #f1f1f1
}

table.responsive tbody tr:hover {
    background-color: #dedede;
}

table.responsive th,
table.responsive td {
    padding: 10px 8px;
}

@media screen and (max-width: 991px) {
    table.responsive {
        border: 0;
    }

    table.responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.responsive tr {
        border-bottom: 3px solid #ddd;
        display: block;
    }

    table.responsive td {
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table.responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
}

a {
    color: #004C9B;
}

@media(min-width: 991px) {
    table.responsive tr th:first-child,
    table.responsive tr td:first-child {
        padding-left: 20px;
    }

    table.responsive tr th:last-child,
    table.responsive tr td:last-child {
        padding-right: 20px;
    }

    table.responsive:not(.no-options) tr td:last-child {
        white-space: nowrap;
        width: 1px;
    }

    table.responsive:not(.no-options) tr td:last-child {
        text-align: right;
    }
}

label.disabled {
    color: #a4a4a4;
    font-style: italic;
}

.form-check-input.disabled:checked {
    background-color: #a4a4a4;
    border-color: #a4a4a4;
}

h2.hr {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 30px 0;
}

h2.hr span {
    background:#fff;
    padding:0 10px;
    text-transform: uppercase;
}

.note-editor .dropdown-toggle::after {
    display: none;
}
