@charset "UTF-8";
:root{
    --font-family:"nissanbrandw01",Calibri,sans-serif;
    --font-weight:400;
    --font-size:1.4rem;
    --line-height:1.5;
    --grid-row-width:1170px;
    --grid-gutter:30px;
    --white:#fff;
    --black:#000;
    --color-body-text:#000;
    --color-canvas-background:#1a1a1a;
    --color-canvas-darkest:#4b4b4b;
    --color-canvas-darker:#8a8a8a;
    --color-canvas-dark:#c1c1c1;
    --color-canvas:#d9d9d9;
    --color-canvas-light:#d2d2d2;
    --color-canvas-lighter:#ededed;
    --color-canvas-lightest:#f1f1f1;
    --green:#24b149;
    --red:#c3002f;
    --color-primary:#c3002f;
    --color-primary-hover:#920023;
    --color-secondary:#eee;
    --color-license-plate-nl:#fccc3b;
    --base-transition:200ms ease;
    --base-box-shadow:0 2px 4px 0 rgba(0,0,0,0.04);
    --icon-check-white:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNyAxNyI+PHBhdGggZD0iTS40IDguMWMtLjUtLjUtLjUtMS40IDAtMiAuNS0uNSAxLjQtLjUgMiAwbDQuNyA0LjcgNy41LTcuNWMuNS0uNSAxLjQtLjUgMiAwIC41LjUuNSAxLjQgMCAybC04LjUgOC41Yy0uNS41LTEuMy41LTEuOS4xbC0uMS0uMUwuNCA4LjF6IiBmaWxsPSIjZmZmIi8+PC9zdmc+");
    --icon-check-primary:url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE5IiB3aWR0aD0iMjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuMSA1LjZsOS4xIDkuMUwyNS45IDAgMjggMi4xIDExLjIgMTguOSAwIDcuN3oiIGZpbGw9IiNjMzAwMmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");
}

@font-face {
  font-family: "nissanbrandw01";
  src: url("fonts/nissanbrandw01-regular.woff") format('woff');
  font-style:normal;
  font-weight:400
}

@font-face {
  font-family: "nissanbrandw01";
  src: url("fonts/nissanbrandw01-bold.woff") format('woff');
  font-style:normal;
  font-weight:700
}

@font-face {
  font-family: "nissanbrandw01";
  src: url("fonts/nissanbrandw01-light.woff") format('woff');
  font-style:normal;
  font-weight:300
}


body {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;

  font-family: "nissanbrandw01",Calibri,sans-serif;
  font-size: 1rem;
  font-weight: 400;

  background-image:
    linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(32, 25, 31, 0.73)),
    url('../img/others/login_bg.jpg');
  background-repeat: no-repeat;
  background-position:  center center;
  background-attachment: fixed;
  background-size: cover;
  color: white;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;      

}

.login-page {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 400px;
  padding: 8% 0 0;
  
}

.app-version {
  position: absolute;
  bottom: 10px;
}

#cloading {
  display: none;
  position: fixed;
  background-color: #c3002f;
  width: 120px;
  top: 0px;
  right: 0px;
  padding: 5px 10px;
  border-radius: 0px 0px 0px 10px;
  color: #fff;
  
}

.form {
  position: relative;
  font-family: "nissanbrandw01",Calibri,sans-serif;
  z-index: 1;
  background: #fff;
  max-width: 360px;
  height: 400px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  transition: height 0.5s ease-in-out;
}
.form .logo {
  padding-bottom: 20px;
}
.form .apptitle {
  color: #000;
  text-transform: uppercase;
  padding-bottom: 40px; 
}

.form input {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}
.form button {
  text-transform: uppercase;
  outline: 0;
  background: #c3002f;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.form button:hover,.form button:active,.form button:focus {
  background: #c3002f;
}
.form .feedback {
  display: none;
  padding-top: 40px;
  color: #f00;
  font-weight: 700;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}
.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}

.network-status {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 5px 10px;
  transition: color 1s, background-color 1s;
}
.network-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: color 1s;
}
.network-status.online {
  color: #090;
  background-color: #d1e7dd; 
}
.network-status.online::before {
  background-color: #090;
}
.network-status.online::after  {
  content: "online";
}
.network-status.offline {
  color: #900;
  background-color: #f5c2c7; 
}
.network-status.offline::before {
  background-color: #900;
}
.network-status.offline::after  {
  content: "offline";
}