@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
.brand-link{background-color: #fff;text-align: center;}
/*[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-treeview{background-color: #00000026;}
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover{
    background-color: rgba(255,255,255,.1);
    color: #ffffff;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active{
    background-color: rgba(255,255,255,.1);
    color: #ffffff;
    border-radius: 0;
}
.os-content{padding: 0!important;}
.nav-sidebar .nav-item>.nav-link{width: 100%;}
.nav-sidebar>.nav-item .nav-icon{font-size: 1rem;}
.card-outline-tabs>.card-header a.active, .card-outline-tabs>.card-header a.active:hover{
    border-top: 3px solid transparent;
    border-right-color: transparent !important;
    border-left-color: transparent !important;
    border-bottom-color: rgb(222, 226, 230);
    border-bottom: 3px solid;
    font-weight: 600;
}
.nav-tabs .nav-item{width: 25%;}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{border-color: transparent;}
.card-outline-tabs .card-header a{color: #2c2c2c;border-top: 3px solid transparent;}
.card-outline-tabs .card-header a:hover{border-top: 3px solid transparent}
.table tbody td, .table thead th {
    vertical-align: middle;
    padding: 0.4rem 0.5rem;
    font-size: 14px;
}
.table td img {
    width: 50px;
    height: 50px;
    !* border-radius: 50%; *!
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
    margin-bottom: 0.2rem;
}
!* .search-table, div.dataTables_wrapper div.dataTables_filter input{
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
}
.search-table:focus{
    border-bottom: 1px solid #777;
} *!
.page-item.active .page-link{
    background-color: #343a40;
    border-color:#343a40 ;
}
.form-control:focus{border-color:#343a40 ;}
p{
    color: #8b8b8b;
    font-size: 14px;
}
.nav-sidebar .nav-link p{color: #c2c7d0;
    font-size: 16px;}

.icheck-primary>input:first-child:checked+input[type=hidden]+label::before,
.icheck-primary>input:first-child:checked+label::before{
    background-color: #343a40;
    border-color: #343a40;
}*/
.table-filter{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Upload Images */
.upload-block .upload__inputfile{
    display: none;
}
.upload-block .img-upload{
    background-color: transparent;
    border: 1px solid #ced4da;
    color: #495057;
    font-size: 14px;
    padding: 8px 15px;
    display: block;
    /* width: 25%; */
    border-radius: 5px;
    margin: 0;
    text-align: center;
    font-weight: 500 !important;
}
.upload-actions{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.upload-actions li a {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #E5E5E5;
    color: #212529;
}
.upload-actions li .file-upload{
    padding: 20px;
}
.upload-actions li .file-upload .img-upload{display: flex;justify-content: space-between;width: 100%;}
.upload-actions li .file-upload input{
    display: none;
}
.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -10px 0;
}
.upload__img-box {
    width: 134px;
    padding: 0;
    margin: 15px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 0;
    cursor: pointer;
}
.upload__img-close:after {
    content: "✖";
    font-size: 14px;
    color: white;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}
.repeater .select2 .select2-selection{width: 100% !important;}


.customer-select .form-group {
    margin-bottom:8px;
}

.invoice-tool-bg{
    background-color: #d4d4d4;
}

.invoice-line-items-table > .invoice{
    width: 100%;
}

.invoice-line-items-table{
    height: auto !important;
}

.itemDescription{
    font-size: 16px;
    font-weight: bold;
}

.invoice-line-items-table td input{
    background-color: #fff !important;
    border: 0px;
    height: 24px;

}

.invoice-line-items-table .amountInput{
    text-align: end;
    padding-right: 0px;
}

.adjust-check input{
    width: 20px;
    height: 20px;
}

.adjust-check label{
    margin-left: 8px;
    margin-top: 2px;
}
.invoice-tool-bg td, .invoice-tool-bg th {
    border-color: #b1b1b1 !important;
}

@media (max-width: 787px) and (min-width: 320px){
    .table-filter{
        display: block;
    }
    .select2.select2-container{margin-bottom: 15px}
    .repeater .select2 .select2-selection {
        width: 100% !important;
    }
}

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link,
.sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link,
.sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link {
    width: 4.71rem;
}


.sidebar-collapse.sidebar-mini .main-sidebar .brand-link .brand-image{
    width: 4rem;
    margin-left: -0.3rem;
}

.sidebar-mini.sidebar-collapse.layout-fixed .main-sidebar:hover .brand-link .brand-image{
    width: auto;
}

.sidebar-mini.sidebar-collapse.layout-fixed .main-sidebar:hover .nav-sidebar .nav-item>.nav-link{
    width: 100%;
}

.table-full-width {
    width: 100% !important;
}

.logo-150 {
    width: 150px;
    margin: 0 auto 0.2rem auto;
}

.card-secondary:not(.card-outline)> form >.card-header {
    background-color: #6c757d;
}
.card-secondary:not(.card-outline)> form >.card-header {
    color: #fff;
}

.custom_error.is-invalid, .was-validated .custom_error:invalid {
    border-color: #dc3545 !important;
    padding-right: 2.25rem!important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused .nav-sidebar>.nav-item>.nav-link>span.badge:empty, .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .nav-sidebar>.nav-item>.nav-link>span.badge:empty{
    display: none!important;
}

.input_into >.intl-tel-input {
    display: block;
}

.intl-tel-input .flag-container {
    height: 38px !important;
}


/*for datatable button */
div.dataTables_length label {
    font-weight: normal!important;
    text-align: left;
    white-space: nowrap;
}

div.dataTables_length select {
    width: auto;
    display: inline-block;
}

div.dataTables_filter {
    text-align: right;
}

div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    width: auto;
}

div.dataTables_filter label {
    font-weight: normal!important;
    white-space: nowrap;
    text-align: left;
}

.select2-invalid+.select2-container--default .select2-selection--single{
    border-color: #dc3545 !important;
}

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

.instock {
    color: #ccc;
    font-size: 14px;
}

.postive{
    color: green;
}

.negative{
    color: red;
}

/*for datatable button */

.invoice   table {
    /* font-family: arial, sans-serif; */
    border-collapse: collapse;
    width: 100%;
  }
  
  .invoice td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
  }
  .invoice-add-contain{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:10px ;
    width: 90%;
  }

  .invoice-add-contain .form-control{
    width:25%;
  }

  .invoice-container{
    display: flex;
    width: 100%;
  }

  .add-edit-btn{
    width: 10%;
    text-align: end;
  }

  .date-picker input{
    text-transform: uppercase;
  }

 .invoice-bg{
    background-color: #f4f6f9;
    margin-top: 16px;
    border: 1px solid rgb(226, 226, 226);
 }
 .invoice-bg > div{
    justify-content: space-between;
    display: flex;
    height: 48px;
    align-items: center;
 }
.invoice-bg > div h6{
    font-weight: bold;
    font-size: 16px;
   
}

.invoice-bg > div {
    border-bottom: 1px solid rgb(226, 226, 226);
    padding: 12px;
  }
  
  .invoice-bg >  div:last-child {
    border-bottom: none;
    background-color: #343A40;
    color: #fff;
  }
  .invoice-bg >  div:first-child {
    border-bottom: none;
  }
  .invoice-heading-bg{
    background-color: #fff;
  }

.modal-header {
    background: rgba(68, 81, 163, 0.1);
    padding: 11px 20px;
}
.modal-header h5 {
    color: #4451A3;
    font-size: 16px;
    line-height: 27px;
    margin: 0;
    font-weight: 600;
}
.custom_btn_purple{
    background: #4451A3;
    border: 1px solid #4451A3;
    border-radius: 4px;
    min-width:110px;
    padding:10px;
}
.custom_btn_purple font{
    vertical-align: middle !important;
}
.btn-default{
    background: #F4F6F9;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    min-width:110px;
    padding:10px;
}
.table_modal_layout .packageDetailDiv {
    border: 1px solid #CED4DA;
    border-radius: 6px;
}
.table_modal_layout .packageDetailDiv p {
    border-bottom: 1px solid #CED4DA;
    margin: 0 !important;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}
.table_modal_layout .packageDetailDiv p:last-child{
    border-bottom: 0;
}
.modal_custom_popup .modal-body {
    padding: 35px;
}
.custom-modal-footer {
    position: relative;
    margin-top: 20px;
    text-align: right;
}
.custom-modal-footer button {
    margin-left: 10px;
}
.modal_custom_popup{
    font-family: 'Poppins';
}
.accept_packgae_checkmark i {
    background: rgba(0, 212, 21, 0.1);
    border-radius: 50%;
    color: #00D415;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transfer_pkg_img {
    height: 50px;
    padding: 0;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: none;
    border: none;
}
.table_content_vs table.table-bordered.dataTable th,
.table_content_vs table.table-bordered.dataTable td {
    vertical-align: middle;
}
.print_btn_vs{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4451A3;
    border: 1px solid rgba(68, 81, 163, 0.5);
    border-radius: 6px;
    max-width: 110px;
}
.print_btn_vs svg{
    width: 18px;
    height: 18px;
    margin-right: 5px;
}
.success_btn_vs{
    background: rgba(0, 212, 21, 0.1);
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    line-height: 10px;
    color: #00D415;
    display: inline-block;
    padding: 12px 15px;
}
.table_modal_layout .packageDetailDiv.switch_user_packageDetailDiv {
    border: 0;
    border-radius: 0;
}
#switchUserForm .select2-container {
    width: 100%;
    display: block;
}
.modal_custom_popup .form-control:disabled, .modal_custom_popup .form-control[readonly] {
    background-color: #f2f0f0;
    opacity: 1;
    border: 1px solid #CED4DA;
    color: darkgray;
}
.table_modal_layout label {
    font-size: 14px;
    margin-bottom: 4px;
}
.modal-body.table_modal_layout .form-control {
    font-size: 15px;
}
#switchUserForm .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 15px;
}
.switchUserBtn {
    border: 1px solid rgba(68, 81, 163, 0.5);
    color: #4451A3;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    min-width: 120px;
    text-align: center;
    justify-content: center;
}
.switchUserBtn svg {
    margin-right: 5px;
}
.withdrawBtn {
    border: 1px solid rgba(184, 124, 51, 0.5);
    color: #B87C33;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    min-width: 120px;
    text-align: center;
    justify-content: center;
}
.withdrawBtn svg {
    margin-right: 5px;
}
.switchUserBtn:hover {
    background: #4451A3;
    color: #fff;
}
.withdrawBtn:hover {
    background: #B87C33;
    color: #fff;
}
.switchUserBtn:hover svg path, .withdrawBtn:hover svg path{
    fill: #fff;
}
.custom-file{
    height: auto;
    border: 1px dashed rgba(68, 81, 163, 0.4);
    background: rgba(68, 81, 163, 0.04);
    border-radius: 4px;
}
label.custom-file-label {
    background: transparent;
    border: 0;
    position: relative;
    height: auto;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 30px 20px;
}
.custom-file-input {
    width: 0;
}
.custom-file-input:lang(en)~.custom-file-label::after{
    content: none;
}
label.custom-file-label i {
    color: #4451A3;
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}
.custom-file.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    background-repeat: no-repeat;
    background-position: right top;
}

