// Import all of Bootstrap's CSS
@import "bootstrap/scss/bootstrap";

html,
body {
  height: 100%;
  min-width: 280px;
}

.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);
  }

  &-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }
}

.bd {
  &-gray-100 {
    color: #000;
    background-color: #f8f9fa;
  }
  
  &-mode-toggle {
    z-index: 1500;
  }

  &-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;
  }
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.border {
  &-b-radius-0 {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  &-t-radius-0 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

.form-signin {
  max-width: 350px;

  .form-floating:focus-within {
    z-index: 2;
  }
}

.mb--1 {
  margin-bottom: -1px;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;

  .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;
  }
}

/*
  * TODO: bundle hover state with preventDefault js.
*/

#primary_logo_link {
  opacity: .833;
  transition: opacity 200ms;

  &:hover {
    opacity: 1;
  }
}

.home-index {
  #primary_logo_link {
    opacity: 1;

    &:hover {
      cursor: default;
    }
  }
}
