body.login {
  background-color: #004F7E;
  background-size: cover;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100vh;
}

#login_wrapper {
  background: rgba(0, 51, 73, 0.85);
  color: white;
  margin: 0 auto;
  padding: 1.618em;
  width: 480px;
  text-align: center;
}

#login_wrapper h2 {
  margin: 0;
}

#login_wrapper form div {
  border: 0;
  margin: 0.5em 0;
  padding: 0;
}

#login_wrapper button {
  background-color: transparent;
  display: inline-block;
  padding: 0;
  margin-top: 0.75em;
  width: 240px;
}

/* Applied to all bg adjustment layers */
.login-background {
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* Semi-transparent photographic noise helps stretched or blurry background images
appear more detailed */
#login-background-noise {
  background: url("/static/img/backgrounds/noise.e10bfa41d2ec.png");
  opacity: 12%;
  z-index: 1;
}

/* This is a dotted texture, an alternative to the photo noise. It helps with image
issues like the photographic noise, but with a visible style.  */
#login-background-texture {
  background-image: url("/static/img/backgrounds/login_texture.a9ad584c8264.png");
  background-repeat: repeat;
  opacity: 20%;
  z-index: 2;
}

/* This gradient adds (branding color-appropriate) darkness beneath the white elements
of the company logo, adding contrast and increasing legibility. */
#login-background-gradient-black {
  background: linear-gradient(0deg, transparent 50%, black 100%);
  z-index: 3;
}

#login-background-gradient-blue {
  background: linear-gradient(0deg, transparent 50%, var(--blue) 100%);
  z-index: 4;
}

#login-ui {
  position: relative;
  z-index: 10;
}

body.login header figure {
  margin: 0 auto;
  padding: 1em 0;
  width: 420px;
}

body.login figure svg {
  display: block;
  position: relative;
  width: 100%;
}

#login_wrapper button figure {
  padding: 0;
}

.login-error {
  background-color: #B22A2C;
  color: white;
  line-height: 1.35;
  margin: 1em 0 1.5em;
  padding: 1rem;
}

/* Slider */

#opacity_range_slider {
  background: rgba(0, 51, 73, 0.85);
  bottom: 1em;
  color: white;
  left: 1em;
  padding: 1.618em;
  position: absolute;
  z-index: 10;
}

#opacity_range_slider h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  width: 300px;
}

.slider-container {
  position: relative;
  margin: 0;
  width: 100%;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: #989a9a;
  outline: none;
  opacity: 0.7;
  transition: opacity .2s;
}

.range-slider:hover {
  opacity: 1;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  width: 20px;
  height: 20px;
  background: #E58117;
  cursor: pointer;
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #E58117;
  cursor: pointer;
}
