/**
* Design By Eggda-Studio
**/
@import url("https://fonts.googleapis.com/css?family=Prompt:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=thai");
@import url("https://fonts.googleapis.com/css?family=Mitr:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=thai");
@import url("https://fonts.googleapis.com/css?family=Asap:400,700|Roboto");

body {
  font-family: "Prompt", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
ul {
  list-style: outside none none;
  margin: 0;
  padding: 0;
}
a:link {
  text-decoration: none;
  outline: 0 !important;
}
a:visited {
  text-decoration: none;
  outline: 0 !important;
}
a:hover {
  text-decoration: none;
  outline: 0 !important;
}
a:active {
  text-decoration: none;
  outline: 0 !important;
}
/**
* Status Server Box
**/
.box-status-on {
  text-align: center;
  color: #6fb500;
  font-family: "Asap", sans-serif;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: 1px;
  margin-left: 0em;
  margin-top: 0em;
  -webkit-text-shadow: 0 2px 3px rgb(75 106 0 / 65%);
  text-shadow: 0 2px 3px rgb(75 106 0 / 65%);
}
.box-status-off {
  text-align: center;
  color: #ffa602;
  font-family: "Asap", sans-serif;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: 1px;
  margin-left: 0em;
  margin-top: 0em;
  -webkit-text-shadow: 0 2px 3px rgb(141 45 0 / 65%);
  text-shadow: 0 2px 3px rgb(141 45 0 / 65%);
}
.box-status-player {
  text-align: center;
  color: #000;
  font-family: "Asap", sans-serif;
  font-size: 2em;
  font-weight: 800;
}
.box-status-charid {
  text-align: center;
  color: #000;
  font-family: "Asap", sans-serif;
  font-size: 2em;
  font-weight: 800;
}
.box-status-user {
  text-align: center;
  color: #000;
  font-family: "Asap", sans-serif;
  font-size: 2em;
  font-weight: 800;
}
/**
*  Particles JS
**/
#particles-js {
  position: absolute;
  width: 100%;
  height: 750px;
  top: 80px;
  background-image: url("");
  background-repeat: repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 2;
  pointer-events: none;
}
/**
* Header Box Wrapper
**/
.warpper-table {
  width: 1200px;
  border-spacing: 0;
  border-collapse: collapse;
}
.wrapper {
  .wrapper {
    background-image: url(../../images/bg_body.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* ให้เต็มจอ */
  }
}
.change {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../../images/bg_body.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: 2;
  animation: change 5s infinite linear;
  animation-timing-function: ease-in-out;
}

.header_table {
  position: relative;
  z-index: 2;
  margin: -0.5em auto;
}
.header_img {
  width: 1200px;
  height: 0;
  position: absolute;
  z-index: 3;
}
.header_img > div {
  position: absolute;
}
.header_logo {
  background: url(../../images/logo.png) no-repeat center center;
  background-size: 445px 270px; /* กำหนดขนาดภาพ */
  width: 689px;
  height: 340px;
  position: absolute;
  z-index: 99;
  top: -22em;
  right: 21em;
  -webkit-animation: 8s heart infinite linear;
  -moz-animation: 8s heart infinite linear;
  animation: 8s heart infinite linear;
}

@-webkit-keyframes heart {
  0%,
  100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }
  30%,
  80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }
  40%,
  60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }
  50%,
  70% {
    -webkit-transform: scale(0.8);
    opacity: 1;
    transform: scale(0.8);
    opacity: 1;
  }
}

@keyframes heart {
  0%,
  100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }
  30%,
  80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }
  40%,
  60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }
  50%,
  70% {
    -webkit-transform: scale(0.8);
    opacity: 1;
    transform: scale(0.8);
    opacity: 1;
  }
}
/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #dbdbdb;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/**
* Notice List
 **/
