:root {
      --primary-color: #4834d4;
      --success-color: #6ab04c;
      --lightGreen-color: #b8dc00;
      --warning-color: #f0932b;
      --danger-color: #eb4d4b;
      --cyan-color: #48f4f6;
      --yellow-color: #f7f700;
      --orange-color: #ffa500;
      --purple-color: #c450d8;
      --black-color: #000;
      --white-color: #fff;
      --light-color: #212529;
      --light-second-color: #727475;
      --light-background: #ffffff;
      --light-second-background: #f1f1f1;
      --dark-color: #909090;
      --dark-second-color: #f5f6fa;
      --dark-background: #23242d;
      --dark-second-background: #181818;
}

.light {
      --main-bg-color: var(--light-background);
      --second-bg-color: var(--light-second-background);
      --main-color: var(--light-color);
      --second-color: var(--light-second-color);
}

.dark {
      --main-bg-color: var(--dark-background);
      --second-bg-color: var(--dark-second-background);
      --main-color: var(--dark-color);
      --second-color: var(--dark-second-color);
}

.light .logo-dark,
.light .light-icon {
      display: none;
}

.dark .logo-light,
.dark .dark-icon {
      display: none;
}

.bg-purple {
      background: var(--purple-color);
}

.color-purple {
      color: var(--purple-color);
}

.bg-primary {
      background: var(--primary-color);
}

.color-primary {
      color: var(--primary-color);
}

.bg-success {
      background: var(--success-color);
}

.color-success {
      color: var(--success-color);
}

.bg-lightGreen {
      background: var(--lightGreen-color);
}

.color-lightGreen {
      color: var(--lightGreen-color);
}

.bg-yellow {
      background: var(--yellow-color);
}

.color-yellow {
      color: var(--yellow-color);
}

.bg-warning {
      background: var(--warning-color);
}

.color-warning {
      color: var(--warning-color);
}

.bg-orange {
      background: var(--orange-color);
}

.color-orange {
      color: var(--orange-color);
}

.bg-danger {
      background: var(--danger-color);
}

.color-danger {
      color: var(--danger-color);
}

.bg-cyan {
      background: var(--cyan-color);
}

.color-cyan {
      color: var(--cyan-color);
}

.bg-black {
      background: var(--black-color);
}

.color-black {
      color: var(--black-color);
}

.bg-white {
      background: var(--white-color);
}

.color-white {
      color: var(--white-color);
}

* {
      margin: 0;
      padding: 0;
      list-style: none;
      font-family: "iransans";
      direction: rtl;
      box-sizing: border-box;
}

@font-face {
      font-family: "iransans";
      src: url("../assets/fonts/A-Iranian-Sans/IRANYEKANBOLDMSN.TTF");
}

body {
      font-family: "iransans";
      background-color: var(--main-bg-color);
      color: var(--main-color);
}

/* Main styles */

/* ##Header  ##Navbar  ##Sidebar */

.navbar {
      display: flex;
      flex-direction: row;
      background-color: var(--main-bg-color);
      color: var(--main-color);
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 101;
      box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
}

.navbar-nav {
      list-style-type: none;
      display: flex;
      flex-direction: row;
      padding-left: 0;
      margin-bottom: 0;
      margin-top: 0;
}

.nav-link {
      float: right;
      text-align: center;
      padding: 21px 10px;
      text-decoration: none;
      font-size: 17px;
      color: var(--second-color);
      position: relative;
}

.nav-link:hover {
      cursor: pointer;
}

.navbar-nav i {
      font-size: 1.4rem;
}

.nav-left {
      margin-right: auto;
}

.navbar-search {
      position: relative;
      margin: auto;
      width: 50%;
}

.navbar-search input {
      background: var(--second-bg-color);
      border: none;
      padding: 12px 50px 12px 50px;
      width: 100%;
      outline: none;
      color: var(--main-color);
      border-radius: 20px;
}

.navbar-search i {
      position: absolute;
      top: 50%;
      left: 20px;
      color: var(--main-color);
      transform: translateY(-50%);
      cursor: pointer;
}

.logo {
      height: 60px;
      padding-right: 10px;
}

.user-image img {
      width: 39px;
      height: 39px;
      border-radius: 50%;
}

.user-image {
      padding: 11px;
}

.navbar-badge {
      font-size: 0.6rem;
      padding: 2px 4px;
      font-weight: 300;
      position: absolute;
      right: 5px;
      top: 9px;
      color: #fff;
      background-color: var(--danger-color);
      border-radius: 5px;
}

.dropdown {
      position: relative;
}

