::-webkit-scrollbar {
    width: 10px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 0;
    background: #303e67;
}

body.dark-sidenav .left-sidenav .brand .logo .logo-lg.logo-light {
    display: inline-block !important;
}

.left-sidenav .brand .logo .logo-lg {
    height: 100px;
    margin-top: 5px;
    margin-left: 0;
}

.left-sidenav .brand {
    height: 120px;
}

@media (max-width: 1316px) {
    .left-sidenav {
        min-width: 250px;
        max-width: 250px;
    }
}

div.page-content {
    background-color: #f4f7fe;
}

div.page-wrapper .topbar {
    position: relative;
}

@media (max-width: 1317px) {
    div.page-wrapper .topbar {
        position: fixed;
    }
}

.footer {
    background: #fff;
}

@media (max-width: 1024px) {
    .page-wrapper .page-content {
        padding: 0 8px 100px 8px !important;
    }
}

label {
    font-size: 15px;
}

.form-control {
    font-size: 15px;
}

.left-sidenav-menu li>a,
.left-sidenav-menu li ul li>a {
    font-size: 14px;
}

.left-sidenav-menu li li>a i {
    min-width: 15px;
    max-width: 15px;
    width: 15px;
}

.left-sidenav-menu li ul {
    padding: 0 0 0 15px;
}

.financial-tables input[type="number"] {
    text-align: right;
}

.card .card-title {
    font-size: 18px;
    line-height: 25px;
    text-transform: uppercase;
    color: #1761fd !important;
}

body {
    font-size: .9375rem;
}

.btn:not(.btn-xs):not(.btn-sm):not(.btn-lg):not(.btn-xl) {
    font-size: .9375rem;
}

.select2.select2-container {
    width: 100% !important;
}

.is-invalid ~ .select2 .select2-selection {
    border: 1px solid #f5325c;
}

.multiselect {
    border: 1px solid rgb(227, 235, 246);
    border-radius: 5px;
}

.multiselect.is-invalid {
    border: 1px solid #f5325c;
}

.table.show-table tr:last-child td {
    border-bottom: 1px solid #eaf0f9 !important;
}

.form-control {
    line-height: 1.9 !important;
}

.badge {
    display: inline-block;
    padding: 0.5em 0.85em;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.475rem;
}

.badge-success {
    color: #fff;
    background-color: #50cd89;
}

.badge-danger {
    color: #fff;
    background-color: #f1416c;
}

.input-group-text {
    line-height: 2 !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    right: 5px;
}

.select2-container--open {
    z-index: 9999;
}

.sidebar-logo {
    height: 100%;
    width: auto;
    margin-top: 5px;
}

.topbar .creat-btn {
    display: block !important;
}

.form-switch .form-check-input {
    width: 3em !important;
    height: 1.5em !important;
    margin-right: 5px;
}

.activity-scroll {
    overflow-y: auto;
    height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important;
    padding-right: 8px;
}

.left-sidenav .menu-content {
    height: 100% !important;
}

.menu-content .simplebar-wrapper .simplebar-offset .simplebar-content-wrapper {
    height: calc(100% - 60px) !important;
}

/* ACTIVITY FEED SCROLL*/
.slimscroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 8px;
}
.slimscroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #F5F5F5;
}
.slimscroll::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #12a4ed ;
}

.navbar-custom .nav-link a.dropdown-item {
    line-height: 20px;
    max-height: 30px;
}

.btn-close {
    border-radius: 0.25rem;
    opacity: 1 !important;
}

/* USAGE: For input-group appended button on select2 dropdowns */
.input-group .select2.select2-container {
    width: calc(100% - 35px) !important;
}

.input-group .input-group-append.input-group-append-select2 {
    height: 38px !important;
    width: 35px !important;
}

.nav.nav-tabs .nav-link.active {
    font-size: 14px;
    font-weight: 600;
}

.table-wrapper {
    overflow-x: scroll !important;
    -webkit-overflow-scrolling: touch;
}

.notification-list .notification-menu {
    max-height: 300px;
    overflow-y: auto;
}

.page-wrapper {
    max-width: calc(100% - 230px) !important;
}

.enlarge-menu .page-wrapper {
    max-width: 100% !important;
}

@media (max-width: 1317px) {
    .left-sidenav .brand {
        text-align: center;
        display: block;
    }

    .page-wrapper {
        max-width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .left-sidenav .brand {
        text-align: center;
        display: block;
        width: 100%;
    }

    .activity-scroll {
        height: auto !important;
        min-height: 200px !important;
        max-height: 450px !important;
    }

    .navbar-custom .creat-btn div.nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-custom .creat-btn div.nav-link button.dropdown-toggle {
        font-size: 9px;
        padding: 3px;
    }
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left !important;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        width: 100% !important;
    }

    div.dataTables_wrapper div.dataTables_filter label input {
        width: calc(100% - 50px) !important;
    }
}

.fa-shake {
    -webkit-animation-delay: 0s;
        animation-delay: 0s;
    -webkit-animation-direction: normal;
        animation-direction: normal;
}

