/*******************
Layout / Grid
*******************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  outline: none;
}

body {
  overflow-x: hidden;
  background-color: #f4f6f9;
}

a {
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: none;
  color: #1c4c75;
}

.overflow-auto {
  overflow: auto !important;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

h3,
.h3 {
  font-size: 1.3125rem;
}

h4,
.h4 {
  font-size: 1.125rem;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn:hover {
  text-decoration: none;
}

.scroll-sidebar {
  position: relative;
  height: calc(100% - 20px);
}

.font-12 {
  font-size: 12px;
}

.font-14 {
  font-size: 14px;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-21 {
  font-size: 21px;
}

.position-relative {
  position: relative !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center !important;
}

.ps-container {
  -ms-touch-action: auto;
  touch-action: auto;
  overflow: hidden !important;
  -ms-overflow-style: none;
}

.d-block {
  display: block !important;
}

.flex-fill {
  flex: 1 1 auto !important;
}

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

.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

#main-wrapper {
  width: 100%;
  overflow: hidden;
}

#main-wrapper[data-layout="vertical"][data-header-position="fixed"] .page-wrapper {
  padding-top: 0;
}

#main-wrapper[data-layout="vertical"][data-sidebartype="full"] .page-wrapper {
  margin-left: 240px;
}

.page-wrapper {
  position: relative;
  transition: 0.2s ease-in;
}

.page-wrapper > .container-fluid,
.page-wrapper > .container-sm,
.page-wrapper > .container-md,
.page-wrapper > .container-lg,
.page-wrapper > .container-xl {
  padding: 25px;
  min-height: 1320px;
}

.right-part .show-right-part {
  position: absolute;
  top: 30px;
}

.btn-circle {
  border-radius: 100%;
}

.reverse-mode .right-part.dashboard-right-part {
  top: 0;
  box-shadow: 0 0 1px 0 rgba(48, 49, 51, 0.05), 0 4px 8px 0 rgba(48, 49, 51, 0.1);
}

.reverse-mode .right-part {
  right: 0;
  border-left: 1px solid #e9ecef;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

#main-wrapper[data-layout="vertical"][data-sidebar-position="fixed"] .left-sidebar {
  position: fixed;
}

.reverse-mode .right-part {
  right: 0;
  border-left: 1px solid #e9ecef;
}

.preloader {
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  z-index: 99999;
  background: #fff;
}

.topbar {
  position: relative;
  height: 77px;
  background: #fff;
  z-index: 50;
  transition: 0.2s ease-in;
  box-shadow: 1px 0 7px rgba(0, 0, 0, 0.05);
  padding-top: 4px;
}

.topbar .top-navbar {
  padding: 10px 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
}

.topbar .top-navbar > * {
  margin: 0 !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

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

.sidebar-nav ul .sidebar-item .sidebar-link {
  padding: 12px 15px;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

[type="checkbox"]:not(:checked)[class*="material-inputs"],
[type="checkbox"]:checked[class*="material-inputs"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

.form-check-label {
  margin-bottom: 0;
}

[type="checkbox"] + label {
  padding-left: 26px;
  height: 16px;
  line-height: 21px;
  font-weight: normal;
}

[type="checkbox"] + label {
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  display: inline-block;
  height: 16px;
  line-height: 21px;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}

[type="checkbox"] + label:before,
[type="checkbox"]:not(.filled-in) + label:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  z-index: 0;
  border: 1px solid #b1b8bb;
  border-radius: 1px;
  margin-top: 2px;
  transition: 0.2s;
}

[type="checkbox"]:checked + label:before {
  top: -4px;
  left: -5px;
  width: 12px;
  height: 22px;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid #26a69a;
  border-bottom: 2px solid #26a69a;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

[type="checkbox"]:not(.filled-in) + label:after {
  border: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

[type="checkbox"] + label:before,
[type="checkbox"]:not(.filled-in) + label:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  z-index: 0;
  border: 1px solid #b1b8bb;
  border-radius: 1px;
  margin-top: 2px;
  transition: 0.2s;
}

[type="radio"]:not(:checked)[class*="material-inputs"],
[type="radio"]:checked[class*="material-inputs"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

[type="radio"]:checked + label:after {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

[type="radio"]:checked + label:after,
[type="radio"].with-gap:checked + label:after {
  background-color: #26a69a;
  z-index: 0;
}

[type="radio"]:checked + label:after,
[type="radio"].with-gap:checked + label:before,
[type="radio"].with-gap:checked + label:after {
  border: 2px solid #26a69a;
}

[type="radio"]:not(:checked) + label:after {
  z-index: -1;
  -webkit-transform: scale(0);
  transform: scale(0);
}

[type="radio"]:not(:checked) + label:before,
[type="radio"]:not(:checked) + label:after {
  border: 2px solid #5a5a5a;
}

[type="radio"]:not(:checked) + label:before,
[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:before,
[type="radio"]:checked + label:after,
[type="radio"].with-gap:checked + label:before,
[type="radio"].with-gap:checked + label:after {
  border-radius: 50%;
}

[type="radio"] + label:before,
[type="radio"] + label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  margin: 4px;
  width: 16px;
  height: 16px;
  z-index: 0;
  transition: 0.28s ease;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  display: inline-block;
  line-height: 21px;
  font-size: 1rem;
  transition: 0.28s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

[type="radio"]:not(:checked) + label {
  padding-left: 26px;
  line-height: 22px;
  font-weight: normal;
}

.ps-container > .ps-scrollbar-y-rail {
  display: none;
  position: absolute;
  opacity: 0;
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  -o-transition: background-color 0.2s linear, opacity 0.2s linear;
  -moz-transition: background-color 0.2s linear, opacity 0.2s linear;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  right: 0;
  width: 15px;
}

.ps-container .ps-scrollbar-y-rail {
  position: absolute;
  right: 3px;
  width: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  opacity: 0;
  filter: alpha(opacity=0);
  -o-transition: background-color 0.2s linear, opacity 0.2s linear;
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  -moz-transition: background-color 0.2s linear, opacity 0.2s linear;
  transition: background-color 0.2s linear, opacity 0.2s linear;
}

.ps-container.ps-active-x > .ps-scrollbar-x-rail,
.ps-container.ps-active-y > .ps-scrollbar-y-rail {
  display: block;
  background-color: transparent;
}

@media (max-width: 1024px) {
  #main-wrapper[data-sidebartype="mini-sidebar"] .left-sidebar,
  #main-wrapper[data-sidebartype="mini-sidebar"] .left-sidebar .sidebar-footer {
    left: -240px;
  }
}

@media (min-width: 768px) {
  .navbar-expand-md {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }
}

@media (max-width: 768px) {
  .navbar-brand .logo-text img {
    display: none;
  }

  .page-wrapper > .container-fluid,
  .page-wrapper > .container-sm,
  .page-wrapper > .container-md,
  .page-wrapper > .container-lg,
  .page-wrapper > .container-xl {
    padding: 25px;
    min-height: 100vh;
  }
}

@media (min-width: 576px) {
  .form-inline .form-group {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row wrap;
    align-items: center;
    margin-bottom: 0;
  }

  .form-inline .input-group,
  .form-inline .custom-select {
    width: auto;
  }
}
