:root {
  --primary: #50b747;
  --primary-dark: #3a8c33;
  --red: #dc3545;
  --green: #28a745;
  --white: #fff;
  --orange: #ec7f32;
  --bg-color: #8080801a;
  --form-width: 400px;
}

/* RESET CSS */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.4 !important;
}

body {
  background-color: var(--bg-color);
  font-size: 16px;
}

/* common class */
.pe-pointer {
  cursor: pointer !important;
}

.bg-wimesh {
  background: var(--primary) !important;
}

.bg-wimesh-hover:hover,
.bg-wimesh-dark {
  background: var(--primary-dark) !important;
}

.text-wimesh {
  color: var(--primary) !important;
}

/* alogin page */
.ie-fixMinHeight {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.wrap h1,
.wrap p {
  text-align: center;
  color: #000;
}

/* EDU TEMPLATE */
.edu-template {
  min-height: 100vh;
}

/* QNU TEMPLATE */
.qnu-template.page {
  display: block;
  height: 100vh;
  overflow: scroll;
}

.qnu-template .logo img {
  max-width: 150px;
}

.qnu-template .form-container {
  min-height: 100vh;
}

.qnu-template .footer {
  background: #000000a6;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
}
.qnu-template .footer p {
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}
@media (max-width: 768px) {
  .qnu-template .form-container {
    min-height: unset;
  }
}

.br-text:before,
.br-text:after {
  content: '';
  flex: 1 1;
  border-bottom: 2px solid #4285f4;
  margin: auto;
}

/* PAGE */
.page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  min-height: 50px;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-transform: uppercase;
}

main {
  position: relative;
}

footer {
  min-height: 50px;
  background: var(--primary);
  padding: 10px 20px;
  color: var(--white);
}

.edu-template .position-relative footer {
  background: #000000a6;
}

/* BANNER */
#banner {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: end;
}

#banner a {
  display: block;
}

#banner img {
  width: 50%;
}

/* FORM */
.form-container {
  padding: 20px;
  width: 100%;
  max-width: var(--form-width);
}

.form-container--fixed {
  position: fixed;
  bottom: 0;
}

.form-container--absolute-bottom {
  position: absolute;
  bottom: 0;
}

.form-container--absolute-top {
  position: absolute;
  top: 0;
}

.form-container__inner {
  padding: 20px;
  border-radius: 10px;
  color: var(--white);
  background-image: linear-gradient(to right, var(--primary), var(--primary), var(--green));
}

/* LOGIN */
#login-input-username,
#login-input-password {
  outline: none;
  font-size: 14px;
}

#login-btn-submit,
#trial-url,
#logout-btn-submit,
#status-btn-submit {
  font-size: 14px;
}

#btn-group-switch-form button {
  background: transparent;
  cursor: pointer;
  transition: all 0.2s linear;
}

#btn-group-switch-form button span {
  opacity: 0.5;
}

#btn-group-switch-form button:not(:last-child) {
  border-right: 1px solid #fff !important;
}

#btn-group-switch-form button.active span {
  opacity: 1;
}

#login-qrcode {
  display: none;
}

/* STATUS && LOGOUT */

#status-form,
#logout-form {
  font-size: 14px;
}

#status-form > img,
#logout-form > img {
  width: 40px;
  filter: invert(95%) sepia(0%) saturate(7500%) hue-rotate(98deg) brightness(109%) contrast(104%);
}

.status-form__data--up img,
.logout-form__data--up img {
  filter: invert(64%) sepia(86%) saturate(7408%) hue-rotate(201deg) brightness(95%) contrast(104%);
}

.status-form__data--down img,
.logout-form__data--down img {
  transform: rotate(180deg);
  filter: invert(63%) sepia(41%) saturate(1819%) hue-rotate(2deg) brightness(99%) contrast(101%);
}

.status-form__card,
.logout-form__card {
  border-radius: 10px;
}

.status-form__card__row:not(:last-child),
.logout-form__card__row:not(:last-child) {
  border-bottom: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 750px) {
  #banner img {
    width: 75%;
  }
}

@media (max-width: 500px) {
  #banner img {
    width: 100%;
  }
  footer h6 {
    font-size: 12px;
  }
  footer p {
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .status-form__card .status-form__card__row,
  .logout-form__card .logout-form__card__row {
    flex-direction: column;
    align-items: start;
  }
}