.dropdown:hover {
      cursor: pointer;
}

.dropdown-menu {
      list-style: none;
      display: none;
      flex-direction: column;
      position: absolute;
      left: 20%;
      top: 90%;
      background: var(--main-bg-color);
      max-width: 300px;
      box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
      z-index: 1;
      padding: unset;
      border-radius: 10px;
      border: 0.125px solid var(--main-bg-color);
}

.dropdown-expand {
      display: flex;
}

.notification-menu {
      min-width: 380px;
}

.dropdown-menu {
      min-width: 380px;
}

.dropdown-menu-content {
      max-height: 500px;
      overflow-y: auto;
}

.dropdown-menu-item {
      width: 100%;
}

.dropdown-menu-link {
      display: flex;
      flex-direction: row;
      align-items: center;
      text-decoration: none;
      color: var(--main-color);
}

.dropdown-menu-link div {
      min-width: 70px;
      padding: 30px;
      height: 50px;
      position: relative;
}

.dropdown-menu-link i {
      font-size: 1.25rem;
      color: var(--second-color);
      position: absolute;
      right: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
}

.dropdown-menu-link span {
      font-size: 15px;
      width: 298px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
}

.dropdown-menu-link span > span {
      font-size: 10px;
}

.dropdown-menu-link:hover {
      cursor: pointer;
      background: var(--second-bg-color);
}

.dropdown-menu-header {
      padding: 20px;
      text-align: center;
      border-bottom: 1px solid var(--second-bg-color);
}

.dropdown-menu-footer {
      padding: 20px;
      text-align: center;
      border-top: 1px solid var(--second-bg-color);
}

.overlay-scrollbar::-webkit-scrollbar {
      width: 9px;
      height: 9px;
      /* display: none; */
}

.scrollbar-hover::-webkit-scrollbar {
      display: none;
}

.overlay-scrollbar:hover::-webkit-scrollbar {
      display: block;
}

.overlay-scrollbar::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 10rem;
      border: 1px solid var(--main-bg-color);
}

.overlay-scrollbar::-webkit-scrollbar-track-piece:start {
      background: transparent;
}

.overlay-scrollbar::-webkit-scrollbar-track-piece:end {
      background: transparent;
}

.wrapper {
      padding: 10px;
      margin-right: 82px;
      padding-top: 75px;
      background: var(--second-bg-color);
      transition: margin-right 0.5s;
}

.sidebar {
      width: 82px;
      height: 100vh;
      position: fixed;
      margin-top: 65px;
      background: var(--main-bg-color);
      box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
      overflow: hidden;
      z-index: 100;
      transition: width 0.5s;
}

.sidebar:hover {
      width: 250px;
}

.sidebar-nav {
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100vh;
}

.sidebar-nav-item {
      width: 100%;
      margin-top: 5px;
}

.sidebar-nav-link {
      display: flex;
      align-items: center;
      color: var(--main-color);
      text-decoration: none;
}

.sidebar-nav-link i {
      font-size: 1.5rem;
      color: var(--second-color);
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
}
.sidebar-nav-item .dropdown-icon i {
      color: #ff0000;
      left: 0%;
}
.sidebar-nav-link div {
      min-width: 82px;
      height: 50px;
      position: relative;
}

.sidebar-nav-link:hover {
      background: var(--second-bg-color);
}

.sidebar-nav-link.active {
      background: var(--second-bg-color);
      color: var(--danger-color);
}

.sidebar-nav-link.active div {
      border-right: 5px solid var(--danger-color);
}

.sidebar-nav-link.active i {
      color: var(--danger-color);
      margin-right: -5px;
}

.sidebar-expand .sidebar {
      width: 250px;
}

.sidebar-expand .wrapper {
      margin-right: 250px;
}

.row {
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
}

.row::after,
.row::before {
      box-sizing: border-box;
}

[class*="col-"] {
      padding: 10px;
}

/* Extra small devices <= 600px */

@media only screen and (max-width: 600px) {
      .sidebar {
            width: 0;
      }
      .wrapper {
            margin-right: 0;
      }
      .sidebar-expand .wrapper {
            margin-right: 0;
      }
      .nav-right .nav-item {
            display: none;
      }
      .nav-right .mode,
      .nav-right .avt-wrapper {
            display: list-item;
      }
      .navbar-search {
            display: none;
      }
      .dropdown-menu {
            max-width: 300px;
      }
      [class*="col-"] {
            width: 100%;
      }
}

/* Small devices >= 600px */

