.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.customer_datatable {
    border-style: solid;
    border-color: #e5e5e5;
    border-width: 1px 0px 0px 1px;
}

.customer_datatable th {
    /*font-size: 12px;*/
    /*font-family: "Segoe UI";*/
    background-color: var(--s-column-header-bg);
    border-top: 1px solid var(--s-column-header-border);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 0px #0000001a;
    color: var(--s-column-header);
    padding: .4em .3em;
}

#search_table th {
    border: none !important;
}

.customer_datatable td {
    font-family: var(--s-tabular-font);
    vertical-align: middle !important;
    padding: .4em .3em;
    /*background-color: var(--s-alt-row-bg);*/
    /*border: 1px solid transparent;*/
    /*border-style: none none solid none;*/
    /*border-color: var(--s-cell-border);*/
    border-style: solid;
    border-color: #e5e5e5;
    border-width: 0px 1px 1px 0px !important;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-bg-type: #fff;
}

.table-striped > tbody > tr:nth-of-type(2n+0) > * {
    /*--bs-table-color-type: var(--bs-table-striped-color);*/
    background-color: var(--s-alt-row-bg);
}


.paginate_button, .dataTables_info, .dataTables_length, .w3-btn {
    font-size: 12px;
    font-family: "Segoe UI";
}

.search_table td {
    font-size: 12px;
    font-family: "Segoe UI";
    vertical-align: middle !important;
    padding: 0.0rem 0.0rem !important;
    border: none !important;
    vertical-align: middle !important;
}

.search_table th {
    font-size: 12px;
    font-family: "Segoe UI";
    vertical-align: middle !important;
    white-space: nowrap;
    border: none !important;
    margin: 0 !important;
}


.button_search {
    float: left;
    width: 45Px;
    padding: 0px;
    background: transparent;
    color: black;
    font-size: 17px;

    border: none;
    cursor: pointer;
}

.vd_bd-blue {
    border-color: blue !important;
    padding: 0px 5px;
}

.vd_bd-green {
    border-color: #1fae66 !important;
    padding: 0px 6px;
}

.vd_bd-yellow {
    border: 1px solid #f89c2c !important;
    padding: 0px 6px !important;
}

.vd_bd-red {
    border: 1px solid #f85d2c !important;
    padding: 0px 6px;
}

.vd_green {
    color: #1fae66 !important;
    padding: 0px 6px;
}

.vd_yellow {
    color: #f89c2c !important
}

.vd_red {
    color: #f85d2c !important
}

.btn.vd_red:hover {
    background-color: #f74a13 !important;
    color: #FFF !important
}

.btn.vd_yellow:hover {
    background-color: #f79013 !important;
    color: #FFF !important
}

.btn.vd_green:hover {
    background-color: #1b9859 !important;
    color: #FFF !important
}

.label-success {
    background-color: green;
}

.select2-results__option {
    font-size: 12px !important;
    padding: 4px 10px !important;
}

.custom-select-sm {
    font-size: 12px !important;
    width: 50px !important;
}

.buttons-excel {
    padding: 0.25rem 0.5rem !important;;
}

.dataTables_info, .dataTables_length, .dt-buttons, .dataTables_paginate, .dataTables_filter {
    display: inline !important;
    vertical-align: middle;
    float: left;
    padding: 0px 0px 10px 0px;
    font-size: 12px;
}

.dataTables_paginate, .dataTables_filter {
    padding: 0px 0px 10px 0px;
    float: right;
}

.bank_green_css {
    padding: 0.0em .0em !important;
    border-bottom: 1px solid grey;
    color: green !important;
    font-size: 10px;
    font-weight: bold;
}

.bank_green2_css {
    padding: 0.0em .0em !important;
    color: green !important;
    font-size: 10px;
    font-weight: bold;
}

.bank_red_css {
    padding: 0.0em .0em !important;
    border-bottom: 1px solid grey;
    color: darkred !important;
    font-size: 10px;
    font-weight: bold;

}

.bank_blue_css {
    padding: 0.0em 0.0em !important;
    color: darkblue !important;
    font-size: 10px;
    font-weight: bold;
}

.select2-container--default .select2-dropdown {
    z-index: 1055 !important; /* Set the desired z-index */
}

.required:after {
    content: " *";
    color: red;
}

.ui-datepicker {
    z-index: 9999 !important; /* Higher than Bootstrap modal's z-index */
    padding: 1px 2px !important;
}

.select2-results__option {
    font-size: 12px !important;
    padding: 4px 10px !important;
}


/* Main container */
.select2-container--default .select2-selection--single {
    height: 33px;
    padding: 6px 6px;
    /*border: var(--bs-border-width) solid var(--bs-border-color);*/
    border: 0px;
    border-radius: 0.375rem;
    background-color: #fff;
}

/* Text alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
    color: #495057;
    padding-left: 1px;
    padding-right: 15px;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

/* Focus state (same as input) */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.select2-container--default .select2-selection__clear {
    color: red; /* your color */
    font-size: 20px;
    font-weight: normal !important;
}

.form-group {
    margin-bottom: 1rem;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.s-ConfirmDialog .ui-dialog-content::before, .s-ConfirmDialog .modal-body::before {
    font-family: var(--s-icon-font);
    font-weight: var(--s-icon-solid);
    font-size: 60px;
    line-height: 60px;
    position: absolute;
    top: 8px;
    left: 14px;
}

.form-select {
    background-color: white;
}

.file-item .thumb {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* fills the box nicely */
    display: block;
    width: 128px;
    height: 96px;
    text-decoration: none;
}

.modal-content .overlay {
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: -1px;
    z-index: 1052;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #666f76;
    border-radius: 0.3rem;
}

.plate-field {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.plate-field label {
    font-size: 11px;
    color: #555;
    font-weight: 600;
}

.plate-field input {
    width: 70px;
    text-align: center;
}

.plate-row {
    display: flex;
    gap: 12px;
    margin-bottom: 1px;
    align-items: flex-end;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 600;
}

/*---------------------------------------------------------------------------------------------------------------------------*/
.ksa-plate {
    width: 160px;
    height: 70px;
    border: 1.5px solid #000;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

.plate-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.plate-cell {
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Arabic */
.plate-ar {
    direction: rtl;
    font-size: 14px;
}

/* English */
.plate-en {
    font-size: 14px;

}

/* Numbers */
.plate-num {
    font-size: 14px;
}

/* Right green strip */
.ksa-strip {
    width: 28px;
    background: white;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2px 8px 4px 8px;
    font-weight: bold;
    border: 1px solid #000;
}

.ksa-strip img {
    width: 24px;
    height: 35px;
}

.ksa-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
}

/*---------------------------------------------------------------------------------------------------------------------------*/
.select2-search::after {
    content: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid black 0px;

}

.select2-container--default .select2-selection--multiple {
    border: 0px solid #aaa;
}

input[type="checkbox"], .check-box {
    width: 1.5em;
    height: 1.5em;
    border: 1px solid gray;
}

.font12{
    font-weight: bold;
}

/*.tool-button {*/
/*    padding-right: 5px;*/
/*    padding-left: 5px;*/
/*    padding-top: 2px;*/
/*    padding-bottom: 2px;*/
/*}*/