@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Gabarito', sans-serif;
}

body {
  height: 100vh;
  /* font-family: 'Noto Sans TC', sans-serif !important; */
}


.backdrop {
  /* position: relative; */
  background-color: rgb(232, 232, 232);
  opacity: 0.8;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.loader {
  height: 20px;
  width: 250px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
}

.loader--dot {
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background-color: black;
  position: absolute;
  border: 2px solid white;
}

.loader--dot:first-child {
  background-color: #8cc759;
  animation-delay: 0.5s;
}

.loader--dot:nth-child(2) {
  background-color: #8c6daf;
  animation-delay: 0.2s;
  margin-left: 50px;
}

.loader--dot:nth-child(3) {
  background-color: #ef5d74;
  animation-delay: 0.3s;
  margin-left: 100px;
}

.loader--dot:nth-child(4) {
  background-color: #f9a74b;
  animation-delay: 0.1s;
  margin-left: 150px;
}

.loader--dot:nth-child(5) {
  background-color: #60beeb;
  animation-delay: 0.3s;
  margin-left: 200px;
}

/* .loader--dot:nth-child(6) {
  background-color: #fbef5a;
  animation-delay: 0s;
  margin-left: 250px;
} */

.loader--text {
  position: absolute;
  top: 200%;
  left: 0;
  right: 0;
  width: 4rem;
  margin: auto;
}

.loader--text:after {
  content: "Loading";
  font-weight: bold;
  animation-name: loading-text;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes loader {
  15% {
    /* transform: translateX(0); */
    transform: translate(0,-50px);
    
  }

  45% {
    /* transform: translateX(230px); */
    transform: translate(0,0);

  }

  65% {
    /* transform: translateX(230px); */
    transform: translate(0,-50px);

  }

  95% {
    /* transform: translateX(0); */
    transform: translate(0,0);
  
  }
}

@keyframes loading-text {
  0% {
    content: "Loading";
  }

  25% {
    content: "Loading.";
  }

  50% {
    content: "Loading..";
  }

  75% {
    content: "Loading...";
  }
}

.wrapper {
  width: 90% !important;
}

.nav li a {
  color: rgb(0, 0, 0);
  font-weight: 500;
}
.navWrapper .nav li a {
  color: rgb(182, 182, 182);
}

/* navbar ul li.nav-item .active a {
  color: white;
} */

/* .nav-item :hover { */
  /* background-color: #d1d1d1 !important; */
  /* border-radius: 5px; */
  /* color: #000000; */
  /* font-weight: 800 !important; */
/* } */

/* .navWrapper {
  padding: 0 15px;
} */

.nav-tabs>li>a {
  /* adjust padding for height*/
  /* padding-top: 4px; */
  /* padding-bottom: 4px; */
  font-size: medium;
  font-weight: 800 !important;
}

/* index */
#ballList {
  padding-top: 20px;
  /* pointer-events: none; */

}

.box {
  display: inline-block;
  text-align: left;
  pointer-events: none;
  margin-bottom: 100px;
}


.imgWrapper {
  display: inline-block;
  /* background-color: black; */
  width: 50px !important;
  height: 50px !important;
  margin-right: 10px;
  margin-bottom: 10px;
  position: relative;
}

#ballList .box .imgWrapper .fa-circle-check {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  z-index: 1;
  top: 0px;
  right: -15px;
}

#ballList .box .imgWrapper .thumb {
  pointer-events: auto;
  /* background-color:aqua; */
  width: 50px;
  height: 50px;
  margin-top: 5px;
  /* margin-bottom: 10px; */
  /* transition: all 1s ease-in-out 0.5s; */
  /* animation-duration: 1s;
  animation-fill-mode: forwards; */
}


/* #ballList .box .imgWrapper .thumb:hover { */
  /* margin:0 30px 100px 30px; */
  /* transform: scale(2); */
  /* animation-name: bounce; */
  /* animation-timing-function: ease; */
  /* width:80px;
  height:80px; */
  /* transform-origin: center;
  filter: none;
  -webkit-filter: blur(0px);
  -moz-filter: blur(0px);
  -ms-filter: blur(0px);
  transition-duration: 0.5s;
  transform: scale(1.6); */
  /* height: 80px; */
  /* width: 80px; */
  /* z-index: 1; */
  /* margin-top: 15px; */
  /* margin-bottom: 25px; */
  /* filter: none; */

  /* -webkit-filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.7)); */
  /* filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.7)); */

  /* filter: none; */
  /* -webkit-filter: blur(0px); */
  /* -moz-filter: blur(0px); */
  /* -ms-filter: blur(0px); */
/* } */

/* @media (pointer:coarse) {
  a:hover {
    color: inherit;
  }
} */


@keyframes bounce {

  100% {
    filter: none;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    /* filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0'); */
    transform: scale(1.6);
    /* z-index: 100; */
    margin-top: 15px;
    margin-bottom: 25px;
  }
}


.fullset {
  width: 100%;
  height: 100%;
}

.product-title {
  font-size: 1.3em;
  font-weight: 800;
}

.product-name {
  font-size: 1em;
  font-weight: 500;
}

.product-size {
  font-size: 1em;
  font-weight: 400;
}

/* inquiry */
.cardwrap {
  position: relative;
}

.cardwrap>.cardclose {
  background-color: #fff;
  border-radius: 50%;
  color: rgb(247, 88, 88) !important;
  opacity: 1 !important;
  position: absolute;
  z-index: 1;
  top: -10px;
  right: 0px;
}

.cardwrap>.cardclose :hover {
  color: rgb(233, 0, 0) !important;
}

.cart {
  position: relative;
}

.cart>.badge {
  font-size: 8px;
  position: absolute;
  z-index: 1;
  /* top: -0.5px; */
  right: 8px;
}


/* inqury.php */
.empty {
  margin: 280px 0 0 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}

.warn {
  font-size: small;
}

.inquiryBtn{
  width: 100%;
}

/* order.php */

.read{
  font-size: medium;
  color: black !important;
  border: 0 !important;
  background: transparent !important;
}
