#luckynumber_counter {
  font-size: 1.8em;
  margin: 10px auto 30px;
  /*color: #f40505;*/
  color: brown;
  /*background-color: #000;*/
  letter-spacing: 0.2em;
  font-family: monospace;
  display: table;
  padding: 0 10px;
}
#luckynumber_bg {
  /*background-image: url(img/luckynumber_bg.png);
  background-image: none;
  background-position: center;*/
  padding: 4%;
  position: relative;
  margin: 130px 0 0 80px;
}
#luckynumber_bg .win {
  background-image: url(img/luckynumber_win.png);
  background-position: center;
  position: absolute;
  left: 0;
  top: -50px;
  width: 100%;
  height: 100%;
}
.slot_machine {
  margin: 0 auto 30px;
  display: table;
  padding: 20px;
  /*background: #ED5D1E;*/
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  /*border: 2px solid #ED5D1E;*/
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.6);
  /*
  background: -moz-linear-gradient(right, #ed9714, #fdc311, #f5cf20, #fdc311, #d19904);
  background: -webkit-linear-gradient(right, #ed9714, #fdc311, #f5cf20, #fdc311, #d19904);
  background: -o-linear-gradient(right, #ed9714, #fdc311, #f5cf20, #fdc311, #d19904);
  background: -ms-linear-gradient(right, #ed9714, #fdc311, #f5cf20, #fdc311, #d19904);*/
  background-image: linear-gradient(#ed9714, #fdc311, #f5cf20, #fdc311, #d19904);
  border: #f89a1b 1px solid;
}
#rotate {
  width: 180px;
  font-size: 5em;
  height: 1.5em;
  line-height: 1.5em;
  position: relative;
  overflow: hidden;
  background: #1b1b1b;
  background: -moz-linear-gradient(top, #1b1b1b 0%, #383838 8%, #3a3a3a 20%, #0a0a0a 47%, #010101 50%, #0d0d0d 54%, #444444 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b1b1b), color-stop(8%, #383838), color-stop(20%, #3a3a3a), color-stop(47%, #0a0a0a), color-stop(50%, #010101), color-stop(54%, #0d0d0d), color-stop(100%, #444444));
  background: -webkit-linear-gradient(top, #1b1b1b 0%, #383838 8%, #3a3a3a 20%, #0a0a0a 47%, #010101 50%, #0d0d0d 54%, #444444 100%);
  background: -o-linear-gradient(top, #1b1b1b 0%, #383838 8%, #3a3a3a 20%, #0a0a0a 47%, #010101 50%, #0d0d0d 54%, #444444 100%);
  background: -ms-linear-gradient(top, #1b1b1b 0%, #383838 8%, #3a3a3a 20%, #0a0a0a 47%, #010101 50%, #0d0d0d 54%, #444444 100%);
  background: linear-gradient(to bottom, #1b1b1b 0%, #383838 8%, #3a3a3a 20%, #0a0a0a 47%, #010101 50%, #0d0d0d 54%, #444444 100%);
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -moz-box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(255, 255, 255, 0.5), 0 -1px 1px rgba(255, 255, 255, 0.2), inset 0 -2px 15px #000;
  border: 2px solid #ED5D1E;
}
.ring {
  margin: 0 auto;
  height: 100%;
  width: 50%;
  float: left;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.ring.run {
  -webkit-transition-duration: 0.05s;
  -webkit-transition-timing-function: linear;
  -moz-transition-duration: 0.05s;
  -moz-transition-timing-function: linear;
  transition-duration: 0.05s;
  transition-timing-function: linear;
}
.ring.stop {
  -webkit-transition-duration: 2s;
  -webkit-transition-timing-function: ease-out;
  -moz-transition-duration: 2s;
  -moz-transition-timing-function: ease-out;
  transition-duration: 2s;
  transition-timing-function: ease-out;
}
.slot {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: gold;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.slot p {
  font-weight: bold;
  margin: 0;
  text-align: center;
}
.spin-0 {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.spin-1 {
  -webkit-transform: rotateX(-36deg);
  -moz-transform: rotateX(-36deg);
  transform: rotateX(-36deg);
}
.spin-2 {
  -webkit-transform: rotateX(-72deg);
  -moz-transform: rotateX(-72deg);
  transform: rotateX(-72deg);
}
.spin-3 {
  -webkit-transform: rotateX(-108deg);
  -moz-transform: rotateX(-108deg);
  transform: rotateX(-108deg);
}
.spin-4 {
  -webkit-transform: rotateX(-144deg);
  -moz-transform: rotateX(-144deg);
  transform: rotateX(-144deg);
}
.spin-5 {
  -webkit-transform: rotateX(-180deg);
  -moz-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}
.spin-6 {
  -webkit-transform: rotateX(-216deg);
  -moz-transform: rotateX(-216deg);
  transform: rotateX(-216deg);
}
.spin-7 {
  -webkit-transform: rotateX(-252deg);
  -moz-transform: rotateX(-252deg);
  transform: rotateX(-252deg);
}
.spin-8 {
  -webkit-transform: rotateX(-288deg);
  -moz-transform: rotateX(-288deg);
  transform: rotateX(-288deg);
}
.spin-9 {
  -webkit-transform: rotateX(-324deg);
  -moz-transform: rotateX(-324deg);
  transform: rotateX(-324deg);
}
#play_sound {
  display: none;
}
#play_sound_label::before {
  font-size: 1.6em;
}

/* เพิ่มใหม่ */
@media(max-width:575px){
  #luckynumber_bg {
    /*background-image: url(img/luckynumber_bg.png);*/
    background-image: none;
    margin: 20px 0 0 120px
  }
}
/**
@media(max-width:767px){
  #luckynumber_bg {
    /*background-image: url(img/luckynumber_bg.png);
    background-image: none;
    margin: 20px 0 0 150px
  }
}

@media(max-width:991px){
  #luckynumber_bg {
    /*background-image: url(img/luckynumber_bg.png);
    background-image: none;
    margin: 20px 0 0 130px
  }
}
*/