/* ******************************************* \
/* ---------------- (INDEX) ------------------ \
**    1. General                              **
**    2. Layout                               **
**       2.1 Navbar                           **
**        2.2 Sidebar                         **
**        2.3 Page Content                    **
**    3. Bootstrap Customization              **
**        3.1 Typography                      **
**        3.2 Buttons                         **
**        3.3 Forms                           **
**        3.4 Tables                          **
**        3.5 Lists                           **
**        3.6 Dropdown                        **
**        3.7 Cards                           **
**        3.8 Modal                           **
**        3.9 Spinner                         **
**    4. Animation                            **
**    5. Media Query                          **
\*--------------------------------------------*/
/* ******************************************* \

/*|***************************************** |*/
/*|--------------- 1. General ---------------|*\
/*|***************************************** |*/

body {
  font-family: "neue-reg", sans-serif;
  background-color: #f1f1f1;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

.wrapper {
  display: flex;
  width: 100%;
}

.shadow {
  transition: 0.4s all;
}

.shadow:hover {
  box-shadow: 0 0.125rem 0.9rem rgba(0, 0, 0, 0.095) !important;
}

a[data-toggle="collapse"] {
  position: relative;
}

@font-face {
  font-family: "neue-reg";
  src: url(../font/neue/neue-reg.ttf);
}
@font-face {
  font-family: "neue-light";
  src: url(../font/neue/neue-light.ttf);
}
@font-face {
  font-family: "neue-bold";
  src: url(../font/neue/neue-bold.ttf);
}

.neue-light {
  font-family: neue-light;
}
.neue-reg {
  font-family: neue-reg;
}
.neue-bold {
  font-family: neue-bold;
}

i {
  font-size: 20px;
}

/*|***************************************** |*/
/*|--------------- 2. Layout ----------------|*\
/*|***************************************** |*/

/*|**************************** |*/
/*|-------- 2.1 Navbar ---------|*\
/*|**************************** |*/

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 15px 10px;
  padding-top: 60px;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

/*|**************************** |*/
/*|-------- 2.2 Sidebar --------|*\
/*|**************************** |*/

#sidebar .dropdown-menu.show {
  position: relative !important;
  transform: unset !important;
  background: transparent;
  border: unset;
  opacity: 1;
}
#sidebar .dropdown-menu .dropdown-item {
  padding: 0;
}
#sidebar .dropdown-menu {
  transform: unset !important;
  position: relative !important;
  min-width: unset;
  opacity: 0;
  animation: fadeIn 1s;
}
#sidebar a {
  width: 100%;
}
#sidebar a:hover {
  font-weight: bold;
}
#sidebar .dropdown-menu a {
  padding-bottom: 7px;
  padding-top: 7px;
}

#sidebarCollapse {
  position: fixed;
  right: 25px;
  top: 60px;
  z-index: 999;
  box-shadow: 0 0 12px 4px #00000018;
}

#sidebar {
  width: 250px;
  position: fixed;
  padding-top: 60px;
  border-top-left-radius: 70px;
  right: 0;
  height: 100vh;
  z-index: 888;
  background: #fafafa;
  color: rgb(18, 56, 100);
  transition: all 0.3s;
  overflow-y: auto;
  box-shadow: -10px 20px 62px -21px rgba(160, 151, 151, 0.8);
}

#sidebar.active {
  margin-right: -250px;
}

#sidebar .sidebar-header {
  padding: 20px;
  background: white;
}

#sidebar .components {
  overflow: auto;
  max-height: 90vh;
}

#sidebar p {
  color: black;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  background-color: rgb(236, 236, 236);
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
  color: black;
}

.toggle {
  background-color: white;
  border-style: none;
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  transition: all 0.5s;
}

.toggle:hover {
  background-color: rgb(236 235 235);
  border-style: none;
  box-shadow: 0 0 12px 4px #00000031;
}

