/* ------------------ GRiD Custom CSS ------------------ */

/* ----- Font Families ----- */

/* Light weight font - 300 weight */
@font-face {
  font-family: 'Montserrat-Light';
  src: url("../fonts/Montserrat-Light.409c7f79a42e.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Regular weight font - 400 weight */
@font-face {
  font-family: 'Montserrat-Regular';
  src: url("../fonts/Montserrat-Regular.ee6539921d71.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Bold weight font - 600 weight */
@font-face {
  font-family: 'Montserrat-SemiBold';
  src: url("../fonts/Montserrat-SemiBold.c641dbee1d75.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* ----- Body and high level changes ----- */
body {
  padding-top: 94px; /* Height of navbar + top banner */
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
  font-size: 0.85rem;
}

h1, h2, h3, h4, h5, h6,
h1 small, h2 small, h3 small,
h4 small, h5 small, h6 small {
  font-family: 'Montserrat-Light',Helvetica,Arial,sans-serif;
}

.bigger {
  font-size: 1rem !important;
}

.table {
  font-size: 0.85rem;
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
}

/* ------ Theme specific -------------------------*/

/* ------ Light Theme -------- */

html[data-bs-theme="light"] .form-control {
  border: var(--bs-border-width) solid var(--bs-dark-border-subtle);
}

html[data-bs-theme="light"]  a.nav-link, a.text-nowrap, .dropdown-item {
  color: var(--bs-body-color);
}

/* ------ Dark Theme -------- */

html[data-bs-theme="dark"]  a:not(.btn, .nav-link, .dropdown-item, .text-nowrap) {
  color: rgba(var(--bs-success-rgb), var(--bs-link-opacity, 1));
}

html[data-bs-theme="dark"]  a.nav-link, a.text-nowrap, .dropdown-item {
  color: var(--bs-body-color);
}

/* ------ Customize buttons --------------------------*/
.btn {
  border-radius: 0px !important;
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
}

.btn:disabled {
  cursor: not-allowed;
}

/* Disable dropdown anchors tags */
a.disabled, a.disabled:hover {
  cursor: not-allowed;
}

.dropdown-menu {
  --bs-dropdown-border-radius: 0px !important;
}

.dropdown-item {
  font-size: 0.85rem;
}

a:not(.btn) {
  text-decoration: none;
}

a:hover:not(.btn),
a:focus:not(.btn) {
  text-decoration: none;
}

/* Style link buttons to look like regular links */
.btn-link {
  padding: 0px 2px 0px 2px;
  border: none;
}

.btn-link:active {
  padding: 0px;
  border: none;
}

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

/* ------ General page sections ----------------------*/
.page-header {
  margin: 20px 0 20px;
  border-bottom: 1px solid var(--bs-secondary);
}

.actions {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 25px;
  text-align: center;
  border-top: 1px solid var(--bs-secondary);
}

/* ------ Customize the navbar ----------------------*/
.navbar.fixed-top {
  top: 26px;
}

/* Make navbar links white and uppercase */
nav a.nav-link {
  text-transform: uppercase;
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
  color: var(--bs-body-color) !important;
}

/* Don't use success color while hovering in the navbar */
.bg-primary .navbar-nav .nav-link:hover {
  color: var(--bs-body-color) !important;
}

img.brand {
  width: 70px;
  height: 22px;
  opacity: 0.9;
}

.navbar-brand {
  padding-top: .1rem !important;
}

/* ------ Customize the footer ----------------------*/
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  text-align: center;
}

/* ------ Customize the banner -----------------------*/
.banner {
  position: fixed;
  width: 100%;
  padding: 3px;
  text-align: center;
  white-space: nowrap;
}

.top-banner {
  top: 0px;
}

.bottom-banner {
  bottom: 0px;
}

/* ------ Customize sidebars -------------------------*/
div.wrapper {
    display: flex;
    width: 100%;
}

div.main {
    width: calc(100% - 300px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 94px;
    right: 0;
    left: 300px;
    padding-left: 30px;
    padding-bottom: 50px;
}

div.wrapper.hidden div.main {
    width: 100%;
    left: 0px;
}

div.sidebar {
    width: 300px;
    position: fixed;
    top: 94px;
    left: 0;
    height: 100vh;
    transition: all 0.3s;
    font-size: 0.85rem;
    overflow-y: scroll;
}

div.sidebar-inner {
    margin-bottom: 150px;
}

div.wrapper.hidden div.sidebar {
    margin-left: -300px;
}

button.sidebar-toggle {
    position: fixed;
    transition: all 0.3s;
    top: 94px;
    left: 299px;
    text-align: center;
    font-size: 1.5rem;
    border-bottom-right-radius: 3px;
    cursor: pointer;
    border: none;
}

div.wrapper.hidden div.main button.sidebar-toggle {
    left: 0px;
}

.sidebar h1, .sidebar h2, .sidebar h3,
.sidebar h4, .sidebar h5, .sidebar h6 {
    font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
    text-transform: uppercase;
}

.sidebar a.nav-link,
.sidebar div.nav-link,
.sidebar span.nav-link,
.sidebar h6.nav-link {
    padding: .1rem .5rem;
}

.sidebar a.nav-link.active,
.sidebar div.nav-link.active,
.sidebar span.nav-link.active,
.sidebar h6.nav-link.active,
.sidebar a.nav-link:hover,
.sidebar div.nav-link a:hover,
.sidebar span.nav-link:hover {
    font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
    color: rgba(var(--bs-body-color), var(--bs-link-opacity, 1)) !important;
    background-color: var(--bs-secondary-bg-subtle);
}

/* --------- MISC --------------------------------------*/

/* Allow for modal scrolling */
.modal-open .modal {
  overflow-x:scroll;
  overflow-y:scroll;
}

/* --------- Training Guide --------------------------------------*/
#training-index a {
  color: var(--bs-body-color);
}

/* --------- Custom Font Weight Classes ----------------*/
/* --------- Needs to be at the end of this file -------*/

p {
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
}

.light-weight {
  font-family: 'Montserrat-Light',Helvetica,Arial,sans-serif !important;
}

.regular-weight {
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif !important;
}

.bold-weight {
  font-family: 'Montserrat-SemiBold',Helvetica,Arial,sans-serif !important;
}

.bold-label {
  font-family: 'Montserrat-SemiBold',Helvetica,Arial,sans-serif !important;
}

label {
  font-family: 'Montserrat-Regular',Helvetica,Arial,sans-serif;
}

/* ---------- END CUSTOM CSS ------------------------------------*/
