* {
  font-family: "Kanit", sans-serif;
}

body {
  margin: auto;
  margin-right: auto;
  margin-left: auto;
  font-family: "Kanit", sans-serif;
  background-image: url("../img/bg.jpg");
  background-size: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: soft-light;
  background-color: #0f0f0fdb;
}

body,
html {
  height: 100%;
  margin: 0;
}
#overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  background: rgb(2, 17, 0);
  width: 100%;
  height: 100%;
  opacity: 0.75;
  filter: alpha(opacity=75);
  -moz-opacity: 0.75;
  z-index: 999;
  background: #02011dd4 url("../img/animate/Load.gif") 50% 50% no-repeat;
}
.main-contain {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.topnav {
  overflow: hidden;
  background-color: #01224d;
  padding: 14px 16px;
}

.topnav a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .navlink {
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  border-left-color: #ffffff;
  border-right-color: #ffd000;
  border: right color 300px;
  border-top-color: #ffd000;
  border-radius: 35px;
  background: #000000;
  padding: 8px 20px;
  margin-right: 15px;
  margin-top: 7px;
}

.topnav .navlink:hover {
  background-color: #fdde52;
  color: black;
}

.topnav .icon {
  display: none;
}
.menu_mobile {
  display: none;
}

.topnav img {
  width: 100px;
}

#gm img {
  position: relative;
  top: 9%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding-top: 50px;
  width: 90%;
}

.tel {
  margin-top: -8%;
  padding-top: 0px;
}

.footer-btn {
  display: none;
}

#btn-mb {
  display: none;
}

#btn-pc {
  padding-top: -10px;
  text-align: center;
}
.buttonpic {
  text-align: right;
}
.buttonpic a {
  width: 100px;
}
.buttonpic i {
  font-size: 50px;
  color: #f3f3f3;
}
/*-------------------------- banner ---------------------------------*/
.hero-image {
  /* background: url("../img/banner2.jpg"); */

  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  opacity: 0.9;

  top: 70%;
}

.hero-text {
  text-align: center;

  top: 50%;
  /* left: 38%; */
}

.hero-logo {
  /* text-align: center; */
  /* position: absolute;
  top: 0%; */
  /* right: 0px; */
  /* transform: translate(-50%, -50%);
  color: white; */
  /* margin-left: 59px; */
}

.hero-logo img {
  width: 400px;
  margin-bottom: 2%;
  margin-left: -80px;
}

.hero-text input {
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  border-right-color: #ffd000;
  border-top-color: #ffd000;
  border-bottom-color: #ffff;
  border-radius: 10px;
  background: #000000;
  padding: 13px 22px;
  margin-right: 15px;
  color: #ffffff;
}

#sen {
  border-right: 4px solid #f3f3f3;
  text-align: center;
}
#sen_m {
  border-right: 2px solid #00276d;
  text-align: center;
}
/* *********************************************video************************************ */
.video-hero {
  position: relative;
  color: rgb(0, 0, 0);
  margin-top: 60px;
  margin-left: -160px;
}
.video-hero video {
  width: 110%;
  box-shadow: 0 0 15px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff,
    0 0 5px #5acdff;
  border-radius: 20px;
}
#moblie {
  display: none;
}

/* ********************************************* end video************************************ */
/* ****************************************<button>**************************** */
.group-btn {
  position: relative;
  color: rgb(0, 0, 0);
  margin-top: 0px;
  /* text-align: center; */
  padding-top: -50px;
  text-align: left;
  margin-bottom: 30px;
}

