/*Global Ajax Loader*/
#ajax-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.8;
    z-index: 9999;
    visibility: hidden;
}

/*Form validation */
.input-error-block {
    display: block;
    margin-top: 0.25rem;
    color: #f2426d;
}

.input-error-block  ul {
    margin: 0;
    padding-left: 1.25rem;
}

.input-error-block  li {
    list-style: none;
    line-height: 24px;
}

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

/* Side bar customization*/
.nav-icon{
    font-size: 1.3rem !important;
    color: #a1a4b5 !important;
}
.sidebar-menu li a:hover .nav-icon {
    color: var(--primary-color) !important;
}

.theme-primary .btn-primary-light{
    font-size: 1.3rem !important;
    background-color: transparent;
    border-color: transparent;
    color: #475F7B;
    line-height: normal;
}
.theme-primary .btn-primary-light:hover{
    background-color: var(--primary-hover-color) !important;
    border-color: var(--primary-hover-color) !important;
    color: #ffffff;
}
.theme-primary.light-skin .sidebar-menu > li.active.treeview > a > i {
    color: var(--primary-color) !important;
}
.theme-primary.light-skin .sidebar-menu > li.active.treeview > a:hover {
    color: var(--primary-color) !important;
}

/*Data tables*/
.custom-datatable-wrapper .dt-buttons .buttons-collection {
    /*background-color: #E6E6E6 !important;*/
    /*color: #172B4C !important;*/
    font-weight: 500 !important;
    border-radius: 0 !important;
}

.custom-datatable-wrapper .dt-buttons .buttons-collection {
    top: 7px !important;
}

.custom-datatable-wrapper .dt-buttons .dt-button {
    /*background-color: var(--primary-bg) !important;*/
    /*color: var(--primary-color) !important;*/
    /*border-color: var(--primary-color) !important;*/
    font-weight: 400;
    border-radius: 5px;
    transition: 0.15s linear;
    background: linear-gradient(45deg,transparent, transparent);
}

.custom-datatable-wrapper .dt-buttons .dt-button:hover {
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
     text-align: left !important;
}

/*Product */
.custom-product-width-1{
    width: 30%;
}

.custom-product-width-2{
    width: 70%;
}

.custom-product-input, .custom-product-select {
    height: 46px;
}

.custom-order-input, .custom-order-select {
    height: 46px;
}

/* remove bottom cell borders on the last row of our variants table */
.child-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.child-table tbody tr td a {
    color: var(--primary-color);
    font-size: 16px;
}

.child-table tbody tr td a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/*Sidebar single tab active*/
.treeview-menu .active i {
    color: var(--primary-color) !important;
}

/* custom input and select fields */
.custom-input,
.custom-select {
    height: 46px;
}

/* custom sku suggestions */
.line-item-btn{
    margin-bottom: 24px;
}

.dropdown-menu.sku-suggestions {
    max-height: 200px;
    width: 100% !important;
    margin-top: 5px;
    overflow-y: auto;
    z-index: 1050;
}

.custom-dropdown-item{
    width: 97% !important;
}

/* custom date range btn */
.custom-btn-date-range{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
}

/* custom checkbox label color */
.custom-check-label-color{
    color: #212529 !important;
}

.disabled-input-field{
    background-color:#e9ecef !important;
    opacity:1;
    cursor:not-allowed;
}

.sidebar-menu > li.treeview.menu-open > a, .sidebar-menu > li.treeview.menu-open > a > i, .theme-primary.light-skin .sidebar-menu > li.active > a:first-child > i {
    color: var(--primary-color) !important;
}

.btn-pink-primary {
    color: var(--primary-color) !important;
    background-color: var(--primary-bg) !important;
    border-color: var(--primary-border) !important;
}
.text-pink-primary{
    color: var(--primary-color) !important;
}
.btn-pink-primary:hover {
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.nav-tabs .nav-link{
    background-color: #ffffff !important;
    border-color: var(--primary-border) !important;
    color: var(--primary-color) !important;
}

.modal-header .text-muted, .card-header:first-child, .select2-container--default .select2-selection--multiple .select2-selection__clear, td.sorting_1 a{
    color: var(--primary-color) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color: white !important;
}
.select2-container--default .select2-selection--multiple, div.dt-container , .theme-primary .form-control:focus{
    border-color: var(--primary-border) !important;
}
[type="checkbox"] + label:before, [type="checkbox"]:not(.filled-in) + label:after{
    border: 1px solid var(--primary-light) ;
}
div.dt-container .dt-search input:focus-visible{
    outline: 0 !important;
}
td.sorting_1 a{
    font-size: 16px !important;
}
td.sorting_1 a:hover{
    text-decoration: underline;
}
.theme-primary .form-control, .form-control, .form-select{
    background: transparent !important;
    border-color: var(--primary-border) !important;
}

table.dataTable thead th, table.dataTable tfoot th {
    color: var(--text) !important;
}

.box-body-primary {
 background-color: var(--primary-bg);
 border: 1px solid var(--primary-border);
}

.box-body-secondary {
    background-color: var(--secondary-bg);
    border: 1px solid var(--secondary-border);
}

.box-body-primary .box-title {
    color: var(--primary-color);
    font-weight: 700;
}

.box-body-secondary .box-title {
    color: var(--secondary-color);
    font-weight: 700;
}

.custom-datatable-wrapper .dt-buttons .dt-button:hover span.dt-button-down-arrow {
    opacity: 1 !important;
    color: #ffffff !important;
}

.theme-primary .btn-info.custom-btn-date-range {
    background-color: #ffffff !important;
    border-color: var(--primary-light) !important;
    color: #7e8299 !important;
}

.theme-primary .btn-info.custom-btn-date-range:hover{
    background-color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: none;
    color: #7e8299 !important;
}

.swal2-container .swal2-title{
    color: var(--primary-color);
}

.import-channel-card-footer{
     background: var(--secondary-bg) !important;
 }

.import-channel-card-footer-label{
     color: var(--secondary-color) !important;
 }

.import-channel-card-footer-icon{
     color: var(--secondary-color) !important;
 }


/* Data Table sorting */
.custom-datatable-wrapper table td a.product-modal,
.custom-datatable-wrapper table td a.view-contact-details,
.custom-datatable-wrapper table td a.order-detail-modal
{
    color: var(--primary-color) !important;
    font-size: 16px !important;
}
div.dt-processing>div:last-child>div{
    background: var(--primary-light) !important;
}

.theme-primary .btn-success:disabled {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    opacity: 0.5;
}