.modal-open {
  padding-right: 0px !important;
}

/* pop */

.pop,.turntable,.image_lottery_content {
  background: rgba(0, 0, 0, .6);
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 9997;
}
.turntable{
  z-index: 9998;
  background: rgba(0, 0, 0, .7);
}
.pop>section,.turntable>section,.image_lottery_content>section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
}

.pop>section>.popclose {
  position: absolute;
  top: -25px;
  right: 0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .pop>section,.turntable>section,.image_lottery_content>section {
      width: 75%;
  }
}

/* end-pop */

/* ad */

.ad {
  display: block;
  position: fixed;
  z-index: 9996;
  right: 3%;
  bottom: 2%;
  transition: all 1s;
}

@media (max-width: 767px) {
  .ad {
      display: none;
  }
}

.ad>section {
  margin-bottom: 12%;
  transition: all 1s;
  position: relative;
  text-align: right;
  background: transparent !important;
}

.ad>section>.adclose {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

/* end-ad */

/* turntable */

li,p,h2{
  font-family: "Roboto Condensed", sans-serif, "微軟正黑體";
}
.turntable .popclose{
position: absolute;
right: 0;
top: 0;
width: 35px;
height: 35px;
text-align: center;
color: #eee;
font-size: 19pt;
line-height: 35px;
border-radius: 50%;
/* border: 1px solid #fff;
background:rgba(51,51,51,.5); */
cursor:pointer;
font-weight:100;
}
.turntable .box{
display:flex;
/* background: red; */
width: 768px;
max-width: 100%;
}
@media (max-width: 768px) {
.turntable .box {
  flex-wrap:wrap;
  justify-content:center;
}
}
.turntable .box .circle{
position: relative;
background: radial-gradient(circle at 35% 25%,
#111 0,#444 20%,#777 40%,#000 90%,#444 95%,#777 100%);
border-radius: 50%;
width: 320px;
height: 320px;
}  

.turntable .box .circle #pointer {
position: absolute;
z-index: 10;
top: 50%;
left: 50%;
width: 50px;
background: rgba(0,0,0,1);
height: 50px;
border-radius:50%;
transform: translate(-50%, -50%);
/* overflow: hidden; */
text-align: center;
line-height: 40px;
border:4px solid #666;
display: block;
}
.turntable .box .circle #pointer img{
width:70%;
}
.turntable .box .circle #pointer:before{
border: solid transparent;
content: "";
width: 0;
height: 0;
position: absolute;
top: -2px;
left: 50%;
transform: translate(-50%, -50%) rotate(180deg);
border-width: 18px 15px 0 15px;
border-top-color: #000;
}


.turntable .box .circle #turntable2 {
width:300px;
height:300px;
border-radius:50%;
transition: all 4s;
background: #fff;
padding: 10px;
border: 8px solid #333;
margin: 9px;
overflow: hidden;
position: relative;
/* transform: rotate(45deg); */
}
.turntable .box .circle #turntable2:before {
content: '';
background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, white 50%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, white 50%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
background: linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, white 50%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
position: absolute;
top: -50%;
left: 0;
width: 100%;
height: 300%;
-webkit-transition: 1s;
-o-transition: 1s;
transition: 1s;
-webkit-animation: shinye 5s ease infinite;
animation: shinye 5s ease infinite;
}
@keyframes shinye {
0% {
  transform: translateX(-150%) skewX(-205deg);
  opacity: 1;
}
80% {
  transform: translateX(200%) skewX(-205deg);
  opacity: 1;
}
100% {
  transform: translateX(200%) skewX(-205deg);
  opacity: 0;
}
}
.turntable .box .circle #turntable2 ul{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #333;
  background:
    radial-gradient(circle at 50% 50%,
    rgba(0,0,0,.2) 5%, 
      rgba(0,0,0,.1) 50%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,0) 100%
    ), repeating-conic-gradient(
    #eee 45deg, 
    #eee 135deg,
    #fff 135deg,
    #fff 225deg );
  border-radius: 50%;
}
.turntable .box .circle #turntable2 ul li{
  list-style: none;
  position: absolute;
  transform-origin: 0 0;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  font-weight: 600;
  font-size: 13pt;
}
.turntable .box .circle #turntable2 ul li:nth-child(1) {
  transform: rotate(270deg) translateX(-50%) translateY(-323%);
}
.turntable .box .circle #turntable2 ul li:nth-child(2) {
  transform: rotate(180deg) translateX(-50%) translateY(-323%);
  }
