#global-loader {
    position: fixed;
    z-index: 50000;
    background: url('../images/loader.svg') no-repeat 50% 50% rgba(255, 255, 255);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}

/* Login Page */
.login-page {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 75vh;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: lightgray;
}

.os-viewport {
    bottom: 10px;
}

.login-image {
    width: 100%;
    height: 100%;
    padding: 40px 20px 20px 30px;
    margin-top: 0px;
}

.login-form {
    background: white;
    width: 100%;
    height: 100%;
    padding: 30px 20px 20px 30px;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #800080;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.bg-gradient-primary {
    background: #800080 linear-gradient(
180deg
,#800080,#800080) repeat-x!important;
    color: #fff;
}

.bg-gradient-primary.btn:hover {
    background: #aa02aa linear-gradient(
180deg
,#aa02aa,#aa02aa) repeat-x!important;
    border-color: #aa02aa;
    color: #ececec;
}

/* nav bar */

.user-panel {
    overflow: hidden;
    white-space: nowrap;
    top: -7px;
}

.user-panel-dropdown {
    margin-left: -2.5rem;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #800080;
}

/* side bar */
.brand-link {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    padding: .55rem .5rem;
    transition: width .3s ease-in-out;
    white-space: nowrap;
}
.brand-link.text-sm .brand-image,
.text-sm .brand-link .brand-image {
    margin-bottom: unset;
    margin-top: unset;
}
.sidebar-dark-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active {
    border-color: #800080;
    background-color: #800080;
}

.text-sm .nav-link {
    padding: 0.4rem 0.2rem;
}

.nav-sidebar .menu-is-opening>.nav-link i.right, .nav-sidebar .menu-open>.nav-link i.right {
    transform: rotate(-180deg);
}

.nav .nav-treeview a{
    padding-left: 15px;
}

.sidebar-dark-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active {
    margin-bottom: 2px;
}

.nav-sidebar>.nav-item .nav-icon.fa,
.nav-sidebar>.nav-item .nav-icon.fab,
.nav-sidebar>.nav-item .nav-icon.fad,
.nav-sidebar>.nav-item .nav-icon.fal,
.nav-sidebar>.nav-item .nav-icon.far,
.nav-sidebar>.nav-item .nav-icon.fas,
.nav-sidebar>.nav-item .nav-icon.ion,
.nav-sidebar>.nav-item .nav-icon.svg-inline--fa {
    font-size: .8rem;
}