a.btn.btn-sm.btn-success.ml-2.py-0.px-1.add_new_invoice_row:focus {
    border:2px solid #000;
}

a.btn.btn-sm.btn-danger.ml-2.py-0.px-1.delete_invoice_row:focus{
    border:2px solid #000;
}
button.float-right.btn.btn-dark.mr-1.invoice_btn_submit:focus{
    border:2px solid cornflowerblue;
}
.custom_upload_file_name{
    position: relative;
    bottom: 0;
    background: #4451a3;
    left: 0;
    right: 0;
    width: calc(100% - 20px);
    display: block;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    padding: 6px 6px;
    margin: 0 10px;
    margin-bottom: 6px;
}
.input-group > .custom-file {
    display: block;
  }
ul#list-barcodes, ul#receiver-list-barcodes {
    display: flex;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 5px;
}
ul#list-barcodes li, ul#receiver-list-barcodes li {
    background: #dfdfdf;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 6px;
    margin-top: 3px;
    margin-bottom: 3px;
}
ul#list-barcodes li .close_barcode, ul#receiver-list-barcodes li .close_package {
        color: #fff;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    background: rgb(80 43 164 / 38%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-left: 5px;
}
#BarcodePackageModal .modal-header .close, #BarcodeReceiverPackageModal .modal-header .close{
    margin: -8px;
}
#barcodePackageForm label {
    display: block;
}
#barcodePackageForm .select2-container {
    width: 100%;
    display: block;
}
.scanner_loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    background: #efefef;
    opacity: 0.7;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scanner_input_wrap {
    position: relative;
}
.scanner_loader .spinner-border {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
    top: 0px;
    position: relative;
}
.package_bar_uline_vs {
    display: flex;
    flex-wrap: wrap;
}
.package_bar_uline_vs > div {
    margin-bottom: 15px;
    margin-right: 13px;
}
#customerForm button:focus:not(:focus-visible),
#customerForm .btn.focus, #customerForm .btn:focus,
#customerForm input.form-control:focus, #customerForm select.form-control:focus, #customerForm textarea.form-control:focus,
#customerForm input[type=checkbox]:focus, #customerForm input[type=radio]:focus,
#customerForm .select2-container .select2-selection--single:focus, #customerForm .select2-container .select2-selection--single:focus-visible  {
    outline: -webkit-focus-ring-color auto 1px;
    outline-color: rgb(255 86 86);
}
body #invoiceTbl td{
    vertical-align: top;
}