.toggle:focus {
  outline: 0;
}

/*|**************************** |*/
/*|----- 2.3 Page Content ------|*\
/*|**************************** |*/

#content {
  width: calc(100% - 250px);
  transition: all 0.3s;
  position: absolute;
  top: 3vh;
  left: 0;
}

#content.active {
  width: 100%;
}

/*|***************************************** |*/
/*|------- 3. Bootstrap Customization -------|*\
/*|***************************************** |*/

/*|**************************** |*/
/*|------ 3.1 Typography -------|*\
/*|**************************** |*/
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "neue-reg", sans-serif;
}

p {
  font-family: "neue-reg", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}

/*|**************************** |*/
/*|------- 3.2 Buttons ---------|*\
/*|**************************** |*/

/*|**************************** |*/
/*|-------- 3.3 Forms ----------|*\
/*|**************************** |*/

.custom-select {
  padding: 0.375rem 0.75rem 0.375rem 1.75rem;
  background-position: left 0.75rem center;
  border-radius: 30px;
}
.input-group.rtl .input-group-text {
  border-radius: 0 30px 30px 0 !important;
}

.input-group.rtl input {
  border-radius: 30px 0 0 30px !important;
}

.input-group.ltr .input-group-text {
  border-radius: 30px 0 0 30px !important;
}

.input-group.ltr input {
  border-radius: 0 30px 30px 0 !important;
}

/*|**************************** |*/
/*|------- 3.4 Tables ----------|*\
/*|**************************** |*/

.table.align-middle tr td,
.table.align-middle tr th {
  vertical-align: middle;
}

.table thead th {
  border-color: #e9e9e9;
}

thead {
  background-color: #fafafa;
}

/*|**************************** |*/
/*|-------- 3.5 Lists ----------|*\
/*|**************************** |*/

.list-item:hover {
  background-color: #f1f1f1;
  cursor: pointer;
  -webkit-box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  transition: all 0.5s;
}

.list-item:focus {
  background-color: #f1f1f1;
  cursor: pointer;
  -webkit-box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 6px 0px -1px rgba(0, 0, 0, 0.07);
  transition: all 0.2s;
  outline: none;
}

.list-item div {
  color: black;
  font-size: 12pt;
}

.list-item div i {
  color: black;
  /* font-size: 11pt; */
}

ul ul a {
  font-size: 0.9em !important;
  padding-right: 30px !important;
  background: white;
  color: black;
}

/*|**************************** |*/
/*|------- 3.6 Dropdown --------|*\
/*|**************************** |*/

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

/*|**************************** |*/
/*|------- 3.7 Cards ----------|*\
/*|**************************** |*/

.card,
.rounded {
  border-radius: 20px !important;
}

/*|**************************** |*/
/*|------- 3.8 Modal ----------|*\
/*|**************************** |*/

.modal-content {
  background-color: #f6f6f6;
  border-radius: 18px;
}

.modal .close-m {
  position: absolute !important;
  z-index: 20 !important;
  top: 20px;
  right: 20px;
}

/*|**************************** |*/
/*|------- 3.9 Spinner ---------|*\
/*|**************************** |*/
.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner-grow 0.75s linear infinite;
  animation: spinner-grow 0.75s linear infinite;
}
@keyframes spinner-grow {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
  }
}

/*|***************************************** |*/
/*|-------------- 4. Animation --------------|*\
/*|***************************************** |*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/*|***************************************** |*/
/*|------------- 5. Media Query -------------|*\
/*|***************************************** |*/

@media (max-width: 768px) {
  #sidebar {
    margin-right: -250px;
  }
  #sidebar.active {
    margin-right: 0;
  }
  #content {
    width: 100% !important;
  }
  #sidebarCollapse span {
    display: none;
  }
}

@media (min-width: 640px) {
  .top-center {
    margin-left: 0;
    margin-right: 0;
    border-radius: 100px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}
