﻿#contentwrapper * {
    visibility: hidden;
}

body {
    overflow: hidden;
}

.body-content {
    display:block !important;
}

h1 {
    color: #808080;
    font-size: 5em;
    margin-bottom: 0 !important;
}

footer p {
    text-align:center;
}

#bg1, #bg2 {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-size: cover;
}

#bg1 {
    background: url(/img/cool_production_background.svg);
    background-size: cover;
    z-index: 1;
}

#bg2 {
    display: none;
    background: rgba(0,0,0,0.7);
    z-index: 2;
}

#loginForm {
    padding: 2.5%;
    background-color: #272727db;
    border-radius: 15px;
    color: white;
    width: 40%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 7%;
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
}

#loginForm h1 {
    color: white;
}

#usernameContainer, #passwordContainer {
    position: relative;
}

#usernameContainer span, #passwordContainer span {
    position: absolute;
    top: -9px;
    left: 19px;
    font-weight: 700;
    font-size: 1.2em;
}

#username, #password {
    border: 2px solid rgb(0 150 241 / 50%);
    color: white !important;
    background-color: rgb(0 0 0 / 20%) !important;
}

#forgotPassword {
    padding: 2.5%;
    background-color: #fff;
    width: 45%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 7%;
    position: relative;
    z-index: 3;
}

#loginForm .form-group, #forgotPassword .form-group {
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#loginSubTitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: .65em;
    position: relative;
    top: -25px;
    color: lightskyblue;
}

#miniAlerts {
    display: none;
    text-align: center;
    color: white;
    background: red;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.5em;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
}

#nav-container {
    display: none;
}

#loaderWrapper, #backgroundBlackout {
    height: 100vh;
    top: 0;
}

/* Scanner */

div#scanToLoginSubview {
    top: 3%;
    height: 95%;
}

#loginOppWithQRCodeBtn {
    margin: 30px 0;
}

#scannerVideoContainer {
    position: relative;
    margin-top: 20%;
}

#scannerVideo {
    width: 90%;
}

button#closeScannerBtn {
    margin-bottom: 40px;
}

#scannerBox {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 130px;
  background-color: transparent;
  background-image: linear-gradient(to right, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to bottom, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to left, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to bottom, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to right, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to top, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to left, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%)),
  linear-gradient(to top, rgb(0 206 255 / 60%), rgb(0 206 255 / 60%));
  background-repeat: no-repeat;
  background-size: 50px 3px,
  3px 50px,
  50px 3px,
  3px 50px,
  50px 3px,
  3px 50px,
  50px 3px,
  3px 50px;
  background-position: top left,
  top left,
  top right,
  top right,
  bottom left,
  bottom left,
  bottom right,
  bottom right;
}

#scannerBox::before {
  content: "";
  width: 100%;
  background: rgb(0 0 255 / 15%);
  display: block;
  height: 100%;
}

@media screen and (max-width: 721px) {
    #loginForm {
        width: 90%;
    }

    #submitBtn {
        margin-top: 25px;
    }
}