/* Custom styles moved from index.html */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/* Responsive carousel improvements */
@media (max-width: 767.98px) {
  #myCarousel .carousel-inner {
    min-height: 50vh;
  }
  #myCarousel .carousel-item img {
    min-height: 50vh;
    object-fit: cover;
    object-position: center;
  }
  #myCarousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    padding-bottom: 0;
  }
}
@media (min-width: 768px) {
  #myCarousel .carousel-inner {
    min-height: 35vh;
  }
  #myCarousel .carousel-item img {
    min-height: 35vh;
    object-fit: cover;
    object-position: center;
  }
}

.carousel-caption-bg {
  background: rgba(255,255,255,0.85);
  color: #181818 !important;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  display: inline-block;
  max-width: 90vw;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
  border: 1.5px solid #FE0000;
}
@media (max-width: 767.98px) {
  .carousel-caption-bg {
    padding: 1.2rem 0.7rem;
    font-size: 1.1rem;
  }
}
.carousel-caption-bg h1 {
  color: #181818;
  font-weight: 700;
}
.btn-ista {
  background-color: #FE0000;
  border-color: #FE0000;
  color: #fff;
  font-weight: 600;
}
.btn-ista:hover, .btn-ista:focus {
  background-color: #c90000;
  border-color: #c90000;
  color: #fff;
}
.navbar-logo {
  height: 96px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.08);
  border: 1px solid #eee;
  padding: 3px 10px 0 10px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.2rem;
}
@media (max-width: 767.98px) {
  .navbar-logo {
    height: 48px;
  }
}
.navbar-brand {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.navbar-logo-divider {
  width: 80%;
  height: 3px;
  background: #FE0000;
  border-radius: 2px;
  margin: 0.2rem auto 0.1rem auto;
  display: block;
}
.navbar {
  background: #181818 !important;
}
.navbar-nav .nav-link.active {
  border-bottom: 2.5px solid #FE0000;
  color: #fff !important;
}
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: #FE0000 !important;
}

/* --- BEGIN: nav/hamburger horizontal alignment on mobile (revertable) --- */
@media (max-width: 767.98px) {
  .navbar-brand {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
  }
  .navbar-logo {
    margin-bottom: 0;
    margin-right: 8px;
  }
}
/* --- END: nav/hamburger horizontal alignment on mobile --- */

/* --- BEGIN: nav active bolder (revertable) --- */
.navbar-nav .nav-link.nav-active-bold {
  background: #FE0000;
  color: #fff !important;
  border-radius: 0.5rem;
  font-weight: bold;
  border-bottom: none;
  padding-left: 1rem;
  padding-right: 1rem;
}
/* --- END: nav active bolder --- */ 