.black,.loading_black{
    position: fixed;
    z-index: 15;
    top:0;
    background-color: #9D9D9D;
    width:100%;
    height:100%;
    opacity: 0.3;
}

.loading_area_fell{
    position: fixed;
    z-index: 16;
    text-align: center;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%); 
}

.loading_area{
    text-align: center;
    padding:3% 0 3% 0;
}

.loading_area{
    text-align: center;
    padding:3% 0 3% 0;
}

.loading,
.loading > div {
  position: relative;
  box-sizing: border-box;
  margin: auto;
  margin-bottom: 15px;
}

.loading {
  display: block;
  font-size: 0;
  color: #000;
}

.loading.la-dark {
  color: #333;
}

.loading > div {
  display: inline-block;
  float: none;
  background-color: currentColor;
  border: 0 solid currentColor;
}

.loading {
  width: 32px;
  height: 32px;
}

.loading > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 100%;
  animation: ball-spin-clockwise-fade 1s infinite linear;
}

.loading > div:nth-child(1) {
  top: 5%;
  left: 50%;
  animation-delay: -0.875s;
}

.loading > div:nth-child(2) {
  top: 18.1801948466%;
  left: 81.8198051534%;
  animation-delay: -0.75s;
}

.loading > div:nth-child(3) {
  top: 50%;
  left: 95%;
  animation-delay: -0.625s;
}

.loading > div:nth-child(4) {
  top: 81.8198051534%;
  left: 81.8198051534%;
  animation-delay: -0.5s;
}

.loading > div:nth-child(5) {
  top: 94.9999999966%;
  left: 50.0000000005%;
  animation-delay: -0.375s;
}

.loading > div:nth-child(6) {
  top: 81.8198046966%;
  left: 18.1801949248%;
  animation-delay: -0.25s;
}

.loading > div:nth-child(7) {
  top: 49.9999750815%;
  left: 5.0000051215%;
  animation-delay: -0.125s;
}

.loading > div:nth-child(8) {
  top: 18.179464974%;
  left: 18.1803700518%;
  animation-delay: 0s;
}

.loading.la-sm {
  width: 16px;
  height: 16px;
}

.loading.la-sm > div {
  width: 4px;
  height: 4px;
  margin-top: -2px;
  margin-left: -2px;
}

.loading.la-2x {
  width: 64px;
  height: 64px;
}

.loading.la-2x > div {
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
}

.loading.la-3x {
  width: 96px;
  height: 96px;
}

.loading.la-3x > div {
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
}

@keyframes ball-spin-clockwise-fade {
  50% {
    opacity: 0.25;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* <div class="loading_area">
        <div class="loading">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>            
        <span>搜尋中</span>
    </div> */

/* 骨架動畫 */


/* 整體骨架容器 */
.skeleton {
  width: 100%;
  padding: 10px;
  background-color: #f6f7f8;
  transition: 0.2s;
}

/* 標題骨架 */
.skeleton-title {
  width: 11%;
  height: 62px;
  margin-bottom: 1.8%;
  border-radius: 8px;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}
.skeleton-btn {
  width: 9%;
  height: 55px;
  margin-right: 2px;
  border-radius: 4px;
  margin-bottom: 1.8%;
  background-color: #eee;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.skeleton-block {
  width: 100%;
  height: 400px;
  margin-bottom: 1.8%;
  margin-right: 2px;
  border-radius: 4px;
  background-color: #eee;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
/* 文字行骨架 */
.skeleton-body .skeleton-line {
  width: 100%;
  height: 55px;
  margin-top: 20px;
  border-radius: 4px;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}

@media (max-width:1600px){   /*PC*/
 
  .skeleton-title {
    width: 11%;
    height: 48px;
    border-radius: 8px;
  }
  .skeleton-btn {
    width: 8%;
    height: 45px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-block {
    width: 100%;
    height: 320px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-body .skeleton-line {
    width: 100%;
    height: 60px;
    margin-top: 20px;
    border-radius: 4px;
  }
}

@media (max-width:1280px){  /*tablet and laptop*/
  .skeleton {
    padding: 10px;
  }
  
  .skeleton-title {
    width: 12%;
    height: 38px;
    border-radius: 8px;
  }
  .skeleton-btn {
    width: 8.5%;
    height: 35px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-block {
    width: 100%;
    height: 280px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-body .skeleton-line {
    width: 100%;
    height: 30px;
    margin-top: 20px;
    border-radius: 4px;
  }


}

@media (max-width:768px){  /*tablet and laptop*/
  .skeleton {
    padding: 10px;
  }
  
  .skeleton-title {
    width: 15%;
    height: 35px;
    border-radius: 8px;
  }
  .skeleton-btn {
    width: 13%;
    height: 35px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-block {
    width: 100%;
    height: 250px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-body .skeleton-line {
    width: 100%;
    height: 30px;
    margin-top: 20px;
    border-radius: 4px;
  }
}

@media (max-width:550px){  /*tablet and laptop*/
  .skeleton {
    padding: 10px;
  }
  
  .skeleton-title {
    width: 25%;
    height: 38px;
    border-radius: 8px;
  }
  .skeleton-btn {
    width: 20%;
    height: 38px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-block {
    width: 100%;
    height: 280px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-body .skeleton-line {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border-radius: 4px;
  }

}


@media (max-width:450px){   /*phone*/
  .skeleton {
    padding: 10px;
  }
  
  .skeleton-title {
    width: 30%;
    height: 38px;
    border-radius: 8px;
  }
  .skeleton-btn {
    width: 27%;
    height: 38px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-block {
    width: 100%;
    height: 350px;
    margin-right: 2px;
    border-radius: 4px;
  }
  .skeleton-body .skeleton-line {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    border-radius: 4px;
  }
}



/* shimmer 動畫 */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* shimmer 效果共用 */
.skeleton-title::before, .skeleton-block::before,
  .skeleton-body .skeleton-line::before,.skeleton-btn::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
  will-change: transform;
}