#isVatInvoice {
    width: 30px;
    height: 30px;
  }

.add_estimation_form_wrap input#isVatInvoice {
    height: 38px !important;
    width: 38px;
}
.add_estimation_form_wrap #invoiceTbl {
    margin-bottom: 0;
}
.add_estimation_form_wrap .invoice-heading-bg h6 {
    margin: 0;
}
.add_estimation_form_wrap .invoice-line-items-table {
    padding: 0;
    color: #000 !important;
}
.add_estimation_form_wrap .invoice-line-items-table table.table {
    margin: 0;
}
.add_estimation_form_wrap .invoice-heading-bg {
    background-color: #F4F6F9;
}
.add_estimation_form_wrap .invoice-bg > div h6 { 
    font-size: 15px;
}
.total_abc_col {
    background: #F4F6F9;
    border: 2px solid #E2E2E2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 1rem);
    justify-content: center; 
}
.total_abc_row .table {
    margin-bottom: 0;
}
.total_abc_row tr td {
    font-size: 15px;
    vertical-align: middle;
}
.col-md-5.width_38_per {
    -ms-flex: 0 0 38%;
    flex: 0 0 38%;
    max-width: 38%;
}
.col-md-2.width_24_per {
    -ms-flex: 0 0 24%;
    flex: 0 0 24%;
    max-width: 24%;
}
.total_abc_col h5 {
    font-size: 15px;
}
.total_abc_col h1 {
    font-weight: bold;
    font-size: 30px;
    margin: 0;
}