.icon-notice {
  background: url("../../images/icon/news.png") no-repeat;
  margin-top: 5px;
  margin-left: 3px;
}
.icon-event {
  background: url("../../images/icon/event.png") no-repeat;
  margin-top: 5px;
  margin-left: 3px;
}
.icon-update {
  background: url("../../images/icon/update.html") no-repeat;
  margin-top: 5px;
  margin-left: 3px;
}
.notice-list ul li {
  padding: 0 0 7px 55px;
  border-bottom: 1px dashed #060606;
  font-family: "Prompt", sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #fff;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  transition: 0.3s all;
}
.notice-list ul li:hover {
  padding: 0 0 7px 65px;
  border-bottom: 1px dashed #060606;
  font-family: "Prompt", sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #ff0;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  transition: 0.3s all;
}
.notice-list ul li a {
  font-family: Tahoma;
  font-size: 12px;
  color: #009a71;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  transition: 0.3s all;
}
.notice-list ul li a:hover {
  font-family: Tahoma;
  font-size: 12px;
  color: #50fff5;
  text-decoration: none;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  transition: 0.3s all;
}
.notice-list ul li p {
  float: right;
  color: #696969;
  font-family: Tahoma;
  font-size: 11px;
  padding-right: 0px;
  padding-top: 2px;
}
/**
* Allnews Event Box
**/
.allnews-row {
  margin-right: 5px;
  margin-left: 12px;
}
.allnews-col {
  position: relative;
  min-height: 1px;
  padding-right: 8px;
  padding-left: 8px;
  float: left;
  width: 33.33333333%;
}
.allnews-box {
  margin-top: 5px;
  width: 266px;
  height: 300px;
  position: relative;
  padding: 10px;
  margin-bottom: 0.5em;
  background-color: #141414;
  border: solid 1px #2a2a2a;
  -webkit-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.allnews-box:hover {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
figure {
  margin: -10px 0 0 -10px;
}
figure {
  width: 265px;
  height: 200px;
  padding: 0;
  background: transparent;
  overflow: hidden;
  -webkit-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}
.boximg-shine {
  margin-bottom: 5px;
}
.boximg-shine figure {
  position: relative;
}
.boximg-shine 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.5) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
.boximg-shine figure:hover::before {
  -o-animation: shine 0.75s ease-in-out;
  -ms-animation: shine 0.75s ease-in-out;
  -moz-animation: shine 0.75s ease-in-out;
  -webkit-animation: shine 0.75s ease-in-out;
  animation: shine 0.75s ease-in-out;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
.allnews-text-harder {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #52dfff;
  padding: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-overflow: "...";
}
.allnews-text {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.8px;
  color: #d2d2d2;
  padding: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-overflow: "...";
}
.allnews-time {
  font-family: Tahoma;
  font-size: 11px;
  color: #c3c3c3;
  padding: 5px;
}
.allnews-botton {
  padding: 5px;
}
.btn-view {
  color: #f9ff97;
  background-color: #1b1b1b;
  border-color: #353535;
  letter-spacing: 0.5px;
  font-weight: 200;
}
.btn-view:hover {
  color: #fff;
  background-color: #212121;
  border-color: #000000;
}
.btn-view:focus,
.btn-view.focus {
  color: #fffa57;
  background-color: #292929;
  border-color: #000000;
  outline: 0 !important;
}
.btn-view:active,
.btn-view.active {
  color: #fffa57;
  background-color: #292929;
  border-color: #000000;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0 !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.allnews-time span {
  font-family: Tahoma;
  float: right;
}
.status-event {
  display: inline;
  padding: 0.2em 0.8em 0.3em 0.8em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.bg-notice {
  background-color: #2495cc;
}
.bg-update {
  background-color: #65a72a;
}
.bg-event {
  background-color: #fd973f;
}
.bg-promotion {
  background-color: #ff6b6b;
}
/* Footer Form */
.footer_menu_box {
  display: block;
  margin-top: 1.5em;
  margin-left: 0em;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #fff;
}
.footer_menu_box li {
  padding-top: 5px;
}
.footer_menu_box li a {
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.footer_menu_box li a:hover {
  color: #00f3ff;
  padding-left: 10px;
  font-weight: 400;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #fff;
}
body::-webkit-scrollbar-track {
  background-color: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #eee;
}

@media (max-width: 1170px) {
  body,
  html {
    width: 1200px;
  }
}
