/* music */

.music, .no-music {
  z-index: 20;
  position: fixed;
  right: 1%;
  top: 1%;
  width: 40px;
  height: 40px;
}

.animated-music {
  animation: music 2s linear infinite;
  -webkit-animation: music 2s linear infinite;
  -ms-animation: music 2s linear infinite;
}

@keyframes music {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes music {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-ms-keyframes music {
  0% {
    -ms-transform: rotate(0deg);
  }
  100% {
    -ms-transform: rotate(360deg);
  }
}

/* reset & help class */

html, body, #subject {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
}

html {
  height: 100%;
  background-color: #fff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  height: 100%;
  background-color: #fff;
  /* IOS禁止微信调整字体大小 */
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input[type=checkbox], input[type=radio] {
  -webkit-appearance: checkbox;
}

img[src=""], img:not([src]) {
  opacity: 0;
}

ul, ol {
  list-style: none;
}

/* loading */

#loadingWrapper, #loadingWrapperBase {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  padding: 0;
  z-index: 99999;
  background-color: #ece9e8;
}

#loadingWrapper {
  background: none;
}

#loading, #loadingBase {
  position: relative;
  top: 50%;
  margin: 0 auto;
  margin-top: -30px;
}

.spinner {
  margin: 0 auto;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 10px;
}

.spinner>div {
  background-color: #D7B172;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% {
    -webkit-transform: scaleY(0.4)
  }
  20% {
    -webkit-transform: scaleY(1.0)
  }
}

@keyframes stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/*自定义弹框*/

.myTips {
  display: none;
  position: fixed;
  width: 45vw;
  padding: 5vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, .95);
  border-radius: 1.5vw;
  text-align: center;
  box-shadow: 0 0 1vw rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.myTips_title {
  font-size: 5vw;
  color: #424242;
  padding: 3vw 0;
  margin: 0;
}

.myTips_log {
  font-size: 3.8vw;
  color: #626262;
  margin: 0;
}

a {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-user-select: none;
  -moz-user-focus: none;
  -moz-user-select: none;
}