* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}

body {
  color: #fff;
  background-color: #00141f;
  word-break: break-word;
  overflow-x: hidden;
}

strong {
  color: #1bbde8;
}

em {
  color: #fbff13;
}

em:nth-child(even) {
  color: rgb(219, 154, 219);
}

p a {
  color: #ffe000;
}

p a:hover {
  color: #dc143c;
}

p {
  color: #fff;
}

.txt-int {
  text-indent: 1em;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* Articles */
.news-articles-img {
  height: auto;
  overflow: hidden;
}

.view_date>span,
.tag__info>a span {
  color: #fff;
}

/* end */
/* 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: #f1f1f1;
  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;
  position: absolute;
  margin-right: 100%;
  right: 0.5rem;
  inline-size: max-content;
}
/* table */
.names-tags-not a:not(:last-child)::after {
      content: ", ";
       margin: 0 5px; 
    }

/* content */
.svg-menu {
  color: #fff;
  fill: #1bbde8;
}

.ic_login {
  right: 0px;
  /* Adjust this value to position the image */
  top: 50%;
  transform: translateY(-50%);
}

.bg-navbar {
  background-color: #011a26;
}

.input_navbar {
  padding-right: 50px;
  background-color: #002637;
  border: #002637;
  color: #fff;
}

.input_navbar:focus {
  background-color: #00141f;
  color: #fff;
}

.btn-login,
.btn-register {
  background-color: #002637;
  border: #002637;
  color: #fff;
}

.btn-register {
  background: linear-gradient(to bottom, #deb91a, #d08b2f);
}

.btn-login:hover,
.btn-register:hover {
  color: #7fffd4;
}

.link_menu {
  color: #fff;
  background-color: #002637;
}

.link_menu.active,
.link_menu:hover {
  background-color: #04ab6e;
}

.link_menu:hover {
  color: #ff0000;
}

.link_menu:hover span img {
  transform: scale(1.2) rotate(-10deg);
  transition-duration: 4s;
  transition-delay: 2s;
  transition: ease-in-out 0.5s;
}

.navbar-toggler.collapsed {
  transform: rotate(90deg);
  transition-duration: 4s;
  transition-delay: 2s;
  transition: all 0.3s ease-out;
}

.navbar-toggler {
  transform: rotate(0deg);
  transition-duration: 4s;
  transition-delay: 2s;
  transition: all 0.3s ease-out;
}

.card {
  background-color: #002637;
  color: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
}

.card-container .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-container .card-body {
  flex: 1;
}

.bg-content {
  background-color: #002637;
}

.bg-footer {
  background-color: #001d2c;
}


/* end */