@font-face {
  font-family: "Source Sans Pro";
  /* src is set via inline style in login.pug to support ROOT_PATH */
}

html {
  padding: 0;
  margin: 0;
}

body {
  /* background-image is set via inline style in login.pug to support ROOT_PATH */
  font-family: "Source Sans Pro", sans-serif;
  background-color: #1a1a1a;
  padding: 0;
  margin: 0;
}

#container {
  margin: 0;
  top: 50%;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
  background-color: #1c1c1c;
  border-top: 4px solid #08aeea;
  border-bottom: 4px solid #08aeea;
  width: 400px;
  height: 440px;
  box-shadow: 0px 4px 30px 10px #141414;
  transition: height 0.2s;
}

.box h4 {
  font-family: "Source Sans Pro", sans-serif;
  color: #08aeea;
  font-size: 18px;
  margin-top: 94px;
}

.box h4 span {
  color: #dfdeee;
  font-weight: lighter;
  margin-left: 4px;
}

.box h5 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: #a1a4ad;
  letter-spacing: 1.5px;
  margin-top: -15px;
  margin-bottom: 53px;
}

.box input[type="text"],
.box input[type="password"] {
  display: block;
  margin: 20px auto;
  background: #36373a;
  border: 0;
  border-radius: 5px;
  padding: 14px 10px;
  width: 320px;
  outline: none;
  font-size: 14px;
  color: #ececec;
  border: 1px solid rgba(0, 0, 0, 0);
}
::-webkit-input-placeholder {
  color: #727580;
}

.box input[type="text"]:focus,
.box input[type="password"]:focus {
  border: 1px solid #75767a;
}

a {
  color: #75767a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn1 {
  background: #36373a;
  color: #dfdeee;
  border-radius: 5px;
  width: 340px;
  height: 49px;
  font-size: 16px;
  position: absolute;
  bottom: 47px;
  left: 7.5%;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  user-select: none;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 49px;
}

.btn1:hover {
  background: #08aeea;
  color: white;
}

.error {
  text-align: center;
  width: 337px;
  height: 22px;
  padding: 2px;
  border: 0;
  margin: 10px auto 10px;
  position: absolute;
  top: 158px;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  left: 7.2%;
  color: #ffcfb3;
  border-bottom: 2px solid #ff7426;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}

#email_label,
#email,
#email_description,
#pwd_description,
#pwd_retype_label,
#pwd_retype {
  display: none;
}

#email_description,
#pwd_description {
  color: #a1a4ad;
  font-style: italic;
  font-size: 14px;
  text-align: left;
  margin: -17px 39px -8px 39px;
}

img {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.mmgisScrollbar::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0px 0px 6px rgba(0, 0, 0, 0.3);
  background-color: Transparent;
}

.mmgisScrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}

.mmgisScrollbar::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.25);
}

#configIcon {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 10px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease-in;
  z-index: 100;
}
#configIcon:hover {
  color: black;
}

#toggleWrapper {
  width: 100%;
  display: none;
  justify-content: center;
}
#toggle {
  position: absolute;
  bottom: 15px;
  padding: 2px 8px;
  line-height: 16px;
  text-align: center;
  background: #36373a;
  color: #a1a4ad;
  font-family: "Source Sans Pro", sans-serif;
  border-radius: 3px;
  font-size: 13px;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
#toggle:hover {
  background: #08aeea;
  color: white;
}
@media (max-width: 480px) {
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header > img {
    left: auto !important;
  }
  .footer {
    padding: 22px !important;
  }
  .box input[type="text"],
  .box input[type="password"] {
    font-size: 16px;
  }
}
@media (max-width: 420px) {
  #container {
    transform: translateX(-50%) translateY(-50%) scale(0.8);
  }
}