.myButton {
  position: relative;
  /* padding-top: 9px !important;
  padding-bottom: 4px !important; */
  font-style: bold 2px;
  font-size: 19px;
  border-radius: 25px;
  color: rgb(255, 255, 255);
  border: 2px solid #5acdff;
  background: red;
  background: -webkit-linear-gradient(-90deg, #010331, #001b55);
  background: -o-linear-gradient(-90deg, #010331, #001b55);
  background: -moz-linear-gradient(-90deg, #010331, #001b55);
  background: linear-gradient(-90deg, #010331, #001b55);
  padding: 10px 25px;
  box-shadow: none;

  margin-top: 20px;
  text-align: center;
  animation: button 1s infinite alternate-reverse;
}

.myButton:hover {
  color: #f3f3f3;
  background: none;
  text-shadow: 0 0 5px #0c00f8, 0 0 5px #0c00fa, 0 0 25px #0011fa,
    0 0 50px #0400fa, 0 0 200px #0400fa;
  transition: all 0.3s ease-in-out 0s;
}

.myButton:active {
  position: relative;
  top: 1px;
}

a:hover {
  text-decoration: none;
  color: #000000;
}

.myButton_nav {
  /* position: relative; */
  margin-top: 1%;
  font-size: 0.9rem;
  border-radius: 15px;
  color: floralwhite;
  border: 2px solid #5acdff;
  background: none;
  padding: 1px 3px;
  box-shadow: none;
  box-shadow: 0 0 5px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff;

  /* font-family: "Kanit", sans-serif; */
  text-align: center;
}

.myButton_nav:hover {
  text-shadow: 0 0 5px #00fa00, 0 0 5px #00fa00, 0 0 25px #00fa00,
    0 0 50px #00fa00, 0 0 200px #00fa00;
}

.myButton_nav:active {
  position: relative;
  top: 1px;
}

a:hover {
  text-decoration: none;
  color: #000000;
}
/* *****************************************test******************************* */

.testbutton {
  position: relative;
  display: inline-block;
  color: #00fa00;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 5px #03e9f4 0 0 25px #03e9f4 0 0 50px #03e9f4 0 0 200px
    #03e9f4;
}

/* ****************************************<button>**************************** */

.content {
  text-align: center;
  color: white;
  font-family: "Kanit", sans-serif;
  margin-top: 30px;
  border-radius: 40px;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

.content p {
  margin-top: 30px;
  text-align: left;

  font-family: "Kanit", sans-serif;
}
.contenttext h3 {
  font-size: 30px;
  color: #ffdc16;
  text-align: left;
}

.back {
  margin-top: 50px;
  background: red;
  background: -webkit-linear-gradient(rgb(0, 5, 36), rgb(0, 86, 177));
  background: -o-linear-gradient(rgb(0, 5, 36), rgb(0, 86, 177));
  background: -moz-linear-gradient(rgb(0, 5, 36), rgb(0, 86, 177));
  background: linear-gradient(rgb(0, 5, 36), rgb(0, 86, 177));
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: 0 0 5px #03e9f4 0 0 25px #03e9f4 0 0 50px #03e9f4 0 0 200px
    #03e9f4;
  text-align: center;
  border-radius: 20px;
}
.back img {
  width: 1%;
  text-align: center;
  margin-left: 60px;
}
/* *******************************************bg***************************** */
.backg {
  background: -webkit-linear-gradient(#0070ba13, #00000083);
  background: -o-linear-gradient(#0070ba13, #00000083);
  background: -moz-linear-gradient(#0070ba13, #00000083);
  background: linear-gradient(#0070ba13, #00000083);
}
.grop_content {
  background: -webkit-linear-gradient(#0070ba5f, #00000083);
  background: -o-linear-gradient(#0070ba5f, #00000083);
  background: -moz-linear-gradient(#0070ba5f, #00000083);
  background: linear-gradient(#0070ba5f, #00000083);
  margin-top: 90px;
}

/* **************************************casino************************ */
#gameContent {
  opacity: 1.5;
  text-align: right;
  background: -webkit-linear-gradient(#0070ba29, #00000083);
  background: -o-linear-gradient(#0070ba29, #00000083);
  background: -moz-linear-gradient(#0070ba29, #00000083);
  background: linear-gradient(#0070ba29, #00000083);

  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 20px;

  text-align: center;
  border-top: 5px solid #ffffffd2;
  border-bottom: 5px solid #ffffff54;
}

#gameContent img {
  width: 100%;
  margin-top: 1px;
}

#gameContent p {
  color: #f3f3f3;
  text-align: left;
  word-wrap: break-word;
  margin-top: 10px;
}

.gamecasino {
  text-align: center;
  margin-top: 50px;
}
.gamecasino a {
  padding-left: 60px;
  padding-right: 60px;
}
.textcasino h3 {
  font-size: 30px;
  color: #fff700;
  text-decoration: #0011fa;

  /* text-decoration: underline; */
  text-align: left;
}

#casino2 img {
  width: 50%;
}
#keyword {
  color: #1ad4ff;
}
#keyword:hover {
  text-decoration: underline;
}

/* **************************************slot************************ */
#gameContentslot {
  opacity: 1.5;
  text-align: right;
  border-radius: 20px;
  padding-top: 40px;
  margin-top: 80px;
  background: -webkit-linear-gradient(#0070ba29, #00000083);
  background: -o-linear-gradient(#0070ba29, #00000083);
  background: -moz-linear-gradient(#0070ba29, #00000083);
  background: linear-gradient(#0070ba29, #00000083);
  border-top: 5px solid #ffffffd2;
  border-bottom: 5px solid #ffffff54;
}

#gameContentslot img {
  width: 100%;
  margin-top: 0px;
}

#gameContentslot p {
  color: #f3f3f3;
  text-align: left;
  word-wrap: break-word;
  /* margin-top: 10px; */
}

.gameslot {
  text-align: center;
  /* margin-top: 50px; */
}
.gameslot a {
  padding-left: 60px;
  padding-right: 60px;
  margin-top: 50px;
}
.textslot h3 {
  margin-top: 90px;
  text-align: left;
  font-size: 30px;
  color: #fff700;
}

/* **************************************slot************************ */

/* **************************************sport-lotto************************ */
#gameContent01 {
  opacity: 1.5;
  text-align: center;
  border-radius: 20px;
  margin-top: 80px;
  padding-bottom: 30px;
  background: -webkit-linear-gradient(#0070ba29, #00000083);
  background: -o-linear-gradient(#0070ba29, #00000083);
  background: -moz-linear-gradient(#0070ba29, #00000083);
  background: linear-gradient(#0070ba29, #00000083);
  border-top: 5px solid #ffffffd2;
  border-bottom: 5px solid #ffffff54;
}

#gameContent01 img {
  width: 70%;
  margin-top: 50px;
  text-align: center;
}

#gameContent01 p {
  color: #f3f3f3;
  text-align: left;
  word-wrap: break-word;
  margin-top: 20px;
}

.gamesport {
  text-align: center;
  margin-top: 50px;
}
.gamesport a {
  padding-left: 60px;
  padding-right: 60px;
}
.textlotto h3 {
  font-size: 30px;
  color: #fff700;
  text-decoration: #0011fa;
  margin-top: 30px;
  /* text-decoration: underline; */
  text-align: left;
}

/* ************************************autobetgame************************* */
#gameauto {
  opacity: 1.5;
  text-align: right;
  background: -webkit-linear-gradient(#0070ba29, #00000083);
  background: -o-linear-gradient(#0070ba29, #00000083);
  background: -moz-linear-gradient(#0070ba29, #00000083);
  background: linear-gradient(#0070ba29, #00000083);
  margin-top: 80px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 20px;

  text-align: center;
  border-top: 5px solid #ffffffd2;
  border-bottom: 5px solid #ffffff54;
}

#gameauto img {
  width: 100%;
  margin-top: 1px;
}

#gameauto p {
  color: #f3f3f3;
  text-align: left;
  word-wrap: break-word;
  margin-top: 10px;
}

.gameauto {
  text-align: center;
  margin-top: 50px;
}
.gameauto a {
  padding-left: 60px;
  padding-right: 60px;
}
.textgameauto h3 {
  font-size: 30px;
  color: #fff700;
  text-decoration: #0011fa;

  /* text-decoration: underline; */
  text-align: left;
}
/* *********************************esport******************************** */
#esport {
  opacity: 1.5;
  text-align: right;
  background: -webkit-linear-gradient(#0070ba29, #00000083);
  background: -o-linear-gradient(#0070ba29, #00000083);
  background: -moz-linear-gradient(#0070ba29, #00000083);
  background: linear-gradient(#0070ba29, #00000083);
  margin-top: 80px;
  margin-bottom: 80px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 20px;

  text-align: center;
  border-top: 5px solid #ffffffd2;
  border-bottom: 5px solid #ffffff54;
}

#esport img {
  width: 100%;
  margin-top: 1px;
}

#esport p {
  color: #f3f3f3;
  text-align: left;
  word-wrap: break-word;
  margin-top: 10px;
}

.gameesport {
  text-align: center;
  margin-top: 50px;
}
.gameesport a {
  padding-left: 60px;
  padding-right: 60px;
}
.textesport h3 {
  font-size: 30px;
  color: #fff700;
  text-decoration: #0011fa;
  text-align: left;
}
/* ****************************************************footet****************************************************** */
.footer {
  margin-top: 50px;
  text-align: center;
}

.footer a {
  color: #ffffff;
}

.footer .footer-btn {
  /* margin-top: 500px; */
  display: none;
}
.footer-2 {
  text-align: center;
  background-color: #000415;
  color: #f3f3f3;
  padding-top: 20px;
  padding-bottom: 15px;
}

/* ****************************************************footet****************************************************** */

/* ***********************************************register************************ */
.content-service {
  background: none;
  width: 100%;
  height: auto;
  text-align: center;

  padding-bottom: 20px;
  border-bottom: 2px;
  font-family: "Kanit", sans-serif;
  color: #ffff;
  /* border-bottom: 2px solid #850000;
    border-top: 2px solid #850000;
    box-shadow: 0 0 15px #850000; */
}

/* ***********************************************register************************ */
.anima {
  margin-right: -20%;
  margin-left: 20%;
}

/* .showline {
  position: sticky;
  float: right;
  bottom: 150px;
  z-index: 9999;
  display: inline-block;
} */
.controls autoplay .close {
  width: 50px;
  height: 0px;
  position: absolute;
  right: 0px;
  bottom: 190px;
  z-index: 9999;
  color: #cd201f;
  cursor: pointer;
}
#btn_bt {
  padding: 5px 18px;
  margin-right: 15px;
  top: 0px;
  font-family: "Kanit", sans-serif;
}

#btn1 {
  padding: 10px 76px;
  margin-right: 15px;
  top: 0px;
  font-family: "Kanit", sans-serif;
}

#btn2 {
  padding: 10px 56px;
  margin-right: 15px;
  top: 100px;
  font-family: "Kanit", sans-serif;
}

#btn3 {
  padding: 10px 73px;
  margin-right: 15px;
  top: 50px;
  font-family: "Kanit", sans-serif;
}

h3 {
  font-family: "Kanit", sans-serif;
  font-size: 28px;
}

h5 {
  font-family: "Kanit", sans-serif;
}

/* login styles start */

.logo-login img {
  width: 250px;
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  margin-top: 5%;
  transform: translate(-50%, -50%);
}

.form-login {
  text-align: center;
  position: relative;
  margin-top: -2%;
}

input {
  width: 30%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 1px 10px 10px 4px;
  box-sizing: border-box;
}

button {
  width: 30%;
  background-color: #030345;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #ffffff;
}

label {
  padding: 12px 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 10px 0px 0px 10px;
  margin-right: -8px;
  background-color: #030345;
  box-sizing: border-box;
}

.key {
  padding: 12px 8px;
}
iframe {
  width: 30%;
  height: 720px;
}

@media screen and (max-width: 600px) {
  input {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 1px 10px 10px 4px;
    box-sizing: border-box;
  }

  button {
    width: 50%;
    background-color: #030345;
    color: white;
    padding: 14px 20px;
    margin: 0px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  iframe {
    width: 100%;
  }
  .logo-login {
    margin-top: 30%;
  }
}

/* login styles end */

/* ----------------------- icon --------------------------- */

/* ----------------- end icon  -------------*/

/* slide */

img {
  vertical-align: middle;
}
/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}
/* slide */

/* **********************************video*********************************** */
.video {
  text-align: center;

  padding-bottom: 70px;
  margin-top: 50px;
}
.video p {
  color: #f3f3f3;
  font-size: 20px;
  font-style: bold;
  border: 2px solid #001cee;
  border-radius: 20px;
  box-shadow: 0 0 15px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff,
    0 0 5px #5acdff;
}

#video-abc {
  padding-top: 20px;
  border-radius: 20px;
  padding-bottom: 19px;

  padding-right: 20px;
  /* margin-left: 1px; */

  background-blend-mode: soft-light;
  background-color: #000415c1;
}

.marquee {
  margin-top: 100px;
  background: rgb(4, 14, 158);
  background: -webkit-linear-gradient(rgb(2, 0, 107), rgb(2, 0, 39));
  background: -o-linear-gradient(rgb(2, 0, 107), rgb(2, 0, 39));
  background: -moz-linear-gradient(rgb(2, 0, 107), rgb(2, 0, 39));
  background: linear-gradient(rgb(2, 0, 107), rgb(2, 0, 39));
  padding-top: 6px;
  padding-bottom: 4px;
}

.marquee dt {
  font-weight: 400;
  /* padding-left: 25px; */
  color: #ffffff;
  float: left;
  /* background: url(../images/new_bg.png) no-repeat left center; */
  width: 8%;
}

dt {
  display: block;
}

marquee {
  width: 91%;
}

/* **********************************video*********************************** */

.gamefootpc img {
  width: 4%;
}
.gamefootpc img:hover {
  transform: scale(1.3);
  box-shadow: 0 0 15px #0096fa, 0 0 5px #0096fa, 0 0 5px #0096fa,
    0 0 5px #0096fa;
  border-radius: 60px;
}

@keyframes button {
  0% {
    border: 2px solid #5acdff;
  }
  100% {
    box-shadow: 0 0 15px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff,
      0 0 5px #5acdff;
  }
}
