* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-width: 320px;
  font-family: sans-serif;
  font-size: calc(0.2vw + 15.6px);
  line-height: 1.5;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* -webkit-font-smoothing: antialiased; */
}

body {
  padding: 0;
  margin: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  color: #FBFDFE;
  background: hsl(252, 14%, 2%) no-repeat center center fixed;
  background-size: cover;
}

.glasspane {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsl(252, 14%, 2%);
}

.login-head {
  display: flex;
  justify-content: space-between
}

.test-note {
  margin-top: 0rem;
  margin-right: 0.133rem;
  font-size: 1rem;
  font-weight: bold;
  display: none;
  color: yellow;
  text-shadow: rgba(0, 0, 0, 0.4) 0.237px 0.237px 1px;
}

.visible {
  display: block;
}

.content {
  padding: 0.563rem;
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  grid-row-start: 2;
  grid-row-end: 3;
  padding: 0.563rem;
  font-size: 0.563rem;
  color: #96A2A7;
  text-align: center;
  display: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
  color: white;
}

input:focus {
  outline: none;
}

::-webkit-scrollbar {
  display: none;
}

.footer a {
  margin-left: 0.177rem;
  margin-right: 0.177rem;
}

.clevertronics_logo {
  display: block;
  margin-top: -0.422rem;
  margin-left: -0.422rem;
}

.clevertronics_logo img {
  width: 10rem;
  height: auto;
  filter: brightness(118%);
}

.clevertronics_logo a:hover {
  text-decoration: none;
  filter: brightness(122%);
}

.login {
  position: relative;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
}

.login div {
  position: relative;
}

.xt-hive {
  margin-top: 10vh;
  margin-bottom: 14.22vh;
}

.xt-hive img {
  width: 100%;
  height: auto;
  /* filter: hue-rotate(45deg); */
}


@media all and (max-width: 480px) {
  .footer .terms {
    display: none;
  }
}

#submit-button {
  color: white;
  margin-top: 4.21rem;
  margin-bottom: 0.5rem;
  background-color: hsl(197, 79%, 22%);
  border: none;
  text-transform: uppercase;
}

#submit-button:hover {
  color: white;
  cursor: pointer;
  background-color: hsl(197, 79%, 28%);
}

#submit-button.pressed {
  background-color: hsl(197, 79%, 22%);
}

#submit-button:disabled {
  color: #616161;
  background-color: #1c1c1c;
  cursor: not-allowed;
}

#loginMessage {
  color: hsl(10, 100%, 55%);
  visibility: hidden;
  float: left;
  margin-top: 0.316rem;
  margin-left: 0.422rem;
  font-size: 0.75rem;
}

.visible {
  visibility: visible !important;
}

.display-none {
  display: none !important;
}

#result-message {
  visibility: hidden;
  float: left;
  font-size: 0.75rem;
  margin-top: 0.422rem;
}

#result-message.error {
  color: hsl(10, 100%, 55%);
}

#result-message.success {
  color: hsl(125, 67%, 46%);
}

#password-validation {
  margin-left: 0.42rem;
  margin-top: 0.75rem;
  text-align: left;
  color: grey;
  position: absolute;
  width: 100%;
  visibility: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  line-height: 0;
  white-space: nowrap;
  font-family: monospace;
  font-size: 0.63rem;
}

#password-strength {
  display: flex;
  margin-left: 0.422rem;
  max-width: 8rem;
  width: 100%;
}

.password-progress {
  height: 0.56rem;
  border-radius: 2px;
  border: 1px dotted rgb(60, 66, 60);
  display: inline-block;
  margin-right: 4px;
  flex: 1;
}

.register-pwd {
  position: relative;
}

.login div .show-pwd {
  cursor: pointer;
  visibility: visible;
  position: absolute;
  right: 0.422rem;
  top: 0.422rem;
}

.login div .show-pwd img {
  width: 1rem;
  height: 1rem;
}

.login div .hide-pwd {
  cursor: pointer;
  visibility: hidden;
  position: absolute;
  right: 0.422rem;
  top: 0.422rem;
}


.login div .hide-pwd img {
  width: 1rem;
  height: 1rem;
}


.leading-message {
  text-align: left;
  font-size: 0.75rem;
  color: #96A2A7;
  margin-top: -0.56rem;
}

.leading-message b {
  font-size: 1rem;
}

.user-links {
  margin-top: 0.75rem;
  margin-left: 0.56rem;
  text-align: left;
  font-size: 0.63rem;
  color: #96A2A7;
  font-family: monospace;
}

.user-links a {
  margin-right: 0.56rem;
}

input.error {
  border: 1px solid hsl(10, 100%, 55%) !important;
}

label {
  color: transparent;
  float: right;
  height: 0;
}

input[type=text],
input[type=password],
input[type=submit] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  padding: 0.564rem;
  border: 1px solid #96A2A7;
  border-radius: 4px;
  margin-top: 1em;
  background: transparent;
  color: white;
  font-family: sans-serif;
  font-size: 0.75rem !important;
}

input:-webkit-autofill::first-line,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition: color 99999s ease-out, background-color 9999s ease-out;
  -webkit-transition-delay: 99999s;
  transition: color 99999s ease-out, background-color 9999s ease-out;
  transition-delay: 99999s;
  font-family: sans-serif;
  font-size: 0.75rem !important;
}


::-webkit-input-placeholder {
  color: #636F74;
}

::-moz-placeholder {
  color: #636F74;
}

:-ms-input-placeholder {
  color: #636F74;
}

#usr,
#register_email,
#email {
  text-transform: lowercase;
  /* old ios still wants webkit prefixes */
  -webkit-text-transform: lowercase;
}