.report_table_vs table thead th {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    padding: 8px;
    font-family: "Source Sans 3", sans-serif;
    background: rgba(68, 81, 163, 0.10);
    border-bottom-width: 1px;
    vertical-align: middle;
}
.report_table_vs table tbody td, .report_table_vs table tbody th {
    font-size: 14px;
    line-height: 16px;
    padding: 8px;
    font-family: "Source Sans 3", sans-serif;
    vertical-align: middle;
}
.report_table_vs table tfoot th, .report_table_vs table tfoot td {
    font-size: 14px;
    line-height: 16px;
    padding: 8px;
    font-family: "Source Sans 3", sans-serif;
    vertical-align: middle;
    font-weight: 500;
}
.report_table_vs table tfoot tr.grand_total th, .report_table_vs table tfoot tr.grand_total td, .report_table_vs table tfoot tr.current_total th, .report_table_vs table tfoot tr.current_total td {
    font-size: 16px;
    font-weight: 600;
}
.report_table_vs table tbody th{
    font-weight: 600;
}
.report_table_vs h2 {
    font-size: 20px;
    font-weight: 600;
    font-family: "Source Sans 3", sans-serif;
}
.report_table_vs table tbody > tr:nth-child(even) {
    background: rgba(248, 249, 253, 1);
}
#dates_filter {
    font-size: 14px;
    border: 1px solid rgba(206, 212, 218, 1);
    background: #fff;
    display: flex;
    margin-left: 10px;
    border-radius: 4px;
    padding: 5px 10px;
    align-items: center;
    color: #747474;
}
select#user_filter, select#item_filter {
    width: auto;
    padding: 5px 10px;
    color: #747474;
}
#dates_filter i.fa.fa-calendar {
    margin-left: 8px;
    color: rgba(73, 80, 87, 1);
}
.reports_page_header_vs h1 {
    font-size: 26px;
    font-weight: 600;
    font-family: "Source Sans 3", sans-serif;
    line-height: 26px;
}
select#user_filter:focus, select#item_filter:focus{
    outline: none;
}

.pending_transaction{
    cursor:pointer;
}

/* Internal Transfer Row Highlighting */
.internal-transfer-row {
    background-color: #e8f4fd !important;
}
.internal-transfer-row:hover {
    background-color: #d1e9fb !important;
}