body {
    background: #f7f9fc;
    min-width: 991px;
}

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

.sidebar {
    background: #F2BC00;
    direction: ltr;
    max-width: 260px;
    min-width: 260px;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
}

body:not([data-sidebar-position=right]) .sidebar.collapsed {
    margin-left: -260px;
}

@media (min-width: 1px) and (max-width: 991.98px) {
    body .sidebar {
        margin-left: -260px;
    }

    body:not([data-sidebar-position=right]) .sidebar.collapsed {
        margin-left: 0;
    }
}

.sidebar-content {
    height: 100vh;
    left: 0;
    position: sticky;
    top: 0;
}

.sidebar-logo {
    display: flex;
    height: 68px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    background: #ffc600;
    box-shadow: 0 0 2rem 0 rgb(41 48 66 / 10%);
}

.sidebar-logo__f {
    color: #fff;
}

.sidebar-logo__l {
    margin-left: 4px;
}

.sidebar-menu {
    position: relative;
    height: calc(100vh - 68px);
    padding: 12px 0;
    overflow: auto;
}

.sidebar-menu::-webkit-scrollbar {
    -webkit-appearance: none;
    background: #FFC600;
    width: 6px;
    height: 6px;
}


.sidebar-menu::-webkit-scrollbar-thumb {
    background-color: #C09600;
}

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

.sidebar-menu .menu-item a {
    display: flex;
    padding: 10px 26px;
    text-decoration: none;
    color: #000;
}

.sidebar-menu .menu-item a:hover {
    /*color: #fff;*/
    background: #D8A800;
}

.menu-link__icon {
    display: flex;
    width: 26px;
    height: 26px;
    align-items: center;
}

.menu-text {
    margin-left: 5px;
}

.sidebar-menu .menu-item-active {


}

.sidebar-menu .menu-item-active a,
.sidebar-menu .menu-item-active a:hover {
    color: #fff;
    background: #000;
}

.sidebar-menu .menu-badge {
    margin-left: auto;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
    width: 100%;
}

.navbar-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding: 14px 20px;
    box-shadow: 0 0 2rem 0 rgb(41 48 66 / 10%);
}

.sidebar-toggle {
    cursor: pointer;
    display: flex;
    height: 26px;
    width: 26px;
    margin-right: 16px;
}

.hamburger {
    position: relative;
}

.hamburger, .hamburger:after, .hamburger:before {
    background: #495057;
    border-radius: 1px;
    content: "";
    cursor: pointer;
    display: block;
    height: 3px;
    transition: background .1s ease-in-out, color .1s ease-in-out;
    width: 24px;
}

.hamburger:before {
    position: absolute;
    top: -8px;
    width: 20px;
}

.hamburger:after {
    bottom: -8px;
    position: absolute;
    width: 16px;
}

.input-group-navbar .btn,
.input-group-navbar .form-control {
    background: #f3f6fb;
    border: 0;
    box-shadow: none;
    height: 40px;
    padding: 6px 12px;
    color: #495057;
}

.header-search {
    width: 100%;
    padding-right: 20px;
}

.header-search input:focus {
    background-color: #fff;
    outline: 1px solid #86b7fe;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.header-user {
    display: flex;
}

.header-user__photo {
    color: #495057;
}

.content {
    direction: ltr;
    flex: 1;
    padding: 20px 40px;
}



@media (max-width: 993px) {
    .content {
        padding: 20px 10px;
    }

    body:not([data-sidebar-position=right]) .sidebar.collapsed + .main .content {
        padding: 20px 20px;
    }
}

.footer {
    background-color: #f5f5f5;
    padding: 8px 12px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.form-group.has-error .help-block {
    color: #ff4000;
    font-size: 12px;
}

.dropdown .dropdown-menu.show {
    animation-duration: .5s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: dropdownAnimation;
    animation-timing-function: ease;
}

@keyframes dropdownAnimation {
    0% {
        opacity: 0;
        transform: translateY(-8px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

h1 {
    color: #495057;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    font-size: 22px;
}

.pane {
    box-shadow: 0 0 0.875rem 0 rgb(41 48 66 / 5%);
    border-radius: 4px;
    border: none;
    background: #fff;
}

.pane-p {
    padding: 20px;
}

.table-grid {
    width: 100%;
    border: none;
    font-size: 14px;
}

.table-grid th,
.table-grid td {
    border: 0;
    border-bottom: 1px #DEE6ED solid;
    padding: 12px;
}

.table-grid th {
    color: #6c757d;
}

.table-grid th a {
    color: #6c757d;
    text-decoration: none;
}

.table-grid th:first-child,
.table-grid td:first-child {
    padding-left: 20px;
}

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

.table-grid tbody tr:last-child td {
    border-bottom: 0;
}

.table-grid thead .form-check {
    margin: 0;
    min-height: 0;
}

.table-grid tbody .form-check {
    margin: 0;
    min-height: 0;
}

.table-grid tbody tr:hover td {
    background: #F4F7F9;
}

.pagination {
    margin: 20px 0 0 20px;
}

.pagination li span {
    padding: 0.375rem 0.75rem;
    position: relative;
    display: block;
    color: #0d6efd;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-item:first-child span {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child span {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.form-group {
    margin-bottom: 15px;
}

.required label:not(.checkbox):not(.radio):not(.form-check-label):after {
    content: " *";
    /*color: #ed5565;*/
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #FFC600;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #FFC600 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

hr {
    background: #DEE6ED;
    opacity: 1;
}

.relation-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.relation-table > thead th,
.relation-table > tbody td {
    vertical-align: top;
    padding: 10px 13px;
    border-bottom: 1px solid #ECF0F3;
}

.relation-table > tbody tr:last-child td {
    border-bottom: 0;
}

.relation-table > thead th {
    color: #B5B5C3;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
}

.relation-table > thead th:first-child,
.relation-table > tbody td:first-child {
    padding-left: 0;
}

.relation-table > thead th:last-child,
.relation-table > tbody td:last-child {
    padding-right: 0;
    text-align: right;
}

.relation-table > thead th a {
    color: #B5B5C3;
}

.relation-table__ctrl--sort {
    cursor: move;
}

.relation-table .form-group {
    margin: 0;
}

.relation-table__empty-row {

}

.relation-table__empty-row span {
    display: block;
    padding: 80px 0;
    text-align: center;
    color: #cccccc;
    font-size: 14px;
}

.relation-table .form-check {
    margin: 0;
    min-height: 0;
    font-size: 14px;
}

.btn-move {
    cursor: move;
}

.sortable-chosen {
    background: #3699FF;
}

.hidden {
    display: none;
}

.feather {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}