:root {
  --mojo-success: #007934;
  --mojo-danger: #E0292D;
  --mojo-warning: #FFA500;
  --mojo-info: #271C9B;
  --mojo-pink: #FF59BE;
}

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

* {
  /* https://fonts.google.com/specimen/Anek+Latin?query=anek+ */
  font-family: 'Anek', sans-serif;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

/*
 * Login
 */
.login-background {
  position: relative;
  overflow: hidden;
}

.login-background:before {
  content: "";
  z-index: -1;
  position: absolute;
  left: -50%;
  top: -50%;

  width: 250vw;
  height: 250vh;

  background-image: url(../img/&black.png);
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 215px;
  background-color: rgb(245, 245, 245);

  transform: rotate(-20deg);

  animation-name: backgroundColorPalette;
  animation-duration: 120s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes backgroundColorPalette {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30% 30%;
  }
}

.w-75-md {
  max-width: 576px;
  width: 75%;
  
  @media (max-width: 576px) {
    width: 100%;
  }
}

.form-control-success:focus {
  border-color: var(--mojo-success)!important;
  box-shadow: 0 0 0 0.2rem rgba(0, 121, 52, 0.25) !important;
}

.btn-outline-success-ow {
  border-color: var(--mojo-success) !important;
  color: var(--mojo-success) !important;
  
  &:hover {
    color: var(--bs-btn-hover-color) !important;
    background-color: var(--mojo-success) !important;
    /* box-shadow: 0 0 0 0.2rem rgba(0, 121, 52, 0.25) !important; */
    /* border-color: var(--mojo-success); */
  }

  &:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 52, 0.25) !important;
    /* border-color: var(--mojo-success); */
  }
}


/*
 * Main
 */

.h-100vh {
  height: 100vh;
}

.h-fill-available {
  height: -webkit-fill-available;
  height: fill-available;
}

.h-fill-available-md {
  height: -webkit-fill-available;

  @media (max-width: 768px) {
    height: initial !important;
  }
}

li.nav-item.bg-body-secondary > a {
  font-weight: bold;
}

.cont-graph {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;
}

/**
 * Recherche
 */
.bc-black {
  border-color: var(--bs-black);

  &:hover {
      border-color: var(--bs-gray-600);
  }

  &.bc-focus:focus {
      border-color: var(--bs-gray-600);
      color: inherit;
      box-shadow: none;
      z-index: 0;
  }
}

/**
 * Copy
 */
.cont-copy {
  &>button {
    background-color: #21252a;
    transition: all 0.1s ease-in-out;
    opacity: 0;
  }

  &:hover {
    &>button {
      opacity: 1;
    }
  }
}