/* --- Styles from login.jsp --- */
@font-face {
  font-family: "mark";
  src: url("../fonts/Mark-Pro.ttf") format("opentype");
}

@font-face {
  font-family: "mark-bold";
  src: url("../fonts/Mark-Pro-Medium.ttf") format("opentype");
}

@font-face {
  font-family: "rubik";
  src: url("../fonts/Rubik-Medium.ttf") format("opentype");
}

@font-face {
  font-family: "rubik-;lite";
  src: url("../fonts/Rubik-Light.ttf") format("opentype");
}

@media only screen and (max-width: 576px) {
  .login-box {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
}

.logo {
  position: absolute;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

.logo-holder {
  height: 60px;
  background-color: transparent;
}

.back2web {
  position: absolute;
  top: 145px;
  left: -40px;
  font-family: mark;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
}

.back2web:hover {
  left: -50px;
  color: #778e68;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.back-login {
  background-color: #151512;
}

.sun-glass {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.asking {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 2vh;
  text-align: right;
  font-size: 30px;
  letter-spacing: 0px;
  font-family: rubik-bold;
  color: #ffffff;
}

.tagline {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 2vh;
  text-align: left;
  font-size: 22px;
  letter-spacing: 0px;
  font-family: rubik-bold;
  text-transform: lowercase;
  color: #ffffff;
}

.tagline_forgotPssw {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 2vh;
  text-align: left;
  font-size: 22px;
  letter-spacing: 0px;
  font-family: rubik-bold;
  text-transform: capitalize;
  color: #ffffff;
}

.tagline_forgotPssw_small {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  letter-spacing: 0px;
  color: #ffffff;
}

.logo-box {
  position: relative;
  z-index: 2;
  margin-top: 30vh;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.admin {
  font-family: mark-bold;
  font-size: 16px;
  line-height: 20px;
}

#img-logo img {
  width: 80px;
  margin-bottom: 30px;
}

.login-box {
  position: absolute;
  z-index: 10;
  top: 0px;
  width: 280px;
  background-color: transparent;
  padding-top: 50px;
  padding-left: 30px;
  padding-right: 30px;
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  transition-property: background;
  transition-duration: 1s;
  transition-timing-function: linear;
  top: 20%;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.4);
}

.forgot-password-box {
  position: absolute;
  z-index: 10;
  top: 0px;
  width: 450px;
  background-color: transparent;
  padding-top: 50px;
  padding-left: 30px;
  padding-right: 30px;
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  transition-property: background;
  transition-duration: 1s;
  transition-timing-function: linear;
  top: 20%;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.4);
}

.no-account-box {
  position: absolute;
  z-index: 10;
  width: 300px;
  right: 20%;
  background-color: transparent;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  transition-property: background;
  transition-duration: 1s;
  transition-timing-function: linear;
  top: 30%;
}

.signature {
  position: absolute;
  left: 30px;
  top: 0px;
  width: 180px;
  height: 5px;
  background-color: #839e92;
  margin-bottom: 20px;
}

.login-label {
  /*e.g FIRST NAME:*/
  padding-top: 0px;
  text-transform: uppercase;
  font-size: 12px;
  font-family: rubik-lite;
  font-weight: 200;
  color: #484848;
  padding-bottom: 2px;
  clear: right;
  width: 100%;
}

#errorMsgLogin {
  color: #fff;
  line-height: 12px;
  background-color: red;
  padding: 4px;
  padding-top: 6px;
  margin-bottom: 10px;
  display: none;
}

#errorMsgReset {
  color: #fff;
  line-height: 12px;
  background-color: red;
  padding: 4px;
  padding-top: 6px;
  margin-bottom: 10px;
  display: none;
}

.txt-login {
  font-family: helvetica-b;
  font-size: 20px;
  margin-left: -1px;
}

.form-group {
  position: relative;
  height: 54px;
}

.form-group .login-label {
  position: absolute;
  top: 8px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 10px;
  font-family: rubik;
}

