@font-face {
    /* font-family: 'DroidArabicKufiRegular';
    src: url("../../fonts/DroidArabicKufiRegular.ttf"); */
    font-family: 'calibri';
    src: url("../../fonts/calibriRegular.ttf");    
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'Calibri';
}

#logo {
    height: 48px;
  }

#brand a{
    float: right;
}

#download{
    direction: rtl;
    text-align: right;
}

#services{
    direction: rtl;
    text-align: right;
}

#options{
    width: 100%;
    gap: 5px;
}

#options *{
    font-size: 18px;
    font-weight: bold;
}

.btn{
    font-size: 19px;
    font-weight: bold;
}

.btn-dark-blue{
    background-color:#2a579a;
    color: white;
    font-size: 19px;
}

.btn-dark-blue:hover{
    color: #e5dede;
}

#FieldsSelect{
    margin-bottom: 0;
    height: 45px;
}

.modal-dialog{
    max-width: 90%;
}

.modal-body{
    direction: rtl;
    text-align: right;
}

#msg{
    direction: rtl;
    text-align: right;
    color: red;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
}

input[type=file] {
  width: 350px;
  max-width: 100%;
  color: #444;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #555;
}

input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #2a579a;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
      background: #0d45a5;
}

#congrat {
    position: absolute;
    top: 0;
    left: 0;
    width: 512px;
    height: 512px;
    opacity: 0;
    z-index: -1;
}

.ms-container{
    display: flex;
    flex-direction: row;
}

.ms-container .ms-selectable, .ms-container .ms-selection{
    float: right !important;
    margin-left: 1rem;
    min-width: 350px;
}

#HadeethIdsDiv{
    display: flex;
    flex-direction: row;}

#HadeethIdsDiv>span>div>button{
    height: 45px;
}


.select2-container .select2-selection--single {
    height: 40px;
    min-width: 200px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1px;
}

.select2-results__option {
    padding: 8px;
}

.select2-results__options {
    min-height: 500px;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
}

.multiselect-container{
    float: right;
    width: 350px;
    right: 0;
}

.multiselect-container>button>span>label {
    padding-right: 30px;
    font-size: 16px;
    width: 100%;
}

.multiselect-container>button>span{
    float: right;
    text-align: right;
    width: 100%;
}

.table td, .table th{
    padding: 3px;
}


#multiselect_rightAll, #multiselect_rightSelected,
#multiselect_leftSelected, #multiselect_leftAll,
#multiselect_move_up, #multiselect_move_down{
    background-color: #f0f0f0 !important;
    color: black;
    border: none;
}

/* striped style for multiselect and multiselect_to Options  */
#multiselect option:nth-child(odd), #multiselect_to option:nth-child(odd) {
    background-color: #f8f9fa; /* Light background for odd items */
}
#multiselect option:nth-child(even), #multiselect_to option:nth-child(even) {
    background-color: #e9ecef; /* Darker background for even items */
}
#multiselect option:hover, #multiselect_to option:hover {
    background-color: #007bff;
    color: #fff;
}

#multiselect, #multiselect_to{
    height: 200px;
}
.btn-block {
    height: 30px !important; 
}


.card-header{
    background-color: #0079c9;
}
.card-header .title{
    display: inline;
    justify-content: center;
    align-items: center;
}
.card-header .title, .rotate-icon{
    font-size: 17px;
    color: #fff;
    justify-content: center;
    align-items: center;    
}
.card-header .accicon {
    float: left;
    font-size: 20px;  
    width: 1.2em;
}
.card-header{
    cursor: pointer;
    border-bottom: none;
}
.card{
    border-radius: 5px;
    border: 2px solid #0079c9;
}
.card-body{
    border-top: 1px solid #ddd;
}
.card-header:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

#login-btn, #logout-btn{
    font-size: 12px;
    font-weight: 500;
}

#navbarIcon {
    display: none;
}

#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    justify-content: center; 
    align-items: center;
}

@media screen and (max-width: 768px) {

    .login-form{
        width: 100%;
    }

    #content {
        margin-right: 0px;
        padding: 4px;
    }

    #content.active {
        margin-right: 0px;
    }

    #navbarIcon {
        display: block;
    }

    #user-info {
        display: none;
    }

    #sidebar {
        transform: translateX(100%);
    }

    #sidebar.active {
        transform: translateX(0%);
    }
}