.hidden {
    display: none !important;
}
/* read only select option*/
.select-readonly{
pointer-events: none;
touch-action: none;
}
.readonly{
    pointer-events: none;
    /* opacity: 0.5;    */
}
div.dataTables_wrapper {
    width: 100%;
    margin: 0px 0 auto;
}

.modal-content .modal-body .table-responsive .dataTables_wrapper {
    width: 100%;
    margin: 0px 0 auto;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1320px;
    }
}

.activeli {
    background: #8cadb8;
    text-decoration: none;
}


/* #DataTables_Table_0_last{

  border: black solid 1px;
} */

.paginate_button {
    /* position: relative; */
    /* display: block; */
    padding: 7.3px 17.75px;
    margin-bottom: 10px;
    line-height: 3;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #007bff;
    cursor: pointer;
}

a.paginate_button.current {
    color: #fff;
    background-color: #007bff;
    border: 1px solid #dee2e6;
}

.no-gutters {
    margin-right: 15px;
    margin-left: 15px;
}

.disabled {
    color: #fff;
    background-color: #ddd;
    border: 1px solid #dee2e6;
    cursor: not-allowed;
}

.disabled:hover {
    color: #fff;
    background-color: #ddd;
    border: 1px solid #dee2e6;
    cursor: not-allowed;
}

#load_div {
    /* overflow-x: scroll; */
    display: grid;
}

.select2-dropdown {
    width: 50px;
}

@font-face {
    font-family: '18 Khebrat Musamim';
    src: url('../font/ArbFONTS-22876-gen01.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: '18 Khebrat Musamim';
    /* font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    color: #343c44;
    text-align: left;
    background-color: #fff */
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.btn-primary {
    color: rgb(0, 0, 0);
    background-color:#ffffff;
    border-color: #000000;
}

.btn-primary:focus {
    color: #fff;
    background-color: #0053BD;
    border-color: #0c0a0d;
    box-shadow: 0 0 0 0.2rem #ffffff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0070b9;
    border-color: #0c0a0d;
    box-shadow: 0 0 0 0.2rem #2196f3;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem #09080a;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #020102;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 10px;
}

.bg-info {
    background-color: #007dff!important;
}

.btn-square {
    border-color: #ddd1e2;
}

div.table-responsive {
    width: 100%;
    /* width: 980px; */
    margin-top: 30px;
}

@media (max-width: 991.98px) {
    div.table-responsive {
        width: 100%;
        margin-top: 30px;
        max-width: 100%;
    }
}


.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    background-clip: padding-box;
    border-color: #cfdadd;
    border-radius: 2px;
}


.form-check-input {

  width: 20px;
  height: 20px;
  background-color: #ccc;
  border-radius: 3px;
}

.form-check-input:checked {
  background-color: #00b0ef;
}
.form-check-input-readonly {
  pointer-events: none; 
}
.card-header-tab.card-header{
    /* width: fit-content; */
}

.busy-button {
    pointer-events: none;
    opacity: 0.5; /* يمكنك تعديل الشفافية حسب الرغبة */
  }

.select2-search__field:focus {
    background-color: rgb(204, 204, 172);
    border: 1px solid rgb(163, 120, 120);
    direction: rtl;
  }

  
  .radio input[type=radio], 
  .radio-inline input[type=radio],
  .checkbox input[type=checkbox], 
  .checkbox-inline input[type=checkbox] {
      margin-right: -27px;
  }
  .checkbox {
      display: flex;
      align-items: center;
      margin-right: 27px;
  }

  .checkbox input {
      margin-left: 10px;
  }
  .select2-container {
    min-width: 100%;
}


a:not([href]):not([tabindex]) {
    background:inherit;
    font-size: 12px;
}

a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
    color: cornflowerblue;
    text-decoration: auto;
    font-size: 12px;
}
tr>td.fc-event-container>.fc-day-grid-event {
    background-color: #000000;
    color: #fff;
    
}


.button-container {
    display: flex; /* Arrange buttons horizontally */
  }
  
  .button {
    margin: 0 10px; /* Add spacing between buttons */
    padding: 10px 20px; /* Button padding */
    border: 1px solid #ccc;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
  }

  @media (max-width: 768px) { /* Target devices with a maximum width of 768px (adjust as needed) */
    .button-container {
      display: block; /* Switch to vertical arrangement */
    }
  
    .button {
      margin-bottom: 10px; /* Add spacing between buttons in a dropdown */
      width: 100%; /* Make buttons full-width */
    }
  }

  /* Add a toggle button */
.dropdown-toggle {
    display: block; /* Show the toggle button on mobile */
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}
.btn-desktop,.desktop-container{
      display: none; /* Show the toggle button on mobile */

  }

  /* Hide the dropdown content initially */
  .dropdown-content {
    display: none;
  }
  
  /* Show the dropdown content on hover (for touchscreens) */
  .dropdown-toggle:hover .dropdown-content {
    display: block;
  }
  
  /* Media query to hide the toggle button on desktop */
  @media (min-width: 769px) {
    .dropdown-toggle {
      display: none;
    }
    .btn-desktop,.desktop-container{
        display: block; /* Show the toggle button on mobile */
  
    }
  
  }
  