@media only screen and (min-width: 600px) {
      .col-sm-1 {
            width: 8.33%;
      }
      .col-sm-2 {
            width: 16.66%;
      }
      .col-sm-3 {
            width: 25%;
      }
      .col-sm-4 {
            width: 33.33%;
      }
      .col-sm-5 {
            width: 41.66%;
      }
      .col-sm-6 {
            width: 50%;
      }
      .col-sm-7 {
            width: 58.33%;
      }
      .col-sm-8 {
            width: 66.66%;
      }
      .col-sm-9 {
            width: 75%;
      }
      .col-sm-10 {
            width: 83.33%;
      }
      .col-sm-11 {
            width: 91.66%;
      }
      .col-sm-12 {
            width: 100%;
      }
}

/* Medium devices >= 768px */

@media only screen and (min-width: 768px) {
      .col-m-1 {
            width: 8.33%;
      }
      .col-m-2 {
            width: 16.66%;
      }
      .col-m-3 {
            width: 25%;
      }
      .col-m-4 {
            width: 33.33%;
      }
      .col-m-5 {
            width: 41.66%;
      }
      .col-m-6 {
            width: 50%;
      }
      .col-m-7 {
            width: 58.33%;
      }
      .col-m-8 {
            width: 66.66%;
      }
      .col-m-9 {
            width: 75%;
      }
      .col-m-10 {
            width: 83.33%;
      }
      .col-m-11 {
            width: 91.66%;
      }
      .col-m-12 {
            width: 100%;
      }
}

/* laptops/desktops >= 992px */

@media only screen and (min-width: 992px) {
      .col-1 {
            width: 8.33%;
      }
      .col-2 {
            width: 16.66%;
      }
      .col-3 {
            width: 25%;
      }
      .col-4 {
            width: 33.33%;
      }
      .col-5 {
            width: 41.66%;
      }
      .col-6 {
            width: 50%;
      }
      .col-7 {
            width: 58.33%;
      }
      .col-8 {
            width: 66.66%;
      }
      .col-9 {
            width: 75%;
      }
      .col-10 {
            width: 83.33%;
      }
      .col-11 {
            width: 91.66%;
      }
      .col-12 {
            width: 100%;
      }
}

/* large laptops and desktops >= 1200px */

@media only screen and (min-width: 1200px) {
      .col-xl-1 {
            width: 8.33%;
      }
      .col-xl-2 {
            width: 16.66%;
      }
      .col-xl-3 {
            width: 25%;
      }
      .col-xl-4 {
            width: 33.33%;
      }
      .col-xl-5 {
            width: 41.66%;
      }
      .col-xl-6 {
            width: 50%;
      }
      .col-xl-7 {
            width: 58.33%;
      }
      .col-xl-8 {
            width: 66.66%;
      }
      .col-xl-9 {
            width: 75%;
      }
      .col-xl-10 {
            width: 83.33%;
      }
      .col-xl-11 {
            width: 91.66%;
      }
      .col-xl-12 {
            width: 100%;
      }
}

/* index.html styles */
.counter {
      padding: 16px;
      text-align: center;
      color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.couner i {
      font-size: 50px;
}

.card {
      background: var(--main-bg-color);
      color: var(--main-color);
      border-radius: 10px;
      margin-bottom: 10px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card-header {
      padding: 15px 30px;
      border-bottom: 1px solid var(--second-bg-color);
      position: relative;
      max-height: 600px;
}

.card-header i {
      color: var(--main-color);
      position: absolute;
      left: 30px;
      top: 50%;
      transform: translateY(-50%);
}

.card-header i:hover {
      cursor: pointer;
}

.card-header h3 {
      margin: 0;
}

.card-content {
      padding: 20px;
      overflow-x: auto;
}

.card-content table {
      border-collapse: collapse;
      width: 100%;
}

.card-content table td {
      border-top: 1px solid var(--second-bg-color);
      padding: 15px;
}

.card-content table th {
      border-top: 1px solid var(--second-bg-color);
      border-bottom: 1px solid var(--second-bg-color);
      padding: 15px 12px;
      text-align: right;
}

.dot i {
      display: inline-block;
      width: 0.5rem;
      height: 0.5rem;
      margin-bottom: 0.385rem;
      vertical-align: middle;
      border-radius: 50%;
}

.progress-wrapper {
      margin-bottom: 15px;
}

.float-left {
      float: left;
}

.progress {
      height: 10px;
      overflow: hidden;
      display: flex;
      font-size: 0.75rem;
      background: rgba(0, 0, 0, 0.05);
      border-radius: 0.25rem;
      box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}
