label.error{
    color: #dc3545;
}

input.error, select.error , textarea.error{
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input.valid, select.valid , textarea.valid{
    border-color: #148469;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23148469' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
body {
    direction: rtl;
    font-size: 1.02rem;
    opacity: 1;
    background-color:#fafafa;
    /*overflow-y: scroll;*/
    margin: 0;
}
/*
.select2-container .select2-selection--multiple {
    min-height: 50px !important; !*!* Use min-height for multi-select to allow expansion *!*!
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: #333 !important; !* Dark background for the selected area *!
    color: #eee !important; !* Light text color for contrast *!

}

.select2-dropdown {
    background-color: #222f3e !important; !* Dark background for the dropdown list *!
}

.select2-container--default .select2-results__option {
    color: #eee !important; !* Light text color for options *!
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #b55555; !* Blue color example *!
}*/

/*.limited{
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}*/
.plate-wrapper {
    text-align: center;
}
.plate-ui-search {
    /*background: #fff;*/
    padding: .25em .5em .15em 1.75em;
    font-size: 24px;
    border-radius: 5px;
    border: 1px solid #000;
    position: relative;
    display: inline-block;
}
.plate-ui-search::before {
    content: '.I.R';
    display: block;
    height: 100%;
    background: #003399;
    background-image: url(../image/Iran.png);
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    font-size: 10px;
    line-height: 75px;
    padding-right: 15px;
    padding-left: 2px;
    background-position: 2px 6px;
    background-size: 27px;
    background-repeat: no-repeat;
}

.plate-ui ,.plate-ui-search{
    /*background: #fff;*/
    padding: .25em .5em .15em 1.75em;
    font-size: 24px;
    border-radius: 5px;
    border: 1px solid #000;
    position: relative;
    display: inline-block;

}

.plate-ui::before {
    content: '.I.R';
    display: block;
    height: 100%;
    background: #003399;
    background-image: url(../image/Iran.png);
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    font-size: 10px;
    line-height: 75px;
    padding-right: 15px;
    padding-left: 2px;
    background-position: 2px 6px;
    background-size: 27px;
    background-repeat: no-repeat;
}

.plate-ui:after {
    content: 'IRAN';
    position: absolute;
    top: 0;
    left: 2px;
    width: 23px;
    font-size: 10px;
    line-height: 99px;
    color: white;
}

.plate-1 {
    float: left;
    height: 36px;

}

.plate-2 {
    float: right;
    padding-left: 10px;
    border-left: 1px solid black;
    margin-left: 10px;
}

.plate-1 > input, .plate-2 > input {
    border: 0;
    outline: none;
    text-align: center;
}

.plate-1 > input:focus, .plate-2 > input:focus {
    border-bottom: 2px solid #0C9EF5;
}

.plate-2 > span {
    font-size: 0.5em;
    display: block;
    line-height: 1em;
    text-align: center;
}
.letters-plate {
    border: 0;  font-size: 17px; text-align: center; margin-top: 5px
    /*;background: #000000*/
}

/*option:not(:checked) {
     background-color: #242E49;
 }*/
.jalali-datepicker-container {
    z-index: 2000 !important; /* Ensure it's higher than your modal's z-index */
}



.loading {
    position: fixed;
    top: 0; right: 0;
    bottom: 0; left: 0;
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.9);
}
.loader {
    left: 50%;
    margin-left: -4em;
    font-size: 10px;
    border: .8em solid rgba(218, 219, 223, 1);
    border-left: .8em solid rgba(58, 166, 165, 1);
    animation: spin 1.1s infinite linear;
}
.loader, .loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -4.05em;
}

@keyframes spin {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
@media screen and (min-width: 370px) and (max-width: 992px) {

    body {
        background-color: lightblue;
    }
    .row #search_desktop{
        display: none;
    }
    .container-fluid #nav_search{
        display: block;
    }
}
@media screen and (min-width: 993px)  {
    .container-fluid #nav_search{
        display: none;
    }
}

table.dataTable tbody tr.selected>* {
    color: #f1f0ef !important;
    box-shadow: inset 0 0 0 9999px rgb(28, 120, 170) !important;
}