:root {
  --menu-width: 300px;
}

.main-menu .navigation > li.active > a {
  background: linear-gradient(
    118deg,
    var(--bs-primary),
    rgba(var(--bs-primary-rgb), 0.7)
  ) !important;
  box-shadow: 0 0 10px 1px rgb(225 155 60 / 70%) !important;
  color: #fff;
  font-weight: 400;
  border-radius: 4px;
}

.bg-linear-gradient-primary {
  background: linear-gradient(
    118deg,
    var(--bs-primary),
    rgba(var(--bs-primary-rgb), 0.7)
  ) !important;
}

/* 
.main-menu.menu-light .navigation>li ul .active {
  background: linear-gradient(118deg, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.7)) !important;
} */

@media only screen and (min-width: 768px) {
  html .content {
    margin-left: var(--menu-width);
  }

  .vertical-layout.vertical-menu-modern.menu-expanded .main-menu {
    width: var(--menu-width);
  }

  .header-navbar.floating-nav {
    width: calc(100vw - (100vw - 100%) - calc(2rem * 2) - var(--menu-width));
  }

  .blank-page .header-navbar.floating-nav {
    width: 100%;
    left: 0;
  }

  .header-navbar.fixed-top,
  .header-navbar.floating-nav {
    left: var(--menu-width);
  }

  /* html .blank-page .content.app-content {
    padding-top: 9rem !important;
  } */

  .vertical-layout.vertical-menu-modern.menu-expanded .footer {
    margin-left: var(--menu-width);
  }
}

.btn-primary {
  background-color: var(--bs-primary) !important;
}

.btn-primary:active {
  background-color: var(--bs-primary) !important;
}

.btn-primary:focus {
  background-color: var(--bs-primary) !important;
}

/* 
.btn-primary:hover {
  box-shadow: 0 0 10px 1px rgb(225 155 60 / 70%) !important;
} */

/* sizing */
@media only screen and (min-width: 768px) {
  .w-sm-auto {
    width: auto !important;
  }
}

/* end sizing */

/* select 2 custom */
.dark-layout .select2-container .select2-selection__rendered {
  color: #b4b7bd;
}
.dark-layout .select2-container--disabled .select2-selection {
  opacity: 1;
}

/* .table {
  width: auto !important;
  table-layout: auto !important;
}
.table thead th, .table tfoot th {
  width: auto !important;
}
.table tbody td, .table tfoot td {
  width: auto !important;
} */

/* end select 2 custom */

.form-label {
  font-size: 1rem;
}

label {
  font-size: 1rem;
}

.form-control {
  font-weight: 500;
}

.form-select {
  font-weight: 500;
}

/* Table Sangar */

.table-sangar-container {
  overflow: auto;
  max-height: 250px;
}

.table-sangar thead th {
  /* position: relative; */
  position: sticky;
  top: 0;
  z-index: 1;
  border-collapse: separate !important;
}

.resizer {
  /* Displayed at the right side of column */
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  cursor: col-resize;
  user-select: none;
}

.resizer:hover,
.resizing {
  border-right: 2px solid #000;
}

/* sweetalert button */

.swal2-styled.swal2-confirm {
  background-color: var(--bs-primary) !important;
}