.form-group input {
  background-color: transparent;
  color: #ffffff;
  border-radius: 0px;
  transition-property: background;
  transition-duration: 1s;
  transition-timing-function: linear;
  border: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #d3d3d3;
  padding-left: 0px;
  font-family: rubik;
  height: 30px;
}

.form-control:focus,
.form-group input:focus {
  color: #ffffff;
  background-color: transparent;
  border: none;
  outline: 0;
  box-shadow: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #d3d3d3;
}

/* ── Global autofill override (Chrome, Edge, Safari) ─────────────────────── */
*:-webkit-autofill,
*:-webkit-autofill:hover,
*:-webkit-autofill:focus,
*:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #000000 !important;
  background-image: none !important;
  transition: background-color 5000s ease-in-out 0s !important;
  caret-color: #000000;
}

/* ── Login context override: white text for dark-background inputs ────────── */
/* Scoped to the login/forgot-password boxes so autofill text is readable    */
/* against the dark background, overriding the global black-text rule above. */
.login-box *:-webkit-autofill,
.login-box *:-webkit-autofill:hover,
.login-box *:-webkit-autofill:focus,
.login-box *:-webkit-autofill:active,
.forgot-password-box *:-webkit-autofill,
.forgot-password-box *:-webkit-autofill:hover,
.forgot-password-box *:-webkit-autofill:focus,
.forgot-password-box *:-webkit-autofill:active,
.back-login *:-webkit-autofill,
.back-login *:-webkit-autofill:hover,
.back-login *:-webkit-autofill:focus,
.back-login *:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-image: none !important;
  transition: background-color 5000s ease-in-out 0s !important;
  caret-color: #ffffff;
}

/* ── Floating label fix: lift label when field is autofilled ────────────── */
/* Prevents the label from sitting on top of autofilled text.               */
.form-group input:-webkit-autofill~.login-label,
.form-group input:-webkit-autofill~label {
  top: -4px;
  font-size: 9px;
}

.btn-cubixi {
  color: #fff;
  font-family: rubik;
  text-transform: none;
  font-size: 16px;
  background-color: #819172;
  border-color: #819172;
  border-radius: 30px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cubixi-side {
  color: #fff;
  font-family: rubik;
  text-transform: none;
  font-size: 16px;
  background-color: transparent;
  border-color: transparent;
  border-radius: 30px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cubixi_forgotPssw {
  color: #fff;
  font-family: rubik;
  text-transform: none;
  font-size: 16px;
  background-color: #819172;
  border-color: #819172;
  border-radius: 30px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-signature {
  color: #dcdcdc;
  font-family: avenir;
  font-size: 10px;
  padding-left: 0px;
  margin-bottom: 20px;
}

@media only screen and (min-width: 576px) and (max-width: 768px) {

  /*phone landscape*/
  .sun-glass {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 600px;
    z-index: 1;
  }

  .form-group input {
    font-size: 18px;
  }
}

@media only screen and (max-width: 576px) {
  #foo {
    background-attachment: fixed;
    background-image: url("../img/on-desk-leather-mobile.jpg") !important;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
    transition: background 1s linear;
  }

  .login-box {
    border-style: none !important;
  }

  /*phone portrait*/
  #img-logo img {
    width: 80px;
    margin-bottom: 20px;
  }

  .form-group .login-label {
    font-size: 12px;
    line-height: 30px;
  }

  .form-group input {
    font-family: rubik;
    height: 40px;
    font-size: 16px;
  }

  .tagline {
    font-size: 30px;
  }

  .back2web {
    left: 0px;
  }
}

#emailScc {
  font-weight: bold;
  color: #fafa02;
}

.login-labelDft {
  color: #fff;
}

#admin-login-box-panel {
  display: none;
  background: white;
  padding: 5px;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#ess-login-box-panel {
  display: none;
  background: white;
  padding: 5px;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.btn-theme {
  background: #7d926f;
  color: white;
  width: 100%;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "rubik-bold";
}