html {
  scroll-behavior: smooth;
}

@media screen and (max-width: 1200px) {
  html body .content {
    margin-right: unset !important;
  }

  .main-menu.menu-light .navigation li a {
    padding-right: 30px !important;
  }
}

body {
  direction: rtl !important;
  text-align: right !important;
}

header {
  position: sticky;
  top: 0;
  right: 0;
  z-index: 4;
  background-color: var(--primary);
  padding: 0.75rem 0;
  height: auto;
}

.consignee-container {
  height: 100vh;
}

.change-language-btn {
  display: flex;
  align-items: center;
  top: 60px;
  left: 96.672px;
  right: unset;
}

@media (max-width: 991.96px) {
  .consignee-container {
    height: auto;
  }

  .change-language-btn {
    display: none;
  }
}

.form-group {
  position: relative;
}

input[type="password"] + button,
input[type="text"] + button,
input[type="number"] + button {
  position: absolute;
  top: 1px;
  left: 1px;
  right: unset;
}

.material-icons {
  font-size: 1.25em !important;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

header .delivering-smiles {
  display: none;
}

header .left-links,
header .right-links {
  display: flex;
  align-items: center;
}

header .bars {
  display: none;
}

header .profile-img {
  border: 1px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 996px) {
  .bars {
    display: block !important;
  }

  .left-links {
    width: 100%;
    justify-content: space-between;
  }

  .right-links {
    display: none !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bs-primary);
    z-index: 1;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 24px 10px;
  }

  .right-links.d-flex {
    display: flex !important;
  }

  .dropdown.right-menu-links {
    width: 100%;
  }

  .dropdown.right-menu-links .dropdown-menu {
    display: block;
    position: relative;
    z-index: 1;
    background-color: transparent;
    width: 100%;
    border: none;
    text-align: center;
  }

  .dropdown.right-menu-links .dropdown-menu li a {
    padding: 12px 0;
    font-size: 24px;
    color: var(--bs-accent);
  }
}

.wizard {
  padding: 24px 0;
  display: flex;
}

.wizard .wizard-btn {
  font-size: 14px;
  border: none;
  background-color: transparent;
  outline: none;
  color: var(--dark1);
  margin-left: 8px;
  padding: 0;
  white-space: nowrap;
}

.wizard .wizard-btn span {
  font-size: 1rem;
  border-radius: 0.25rem;
  color: var(--dark1);
  padding: 3px 10px;
  margin-left: 8px;
  background-color: #ebebeb;
}

.wizard .wizard-btn.active {
  color: var(--accent);
}

.wizard .wizard-btn.active span {
  background-color: var(--accent);
  color: white;
}

/* Dashboard Style */
.portal-item {
  display: block;
  color: var(--primary);
  border-radius: 0.25rem;
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  background-color: white;
  transition: all 0.2s ease-in;
}

@media (max-width: 576px) {
  .portal-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.portal-item:hover {
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.15);
  transform: scale(1.0125);
}

.portal-item:active {
  box-shadow: 0 0.188rem 0.3rem rgba(0, 0, 0, 0.1);
  transform: scale(1.00625);
}

table th,
table td,
.dataTables_paginate,
.dataTables_info {
  font-size: 0.8125rem;
}

.dataTables_filter {
  float: left;
}

.dataTables_filter input {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.dataTables_paginate .pagination {
  justify-content: flex-end;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #cfcfcf;
}

.custom-select {
  padding: 0.25rem 1.75rem 0.25rem 0.375rem;
  height: auto;
}

/* .dropdown .dropdown-menu{
      transform: translate3d(0px, 39px, 0px) !important;
  } */

.dropdown .dropdown-menu::before {
  right: 1.2rem;
  left: unset;
}

div.dt-button-collection.dropdown-menu .dt-button {
  text-align: right;
}

.dt-button.dropdown-item.buttons-columnVisibility::before {
  left: unset;
  right: .25rem;
}
