html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh !important;
  height: -webkit-fill-available;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.sidebar {
  max-width: 280px;
  min-width: 280px;
}

.main-title {
  margin-top: -16px;
  background-color: rgba(0, 0, 0, .75);
  color: #fff;
  margin-left: calc(-1 * var(--bs-gutter-x, .75rem));
  margin-right: calc(-1 * var(--bs-gutter-x, .75rem));
  box-shadow: 0 .2rem 1rem rgba(0, 0, 0, .15)
}

.main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}


.main .container-fluid {
  padding-top: 16px;
  padding-bottom: 16px;
}

.btn {
  white-space: nowrap;
}

.form-signin {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 330px;
  padding: 15px;
  margin: auto;
  justify-content: center;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.sidebar>.list-unstyled {
  overflow-y: auto;
  overflow-x: hidden;
  flex-grow: 1;
}



.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#token-expiry-alert {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  width: auto;
  max-width: 400px;
}



.sidebar .btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  background-color: transparent;
  border: 0;
}
.sidebar .btn:active,
.sidebar .btn:focus,
.sidebar .btn-toggle:active,
.sidebar .btn-toggle:focus {
  outline: none;
  box-shadow: none;
}


.sidebar .btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.sidebar .btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.sidebar .btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}

.w-20 {
    width: 20% !important;
}