:root {
  --app-dark: #0e395c;
  --app-primary: #1d517a;
  --app-dark-primary: #003764;
  --app-warning: #fbc443;
  --app-danger: #dc4847;
  --app-success: #2dcc70;
  --app-dark-success: #22b860;
  --app-secondary: #6d97b2;
  --app-info: #80caeb;
}
html,
body {
  font-family: Muli, sans-serif;
  background-color: #f1f9fd;
}
.t-300 {
  font-weight: 300 !important;
}
.t-400 {
  font-weight: 400 !important;
}
.t-700 {
  font-weight: 700 !important;
}
.color-dark {
  color: var(--app-dark) !important;
}
/* =================== */
main .view-header {
  position: fixed;
  width: 100%;
  background-color: var(--app-secondary);
  padding: 0.5rem;
  transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -moz-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -o-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
}
main .view-header.menu-active {
  padding-left: 100px;
}

main .view-sidebar {
  position: fixed;
  width: 120px;
  flex: 0 0 auto;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--app-dark-primary);
  z-index: 999;
  transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -moz-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
  -o-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1);
}
main .view-sidebar .sidebar-menu .nav-link {
  text-align: center;
  background-color: transparent !important;
  color: #fff;
  padding: 0.75rem 0.25rem;
  border-radius: 0.125rem;
  transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -moz-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -o-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
}
main .view-sidebar .sidebar-menu .nav-link:hover,
main .view-sidebar .sidebar-menu .nav-link:focus,
main .view-sidebar .sidebar-menu .nav-link:active {
  background-color: var(--app-primary) !important;
}
main .view-sidebar .sidebar-menu .nav-link span {
  font-size: 11px;
  font-weight: 600;
  padding-top: 0.25rem;
  text-transform: uppercase;
}
main .view-sidebar .sidebar-menu .nav-link.active {
  background-color: var(--app-primary) !important;
  /* color: #f48f29; */
}

main .view-content {
  width: calc(100% - 120px);
  min-height: 100vh;
  margin-left: 120px;
  padding: 66px 1rem 1rem;
  transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -moz-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
  -o-transition: all 0.5s cubic-bezier(0.4, 1, 0.2, 1.05);
}

@media (max-width: 520px) {
  main .view-sidebar {
    left: -250px;
  }
  main .view-content {
    width: 100%;
    margin-left: 0;
  }

  main.menu-active .view-header {
    padding-left: 120px;
  }
  main.menu-active .view-sidebar {
    left: 0;
  }
}

/* ====================== */

.table {
  --bs-table-hover-bg: #e6f3fa;
}
.table-responsive {
  height: calc(100vh - 180px);
  overflow: auto;
}
.table-responsive table.ui-table {
  border-collapse: separate;
  border-spacing: 0px 4px;
}
.table-responsive table.ui-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--app-info);
  color: var(--app-dark);
}
.table-responsive table.ui-table tbody td {
  font-size: 13px;
  font-weight: 500;
  color: var(--app-dark);
  background-color: #fff;
}
.table-responsive table.ui-table thead th:first-child {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.table-responsive table.ui-table thead th:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.table-responsive table.ui-table tbody td:first-child {
  border-top-left-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}
.table-responsive table.ui-table tbody td:last-child {
  border-top-right-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
}
/* ====================== */
.ui-card {
  border-radius: 0.35rem;
  border: 0;
}
.form-label {
  color: #6c757d;
}
/* ====================== */
.btn {
  border-radius: 0.25rem;
  padding: 0.275rem 0.75rem;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-primary {
  --bs-btn-bg: var(--app-primary);
  --bs-btn-border-color: var(--app-primary);
  --bs-btn-hover-bg: var(--app-dark-primary);
  --bs-btn-hover-border-color: var(--app-dark-primary);
  --bs-btn-active-bg: var(--app-dark-primary);
  --bs-btn-active-border-color: var(--app-dark-primary);
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-bg: var(--app-primary);
  --bs-btn-disabled-border-color: var(--app-primary);
}

.btn-success {
  --bs-btn-bg: var(--app-success);
  --bs-btn-border-color: var(--app-success);
  --bs-btn-hover-bg: var(--app-dark-success);
  --bs-btn-hover-border-color: var(--app-dark-success);
  --bs-btn-active-bg: var(--app-dark-success);
  --bs-btn-active-border-color: var(--app-dark-success);
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-bg: var(--app-success);
  --bs-btn-disabled-border-color: var(--app-success);
}
/* ================== */
.switch {
  --circle: #deeaf0;
  --background: #fff;
  --duration: 0.3s;
  position: relative;
  display: block;
  margin: auto;
  cursor: pointer;
  width: 48px;
  height: 26px;
  border-radius: 16px;
  background: var(--background);
  border: 2px solid #deeaf0;
}
.switch span {
  --x: -4px;
  --b: var(--circle);
  --s: 4px;
  position: absolute;
  left: 6px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--s) var(--b);
  transform: translateX(var(--x));
  transition: box-shadow var(--duration) ease, transform var(--duration) ease;
}
.switch.active span {
  --x: 18px;
  --s: 12px;
  --b: var(--app-success);
}
/* ==================== */
.offcanvas.ui-offcanvas.form-end {
  --bs-offcanvas-width: 720px;
}
/* ==================== */
.tb-col {
  word-break: break-all !important;
  white-space: nowrap !important;
}
/* ==================== */
figure.image {
  text-align: center;
  margin: 0.5rem;
}
figure.image img {
  max-width: 100%;
  height: auto;
}
/* ====================== */
/*TAB USE PROD*/
.tab-wrapper.swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.tab-wrapper.swiper .tab-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.tab-wrapper.swiper .tab-content .tab-pane {
  /* text-align: center; */
  /* font-size: 18px; */
  /* background: #fff; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  /* -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center; */
  /* -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center; */
}

.tab-wrapper.swiper .tab-content .tab-pane {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.tab-wrapper.swiper .tab-content {
  width: 100%;
  transition: 0.5s cubic-bezier(0.4, 1, 0.2, 1.01);
  /* transition: 0.4s cubic-bezier(0.7, 0, 0.38, 0.86) all; */
}