.turntable .box .circle #turntable2 ul li:nth-child(3) {
  transform: rotate(90deg) translateX(-50%) translateY(-323%);
}
.turntable .box .circle #turntable2 ul li:nth-child(4) {
   transform: rotate(0deg) translateX(-50%) translateY(-323%);
  
  }


.turntable .box .circle #turntable2 p{
position: absolute;
top: 10%;
left: 50%;
transform: translateX(-50%);
}

.turntable .box .content{
text-align:center;
color:#fff;
margin: auto;
margin-left: 35px;
}
@media (max-width: 768px) {
.turntable .box .content{
  margin-left: 0;
  margin-top: 25px;
}
}
.turntable .box .content .logo{
background: black;
width: 36%;
margin: 0 auto;
}
.turntable .box .content h2{
font-size:23pt;
letter-spacing: 1px;
}
.turntable .box .content p{
font-size:12pt;
letter-spacing: 1px;
}
.turntable .box .content button{
color: #333;
padding: 4px 65px;
font-weight: 600;
font-size: 12pt;
background: linear-gradient(45deg, #ddd, #eee, #ddd,#ddd,#ddd);
-webkit-animation: breath 2s linear .2s infinite;
animation: breath 2s linear .2s infinite;
margin: 0 auto;
}
.turntable .box .content button#copy{
  opacity: 0;
  transition: all .5s;
  transition-delay: 4.5s;
}
.turntable .box .content button#copy.show{
  opacity: 1;
  
}

@keyframes breath {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  5% {
      -webkit-transform: scale(1.15);
      transform: scale(1.15);
  }
  10% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  15% {
      -webkit-transform: scale(1.15);
      transform: scale(1.15);
  }
  20% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  100% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
}
@-webkit-keyframes breath {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  5% {
      -webkit-transform: scale(1.15);
      transform: scale(1.15);
  }
  10% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  15% {
      -webkit-transform: scale(1.15);
      transform: scale(1.15);
  }
  20% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
  100% {
      -webkit-transform: scale(1);
      transform: scale(1);
  }
}

.turntable .box .content p.result{
background: rgba(137,137,137,.4);
margin: 0 auto 15px;
/* padding: 4px 65px; */
font-weight: 600;
text-align:center;
line-height: 26pt;
}

/* end-turntable */

/* image_lottery */
#image_lottery{
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  cursor: pointer;
}
.image_lottery_content {
  display: none;
  position: fixed;
  z-index: 1; 
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.7); 
  z-index: 1001;
}

.image_lottery_content_image {
  /* margin: auto;
  display: block; */
  /*width: 80%;*/
  /* max-width: 700px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform:translate(-50%, -50%);
  -moz-transform:translate(-50%, -50%);
  -ms-transform:translate(-50%, -50%);
  -o-transform:translate(-50%, -50%); */
}
.image_lottery_content_image {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0),translate(-50%, -50%)} 
  to {-webkit-transform:scale(1),translate(-50%, -50%)}
}

@keyframes zoom {
  from {-webkit-transform:scale(0),translate(-50%, -50%)} 
  to {-webkit-transform:scale(1),translate(-50%, -50%)}
}


#image_lottery_content .image_lottery_content_close {
  position: absolute;
  top: -46px;
  right: 10px;
  color: #f1f1f1;
  font-size: 28px;
  transition: 0.3s;
  font-weight: normal;
}

#image_lottery_content .image_lottery_content_close:hover,
#image_lottery_content .image_lottery_content_close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px){
  .image_lottery_content_image {
    /* width: 100%; */
  }
}

/* end-image_lottery */