/* Reset By Normalize */
@import url(/css/normalize.css);
/* leaderboard */
@import url(/include/i_GTrank.css);
@import url(/css/normalize.css);
@import url(/css/font-awesome-4.5.0/css/font-awesome.min.css);
/* ================= main frame ================= */
*, ::after, ::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-family: 'Kanit', sans-serif !important;
  font-size: 19px;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #212529;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  position: relative;
}

h1 {
  display: none;
}

ol {
  margin-top: 0px;
  padding-top: 0px;
}

p {
  margin: 0;
  padding: 0;
}

/* ================= images ================= */
img {
  vertical-align: middle;
  border-style: none;
}

.img-responsive {
  max-width: 100%;
}

.img-border {
  border: 3px solid #fff;
}

.img-radius {
  border-radius: 15px;
}

.img-block {
  display: block;
  margin: 0 auto;
}

.img-inline {
  display: inline;
}

/* ================= text ================= */
.txt-center {
  text-align: center;
}

.txt-left {
  text-align: left;
}

.txt-right {
  text-align: right;
}

.txt-indent-1em {
  display: block;
  margin-left: 1em;
  text-indent: -1em;
}

.txt-indent-2em {
  display: block;
  margin-left: 2em;
  text-indent: -2em;
}

.txt-indent-3em {
  display: block;
  margin-left: 3em;
  text-indent: -3em;
}

.txt-indent-4em {
  display: block;
  margin-left: 4em;
  text-indent: -4em;
}

.txt-indent-5em {
  display: block;
  margin-left: 5em;
  text-indent: -5em;
}

.f-danger {
  color: #f00;
}

.f-fun {
  color: #f7f40a;
}

.f-primary {
  color: #007bff;
}

.f-success {
  color: #28a745;
}

.f-info {
  color: #17a2b8;
}

.f-beauty {
  color: #da199d;
}

.f-light {
  color: #fff;
}

.f-wraning {
  color: #ffc107;
}

.f-dark {
  color: #000;
}

.f-secondary {
  color: #868e96;
}

.f-bold {
  font-weight: bold;
}

.f-lg {
  font-size: 1.2em;
}

.f-sm {
  font-size: .8em;
}

/* ================= nav ================= */
.nav {
  width: 100%;
  height: 138px;
  overflow: hidden;
  background-color: #000;
  -webkit-box-shadow: 1px 1px 12px 1px #00000057;
          box-shadow: 1px 1px 12px 1px #00000057;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
}

.nav .container {
  width: 60%;
  height: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
}

.nav .container .btn-download-mobile, .nav .container .right-menu .btn-download {
  background-color: #ff0000;
  text-align: center;
  font-size: 85%;
  border-radius: 30px;
  -webkit-box-shadow: bisque;
          box-shadow: bisque;
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #fff;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
}

.nav .container .btn-download-mobile:hover, .nav .container .right-menu .btn-download:hover {
  color: #ffed86;
}

.nav .container .btn-download-mobile {
  display: none;
  padding: 0 10px;
  margin: 0 5px;
  height: 30px;
  line-height: 31px;
  position: absolute;
  left: 8px;
  z-index: 4;
}

