html {
  height: 100%
}

* {
  box-sizing: border-box;
}


@keyframes rotate360 {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

input:focus {
  outline: none;
}

body {
  height: 100%;
  margin: 0px;
  padding: 0px
}

.toast {
  padding: 8px 18px;
  line-height: 20px;
  width: 300px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  font-size: 14px;
  color: #FFFFFF;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#loading {
  background: #FFF;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

#loading p {
  width: 100%;
  padding-top: 88px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #1A243E;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#loading p::before {
  content: "";
  display: block;
  width: 68px;
  height: 68px;
  background: url(./images/loading.png) no-repeat center center;
  background-size: 100%;
  animation: rotate360 1s linear 0s infinite;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -34px;
}


#fail {
  background: #FFF;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
}

#fail .content {
  width: 300px;
  padding-top: 140px;
  background: url(./images/fail.png) no-repeat center top;
  background-size: 240px;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: #76819D;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#fail #btn-reload {
  display: block;
  width: 185px;
  height: 50px;
  line-height: 50px;
  background: #2D73FF;
  box-shadow: 0px 6px 10px rgba(5, 102, 255, 0.16);
  border-radius: 25px;
  margin: 30px auto 0;
  font-size: 14px;
  color: #FFFFFF;
  text-align: center;
}