.fa-shake {
    -webkit-animation-name: fa-shake;
    animation-name: fa-shake;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@-webkit-keyframes fa-shake{
    0%{
        -webkit-transform:rotate(-15deg);
        transform:rotate(-15deg)
    }
    4%{
        -webkit-transform:rotate(15deg);
        transform:rotate(15deg)
    }
    8%,24%{
        -webkit-transform:rotate(-18deg);
        transform:rotate(-18deg)
    }
    12%,28%{
        -webkit-transform:rotate(18deg);
        transform:rotate(18deg)
    }
    16%{
        -webkit-transform:rotate(-22deg);
        transform:rotate(-22deg)
    }
    20%{
        -webkit-transform:rotate(22deg);
        transform:rotate(22deg)
    }
    32%{
        -webkit-transform:rotate(-12deg);
        transform:rotate(-12deg)
    }
    36%{
        -webkit-transform:rotate(12deg);
        transform:rotate(12deg)
    }
    40%,to{
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
    }
}

@keyframes fa-shake{
    0%{
        -webkit-transform:rotate(-15deg);
        transform:rotate(-15deg)
    }
    4%{
        -webkit-transform:rotate(15deg);
        transform:rotate(15deg)
    }
    8%,24%{
        -webkit-transform:rotate(-18deg);
        transform:rotate(-18deg)
    }
    12%,28%{
        -webkit-transform:rotate(18deg);
        transform:rotate(18deg)
    }
    16%{
        -webkit-transform:rotate(-22deg);
        transform:rotate(-22deg)
    }
    20%{
        -webkit-transform:rotate(22deg);
        transform:rotate(22deg)
    }
    32%{
        -webkit-transform:rotate(-12deg);
        transform:rotate(-12deg)
    }
    36%{
        -webkit-transform:rotate(12deg);
        transform:rotate(12deg)
    }
    40%,to{
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
    }
}

.remove-item-btn {
    height: min-content !important;
    margin-left: 4px !important;
    font-size: .71rem !important;
    margin-top: 6px !important;
}

.fs-4-5 {
    font-size: 1.03125rem !important;
}

.fs-7 {
    font-size: .6875rem !important
}

.revenue-font-size-1 {
    font-size: 1.2rem !important;
}

.revenue-font-size-2 {
    font-size: 1.025rem !important;
}

.revenue-font-size-3 {
    font-size: 1rem !important;
}

.revenue-font-size-4 {
    font-size: 0.9rem !important;
}

.text-italic {
    font-style: italic !important;
}

.text-justify {
    text-align: justify !important;
}

.table-border-top {
    border-top: 2px solid #c7c7c7 !important;
}

.table-border-right {
    border-right: 2px solid #c7c7c7 !important;
}

.table-border-bottom {
    border-bottom: 2px solid #c7c7c7 !important;
}

.table-border-left {
    border-left: 2px solid #c7c7c7 !important;
}

.text-soft-info {
    color: #82d5ff !important;
}

.text-soft-pink {
    color: #ff91c5 !important;
}

[v-cloak] {
    display: none !important;
}

.account-body .card{
    border-radius: 25px;
}

.account-body .card .card-body:first-of-type {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.account-body .card .card-body:last-of-type {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.select2-results__option.select2-results__option--highlighted .custom-select-2-span {
    color: #fff !important;
}

.table-scroll {
    position: relative;
    width:100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    max-height: 800px;
}

.table-scroll table {
    width: 100%;
    min-width: 1280px;
    margin: auto;
    table-layout: fixed;
}

.table-scroll th,
.table-scroll td {
    padding: 5px 10px;
}
.table-scroll thead th {
    background: #d1dfff;
    position: -webkit-sticky;
    position: sticky;
    top: -5px;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: -5px;
    z-index: 4;
}

.table-scroll th:first-child,
.table-scroll td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: -17px;
    z-index: 4;
}

.table-scroll thead th:first-child,
.table-scroll tfoot th:first-child {
    z-index: 5;
}

.table-scroll table td.economic-account-group-td:first-child  {
    background-color: rgba(247,248,251,255) !important;
}

.table-scroll table td.economic-account-td:first-child  {
    background-color: #FFFFFF !important;
}

.revenues-table-scroll {
    position: relative;
    width:100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    max-height: 800px;
}

.revenues-table-scroll table {
    width: 100%;
    min-width: 1280px;
    margin: auto;
    table-layout: fixed;
}

.revenues-table-scroll th,
.revenues-table-scroll td {
    padding: 5px 10px;
}
.revenues-table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    top: -5px;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.revenues-table-scroll tfoot,
.revenues-table-scroll tfoot th,
.revenues-table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: -5px;
    z-index: 4;
}

.revenues-table-scroll th:first-child,
.revenues-table-scroll td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: -17px;
    z-index: 4;
}

.revenues-table-scroll thead th:first-child,
.revenues-table-scroll tfoot th:first-child {
    z-index: 5;
}

.revenues-table-scroll table td.parent-revenue-category:first-child  {
    background-color: rgb(247,248,251,255) !important;
}

.revenues-table-scroll table td.child-revenue-category:first-child  {
    background-color: #FFFFFF !important;
}
