﻿html, body {
  width: 100%;
  height: 100%;
  min-width: 280px;
  min-height: 480px;
  overflow: hidden;
  margin: 0;
  font-family: "Helvetica Neue", "Roboto", "Segoe UI", Arial, sans-serif !important;
  background-size: 100% 100%;
}

body {
  background-color: #2FA58B;
  background-image: linear-gradient(to bottom left, #2FA58B, #067666);
}

div, span, a, form, input, button, label {
  transition-property: left, top, right, bottom, width, height, opacity, background, display;
  -webkit-transition-property: left, top, right, bottom, width, height, opacity, background, display;
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
}

.hidden {
  display: none;
}

.no-transition {
    transition: none !important;
    -webkit-transition: none !important;
}

.menu {
  position: absolute;
  top: 10px;
  left: 15px;
  display: none;
}

.menu a {
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  margin-right: 15px;
  display: inline-block !important;
}

.header {
  color: #fff;
  text-shadow: 0px 0px 1px #000;
  position: absolute;
  right: 4px;
  text-align: right;
  bottom: 0;
  font-size: 11px;
  min-width: 212px;
}

.header .instance {
  display: none;
}

.imageArea {
  top: calc(50% - 150px);
  left: calc(50% - 470px);
  overflow: hidden;
  position: absolute;
  max-height: 300px;
  max-width: 300px;
  z-index: 1;
  opacity: 0.25;
  transition: all 0.5s ease, left 1s ease 1s;
}

.imageArea img {
  max-width: inherit;
  max-height: inherit;
}

.loginAreaContainer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.loginArea {
  background: rgba(0, 0, 0, 0.4);
  right: 0;
  position: relative;
  min-width: 170px;
  max-width: 640px;
  width: 100%;
  height: auto;
  z-index: 1;
  top: 0;
  height: 100%;
  display: inherit;
  flex-direction: column;
}

.loginHeader {
  text-align: center;
  padding: 10px;
  background-color: transparent;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-bottom-color: #ffffff55;
}

.loginHeader div:after {
    content: "";
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}

.loginForm {
    padding: 25px;
    background-color: transparent;
}

.login {
  display: inline-block;
  position: relative;
  font-size: 23px;
  margin-bottom: 10px;
  margin-right: 25px;
}

.login .active {
  margin-bottom: 18px;
}

.login a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.login a:after, .menu a:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0px;
  background: transparent;
  transition: all .5s ease;
  -webkit-transition: all .5s ease;
}

.login a:hover:after, .menu a:hover:after {
  width: 100%;
  background: #fff;
 }

.active a:after {
  width: 100%;
  background: #fff;
}

.windowsLogin a {
  padding-left: 35px;
  background: url(../img/qwWindowsLogin.png) no-repeat left center;
}

.localLogin a {
  padding-left: 35px;
  background: url(../img/qwLocalLogin.png) no-repeat left center;
}

.azureLogin a {
  padding-left: 35px;
  background: url(../img/qwAzureLogin.png) no-repeat left center;
}

.createUser a {
  padding-left: 35px;
  background: url(../img/qwLocalLogin.png) no-repeat left center;
}

.loginText {
  clear: both;
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}

.loginError {
  display: none;
  clear: both;
  font-size: 14px;
  color: #ff0000;
  padding: 3px 5px;
  margin-top: -4px;
  margin-bottom: 4px;
  background-color: rgba(255, 255, 255, 0.7);
}

.localQefUserLogin {
  margin-top: 5px;
}

.loginFormWrapper  {
  background-color: transparent;
  top: 30%;
  position: relative;
  margin: 0 50px;
}

.loginInput {
  padding: 10px 0;
  text-indent: 10px;
  width: calc(100% - 4px);
  background-color: rgba(0,0,0,0.25);
  color: #fff;
  border: solid 2px #fff;
  font-size: 15px;
}

.loginInput:hover,
.loginInput:focus {
  background-color: rgba(0,0,0,0.4);
}
  
.loginGo:first-child,
.createUserGo:first-child,
.loginContainer:first-child,
.createUserContainer:first-child {
  margin-top: 1px;
}

.loginGo:nth-child(1n+2),
.createUserGo:nth-child(1n+2),
.loginContainer:nth-child(1n+2),
.createUserContainer:nth-child(1n+2) {
  margin-top: 25px;
}

.loginGo,
.createUserGo {
  font-size: 15px;
  margin-top: 12px;
  padding: 8px;
  max-width: 100%;
  width: 100%;
  background-color: rgba(255,255,255,0.9);
  border: solid 2px #fff;
  cursor: pointer;
}

.loginGo:hover,
.createUserGo:hover {
  background-color: rgba(255,255,255,1);
}

.loginRemember {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
}

.loginRemember #rememberLoginTypeBox {
  width: 15px;
  margin-left: -1px;
}

.loginRemember #rememberLoginTypeLabel {
  position: relative;
  top: -1px;
}

.logoArea {
  max-width: 228px;
  max-height: 50px;
  position: absolute;
  bottom: 5%;
  right: 200px;
  z-index: 2;
}

.logoArea img {
  max-width: inherit;
  max-height: inherit;
}

ul#contextmenu {
  opacity: 0.9!important;
}

.preloader {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.4);
}

.sk-cube-grid {
    position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  width: 60px;
  height: 60px;
}

.sk-cube-grid .sk-cube {
  margin: 1px 1px 0 0;
  width: calc(33% - 1px);
  height: calc(33% - 1px);
  background-color: #fff;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

::-webkit-input-placeholder {color: #fff; }
:-moz-placeholder { color: #fff; }
::-moz-placeholder { color: #fff; }
:-ms-input-placeholder { color: #fff; }

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; }
input:focus::-moz-placeholder { color: transparent; }
input:focus:-ms-input-placeholder { color: transparent; }

.input:first-child {
    margin-top: 0px;
}

.input:nth-child(1n+2) {
    margin-top: 10px;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}

@media (max-width: 1500px) {
  .imageArea {
    left: 15%;
  }
}

@media (max-width: 1250px) {
  .imageArea {
    top: calc(50% - 125px);
    left: calc(50% - 445px);
    max-height: 250px;
    max-width: 250px;
  }
}
  
@media (max-width: 950px) {
  .imageArea {
    transition: opacity 0.5s ease, left 1s ease 1s;    
    opacity: 0.5;
    top: 1%;
    max-width: 100px;
    left: calc(50% - 50px);
    
  }
  
  .logoArea {
    max-width: 100%;
    text-align: center;
    bottom: 5%;
    left: 0;
    right: 0;
  }
  
  .loginAreaContainer {
    justify-content: center;
  }

  .loginArea {
    right: auto;
    width: 100%;
    max-width: 100%;
  }
  
  .login {
    font-size: 22px;
  }
  
  .loginFormWrapper {
    min-width: 550px;
    background-color: transparent;
    top: 30%;
    position: relative;
    margin: 0 auto;
    max-width: 640px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .imageArea {
    display: none;
  }
  
  .logoArea {
    max-width: 100%;
    text-align: center;
    bottom: 5%;
    left: 0;
    right: auto;
    width: 100%;
  }
  
  .loginAreaContainer {
    justify-content: center;
  }

  .login {
    font-size: 22px;
    margin-left: 0;
    margin-bottom: 10px;
  }
  
  .loginFormWrapper {
    min-width: 100%;
    background-color: transparent;
    top: 30%;
    position: relative;
    margin: 0 auto;
    justify-content: center;
  }
}