/* App Styles */
html {
  scroll-behavior: smooth;
}

#app-wrapper {
  position: relative;
}

#bg-img {
  position: absolute;
  z-index: -20;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.5s;
  display: none;
  height: 100%;
  max-height: 1050px;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Adds default bg-img if no custom-bg class is present */
div#bg-img:not(.custom-bg) {
  background-image: var(--default-bg-image);
}

#loading-root div {
  position: absolute;
  height: 100vh;
  width: 100vw;
  background-color: white;
  opacity: 0.9;
  font-size: 2rem;
  color: var(--color-primary);
}

#loading-root div p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#sidebar-menu-root {
  position: fixed;
  right: 0;
  bottom: 0;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.section-404-wrap {
  background-color: #fff;
  max-width: 1176px;
  padding: 24px;
  margin: 36px;
}
.section-404-wrap h1 {
  margin-top: 0;
}

@media only screen and (min-width: 970px) {
  #sidebar-menu-root {
    top: 50%;
  }
  #bg-img {
    display: block;
  }
}
@media only screen and (min-width: 1206px) {
  .section-404-wrap {
    margin: 24px auto;
  }
}

/**
 * Hide blinking cursor
 * Add select caret to background
 */
.autocomplete-list input {
  color: transparent;
  background-image: url('/server/assets/images/down-caret-red.svg');
  background-repeat: no-repeat;
  background-position: right 14px bottom 50%;
}

/**
 * yellow application notice
 *
 */
.app-notice {
  background-color: rgb(255, 240, 189);
  color: rgb(112, 112, 112);
  padding: 24px;
  margin-bottom: 24px;
  font-size: 16px;
  text-align: center;
}

/**
 * Move mobile sidebar up 25px to account for zendesk widget
 */
#sidebar-menu-root {
  bottom: 25px;
  right: -5px;
}