.nav .container .logo, .nav .container .logo a {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nav .container .logo a .logo-site {
  height: 90%;
  width: auto;
}

.nav .container ul.menu-page {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.nav .container ul.menu-page li {
  list-style-type: none;
}

.nav .container ul.menu-page li a {
  min-width: 100px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  text-decoration: none;
}

.nav .container ul.menu-page li a:hover {
  color: #ffed86;
}

.nav .container ul.menu-page li.language-mobile {
  display: none;
}

.nav .container .right-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.nav .container .right-menu .btn-download {
  display: block;
  padding: 0 30px;
  height: 32px;
  line-height: 32px;
  width: 150px;
}

.nav .container .right-menu .language {
  margin-top: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav .container .right-menu .language button {
  width: 72px;
  cursor: pointer;
}

.nav .container .right-menu .language button span {
  font-size: 70%;
  font-weight: bold;
  padding-top: 10%;
}

.nav .container .right-menu .language button:hover {
  color: #ffed86;
}

.nav .container .right-menu .btn-change-lang {
  height: 50px;
  padding: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #494949;
  border: none;
  outline: none;
  color: #fff;
  border-radius: 4px;
  margin: 0 3px;
}

.nav .container .right-menu .btn-change-lang img {
  width: 20px;
}

.nav .container .hamburger, .nav .container .hamburger_close {
  display: none;
  width: 48px;
  height: 48px;
  z-index: 5;
  position: fixed;
  right: 0.5%;
  top: 0;
  margin: 9px auto;
}

.nav .container .hamburger .language-list__item, .nav .container .hamburger_close .language-list__item {
  display: block;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center center;
}

.nav .container .hamburger .language-list__item {
  background-image: url(/Games/maruay99/images/hamburger.svg);
}

.nav .container .hamburger_close .language-list__item {
  background-image: url(/Games/maruay99/images/hamburger_close.svg);
}

@media only screen and (max-width: 1280px) {
  .nav .container .hamburger {
    display: inline-block;
  }
}

@media only screen and (max-width: 1279px) {
  .nav {
    height: 65px;
    overflow: unset;
    position: -webkit-sticky;
    position: sticky;
  }
  .nav .container {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
  }
  .nav .container .btn-download-mobile {
    display: block;
  }
  .nav .container .logo {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    /*margin-left: 48px;*/
    background: #000;
    -webkit-box-shadow: 0px 2px 10px 0px black;
            box-shadow: 0px 2px 10px 0px black;
    z-index: 3;
  }
  .nav .container ul.menu-page, .nav .container ul.menu-page-active {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    -webkit-box-shadow: 1px 1px 20px 2px #000000c7;
            box-shadow: 1px 1px 20px 2px #000000c7;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .nav .container ul.menu-page li, .nav .container ul.menu-page-active li {
    background: #2b2b2b;
    width: 100%;
    border: 1px solid #2b2b2b;
    height: 50px;
  }
  .nav .container ul.menu-page li a, .nav .container ul.menu-page-active li a {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 8px 12px;
    min-width: 100px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #fff;
    text-decoration: none;
  }
  .nav .container ul.menu-page li a:hover, .nav .container ul.menu-page-active li a:hover {
    color: #ffed86;
  }
  .nav .container ul.menu-page li a img, .nav .container ul.menu-page-active li a img {
    width: 35px;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    margin: 0 24%;
  }
  .nav .container ul.menu-page li a span, .nav .container ul.menu-page-active li a span {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: center;
  }
  .nav .container ul.menu-page li.language-mobile, .nav .container ul.menu-page-active li.language-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    width: 100%;
    border: 1px solid #2b2b2b;
    height: 50px;
  }
  .nav .container ul.menu-page li.language-mobile button, .nav .container ul.menu-page-active li.language-mobile button {
    outline: none;
    border: none;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    height: 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
    margin: 0 0.1%;
  }
  .nav .container ul.menu-page li.language-mobile button img, .nav .container ul.menu-page-active li.language-mobile button img {
    width: 20px;
    margin: 0 4px;
  }
  .nav .container ul.menu-page {
    -webkit-transform: translateY(-101%);
            transform: translateY(-101%);
    opacity: 0;
  }
  .nav .container ul.menu-page-active {
    top: 65px;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  .nav .container .right-menu {
    display: none;
  }
}

/* ================= header title ================= */
.header {
  padding: 2vh;
  background-image: url(/Games/maruay99/images/bg_sub_head.png?20201116);
  background-repeat: no-repeat;
  background-size: cover;
}

.header .header_title {
  font-size: 250%;
  padding: 2px 19vw;
  color: #efefef;
}

@media only screen and (max-width: 1279px) {
  .header {
    text-align: center;
    padding: 4vh 2vh;
  }
  .header .header_title {
    font-size: 3em;
    line-height: 55px;
    padding: 0;
  }
}

/* ================= footer ================= */
.footer {
  width: 100%;
  height: 180px;
  background: #222;
  display: block;
}

.footer .container {
  width: 1140px;
  height: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer .container .footer-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer .container .footer-left a {
  margin: 0 2px;
  border-radius: 8px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: block;
  text-decoration: none;
}

.footer .container .footer-left a img {
  height: 75px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-box-shadow: 0px 4px 10px 0px #0000004a;
          box-shadow: 0px 4px 10px 0px #0000004a;
}

.footer .container .footer-left a img:hover {
  -webkit-filter: brightness(1.3);
          filter: brightness(1.3);
}

.footer .container .footer-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.footer .container .footer-right .social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer .container .footer-right .social a {
  margin: 0 2px;
}

.footer .container .footer-right .social a img:hover {
  -webkit-filter: brightness(1.1);
          filter: brightness(1.1);
}

.footer .footer-bottom {
  width: 100%;
  border-top: 1px solid #000;
  background-color: #222;
}

.footer .footer-bottom ul {
  width: 1140px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer .footer-bottom ul li {
  display: block;
  list-style: none;
  width: 30%;
  margin: 12px;
  text-align: center;
  border-right: 1px solid #3a3a3a;
}

.footer .footer-bottom ul li a {
  color: #fff;
  display: block;
  text-decoration: none;
}

.footer .footer-bottom ul li a:hover {
  color: #ffed86;
}

.footer .footer-bottom ul li:last-child {
  border-right: none;
}

@media only screen and (max-width: 1279px) {
  .footer .container {
    max-width: 100%;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 16px 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .footer .container .footer-left {
    margin-bottom: 8px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 350px;
  }
  .footer .container .footer-left a {
    width: 48%;
  }
  .footer .container .footer-left a img {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .footer .container .footer-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .footer .container .footer-right .social a {
    width: 60px;
  }
  .footer .container .footer-right .social a img {
    width: 100%;
    height: auto;
  }
  .footer .footer-bottom ul {
    width: 100%;
  }
  .footer .footer-bottom ul li {
    font-size: 85%;
    width: 49%;
    margin: 6px;
  }
}
