/****** Start Utilities ******/
@font-face {
  font-family: "FranklinGothic";
  src: url(../fonts/franklin-gothic.ttf);
}
body {
  background-image: url(../img/app_background.jpg);
  background-size: cover;
  background-position: center;
  background-color: #100E31;
  color: #fff;
  font-family: "FranklinGothic";
  font-weight: 400;
}

.red {
  color: red;
}

.green {
  color: green;
}

.blue {
  color: blue;
}

.container {
  max-width: 1920px;
}
.container.max-width-1024 {
  max-width: 1024px;
}

.hide {
  display: none !important;
}

::-webkit-input-placeholder {
  color: #100E31 !important;
}

::-moz-placeholder {
  color: #100E31 !important;
}

:-ms-input-placeholder {
  color: #100E31 !important;
}

::-ms-input-placeholder {
  color: #100E31 !important;
}

::placeholder {
  color: #100E31 !important;
}

.no-gap {
  font-size: 0;
}

.full-width {
  width: 100%;
}

.max-width-685 {
  max-width: 685px;
  margin-left: auto;
  margin-right: auto;
}

.vh-center {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.smart-height {
  height: calc(100vh - 25.5vh);
}
@media (max-width: 991px) {
  .smart-height {
    height: calc(100vh - 21.5vh);
  }
}

.text-center {
  text-align: center;
}

.c-shadow {
  cursor: pointer;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.c-shadow:hover {
  -webkit-box-shadow: 0 0 25px #265E93 !important;
          box-shadow: 0 0 25px #265E93 !important;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.font-light, .smart-grid .grid-row .grid-col .symbol {
  font-family: "FranklinGothic-Light", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.font-medium, .next-live-draw {
  font-family: "FranklinGothic", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.font-large, .slide-header .history-date, .smart-grid .grid-row .value, .smart-grid .grid-row .name {
  font-family: "FranklinGothic-Bold", sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.font-xlarge {
  font-family: "FranklinGothic-Bold", sans-serif;
  font-size: 32px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .font-xlarge {
    font-size: 24px;
    line-height: 1.33;
  }
}

.overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 99999;
}
.overlay .inner {
  position: absolute;
  left: 50%;
  top: 50%;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.popup {
  position: fixed;
  background: rgba(43, 50, 82, 0.6);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
}
.popup.show {
  display: block;
}
.popup .ico-closed {
  background-image: url(../img/closed.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  -webkit-box-shadow: 0 0 5px #222;
          box-shadow: 0 0 5px #222;
  border-radius: 50%;
  z-index: 1000;
}
.popup .inner {
  left: 50%;
  top: 50%;
  width: 90%;
  height: 90%;
  position: absolute;
  background: #fff;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-box-shadow: 0 0 15px #2b3252;
          box-shadow: 0 0 15px #2b3252;
  border-radius: 8px;
  padding-top: 8px;
}
.popup .inner .popup-video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  outline: none;
}

.animated.cFadeOut {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-top: -3vw;
  opacity: 0;
}

.embeded-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  outline: none;
}

.content.mobile {
  max-width: 1200px;
  margin: 0 auto;
}

.wait-anims {
  position: absolute;
  z-index: 1000;
  bottom: 0%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.wait-anims img {
  vertical-align: middle;
}

.smart-grid {
  display: block;
  text-align: center;
}
.smart-grid .grid-row {
  display: inline-block;
  width: 100%;
  margin: 0.78125vw 0;
}
.smart-grid .grid-row .grid-col {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 2px;
}
.smart-grid .grid-row .grid-col .symbol {
  position: absolute;
  left: 2px;
  top: 2px;
  color: red;
}
.smart-grid .grid-row .grid-col.col-3 {
  width: calc(33% - 4px);
}
.smart-grid .grid-row .grid-col.col-5 {
  width: calc(20% - 8px);
}
.smart-grid .grid-row .grid-col.col-5 .value.active {
  position: absolute;
}
.smart-grid .grid-row .grid-col .special-anims {
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
  width: 100% !important;
  border: 5px solid #fb3;
  border-radius: 10px;
  z-index: 9999;
  font-size: 60px;
  background: #fff;
  font-size: 40px;
  -webkit-box-shadow: 0 0 10px #000;
          box-shadow: 0 0 10px #000;
  -webkit-animation: zoomInOut 0.25s 3;
          animation: zoomInOut 0.25s 3;
}
.smart-grid .grid-row .name {
  background: -webkit-gradient(linear, left top, left bottom, from(#2B60A3), to(#1F458A));
  background: linear-gradient(#2B60A3, #1F458A);
  display: inline-block;
  padding: 1.0416666667vw 2.6041666667vw;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #ffffff;
}
.smart-grid .grid-row .name.style1 {
  width: calc(100% - 6px);
}
@media (min-width: 1201px) {
  .smart-grid .grid-row .name {
    padding: 10px 50px;
  }
}
.smart-grid .grid-row .value {
  background: transparent;
  display: inline-block;
  padding: 1.0416666667vw 2.6041666667vw;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #ffffff;
  text-transform: none;
}
.smart-grid .grid-row .mask {
  opacity: 0;
}
@media (max-width: 819px) {
  .smart-grid .grid-row .value {
    font-size: 2.5vw;
  }
  .smart-grid .grid-row .name {
    font-size: 2.9166666667vw;
  }
  .smart-grid .grid-row .grid-col {
    margin: 0.1041666667vw;
  }
  .smart-grid .grid-row .grid-col.col-5 {
    width: calc(20% - 6px);
  }
}
@media (max-width: 819px) and (max-width: 560px) {
  .smart-grid .grid-row .grid-col.col-5 {
    width: calc(20% - 5px);
  }
}
@media (max-width: 819px) {
  .smart-grid .grid-row .grid-col .symbol {
    font-size: 1.9791666667vw;
  }
}

.flash {
  -webkit-animation: flash 0.25s 3;
          animation: flash 0.25s 3;
}

@-webkit-keyframes flash {
  0% {
    background-color: #222;
    color: #fff;
  }
  49% {
    background-color: red;
    color: #fff;
  }
  100% {
    background-color: #fff;
    color: #fff;
  }
}

@keyframes flash {
  0% {
    background-color: #222;
    color: #fff;
  }
  49% {
    background-color: red;
    color: #fff;
  }
  100% {
    background-color: #fff;
    color: #fff;
  }
}
@-webkit-keyframes scaleInOut {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes scaleInOut {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes zoomInOut {
  0% {
    -webkit-transform: translate(-50%, 0%) scale(0.9);
            transform: translate(-50%, 0%) scale(0.9);
  }
  100% {
    -webkit-transform: translate(-50%, 0%) scale(1);
            transform: translate(-50%, 0%) scale(1);
  }
}
@keyframes zoomInOut {
  0% {
    -webkit-transform: translate(-50%, 0%) scale(0.9);
            transform: translate(-50%, 0%) scale(0.9);
  }
  100% {
    -webkit-transform: translate(-50%, 0%) scale(1);
            transform: translate(-50%, 0%) scale(1);
  }
}
.footer {
  margin-top: 15px;
  display: inline-block !important;
  width: 100%;
  position: relative;
  min-height: 100px;
}

.reward-prize {
  width: auto;
  min-width: 240px;
  width: 100%;
  max-width: 400px;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  border-radius: 6px;
  color: #000;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
}
.reward-prize .field .name {
  font-size: 13px;
}
.reward-prize .field .value {
  font-size: 13px;
  width: 260px;
  text-transform: none;
}
.reward-prize .field.long-text .name,
.reward-prize .field.long-text .value {
  line-height: 24px;
}
@media (max-width: 400px) {
  .reward-prize .field .name {
    font-size: 10px;
    width: 90px;
  }
  .reward-prize .field .value {
    font-size: 10px;
    width: 200px;
  }
}
.reward-prize img {
  width: 100%;
}
@media (max-width: 400px) {
  .reward-prize {
    position: relative;
    width: 100%;
    left: initial;
    top: initial;
  }
}

.next-live-draw {
  background-image: url(../img/red-shape.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 150px;
  height: 120px;
  text-align: center;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  padding-left: 10px;
}
.next-live-draw .hed {
  display: inline-block;
  width: 100%;
  margin-top: 40px;
}
.next-live-draw .dek {
  display: inline-block;
  width: 100%;
}
.next-live-draw.bottom {
  display: none;
}
@media (max-width: 660px) {
  .next-live-draw.bottom {
    display: block;
  }
}
@media (max-width: 400px) {
  .next-live-draw.bottom {
    position: relative;
    width: 100px;
    height: 80px;
    top: initial;
    right: initial;
    -webkit-transform: initial;
            transform: initial;
    margin: 10px auto;
  }
}
@media (max-width: 991px) {
  .next-live-draw {
    font-size: 11px;
    width: 100px;
    height: 80px;
  }
  .next-live-draw .hed {
    margin-top: 20px;
  }
}

.live-draw {
  display: inline-block;
  width: 100%;
  position: relative;
  height: 350px;
}
.live-draw .main-game {
  position: absolute;
  text-align: center;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  padding-bottom: 35px;
  width: 100%;
  max-width: 800px;
}
.live-draw .site-logo {
  position: relative;
  width: 100%;
  border-radius: 6px;
  max-width: 200px;
  margin: 0 auto;
}
.live-draw .site-logo img {
  width: 100%;
}
.live-draw .static-counter {
  display: inline-block;
  font-size: 20px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  background: #fb3;
  border-radius: 5px;
  color: #222;
  padding: 5px;
  width: 60%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.live-draw .static-counter p {
  margin: 0;
}
.live-draw .static-counter .number {
  color: red;
}
.live-draw .spin-slogan {
  background-image: url(../img/web-banner.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px;
}
.live-draw .spin-slogan .value {
  margin-left: 20px;
}
@media (max-width: 820px) {
  .live-draw .countdownbox {
    -webkit-transform: translateX(-50%) scale(0.9);
            transform: translateX(-50%) scale(0.9);
    bottom: 0px;
  }
}
@media (max-width: 660px) {
  .live-draw {
    height: 320px;
  }
  .live-draw .video-embed {
    display: none;
  }
  .live-draw .site-logo {
    position: relative;
    display: block;
    width: 150px;
    text-align: center;
    margin: 0 auto;
    top: initial;
    -webkit-transform: initial;
            transform: initial;
  }
  .live-draw .main-game {
    position: relative;
    left: initial;
    top: initial;
    -webkit-transform: initial;
            transform: initial;
    margin: 0 auto;
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
}
@media (max-width: 370px) {
  .live-draw {
    height: 230px;
  }
  .live-draw .main-game {
    -webkit-transform: translateX(-50%) scale(0.7);
            transform: translateX(-50%) scale(0.7);
    left: 50%;
  }
}

.field {
  display: inline-block;
  text-align: left;
  font-size: 11px;
  text-transform: capitalize;
}
.field .name {
  width: 120px;
  display: inline-block;
  vertical-align: top;
  font-weight: 600;
}
.field .value {
  width: 150px;
  display: inline-block;
  vertical-align: top;
}

.spin-result {
  display: inline-block;
  width: 100%;
  margin-top: 15px;
}

.history-view {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 60px;
  z-index: 1000;
  cursor: pointer;
  -webkit-animation: scaleInOut 1s infinite alternate;
          animation: scaleInOut 1s infinite alternate;
}
.history-view.off {
  opacity: 0.5;
}
.history-view img {
  width: 100%;
}

.swiper-wrapper {
  padding-bottom: 10vw;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fb3;
  top: 40%;
}

.slide-header .history-date {
  color: #FF0000;
  margin: 0;
  text-align: center;
  background: #fff;
  padding: 8px 0;
  font-weight: 600;
}

.slide-content {
  background: #fff;
  color: #000;
}
.slide-content .headline {
  display: inline-block;
  width: 100%;
  background: #222;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  margin: 1px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.c-col.full-width {
  width: 100%;
  display: inline-block;
}
.c-col .half {
  width: calc(50% - 2px);
  display: inline-block;
  text-align: center;
  padding: 10px 8px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #ddd;
}
.c-col .label {
  background: #222;
  color: #fff;
}
.c-col.c-col-4 {
  display: inline-block;
  vertical-align: top;
  width: calc(20% - 6px);
  text-align: center;
  padding: 10px 0px;
  margin: 1px 0;
  border: 1px solid #ddd;
}

.note {
  margin: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.date-picker-wrapper {
  display: inline-block;
  width: 100%;
  text-align: center;
}
.date-picker-wrapper .date-picker {
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 32px;
  padding-left: 10px;
  width: 250px;
  -webkit-box-shadow: 0 0 15px #ddd;
          box-shadow: 0 0 15px #ddd;
}

.message {
  font-size: 22px;
  text-align: center;
  color: #222;
}

.slot-machine {
  overflow: hidden;
  visibility: hidden;
}
.slot-machine.horizontal {
  font-size: 0;
  white-space: nowrap;
}

.slot-machine.started {
  visibility: visible;
}

.slot-machine {
  width: 100%;
  height: 25px;
  overflow: hidden;
  margin: 4.5px auto 0 auto;
  min-height: 200px;
}

.wheel {
  width: 100%;
  height: 107px;
  position: absolute;
  left: 0;
  top: 26px;
  overflow: hidden;
}
@media only screen and (max-width: 475px) {
  .wheel {
    height: 65px;
  }
}
@media only screen and (max-width: 373px) {
  .wheel {
    height: 60px;
  }
}

.slot-wrapper {
  position: relative;
  display: inline-block;
  width: 13px;
  min-width: 90px;
  margin: 0 -1px;
  height: 165px;
}
.slot-wrapper .slot-bg {
  width: 90px;
  height: 100%;
  min-width: 90px;
  position: absolute;
  background-size: 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 475px) {
  .slot-wrapper {
    min-width: 65px;
  }
  .slot-wrapper .slot-bg {
    width: 70px;
    min-width: 70px;
  }
}
@media only screen and (max-width: 373px) {
  .slot-wrapper {
    min-width: 58px;
  }
  .slot-wrapper .slot-bg {
    width: 63px;
    min-width: 63px;
  }
}
.slot-wrapper.begin .slot-bg {
  background-image: url("../img/slot_begin.png");
}
.slot-wrapper.mid .slot-bg {
  background-image: url("../img/slot.png");
}
.slot-wrapper.end .slot-bg {
  background-image: url("../img/slot_end.png");
}
.slot-wrapper.begin .slices .slice {
  margin-left: 7px;
}
.slot-wrapper.mid .slices .slice {
  margin-left: 0;
}
.slot-wrapper.end .slices .slice {
  margin-right: 7px;
}
.slot-wrapper .slices {
  white-space: normal;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.slot-wrapper .slices .slice {
  width: 100%;
  position: relative;
  height: 108px;
  font-weight: bold;
  margin-top: 0;
  display: inline-block;
}
.slot-wrapper .slices .slice img {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55px;
  height: auto;
}
.slot-wrapper .slices .slice span {
  font-size: 45px;
  line-height: 100px;
  color: #FF5722;
  font-weight: 600;
}
.slot-wrapper .slices .slice span.small {
  font-size: 36px;
  line-height: 90px;
}
@media only screen and (max-width: 475px) {
  .slot-wrapper .slices .slice {
    height: 65px;
  }
  .slot-wrapper .slices .slice img {
    width: 45px;
  }
  .slot-wrapper .slices .slice span {
    line-height: 60px;
  }
}
@media only screen and (max-width: 373px) {
  .slot-wrapper .slices .slice {
    height: 58px;
  }
  .slot-wrapper .slices .slice img {
    width: 38px;
  }
  .slot-wrapper .slices .slice span {
    line-height: 55px;
  }
}

#canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  vertical-align: bottom;
}

.anim.zoom-in-out {
  -webkit-animation: zoomWithOrigin 1s alternate infinite ease-in-out;
          animation: zoomWithOrigin 1s alternate infinite ease-in-out;
}

@-webkit-keyframes zoomWithOrigin {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes zoomWithOrigin {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes zoomInOut {
  0% {
    -webkit-transform: translateX(-50%) scale(0.9);
            transform: translateX(-50%) scale(0.9);
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
}
/**** Countdown Timer ****/
.countdownbox {
  position: absolute;
  bottom: 5px;
  z-index: 99;
  width: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.countdownbox .countdown-item {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  margin: 0 15px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  -webkit-box-shadow: 0 0 15px #222;
          box-shadow: 0 0 15px #222;
}
.countdownbox .box {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.countdownbox .dynamic-text {
  width: 100%;
  font-size: 26px;
  color: #555;
  line-height: 1;
  display: inline-block;
  font-weight: bold;
}
.countdownbox .static-text {
  font-size: 10px;
  color: #7d8da6;
  line-height: 1;
  text-transform: uppercase;
}
@media only screen and (max-width: 460px) {
  .countdownbox .countdown-item {
    width: 70px;
    height: 70px;
  }
  .countdownbox .dynamic-text {
    font-size: 22px;
  }
  .countdownbox .static-text {
    font-size: 8px;
  }
}
@media only screen and (max-width: 369px) {
  .countdownbox .countdown-item {
    zoom: 0.8;
  }
}