@font-face {
  font-family: "Quicksand";
  src: url("/oo/ui/fonts/quicksand/Quicksand-Light.ttf") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Quicksand";
  src: url("/oo/ui/fonts/quicksand/Quicksand-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Quicksand";
  src: url("/oo/ui/fonts/quicksand/Quicksand-Medium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Quicksand";
  src: url("/oo/ui/fonts/quicksand/Quicksand-SemiBold.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Quicksand";
  src: url("/oo/ui/fonts/quicksand/Quicksand-Bold.ttf") format("truetype");
  font-weight: 700;
}


html,
body {
  height: 100%;
  font-family: "Quicksand";
}
html {
  margin: auto;
  padding: 20px;
  z-index: 1;
}
html:after {
  background: url(/login/get_background_image) no-repeat;
  background-color: #f1f1f1;
  background-position: center;
  background-size: cover;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
html.left-bkg:after {
  background-position: left;
}
html.center-bkg:after {
  background-position: center;
}
html.right-bkg:after {
  background-position: right;
}
body {
  position: relative;
}

.margin-0 {
  margin: 0 !important
}
.margin-b {
  margin-bottom: 10px !important;
}
.medium-small {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
}
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: #222;
  opacity: 0.95;
  z-index: 1000;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
#loader-wrapper .loader-section.section-left {
  left: 0;
}
#loader-wrapper .loader-section.section-right {
  right: 0;
}
#loader {
  display: block;
  left: 50%;
  margin: -20px 0 0 -20px;
  position: relative;
  top: 50%;
  z-index: 1001;
}
#loader .spinner-box {
  font-size: 64px;
  position: absolute;
  top: -3rem;
}
#loader .spinner-box .spinner {
  position: relative;
}
#loader .spinner-box .spinner:before,
#loader .spinner-box .spinner:after {
  content: "";
  display: block;
  position: relative;
}
#loader .spinner-box .spinner:before {
  animation: spinner 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
  background-color: #ccc;
  height: 1em;
  width: 1em;
}
#loader .spinner-box .spinner:after {
  animation: shadow 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
  background-color: rgba(000, 000, 000, 0.05);
  border-radius: 50%;
  bottom: -.5em;
  height: .25em;
}

@keyframes spinner {
  50% {
    border-radius: 50%;
    transform: scale(0.5) rotate(360deg);
  }
  100% {
    transform: scale(1) rotate(720deg);
  }
}
@keyframes shadow {
  50% {
    background-color: rgba(#000,0.1);
    transform: scale(0.5);
  }
}

.loaded #loader-wrapper {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: all 0.3s 1s ease-out;
  transition: all 0.3s 1s ease-out
}
.loaded #loader-wrapper .loader-section.section-left {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)
}
.loaded #loader-wrapper .loader-section.section-right {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)
}
.loaded #loader {
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out
}

.login-page {
  background: #161616;
  left: 50%;
  padding: 15px 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.login-form {
  padding-top: 15px;
  width: 280px;
}
.login-form-text {
  color: #222;
  font-size: 1.6rem;
  font-weight: lighter;
  letter-spacing: 2px;
  margin: 0;
}
.input-field {
  background: #1c1c1c;
  border: 1px solid #444;
  border-radius: 5px;
}
.input-field .fa {
  color: #fff;
  font-size: 1.6rem;
  top: 10px;
}
.input-field label.active {
  color: transparent !important;
}
.input-field input:not(:empty) label:not(.active) {
  color: transparent !important;
}
.input-field .prefix.active,
input[type=text]:focus:not([readonly])+label,
input[type=password]:focus:not([readonly])+label {
  color: #fff;
}
input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]) {
  border-bottom: 0 none;
  box-shadow: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}
.input-field input {
  font-family: "Quicksand";
}
.input-field .prefix ~ input {
  border: 0 none;
  box-shadow: none;
  color: #fff !important;
  margin: 0;
  padding-left: 2rem;
  width: 90%;
}
.input-field .prefix ~ label {
  color: #fff;
  margin-left: 2rem;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #1c1c1c inset !important;
  -webkit-text-fill-color: #fff !important; 
  transition: background-color 5000s ease-in-out 0s;
}
.logo-container {
  margin: 0;
}
.logo {
  /* max-height: 60px; */
  max-width: 70% !important;
}
.login-text {
  margin: 0 0 2rem;
}
.login-text label {
  color: #444;
  font-size: 0.9rem;
  left: 0;
  padding-left: 25px;
}
.login-text label:before {
  border: 2px solid #444;
}
.login-text [type="checkbox"]:checked+label:before {
  border-right-color: #222;
  border-bottom-color: #222;
}
.login-button {
  margin: 10px 0;
}
.login-button button {
  background-color: #293a56;
  background-color: #1276bc;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 1rem;
  text-transform: capitalize;
}
.login-button button:hover {
  background-color: #0f5e96;
}
.device-button {
  color: #222;
  position: absolute;
  right: 0;
  bottom: -7px;
  font-size: 1.3rem;
}
#google_button > div {
  border-radius: 5px;
  margin: 0 auto;
}
.links {
  margin-left: 8px;
}
.links p {
  padding: 0 0.2rem !important;
}
.link {
  color: #222;
}
.link:hover {
  text-decoration: underline;
}
.with-love {
  color: #fff;
  font-size: 0.9rem;
  margin: 1.2rem 0 0.8rem;
  position: relative;
}
input[type=text].invalid+label:after,
input[type=text]:focus.invalid+label:after {
  line-height: 1;
  left: -40px;
  top: 58px;
}
