h1 {
  font-size: 24px;
  text-align: center;
}

button {
  display: inherit;
  padding: 0;
  cursor: pointer;
  background-color: #ffffff;
  border: solid 1px #d0d0d0;
  border-radius: 5px;
}

button:disabled {
  cursor: auto;
}

.lns-header-message {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.lns-message-wrap {
  display: flex;
  justify-content: center;
  line-height: 27px;
}

.lns-message-wrap .material-icons {
  margin: auto 0;
  display: none;
  font-size: 20px;
  line-height: 27px;
}

.lns-message-wrap .material-icons.success {
  display: block;
  color: #00c853;
}

.lns-message-wrap .material-icons.alert {
  display: block;
  color: #ff3d00;
}

.lns-message-wrap p {
  margin: 0 0 0 10px;
}

#lns-auth-container {
  margin: 50px auto 20px auto;
  visibility: visible;
  height: 212px;
  opacity: 1;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s linear 0.1s,
    visibility 0.1s linear 0.1s;
}

#lns-auth-container.higher {
  margin: 20px auto;
  visibility: visible;
  height: 500px;
  opacity: 1;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s linear 0.1s,
    visibility 0.1s linear 0.1s;
}

#lns-auth-container.is-close {
  margin: 0;
  visibility: hidden;
  height: 0;
  opacity: 0;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s ease-in,
    visibility 0.1s linear;
}

#lns-auth-container > p {
  text-align: center;
}

.login-container {
  margin: 16px auto;
}

.login-button {
  display: grid;
  grid-template-columns: 50px 1fr;
  margin: auto;
  width: 298px;
  height: 55px;
  padding: 5px 10px;
  border: solid 1px #000000;
  border-radius: 3px;
  cursor: pointer;
  background-color: #ffffff;
}

img.login-button-logo {
  margin: auto;
  width: 36px;
}

span.login-button-text {
  margin: auto;
  font-size: 18px;
}

#lns-login-form-container {
  margin: 20px auto;
  visibility: visible;
  height: 262px;
  opacity: 1;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s linear 0.1s,
    visibility 0.1s linear 0.1s;
}

#lns-login-form-container.is-close {
  margin: 0;
  visibility: hidden;
  height: 0;
  opacity: 0;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s ease-in,
    visibility 0.1s linear;
}

#lns-logout-container {
  height: 40px;
  opacity: 1;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out,
    opacity 0.1s ease-in,
    visibility 0.1s linear;
}

#lns-logout-container.is-close {
  margin: 0;
  visibility: hidden;
  height: 0;
  opacity: 0;
  transition:
    margin 0.3s ease-out,
    height 0.3s ease-out 0.3s,
    opacity 0.1s ease-in,
    visibility 0.1s linear;
}

#lns-login-form {
  width: 280px;
  background-color: #f5f5f5;
  margin: auto;
  padding: 16px;
  border: solid 1px #d0d0d0;
  border-radius: 5px;
  font-size: 14px;
}

#lns-login-form input {
  display: block;
  width: 258px;
  margin: 10px 0;
  padding: 5px 10px;
  height: 1.3em;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: solid 1px #909090;
  border-radius: 5px;
}

#lns-login-submit {
  margin: 10px auto 0 auto;
  width: 100%;
}

#lns-logout {
  width: 160px;
}

.lns-submit {
  display: block;
  margin: 20px auto;
  height: 40px;
  color: #ffffff;
  background-color: #4169e1;
  font-size: 16px;
}

.logout-container > p {
  text-align: center;
  line-height: 20px;
}

#loading-bar {
  margin-top: 10px;
  position: relative;
  background-color: #13254c;
  width: 100%;
  height: 5px;
  animation: loading-bar-animation;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

@keyframes loading-bar-animation {
  0% {
    transform: translateX(-100%);
    width: 70%;
  }
  50% {
    transform: translateX(0);
    width: 100%;
  }
  100% {
    transform: translateX(100%);
    width: 70%;
  }
}

#mask {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}

#mask.hidden {
  display: none;
}

#user-modal {
  background-color: #fff;
  color: #555;
  width: 600px;
  padding: 40px;
  border-radius: 20px;
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: top 0.2s linear 0s;
}

#user-modal.hidden {
  top: -600px;
  transition: top 0.2s linear 0.2s;
}

.select-user-container {
  width: 80%;
  margin: 30px auto;
  font-size: 24px;
  text-align: center;
  border: solid 1px #808080;
  border-radius: 10px;
  padding: 30px;
}

.select-user-title {
  font-weight: bold;
}

.select-user-content {
  margin: 30px auto;
  font-size: 0.8em;
  width: 90%;
}

.select-user-container .select-user-item {
  border-top: solid 1px #c0c0c0;
  margin: 0 auto;
  padding: 30px 10px;
  text-align: center;
  cursor: pointer;
  place-items: center;
}

.select-user-container .select-user-item:last-child {
  border-bottom: solid 1px #c0c0c0;
}

.select-user-container .select-user-item:hover {
  color: #4169e1;
}

.select-user-item-sname {
  font-weight: bold;
}

.select-user-item-scode {
  font-size: 0.8em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-user-item .user-position {
  color: #ffffff;
  padding: 20px;
  width: 100px;
  border-radius: 5px;
}

.select-user-item .teacher {
  background-color: #337ab7;
}

.select-user-item .student {
  background-color: #155724;
}
