@font-face {
  font-family: "Fortzilla";
  src: url(/static/fonts/Fortzilla-1G44j.ttf);
}

@font-face {
  font-family: "Inter";
  src: url(/static/fonts/Inter_18pt-Regular.ttf);
}

@font-face {
  font-family: "Blanka";
  src: url(/static/fonts/Blanka-Regular.otf);
}

@font-face {
  font-family: "OpenSans";
  src: url(/static/fonts/open-sans.regular.ttf);
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* off canvas start */
.offcanvas.offcanvas-start {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.offcanvas.offcanvas-start.show,
.offcanvas.offcanvas-start.showing {
  transform: translateX(0);
}

.offcanvas.offcanvas-start.hiding {
  transform: translateX(-100%);
}

.custom-offcanvas {
  width: 386px !important;
}

@media (max-width: 767px) {
  .custom-offcanvas {
    width: 80vw !important;
  }
}
/* off canvas end */

.btn-close {
  filter: none !important;
  opacity: 1 !important;
  --bs-btn-close-focus-shadow: none !important;
}

ul {
  font-size: 0.875rem;
}

/* background image */
.cover-image {
  height: 100%;
  width: 100%;
  background-image: url(/static/imgs/cover.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(100dvh - 48px);
  width: 100%;
}

/* backdrop for background image */
.cover-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000000bf;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cover-image.backdrop-on::before {
  opacity: 1;
}

.login-width {
  background-color: white;
  width: 432px;
  height: 45vh;
  position: relative;
  z-index: 1;
}

/* login width repsonsive */
@media (max-width: 767px) {
  .login-width {
    width: 90dvw !important;
  }
}

/* nav pills active link color */
.nav-pills .nav-link.active {
  background-color: #001f3d !important;
}

/* table head color */
.table-head-color {
  background-color: #001f3d !important;
}

/* custom button for no hover / active border */
.custom_button {
  border-color: transparent !important;
}

/* custom font size */
.fs-7 {
  font-size: 0.875rem;
}

.fs-8 {
  font-size: 0.75rem;
}

@media (min-width: 992px) {
  /* lg breakpoint */
  .fs-lg-6 {
    font-size: 1rem;
  }
}

/* custom height for database and bal parent */
.custom-parent1-size {
  height: 132.5dvh;
}

@media (min-width: 992px) {
  .custom-parent1-size {
    height: calc(100dvh - 63px);
    width: 80vw;
  }
}

/* custom training status size */
@media (min-width: 992px) {
  .custom-trainingstatus-size {
    width: 20vw;
  }
}

/* custom height for table  */
.custom-table-height {
  max-height: 67.5dvh;
}

@media (min-width: 992px) {
  /* lg breakpoint */
  .custom-table-height {
    min-height: 65dvh;
  }
}

/* custom width for balance */

.custom-balance-width {
  width: 100%; /* default for column layout */
}

@media (min-width: 992px) {
  /* lg breakpoint */
  .custom-balance-width {
    width: 33.3333%;
  }
}

/* custom height for balance */
.custom-balance-height {
  height: 33.3%;
}

@media (min-width: 992px) {
  .custom-balance-height {
    height: 229.517px;
  }
}

/* custom height for balance parent */
.custom-balparent-height {
  /* previously 75 */
  min-height: 75dvh;
}

@media (min-width: 992px) {
  .custom-balparent-height {
    min-height: auto;
  }
}

/* custom balance modal size */
.custom-bal-modal-size {
  width: auto;
}
@media (min-width: 992px) {
  .custom-bal-modal-size {
    width: 25vw;
  }
}

/* custom table design */
@media (max-width: 768px) {
  .custom-table thead {
    display: none;
  }

  .custom-table tr {
    display: block;
    margin-bottom: 0.25rem;
    padding: 0.5rem;
  }

  .custom-table td {
    display: flex;
    justify-content: space-between;
  }

  .custom-table td::before {
    content: attr(data-label);
    font-weight: bold;
  }
}
/* custom active style of card */
.nav-tabs .nav-link.active {
  background-color: #001f3d !important;
  color: white !important;
  border-radius: 0;
}

.nav-tabs .nav-link {
  color: black !important;
  border-radius: 0;
}

/* arsenals background color */
.arsenals-bg {
  background-color: #001f3d !important;
}
