@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 300;
  src: url(fonts/DroidKufi/DroidKufi-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  font-weight: 600;
  src: url(fonts/DroidKufi/DroidKufi-Bold.ttf) format('truetype');
}

@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/DroidNaskh/DroidNaskh-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: 700;
  src: url(fonts/DroidNaskh/DroidNaskh-Bold.ttf) format('truetype');
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body {
  font-family: 'Droid Arabic Kufi';
}

a {
  text-decoration: none;

}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Droid Arabic Kufi';
}

.tooltip-primary-bg {
  --bs-tooltip-bg: var(--bs-primary);
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  margin-bottom: 80px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

.logo img {
  max-height: 26px;
  margin-left: 6px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  border-bottom: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 1px 5px -2px var(--bs-border-color) !important;
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  cursor: pointer;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form button {
  border: 0;
  padding: 0;
  background-color: transparent !important;
}
/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
#header {
  background-color: var(--bs-body-bg);
}

.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  position: relative;
}

.header-nav .nav-profile {
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
}

.header-nav .notifications .notification-item:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
}

.header-nav .messages .message-item:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 0;
  font-size: 14px;
  border-top: 1px solid var(--bs-border-color) !important;
  background-color: var(--bs-body-bg) !important;
}

/*--------------------------------------------------------------
# Settings bar
--------------------------------------------------------------*/
.settings-bar {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  overflow-y: auto;
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  position: sticky;
  top: 60px;
  margin-bottom: 10px;
  z-index: 990;
  padding: 5px 15px;
  background-color: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 1px 5px -2px var(--bs-border-color) !important;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Attached
--------------------------------------------------------------*/
.attached-header {
  border-bottom: 1px solid var(--bs-border-color) !important;
}

.attached-list {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  max-height: 60vh;
  overflow-y: auto;
}

.attached-footer {
  border-top: 1px solid var(--bs-border-color) !important;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  bottom: 15px;
  z-index: 99999;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  line-height: 0;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  padding: 10px 0;
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-divider {
  margin: 0;
}

.nav-pills .nav-link,
.nav-pills>.nav-link {
  color: var(--bs-body-color);
  margin-left: 2px;
  margin-right: 2px;
}

.nav-pills .nav-link:hover,
.nav-pills>.nav-link:hover {
  background-color: var(--bs-secondary);
  color: var(--bs-dark);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--bs-secondary);
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  background-color: var(--bs-body-bg);
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3;
  padding: 10px 10px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
}

.sidebar-nav .nav-link.collapsed {
}

.sidebar-nav .nav-link.collapsed i {
}

.sidebar-nav .nav-link:hover {
  color: var(--bs-dropdown-link-hover-color) !important;
  background-color: var(--bs-tertiary-bg) !important;
}

.sidebar-nav .nav-link:hover i {
}

.sidebar-nav .nav-link .bi-chevron-down {
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  line-height: 0;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Customize
--------------------------------------------------------------*/
.form-control {
  border: 1px solid var(--bs-secondary) !important;
  border-bottom: 1px solid var(--bs-secondary) !important;
}

.form-control:focus {
  border-left: 2px solid var(--bs-secondary) !important;
  border-bottom: 3px solid var(--bs-secondary) !important;
  box-shadow: none;
}

.form-control.phAutocomplete {
  border: 1px solid var(--bs-info) !important;
  border-bottom: 1px solid var(--bs-info) !important;
}

.form-control.phAutocomplete:focus {
  border-left: 2px solid var(--bs-info) !important;
  border-bottom: 3px solid var(--bs-info) !important;
  box-shadow: none;
}

.form-control.ph-autocomplete {
  border: 1px solid var(--bs-info) !important;
  border-bottom: 1px solid var(--bs-info) !important;
}

.form-control.ph-autocomplete:focus {
  border-left: 2px solid var(--bs-info) !important;
  border-bottom: 3px solid var(--bs-info) !important;
  box-shadow: none;
}

.form-control.invalid {
  border: 1px solid var(--bs-danger) !important;
  border-bottom: 1px solid var(--bs-danger) !important;
}

.form-control.invalid:focus {
  border-left: 2px solid var(--bs-danger) !important;
  border-bottom: 3px solid var(--bs-danger) !important;
  box-shadow: none;
}

.form-label, .col-form-label {
  padding: 3px 0px 0px 0px;
}

/*******************************************************/
.navbar-toggler {
  background-color: var(--bs-secondary);
}

.stickyNav {
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}

.stickyNav a {
  color: black !important;
}

.stickyNav a:hover {
  background-color: #dadada !important;
}

.carousel {
  height: 60vh;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 25px;
  background-color: rgb(219, 218, 220);
}

.footer p {
  margin: 0%;
  padding-right: 10px !important;
  color: rgba(2, 0, 8, 0.692);
}

/*******************************************************************/
.jstree-icon.jstree-themeicon.jstree-themeicon-custom {
  background-position: center center;
  background-size: 24px !important;
}
