html[dir="ltr"] {
  --is-dorder-rtl: 2em 0em 0em 2em;
  --is-padding-rtl: 0 0 0 1em;
  --is-ltr-rotateZ: rotateZ(90deg);
}
html[dir="rtl"] {
  --is-ltr: rotateY(180deg);
  --is-dorder-rtl: 0em 2em 2em 0em;
  --is-padding-rtl: 0 1em 0 0;
}
.img-rotateZ {
  transform: var(--is-ltr-rotateZ);
}
* {
  font-family: "Tajawal", "Font Awesome 6 Pro", sans-serif;
}
body {
  background-color: rgba(247, 247, 247, 1) !important;
}
.badge {
    height: fit-content;
}
/* width */
::-webkit-scrollbar {
  width: 0rem;
}
#prev i {
  transform: var(--is-ltr) !important;
}
#next i {
  transform: var(--is-ltr) !important;
}
/* Start All Media */
/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 320px) and (max-width: 576px) {
  /* .icon-dashboard {
    padding: 27.3% 0% 0% !important;
  } */
  .col-sm-1 {
    flex: 0 0 auto !important;
    width: 20% !important;
  }
  .col-sm-6 {
    flex: 0 0 auto !important;
    width: 50% !important;
  }
  .col-sm-11 {
    flex: 0 0 auto !important;
    width: 80% !important;
  }
  .table {
    width: 170vw !important;
    height: 100%;
  }
  .tabs .tab-content {
    /* top: 19.8rem !important; */
    top: 12rem !important;
  }
}
@media (min-width: 319px) {
  .cart-column-content {
    width: 12.9rem !important;
  }
}
@media (min-width: 374px) {
  .cart-column-content {
    width: 15.6rem !important;
  }
}
@media (min-width: 424px) {
  .cart-column-content {
    width: 18.1rem !important;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* .icon-dashboard {
    padding: 13.3% 0% 0% !important;
  } */
  .table {
    width: 170vw !important;
    height: 100%;
  }
  .cart-column-content {
    width: 20.7rem !important;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .table {
    width: 70vw !important;
    height: 100%;
  }
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* .icon-dashboard {
    padding: 6.3% 0% 0% !important;
  } */
  .table {
    width: 68vw !important;
    height: 100%;
  }
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .table {
    width: 77vw !important;
    height: 100%;
  }
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1441px) {
  /* .numbar-day-calender {
    padding: 4% 0.5% !important;
  } */
  .table {
    width: 77vw !important;
    height: 100%;
  }
}
/* End All Media */

.icon-dashboard {
  padding-top: 1em;
}
.nav {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
/* Start Form LogIn */
.form-check-input:checked {
  background-color: #8e1416 !important;
  border-color: #8e1416 !important;
}

.form-check-input:focus {
  border-color: #fe8686 !important;
  box-shadow: 0 0 0 0.1rem rgba(253, 13, 13, 0.25) !important;
}

/* End Form LogIn */

/* Start Primary Color */
.btn-primary {
  background-color: #8e1416 !important;
  border-color: #8e1416 !important;
}
.bg-primary {
  background-color: #8e1416 !important;
}

.text-primary {
  color: #8e1416 !important;
}

.color-primary {
  color: #8e1416 !important;
}
/* End Primary Color */

/* Start Main Dashboard */
.list-group-item-action {
  background-color: #fff !important;
  color: #6c757d !important;
}
/* . {
  padding: var(--is-padding-rtl) !important;
} */
.list-group-item-action:active {
  background-color: #fff !important;
  color: #fff !important;
}
.list-group-item-action:hover {
  background-color: #fff !important;
  color: #8e1416 !important;
}
.list-group-item-action:active .item-action-dashboard {
  border-radius: var(--is-dorder-rtl);
  background-color: #8e1416 !important;
  color: #fff;
}

.active-dashboard-text {
  border-radius: var(--is-dorder-rtl);
  background-color: #8e1416 !important;
  color: #fff !important;
}

.list-group-item-action:hover .item-action-dashboard {
  border-radius: var(--is-dorder-rtl);
  background-color: #8e1416 !important;
  color: #fff;
}

.item-action-dashboard {
  color: #606b85;
}
/* End Main Dashboard */

/* Start Calender */
#calender {
  padding: 0.9em 0.37em;
  background: #ffffff;
}
#calender .nav {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

table {
  width: 100%;
  height: 100%;
}
.numbar-day-calender {
  /* padding: 3.2% 0.5%; */
  text-align: center;
  cursor: pointer;
}
.normal {
  color: #0f2552;
}

#month {
  display: inline-block;
}
a {
  color: #848a95 !important;
  text-decoration: none !important;
}
/* End Calender */

.tabs li {
  display: block;
}
.tabs input[type="radio"] {
  position: absolute;
  top: 0;
  display: none;
}
.tabs .tab-label {
  display: block;
  border-radius: 2px 2px 0 0;
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.tabs .tab-label:hover {
  border-bottom-color: #8e1416 !important;
  border-bottom: 1px solid;
}
.tabs .tab-content {
  z-index: 2;
  display: none;
  overflow: auto;
  width: 100%;
  position: absolute;
  left: 0;
  top: 9rem;
}
.tabs [id^="tab"]:checked + label {
  top: 0;
  color: #8e1416;
  border-bottom-color: #8e1416 !important;
  border-bottom: 1px solid;
}

.tabs [id^="tab"]:checked ~ [id^="tab-content"] {
  display: block;
}

/* p.link {
  clear: both;
  margin: 380px 0 0 15px;
}
p.link a {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
} */
.custom-select {
  position: relative;
  width: 400px;
  max-width: 100%;
  font-size: 1.15rem;
  color: #000;
  margin-top: 3rem;
}

.select-button {
  width: 100%;
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  cursor: pointer;
  padding: 0.48rem 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .arrow {
  transition: transform ease-in-out 0.3s;
} */

.select-dropdown {
  position: absolute;
  list-style: none;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 4px;
  padding: 10px;
  margin-top: 10px;
  max-height: 200px;
  overflow-y: auto;
  transition: 0.5s ease;
  z-index: 99;

  transform: scaleY(0);
  opacity: 0;
  visibility: hidden;
}

.select-dropdown:focus-within {
  box-shadow: 0 10px 25px rgba(94, 108, 233, 0.6);
}

.select-dropdown li {
  position: relative;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.select-dropdown li label {
  width: 100%;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.select-dropdown::-webkit-scrollbar {
  width: 7px;
}
.select-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 25px;
}

.select-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}

.select-dropdown li:hover,
.select-dropdown input:checked ~ label {
  background-color: #f2f2f2;
}

.select-dropdown input:focus ~ label {
  background-color: #dfdfdf;
}

.select-dropdown input[type="radio"] {
  position: absolute;
  left: 0;
  opacity: 0;
}

/* interactivity */

/* .custom-select.active .arrow {
  transform: rotate(180deg);
} */

.custom-select.active .select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}

.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: translateY(-0.2rem) translateX(-0rem) !important;
}
input[type="date" i]::-webkit-calendar-picker-indicator {
  /* display: flex !important; */

  position: absolute !important;
  width: 100% !important;
  display: flex !important;
  height: 100% !important;
  left: -2px !important;
  top: -2px !important;
  opacity: 0 !important;
}

/* input::-webkit-datetime-edit {
  text-align: start !important;
  width: 100%;
} */

.left-header-column {
  background: var(--Brand-Background-2-Rest, rgba(235, 243, 252, 1));
  color: var(--Brand-Foreground-2-Rest, rgba(17, 94, 163, 1));
  font-size: small;
}

input[type="search" i]:enabled:read-write::-webkit-search-cancel-button {
  margin: 0 !important;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.175) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0) !important;
}

.cart-column-content {
  width: 20rem;
}

.dropdown-toggle::after {
  margin-left: 0.255em;
  vertical-align: 0.255em;
  border: 0 !important;
}
.active> .page-link, .page-link.active {
    z-index: 3;
    color: #ffffff !important;
    background-color: #8e1416 !important;
    border-color: #8e1416 !important;
}
.page-link{
    z-index: 3;
    color: #8e1416 !important;
    font-weight: bold;
}
