@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;600&display=swap');
body {
  font-family: "IBM Plex Sans Thai", sans-serif;
  background-color: #252525;
  color:#fff;
}
.bg-body {
  background-image: url(/newsky7/images/bg-blend.jpg);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: top right;
  background-blend-mode: multiply;
  background: -moz-linear-gradient(45deg,  #0c0f42 66%, #dc404e 100%);
  background: -webkit-linear-gradient(45deg,  #0c0f42 66%,#dc404e 100%);
  background: linear-gradient(45deg,  #0c0f42 66%,#dc404e 100%);
}
.bg-banner {
  background-image: url(/newsky7/images/bg-newsky.jpg);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: top center;
  background-blend-mode: multiply;
  background-color:rgba(0,0,0,0.4);
}
/*หน้า index*/
#main_box {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-direction: column;
}

#main_box #ft_2   {-webkit-order: 1;}
#main_box #ft_1  {-webkit-order: 4;}
#main_box #ft_3   {-webkit-order: 2;}
#main_box #ft_4  {-webkit-order: 3;}

/* Standard syntax */
#main_box #ft_2 {order: 1;}
#main_box #ft_1 {order: 4;}
#main_box #ft_3 {order: 2;}
#main_box #ft_4 {order: 3;}

/*หน้าโปรโมชัน*/
#pro_h1   {-webkit-order: 7;}
#pro_1  {-webkit-order: 1;}
#pro_2   {-webkit-order: 2;}
#pro_3  {-webkit-order: 3;}
#pro_4  {-webkit-order: 4;}
#pro_5  {-webkit-order: 5;}
#pro_6  {-webkit-order: 6;}
/* Standard syntax */
#pro_h1 {order: 7;}
#pro_1 {order: 1;}
#pro_2 {order: 2;}
#pro_3 {order: 3;}
#pro_4 {order: 4;}
#pro_5 {order: 5;}
#pro_6 {order: 6;}

/*download*/
#dw_h1{-webkit-order: 2;}
#dw_game{-webkit-order: 1;}
/* Standard syntax */
#dw_h1{order: 2;}
#dw_game{order: 1;}



.contn_new {
    display:flex;
    padding-bottom:50px;
    flex-direction: column;
}
.bg_footergame{
    background-color: #04082a;
}
.i80_a{
    width:80%;
    height:auto;
}
.text-orange {
    color: #ffa311;
}
.i-100{
    width:100%;
    height:auto;
}

.wh-100 {
    width:100%;
    height: initial;
}
.wh-game {
    width:100%;
    object-fit: contain;
    aspect-ratio: 2/3;
}
.wh-logo {
    width:108px;
    height:100px;
}
.wh-logo2 {
    width:168px;
    height:155px;
}
.wh-dmca {
    width:100px;
    height:20px;
}
.wh-game {
    width:160px;
    height:232px;
}
.wh-gc {
    width:100px;
    height:33px;
}
.wh-72 {
    width:72px;
    height:72px;
}
.wh-42 {
    width:42px;
    height:42px;
}
a:link,
a:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-weight: 600;
  color: #ffa311;
}
.m-text {
  font-size:1.2rem;
}

ul {
  text-align: left;
}

.text-white {
  color: #fff;
}

div.article a {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

div.article h3 {
  color: #ffa311;
  font-size: 2em;
  margin-top: 10%;
}

div.article p {
  font-size: 1em;
  overflow: auto;
  text-overflow: ellipsis;
}

div.article button {
  color: #fff;
  border: 1px solid #fff;
  text-align: center;
  padding: 10px;
}

.text-gray {
  color: #818181;
}
.text-gunmetal {
  color:#2a3439;
}
.text-red {
  color:#e60105;
}
.text-black {
  color: black;
}
.text-light {
  color: #262626 !important;
}
.bg-nav {
  background:rgba(0,0,0,0.8);
  border-radius:20px;
  border-left:25px solid #faa21f;
  border-right:25px solid #faa21f;
}
.bg-sidemenu {
  background-color:#f8a62e;
  border-top:1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.bg-marquee {
  background:rgba(0,0,0,0.8);
  border-radius:20px;
  border:1px solid #faa21f;
  position: relative;
  padding:15px;
}
.bg-marquee-text {
  background-color:#fff;
  border-radius:10px;
  padding-top:15px;
  font-size: 1.2rem;
  font-weight: 600;
  color:#2a3439;
}
.bg-header,
.bg-game {
  background: #272727;
  background: -moz-linear-gradient(top, #272727 0%, #171717 100%);
  background: -webkit-linear-gradient(top, #272727 0%, #171717 100%);
  background: linear-gradient(to bottom, #272727 0%, #171717 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#272727', endColorstr='#171717', GradientType=0);
}
.bg-form {
  background:rgba(0,0,0,0.8);
  padding:15px;
  border-radius:10px;
  border:2px solid #ffd60a;
}
.sky-line {
  width: 100%;
  height: 5px;
  background: #fff093;
  background: -moz-linear-gradient(
    top,
    #fff093 25%,
    #e0a42b 30%,
    #fdc201 76%,
    #fff093 100%
  );
  background: -webkit-linear-gradient(
    top,
    #fff093 25%,
    #e0a42b 30%,
    #fdc201 76%,
    #fff093 100%
  );
  background: linear-gradient(
    to bottom,
    #fff093 25%,
    #e0a42b 30%,
    #fdc201 76%,
    #fff093 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff093', endColorstr='#fff093', GradientType=0);
  border-bottom: 1px solid #ffa311;
}

.logo ,.icn-chat {
  position: absolute;
  z-index: 1;
  top: -35px;
  right:0px;
}
.icn-chat {
  top:-30px;
  left:-30px;
}

.scrollmenu {
  overflow: auto;
  text-overflow: auto;
  white-space: nowrap;
}

.scrollmenu a {
  display: inline-block;
  text-align: center;
  width: 25%;
  margin-right: 2%;
  text-decoration: none;
  color: inherit;
}

.scrollmenu .title {
  margin-top: 5%;
  font-size: 2em;
  color: #ffa311;
}

.scrollmenu .detail {
  font-size: 1.2em;
}

.title {
  margin-top: 5%;
  font-size: 2em;
  color: #ffa311;
  text-align: center;
}

.detail {
  font-size: 1em;
}

.text-menu {
  font-size: 1.8em;
  color: #fff;
  text-decoration: none;
}

.btn {
  font-size: 1em;
}

.btn:hover,
.btn:focus {
  color: inherit;
  outline: none;
  box-shadow: none;
}

.btn-nav,
.btn-line,
.btn-fb {
  position: fixed;
  z-index: 888;
  top: 1%;
  right: 0%;
  font-size: 1.5em;
  padding: 10px;
  border-radius: 15px 0 0 15px;
}

.btn-nav {
  color: #fff;
  background: #b11f19;
  background: -moz-radial-gradient(
    top left,
    ellipse cover,
    #b11f19 0%,
    #580000 100%
  );
  background: -webkit-radial-gradient(
    top left,
    ellipse cover,
    #b11f19 0%,
    #580000 100%
  );
  background: radial-gradient(ellipse at top left, #b11f19 0%, #580000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b11f19', endColorstr='#580000', GradientType=1);
}

.btn-register,
.btn-submit,
.btn-cancel,
.btn-game,
.btn-download {
  margin-top: 5%;
  width: 50%;
  font-size: 1.6em;
  padding-top: 10px;
  border-radius: 8px;
}

.btn-game {
  color: #000;
  width: unset;
  padding: 5px 10px;
  border-radius: 10px 10px 0 0;
  font-size: 1rem;
}

.custom-btn {
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
    7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

.btn-submit,
.btn-game {
  color: #000;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #fdc201;
  background: -moz-linear-gradient(
    -45deg,
    #fdc201 0%,
    #fff093 15%,
    #fdc201 30%,
    #fdc201 100%
  );
  background: -webkit-linear-gradient(
    -45deg,
    #fdc201 0%,
    #fff093 15%,
    #fdc201 30%,
    #fdc201 100%
  );
  background: linear-gradient(
    135deg,
    #fdc201 0%,
    #fff093 15%,
    #fdc201 30%,
    #fdc201 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdc201', endColorstr='#fdc201', GradientType=1);
}

.btn-cancel {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #4c4c4c;
  background: -moz-linear-gradient(
    -45deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  background: -webkit-linear-gradient(
    -45deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  background: linear-gradient(
    135deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c4c4c', endColorstr='#131313', GradientType=1);
}

.btn-download {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #4c4c4c;
  background: -moz-linear-gradient(
    -45deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  background: -webkit-linear-gradient(
    -45deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  background: linear-gradient(
    135deg,
    #4c4c4c 0%,
    #595959 12%,
    #666666 25%,
    #474747 39%,
    #2c2c2c 50%,
    #000000 51%,
    #111111 60%,
    #2b2b2b 76%,
    #1c1c1c 91%,
    #131313 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c4c4c', endColorstr='#131313', GradientType=1);
}

.btn-register {
  margin-top:10px;
  padding:15px;
  font-size:1rem;
  font-weight: 600;
  width:100%;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #aa0a00;
  background: -moz-linear-gradient(
    -45deg,
    #aa0a00 0%,
    #e87371 15%,
    #aa0a00 30%,
    #aa0a01 100%
  );
  background: -webkit-linear-gradient(
    -45deg,
    #aa0a00 0%,
    #e87371 15%,
    #aa0a00 30%,
    #aa0a01 100%
  );
  background: linear-gradient(
    135deg,
    #aa0a00 0%,
    #e87371 15%,
    #aa0a00 30%,
    #aa0a01 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aa0a00', endColorstr='#aa0a01',GradientType=0 );
}

.btn-shine {
  border: none;
  overflow: hidden;
}

.btn-shine:hover {
  text-decoration: none;
}

.btn-shine:before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}

.btn-shine:hover {
  opacity: 1;
  box-shadow: -1px 0px 5px rgba(255, 255, 255, 0.3);
}

.btn-shine:active {
  box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.3),
    -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
    inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2);
}

@-webkit-keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

.bd-l {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.bd-r {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bd-t {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bd-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.modal-header {
  border-bottom: 0;
}

.modal-header .btn-close {
  color: #fff;
  font-size: 1.5em;
  background: none;
}
.modal-backdrop {
  z-index: 0;
}
.modal-btn-ok {
  border-radius: 8px;
  color: #000;
  width: 100%;
  padding: 15px;
  margin: 10px 0px;
  background: linear-gradient(0deg, #ffc300, #ffd60a);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border-style: none;
  cursor: pointer;
}

.sidenav,
.linenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}

.sidenav a,
.linenav a {
  padding: 8px 15px 0px 15px;
  text-decoration: none;
  font-size: 1.5em;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
  margin-left: 50px;
}

.linenav {
  height: auto;
  background: #36bf00;
  top: 10%;
  border-radius: 15px 0 0 15px;
  text-align: center;
}

.linenav a {
  font-size: 1.5em;
}

.linenav .closebtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
  margin-left: 50px;
}

.icon-social {
  margin-top: -40px;
  margin-left: 20px;
  width: 100%;
}

.f-link {
  padding: 10px 5px 5px 5px;
  font-size: 0.85em;
}

.btn-card {
  position: fixed;
  bottom: 5%;
  right: 5%;
  width: 200px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

@media screen and (max-width: 600px) {
  .logo {
    width: 80px;
    left: 4%;
  }

  .box-text {
    font-size: 1em;
    padding-top: 42px;
    height: 60px;
    padding-top: 20px;
  }

  .scrollmenu a {
    width: 40%;
  }

  .scrollmenu .title,
  .title {
    font-size: 1.8em;
  }

  .scrollmenu .detail,
  .detail {
    font-size: 1em;
  }

  div.article h3 {
    font-size: 1.8em;
  }

  div.article p {
    font-size: 1em;
  }
}

.modal-content {
  background-color: #0c0f42;
  color: #fff;
  border: 2px solid #ffd60a;
  border-radius: 15px;
}

.freecredit {
  width: 250px;
  height: 250px;
  position: fixed;
  bottom: 8%;
  right: 2%;
  z-index: 8888;
}

@media only screen and (max-width: 600px) {
  .freecredit {
    width: 100px;
    height: 100px;
    bottom: 13%;
    right: 6%;
  }
  .m-text {
    font-size:0.75rem;
  }
}


.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  background-color:#ffd60a;
}
.nav-pills .nav-link {
  color:#fff;
}