@media only screen and (max-width: 992px) {
  .hide-nav,
  .login-pc {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) {
  .line-bar,
  .login-mobile {
    display: none !important;
  }
}

body {
  font-family: sarabun;
  background-image: url("../images/casinoBG.jpg");
  background-size: cover;
  background-attachment: fixed;
  color: #e9e9e9;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li {
  line-height: 1.6;
}

.container {
  background: rgb(0, 0, 0, 0.8);
}

.top-bar {
  background: rgba(0, 0, 0, 0.4);
  background-image: url("../images/home/top.png");
  background-size: auto;
  padding-left: 300px;
}

.head-bar {
  margin-top: 10px;
  background: #9f7928; /* fallback for old browsers */
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1e 100%
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  text-align: center;
}

.line-bar {
  height: 50px;
  background-color: #00b900;
  text-align: center;
  color: white;
  position: fixed;
  z-index: 999;
  bottom: 0;
  width: 100%;
}

.menu-mobile {
  border: 1px solid #fdb931;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(36, 36, 36);
}

.menu-mobile > a {
  color: white;
}

.game-bg {
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1f 100%
    );
  padding: 3px;
}

.login-pc {
  height: 100px;
  padding: 20px;
}

.loginbtn-pc {
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1f 100%
    );
  height: 36px;
  color: #fff;
}

.loginbtn-mobile {
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1f 100%
    );
  height: 36px;
  color: #fff;
  width: 100%;
}

.form-input {
  border: 2px solid #776029;
  background: #000;
  color: white !important;
}

.form-control:focus {
  border-color: #776029;
  background: #000;
}

.nav-bar {
  background: rgb(0, 0, 0, 0.8);
}
/*=======================  menu  =====================*/
nav {
  text-align: center;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  height: 50px;
}
nav ul {
  list-style: none;
  padding: 0px;
  margin: auto;
}
nav ul li {
  display: inline-block;
  font-size: 13px;
  padding: 0px 16px;
}
nav ul li:nth-child() {
  border: 1px solid yellow;
}
nav ul li.home-img a {
  color: #dab867;
}
nav ul li.home-img img {
  position: absolute;
  top: 0px;
  margin-left: -46px;
}
nav ul li.home-img2 img {
  position: absolute;
  top: 0px;
  margin-left: -35px;
}
nav ul li a {
  color: #fff;
  font-weight: bold;
  display: block;
  padding: 0px;
  text-decoration: none;
  margin: auto;
  padding-top: 10px;
}
nav ul li a:hover {
  color: #000;
}
nav ul li a.text {
  padding: 10px 3px 11px;
  font-size: 16px;
}
nav ul li a.text:hover {
  background: #003147;
  color: #fff;
}
nav ul li:hover > ul {
  display: block;
}
nav ul ul {
  z-index: 100;
  background-color: #0a004a;
  padding: 0;
  text-align: center;
  display: none;
  width: 100%;
  position: absolute;
  top: 44px;
  left: 0px;
  border-bottom: rgba(0, 0, 0, 0.92) solid 2px;
}
span.menu-btn {
  padding: 8px 5px 5px;
  width: 100%;
  display: block;
}

nav ul .submenu li {
  width: auto;
}
nav ul .submenu li a img {
  width: 100%;
}
nav ul .submenu li:hover {
  /*background:#333;background-image: -webkit-gradient(radial, center center, 0, center center, 286, color-stop(0, #ffef68), color-stop(100, #886115));
background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #ffef68 0%, #886115 100%);
background-image: -moz-radial-gradient(center, ellipse farthest-corner, #ffef68 0%, #886115 100%);*/
  background-color: #d0a70a;
}
/*======================= end  menu  =====================*/

.qrcode {
  position: fixed;
  right: 10px;
  bottom: 50px;
  z-index: 999;
  padding: 10px 0px 0px 0px;
}
@media only screen and (max-width: 1024px) {
  .qrcode {
    display: none;
  }
}

footer {
  color: white;
  text-align: center;
  padding: 10px;
}

.line-link {
  color: #00b900;
}

/*======================= hover effect  =====================*/
figure {
  overflow: hidden;
  position: relative;
}
figure::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
figure:hover::before {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
/*======================= end hover effect  =====================*/
