﻿/* 讀取遮罩 */
.gr-mask {
  display: none;
}

body.is-mask {
  pointer-events: none;
}
body.is-mask:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background-color: #000000;
  opacity: 0.5;
  background: repeating-linear-gradient(-45deg, #111111, #111111 3px, #000000 3px, #000000 15px);
  animation: ani_fadeIn_mask 0.35s both;
}
body.is-mask .gr-mask {
  display: block;
  position: fixed;
  z-index: 2001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  display: inline-block;
  width: 80px;
  height: 80px;
  opacity: 0.8;
}
body.is-mask .gr-mask div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 6px;
  border: 6px solid #fff;
  border-radius: 50%;
  animation: ani_loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
body.is-mask .gr-mask div:nth-child(1) {
  animation-delay: -0.45s;
}
body.is-mask .gr-mask div:nth-child(2) {
  animation-delay: -0.3s;
}
body.is-mask .gr-mask div:nth-child(3) {
  animation-delay: -0.15s;
}


@-webkit-keyframes ani_loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-o-keyframes ani_loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes ani_loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}