* {
  padding: 0em;
  margin: 0em;
}
body {
  overflow-x: hidden;
  font-size: 16px;
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fff !important;
  cursor: default !important;
  word-break: break-word;
  background-color: #00001c;
  min-height: 100vh;
}
h1 {
  font-size: 1.5em;
}
h2 {
  font-size: 1.4em;
}
h3 {
  font-size: 1.3em;
}
h4 {
  font-size: 1.2em;
}
h5 {
  font-size: 1.1em;
}
h6 {
  font-size: 1em;
}
a,
p {
  text-decoration: unset !important;
}
a:hover {
  color: #ffbc69;
}
b {
  font-weight: bold;
  color: #ffbc69;
}
.font-gradient {
  background: -webkit-linear-gradient(to top, #ffff3f, #ffffff, #ffff3f);
  background: linear-gradient(to top, #ffff3f, #ffffff, #ffff3f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 0px 5px #fff;
  font-style: italic;
}
strong {
  color: #ffc107;
  font-weight: bold;
}
em {
  color: #ffbc69;
}
p a,
p a strong,
p a strong em {
  font-weight: bold;
  color: #03a9f4;
}
p a:hover,
p a strong:hover,
p a strong em:hover {
  color: #dc3545;
}
h1,
h2 {
  color: #ffeb3b;
  font-weight: bolder;
}
h3,
h4 {
  color: #fff;
  font-weight: bolder;
}
.big-p {
  color: #ed7375;
  font-size: 1.25em;
  margin: 0;
  font-weight: bold;
}
.big-p2 {
  color: #fff;
  font-size: 3em;
  margin: 0;
  letter-spacing: 3px;
}
.big-p3 {
  font-size: 1.5em;
  color: #ffd454;
  text-shadow: 0px 0px 2px #000;
}
.breadcrumb-item a {
  color: #999;
  font-weight: bold;
}
.breadcrumb-item.active {
  color: #fff;
  font-weight: bold;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #ccc;
}
/* table */
.toc-title {
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 0;
  visibility: hidden;
  position: relative;
  justify-content: center;
}

.toc-title:after {
  visibility: visible;
  display: flex;
  justify-content: center;
  content: "สารบัญ";
  font-size: 2em;
  color: #fff126;
}

.widget-toc {
  display: table;
  background-image: linear-gradient(rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.3));
  border-radius: 5px;
  border: 2px solid transparent;
  padding-right: 1rem;
  margin: 2em 0 !important;
  font-size: 95%;
  width: 50%;
}
@media (max-width: 991px) {
  .widget-toc {
    width: 100%;
  }
}
.widget-toc a {
  color: #0dff12;
  text-decoration: underline !important;
  font-size: 16px;
}
.widget-toc a:hover {
  text-decoration: none;
  opacity: 0.6;
  transition: 0.3s;
}
.widget-toc ol {
  padding-right: 0px;
  counter-reset: item;
}
.widget-toc ol li {
  display: block;
  position: relative;
}
.widget-toc ol li:before {
  content: counters(item, ".");
  counter-increment: item;
  color: #0dff12;
  position: absolute;
  margin-right: 100%;
  right: 0.5rem;
  inline-size: max-content;
}
/* table */
.form-control:focus {
  border-color: #d3b26a !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.relative ::-webkit-input-placeholder {
  text-align: center;
}
.form-user,
.form-pass {
  color: #fff;
  border: none;
  margin: 0;
  height: 40px;
  border: none;
  border-radius: 2em;
}
.form-user::placeholder,
.form-pass::placeholder {
  color: #aaa !important;
}
.form-search {
  border: none !important;
  border-radius: 0.75em !important;
  color: #fff;
  background-color: #40404099;
}
.form-search::placeholder {
  text-align: start;
  color: #ccc;
}
.icon-search-mobile {
  padding: 0.1em;
  margin: 0;
  position: absolute;
  height: 25px;
  width: 25px;
  right: 0.3em;
  z-index: 1;
}
.icon-search-mobile:hover {
  transform: scale(1.1);
}
@media screen and (max-width: 992px) {
  .form-outline {
    display: none !important;
  }
}
.btn-bg {
  margin: 0;
  text-decoration: none;
  height: 40px;
  color: #fff;
  padding: 5px;
  transition: ease all 0.25s;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  border: 2px solid #fff;
  border-radius: 2em;
  background: linear-gradient(to top, #132446, #011ec0);
  background-clip: padding-box;
}

.btn-bg2 {
  margin: 0;
  text-decoration: none;
  height: 40px;
  color: #fff;
  transition: ease all 0.25s;
  font-weight: 600;
  line-height: 2;
  position: relative;
  border: 2px solid #fff;
  border-radius: 2em;
  background: linear-gradient(to top, #000621, #001064);
  background-clip: padding-box;
}

@media (min-width: 992px) {
  .on-mobile {
    display: block;
  }
}
@media (max-width: 992px) {
  .mobile-collap-button {
    flex-direction: column;
    align-content: center;
    text-align: center;
    margin-top: 1em;
  }
  .form-user,
  .form-pass,
  .btn-bg,
  .btn-bg2 {
    margin: 0.25em 0;
  }
}
.relative {
  position: relative;
}
.text-bold {
  color: #ffc107;
  padding: 0.5em 0 0.5em 0;
}
.text-bold2 {
  color: #fff;
  background-color: #e50381;
  padding: 0.5em 0 0.5em 0;
}
.txt-int {
  text-indent: 1.5em;
}
@media screen and (max-width: 768px) {
  .footer-bg {
    padding-bottom: 6em !important;
  }
}
.footer-bg {
  border-radius: 1em;
  background-color: #00000099;
}
.link_login {
  color: #fff;
}
.link_login:hover {
  color: rgb(194, 194, 194);
}
.nav-footer {
  z-index: 9999;
  display: none;
}
.fas,
.fab {
  font-size: 2rem;
  color: #fff;
}
@media screen and (max-width: 980px) {
  #nav {
    display: none;
  }
}
@media only screen and (max-width: 800px) {
  .nav-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom, #00001c, #000000ff);
    left: 0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    height: 80px;
    box-shadow: 0px -3px 18px 0px #00000096;
  }
  .nav-footer-col4 {
    width: 25%;
    float: left;
    text-align: center;
  }
  .col4-bottom {
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 300;
  }
  .nav-footer {
    display: block;
  }
}
header {
  justify-content: space-between;
  align-items: center;
  padding: 0;
  padding-bottom: 1em !important;
  border-bottom: 2px solid #fff;
  border-image: linear-gradient(to right, #fff, #888785)  0 0 100% 0 /  0 0 2px 0 stretch;
}
.header-bg {
  background: linear-gradient(to top, #020100, #756206);
}
.logo {
  cursor: pointer;
  z-index: 1001;
  transition: 0.3s ease-in-out;
  max-width: 350px;
}
::-webkit-input-placeholder {
  color: #9fa3b1;
}
::-moz-placeholder {
  color: #9fa3b1;
}
:-ms-input-placeholder {
  color: #9fa3b1;
}
/* viewall */
.box-article {
  background-color: #000;
  padding: 3em;
}
.article_link a {
  font-size: 2em;
  text-decoration: none;
}
.article_link a:hover {
  text-decoration: underline !important;
}
.news-articles {
  text-decoration: none !important;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 23px;
  color: #fff;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.news-articles-h2 {
  text-decoration: none !important;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 23px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.news-articles-h2:hover {
  color: #ff5722;
}
.news-articles-p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.box-articles {
  color: #9e9e9e;
}
.container-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.cards {
  cursor: pointer;
  flex-direction: column;
  overflow: hidden;
  transition: 1s box-shadow;
  border-radius: 16px;
  background: linear-gradient(to top, #06090d, #19212e);
  border: 4px solid #fff;
}
.cards:hover {
  box-shadow: 0 0.1rem 1rem #fff;
  transition: 0.3s ease-in-out;
}
.cards img {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.cards:hover img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}
.cards em {
  color: #9e9e9e;
}
.cards p {
  color: #fff;
}
.cards span {
  color: #ccc;
}
a.cards {
  color: #666 !important;
}
a.cards:hover {
  cursor: pointer;
  text-decoration: none !important;
}
.card__image_show {
  width: auto !important;
  object-fit: cover;
}
.card__image {
  width: auto !important;
  object-fit: contain;
}
.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tag {
  align-self: flex-start;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75rem;
}
.tag + .tag {
  margin-left: 0.5em;
}
.tag-red {
  background: #393939;
  border: 1px solid #fff;
  transition: 0.5s;
  color: #000;
}
.tag-red:hover {
  background: #292929;
  border: 1px solid #fff;
  color: #fff;
}
.link-tag {
  align-self: flex-start;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75rem;
  background: #000;
  border: 1px solid #fff;
  color: #fff;
  transition: 0.5s;
  text-decoration: none;
}
.link-tag:hover {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}
.card__body h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
}
.card__footer {
  display: flex;
  padding: 1rem;
  margin-top: auto;
}
#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 5px;
  left: 15px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input {
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}
#menuToggle span {
  display: flex;
  width: 32px;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  background: #fff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
  background: #6c757d;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
#menu {
  position: absolute;
  width: 280px;
  box-shadow: 0 0 10px #3f51b5;
  margin: -50px 0 0 -50px;
  padding: 50px 20px 50px 50px;
  padding-top: 100px;
  background-color: #000;
  transform-origin: 0% 0%;
  transform: translate(-200%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menu li {
  padding: 5px 0;
  transition-delay: 2s;
  color: #fff;
  font-weight: 600;
}
#menu li a {
  color: #fff;
}
#menuToggle input:checked ~ ul {
  transform: none;
}
.h-color {
  color: #fffba9;
  border-bottom: solid 5px #fffd02;
  line-height: 2;
}
.h-color1 {
  color: #fff;
  background-color: #131313;
}
.h-color2 {
  color: #000;
  background: linear-gradient(
    to top,
    #e9904c 0%,
    #ea8147 5%,
    #e9904c 10%,
    #f5ac43 12%,
    #fee157 80%,
    #fff787 100%
  );
  padding: 1em 0;
  border-radius: 1em;
}
.content-bg {
  position: relative;
  border: 4px solid transparent;
  border-radius: 16px;
  background: linear-gradient(to left, #000000dd, #000000dd);
  background-clip: padding-box;
  padding: 10px;
}
.content-bg::after {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  background: linear-gradient(
    0deg,
    #ddb53c,
    #352501,
    #cea436,
    #faff99,
    #c69829
  );
  content: "";
  z-index: -1;
  border-radius: 16px;
}
.content-bg1 {
  position: relative;
  border: 3px solid transparent;
  border-radius: 0.5em;
  border-top-right-radius: 3em;
  border-top-left-radius: 3em;
  background-color: #101620;
  background-clip: padding-box;
}
.content-bg1::after {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  border-radius: 0.5em;
  border-top-right-radius: 3em;
  border-top-left-radius: 3em;
  background: linear-gradient(
    to top,
    #eac15b,
    #ab752d,
    #f8efb2,
    #ab752d,
    #eac15b
  );
  content: "";
  z-index: -1;
}
.content-bg2 {
  background-color: #011f5b;
}
.content-bg3 {
  background-color: #00000033;
  border: solid #4c668d 3px;
  border-radius: 1em;
  padding: 10px;
}
.content-bg4 {
  border: solid #4c668d 3px;
}
.content-bg5 {
  background-color: #191970;
}
.content-bg7 {
  background-color: #00000022;
}

.login {
  position: absolute;
  /*left: 50%;
 	transform: translate(-50%, 0%);
 	margin-top: 1em;*/
}
.fa-inp {
  position: absolute;
  margin-top: 5px;
  margin-left: 10px;
}
.fa-search {
  color: #ccc;
}
.fa-circle {
  color: #fdf100;
}
.card-link-img {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
.card-link-img a {
  display: inline-block;
  margin: 5px;
}
.nav-bg {
  padding: 0.5em;
  background-size: 100% 100%;
}
.brighten img {
  -webkit-filter: brightness(100%);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.brighten img:hover {
  -webkit-filter: brightness(120%);
}
.a-nav {
  color: #fff;
  font-weight: bold;
  margin: 0;
}
.a-nav:hover {
  color: #ffcc00;
}
.nav-mobile-bg {
  background: linear-gradient(to top, #00000000, #000000ff);
}
