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

body{
    font-family: 'DroidArabicKufiRegular';
}

#logo {
    height: 48px;
}

#brand a{
    float: right;
}

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


#book-info{
    direction: rtl;
    text-align: right;
    display: none; /* Initially hide the div */
}

.table td{
    border: none;
    min-height: 80px;
}

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

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

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


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

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

select *{
    font-size: 16px;
    font-weight: bold;
}

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

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

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

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: #084cdf;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

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

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



.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;
}

#MolhemBooksGroup {
    flex-wrap: nowrap;
}

#molhem_bookid_form {
    flex: 1 1 auto;
    margin: 0;
}

#molhem_bookid_form .select2-container {
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

#bookid_form {
    display: flex;
    flex: 1 1 auto;
    margin: 0;
}

#bookid_form .select2-container,
#bookid_form select.form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

#langs {
    flex-wrap: nowrap;
}

#langs .select2-container,
#langs select.form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.select2-results__option {
    padding: 8px;
}

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

#FormatCollapse{
    border-radius: 5px;
    border: 1px solid #cbc8c8;
    padding: 10px;
}

#FormatDiv{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #efeeee;
}

#ExportDiv{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #efeeee;
    margin-bottom: 100px;
}


.multiselect-container{
    float: right;
}


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

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

#ResetFormBtn{
    font-size: 12px;
}


/* Header Select */

.header-option, .odd-header-option, .even-header-option {
    width: 120px;
    height: 192px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.header-option:hover, .header-option.selected,
.odd-header-option:hover, .odd-header-option.selected,
.even-header-option:hover, .even-header-option.selected {
    border-color: #0d6efd;
    border-radius: 4px;
}

.dropdown-menu {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
  
.dropdown-menu.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

#headerDiv{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;   
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #cbc8c8;
    margin-bottom: 200px;
}


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

#navbarIcon {
    display: none;
}

@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%);
    }
}