[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link:focus,
[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link:hover {
    background-color: rgba(255, 255, 255, .9);
    color: #343a40;
}

.nav .nav-treeview>.nav-item{
    padding: 2px 5px;
}

/*Datatable*/
.table td, .table th {
    padding: 3px 10px;
    vertical-align: unset;
}

table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>th:first-child:before {
    top: 7px !important;
}
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before {
    margin-top: 0px !important;
}

table.dataTable tfoot th {
    border-top: 1px solid #800080;
    border-bottom: 1px solid #800080;
}
table.dataTable tfoot .no-right-border {
    border-right: 0;
}

.page-item.active .page-link {
    background-color: #800080;
    border-color: #800080;
}

.selected-row{
    background-color: #E9ECEF;
}

.page-link {
    color: #800080;
}
.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #800080;
}

.page-link:hover {
    color: #dd09dd;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before {
    top: 30% !important;
    background-color: #800080 !important;
}

/* form */
.input-form-heading{
    /* font-weight: bold; */
    width: 10rem;
}


/* Date Picker */

.mx-datepicker {
    width: 100% !important;
}

.mx-input {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.mx-input:hover, .mx-input:focus {
    border-color: #800080 !important;
}

.mx-datepicker:focus, .mx-input-wrapper:focus{
    border-color: #800080 !important;
    outline-color: #800080 !important;
}

/* .mx-table-date .today {
    color: #800080 !important;
} */

.mx-calendar-content .cell.active {
    background-color: #800080 !important;
}

/* general */

a {
    color: #800080;
}

a:hover {
    color: #350435;
    text-decoration: none;
}

.btn-primary {
    background-color: #800080;
    border-color: #800080;
    box-shadow: none;
    width: 100px;
}
.btn-outline-primary {
    color: #800080 !important;
    border-color: #800080 !important;
    background-color: #fff !important;
}

.btn-outline-primary:focus{
    color: #fff !important;
    background-color: #dd09dd !important;
    border-color: #dd09dd !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #dd09dd !important;
    border-color: #dd09dd !important;
}

.btn-primary:hover {
    background-color: #dd09dd;
    border-color: #dd09dd;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #dd09dd;
    border-color: #dd09dd;
}

.btn-primary.focus, .btn-primary:focus {
    background-color: #dd09dd;
    border-color: #dd09dd;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #800080;
    border-color: #800080;
}

.text-primary {
    color: #800080 !important;
}

.loading-center{
    position: fixed;
    z-index: 9999;
    top: 40%;
    left: 50%;
}
.screen-opacity{
    opacity: .3;
}

.custom-control-input-primary:checked~.custom-control-label::before {
    border-color: #800080 !important;
    background-color: #800080 !important;
}

.modal-footer {
    justify-content: flex-start;
}

.border-primary {
    border-color: #800080!important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #800080;
}

.nav-pills .nav-link:not(.active):hover {
    color: #800080;
}

/* multiselect */

.multiselect__tags {
    color: #800080;
}
.multiselect__content-wrapper {
    position: absolute;
    display: block;
    background: #fff;
    width: 100%;
    max-height: 350px !important;
    overflow: auto;
    border: 1px solid #ccc;
    border-top: none;
    /* border-bottom-left-radius: 5px; */
    /* border-bottom-right-radius: 5px; */
    z-index: 50;
    -webkit-overflow-scrolling: touch;
}
/*.ledger-report .multiselect__content-wrapper {*/
/*    width: 550px;*/
/*}*/

.multiselect__option {
    padding: 5px 10px !important;
    min-height: 25px !important;
    line-height: 15px !important;
    margin: 5px 10px;
}

.multiselect__option--selected.multiselect__option--highlight {
    background: #800080 !important;
    color: #fff;
}


.multiselect__option--highlight {
    background: #800080 !important;
    outline: none;
    color: #fff;
}

.multiselect__tag {
    background: #800080 !important;
}

.multiselect-account-option-code{
    min-width: 7rem;
}
.multiselect-account-option-title{
    min-width: 18rem;
}
.multiselect-account-option-head-name{
    min-width: auto;
}

.multiselect, .multiselect--active:focus{
    border-color: #800080 !important;
    outline-color: #800080 !important;
}
.multiselect--disabled {
    background: #ededed !important;
    pointer-events: unset !important;
    opacity: .7 !important;
    cursor: not-allowed !important;
}

.multiselect--disabled .multiselect__current, .multiselect--disabled .multiselect__select {
    background: #ededed !important;
    pointer-events: unset !important;
    cursor: not-allowed !important;
}
.multiselect--disabled .multiselect__tags, .multiselect--disabled .multiselect__single {
    background: #ededed !important;
}

.post-dated-cheque-input .multiselect__content-wrapper {
    max-height: 250px !important;
}

.layout-footer-fixed .wrapper .content-wrapper {
    padding-bottom: unset
}
.treeselect-invalid-border .vue-treeselect__control{
    border-color: #dc3545;
}
/* Treeselect */


.is-invalid-input-no-icon{
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-image: unset;
    background-repeat: unset;
    background-position: unset;
    background-size: unset;
}

.is-invalid-text {
    position: absolute;
    font-size: 80%;
    width: 100%;
    color: #dc3545;
}

/* remove input type number arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

.modal .overlay {
    border-radius: 0.25rem;
    align-items: center;
    background-color: #fff;
    display: flex;
    justify-content: center;
    z-index: 50;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    pointer-events: auto;
}

.table-action-buttons .dropdown-menu {
    padding: .5rem
}

.tbl-selected-row {
    background-color: #ECECEC;
    color: #000;
}
.w-rem-1 {
    width: 1rem;
}

.w-rem-2 {
    width: 2rem;
}

.w-rem-3 {
    width: 3rem;
}

.w-rem-4 {
    width: 4rem;
}

.w-rem-5 {
    width: 5rem;
}

.w-rem-6 {
    width: 6rem;
}

.w-rem-7 {
    width: 7rem;
}

.w-rem-8 {
    width: 8rem;
}

.w-rem-9 {
    width: 9rem;
}

.w-rem-10 {
    width: 10rem;
}

.w-rem-11 {
    width: 11rem;
}

.w-rem-12 {
    width: 12rem;
}

.w-rem-13 {
    width: 13rem;
}

.w-rem-14 {
    width: 14rem;
}

.w-rem-15 {
    width: 15rem;
}

.w-rem-16 {
    width: 16rem;
}

.w-rem-17 {
    width: 17rem;
}

.w-rem-18 {
    width: 18rem;
}

.w-rem-19 {
    width: 19rem;
}

.w-rem-20 {
    width: 20rem;
}

.w-rem-21 {
    width: 21rem;
}

.w-rem-22 {
    width: 22rem;
}

.w-rem-23 {
    width: 23rem;
}

.w-rem-24 {
    width: 24rem;
}

.w-rem-25 {
    width: 25rem;
}

.w-rem-26 {
    width: 26rem;
}

.w-rem-27 {
    width: 27rem;
}

.w-rem-28 {
    width: 28rem;
}

.w-rem-29 {
    width: 29rem;
}

.w-rem-30 {
    width: 30rem;
}

.w-rem-31 {
    width: 31rem;
}

.w-rem-32 {
    width: 32rem;
}

.w-rem-33 {
    width: 33rem;
}

.w-rem-34 {
    width: 34rem;
}

.w-rem-35 {
    width: 35rem;
}

.w-rem-36 {
    width: 36rem;
}

.w-rem-37 {
    width: 37rem;
}

.w-rem-38 {
    width: 38rem;
}

.w-rem-39 {
    width: 39rem;
}

.w-rem-40 {
    width: 40rem;
}

.w-rem-41 {
    width: 41rem;
}

.w-rem-42 {
    width: 42rem;
}

.w-rem-43 {
    width: 43rem;
}

.w-rem-44 {
    width: 44rem;
}

.w-rem-45 {
    width: 45rem;
}

.w-rem-46 {
    width: 46rem;
}

.w-rem-47 {
    width: 47rem;
}

.w-rem-48 {
    width: 48rem;
}

.w-rem-49 {
    width: 49rem;
}

.w-rem-50 {
    width: 50rem;
}


#custom-content-above-tab.nav-tabs .nav-item .nav-link {
    padding: 0.4rem 0.8rem;
}
#custom-content-above-tab.nav-tabs .nav-item .nav-link:hover {
    border-bottom: 0;
}
#custom-content-above-tab.nav-tabs .nav-item .nav-link.active {
    border-top: 3px solid #800080;
}

.btn-group .btn{
    width: 100px;
    border: 1px solid #ccc
}
.btn-group .btn:hover{
    background-color: #dd09dd;
    border-color: #dd09dd;
    color: #fff
}
.btn-group .btn.active{
    background-color: #800080;
    border-color: #800080;
    color: #fff
}

.custom-file-input:focus~.custom-file-label{
    color: #495057;
    background-color: #fff;
    border-color: #800080;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.validation-date-picker-border .mx-input-wrapper .mx-input {
    border-color: #dc3545;
}