*{padding:0em;margin:0em;}
body{
overflow-x: hidden;
font-size: 16px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Thai", "Prompt", sans-serif;
font-weight: 400;
font-style: normal;
color: #fff !important;
cursor: default !important;
background-color: #200028;
word-break: break-word;
}
h1{font-size: 1.5em;margin-block: 0.67em;}
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;}
a:hover{color:#ffbc69;}
b{font-weight: bold; color:#fff5af; }
strong{color:#fece38;font-weight:bold;}
em{color:#ffbc69;}
p a,
p a strong,
p a strong em{font-weight: bold;color: #03f483;text-decoration:underline;}
p a:hover,
p a strong:hover,
p a strong em:hover{color: #52ffae;}
h1,h2{
color: #feda15;
font-weight: bolder;
}
h3,h4{
color: #feda15;
font-weight: bolder;
}
.fa-inp{position: absolute; margin-top: 5px; margin-left: 10px;}
.big-p{
font-size: 1.25em;
margin: 0;
font-weight: 500;
color: #fdf100;
text-shadow: 1px 1px 1px #000;
}
.big-p3{
font-size: 1.5em;
color: #ffd454;
text-shadow: 0px 0px 2px #000;
}
.big-p4{
font-size: 2em;
}
.breadcrumb-item a {
color: #999;
font-weight: bold;
}
.breadcrumb-item.active {
color: #fff;
font-weight: bold;
}
.breadcrumb-item + .breadcrumb-item::before {
color: #ccc;
}
.btn-bg,.btn-bg2{
position: relative;
margin: 0;
text-decoration: none;
text-decoration: none;
font-weight: 600;
font-style: italic;
line-height: 2;
border-radius: 2em;
transition: all ease-in-out .25s;
}

.btn-bg{
color: #ffffff;
background: linear-gradient(0deg, #5a006d, #5a006d, #c50ff1);
}
.btn-bg:hover {
color: #c50ff1;
background: linear-gradient(0deg, #ffffff, #ffffff, #ffffff);
}

.btn-bg2{
color: #ffffff;
background: linear-gradient(0deg, #e66e02, #e66e02, #f6e93c);
}
.btn-bg2:hover {
color: #e66e02;
background: linear-gradient(0deg, #ffffff, #ffffff, #ffffff);
}

@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;
	}
}
.relative {
position: relative;
}
.txt-int{
text-indent: 1.5em;
}
@media screen and (max-width: 768px) {
	.footer-bg {
		padding-bottom: 6em !important;
	}
}
.footer-bg {
	background: linear-gradient(0deg, #200028, #520466);
		box-shadow: 0px -3px 3px 0px #bf0cd3;
}
.link_login {
color: #fff;
}
.link_login:hover {
color: rgb(194, 194, 194);
}
.nav-footer {
z-index: 9999;
display: none;
}
@media screen and (max-width: 980px){
#nav{display: none;}
}
@media only screen and (max-width: 800px) {
	.nav-footer {
		position: fixed;
		bottom: 0;
		width: 100%;
		left: 0;
		border-bottom: none;
		border-top-left-radius: 25px;
		border-top-right-radius: 25px;
		height: 90px;
		background: linear-gradient(0deg, #200028, #520466);
		box-shadow: 0px -3px 3px 0px #bf0cd3;
	}
	.nav-footer-col4 {
		width: 19.99%;
		float: left;
		text-align: center;
	}
	.col4-bottom {
		font-size: 14px;
		color: #fff;
		letter-spacing: 1px;
		font-weight: 300;
	}

	.nav-footer {
		display: block;
	}
	.nav-icon-center{
		text-align: center;
		margin-top: -3em;
		background: linear-gradient(0deg, #6f42c1, #a409cb);
		border-radius: 50%;
		padding: 3px;
		border: 3px solid #fff;
	}
}
header{
justify-content: space-between;
align-items: center;
padding: 0;
background: linear-gradient(0deg, #200028, #520466);
box-shadow: 0px 1px 3px #c10eed;
}
.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: .25s box-shadow;
	background-color: #000000;
	border: 4px solid transparent;
	border-radius: 16px; 
	background-image:linear-gradient(#000000, #56006c),
 	linear-gradient(45deg, #56006b, #dc0fff, #55006b);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}
.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: #230063;
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.0),
            background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
            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;
z-index: 0;
width: 280px;
box-shadow: 0 0 10px #000;
margin: -50px 0 0 -50px;
padding: 50px 20px 50px 50px;
padding-top: 100px;
background-color: #000000ee;  
transform-origin: 0% 0%;
transform: translate(-200%, 0);
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#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: #fdc73a;
	background: linear-gradient(0deg, #ffba0a, #fcf596);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow( );
	font-weight: bolder;
}
.h-color1,.h-color2{
color: #fcf596;
border-radius: 1em;
display: inline-flex;
	
}
.h-color1{
background-color: #7f0893;
}
.h-color2{
background: linear-gradient(0deg, #1f0027,#4d0063);
border: 1px solid #4d0063;
}
.content-bg{
position: relative;
border: 4px solid transparent;
border-radius: 16px;
background: linear-gradient(to left, #000000dd,#000000dd);
background-clip: padding-box;
padding: 10px;
box-shadow: 0px 0px 15px #22f912;
}
.content-bg::after{
position: absolute;
top: -4px; bottom: -4px;
left: -4px; right: -4px;
background: linear-gradient(0deg, #22f912, #06500e, #22f912);
content: '';
z-index: -1;
border-radius: 16px;
}
.content-bg1{
background: linear-gradient(0deg, #1f0026, #1f0026, #57006d);
border: 1px solid #380946;
border-radius: 10px;
}
.content-bg2{
background-color: #7f0893;
border-radius: 10px;
}
.content-bg3{
position: relative;
border: 4px solid transparent;
border-radius: 8px;
background-color: #000000ee;
background-clip: padding-box;
padding: 10px;
}
.content-bg3::after{
position: absolute;
top: -4px; bottom: -4px;
left: -4px; right: -4px;
background: linear-gradient(0deg, #22f912, #06500e);
content: '';
z-index: -1;
border-radius: 8px;
}
.content-bg4{
	background: linear-gradient(to bottom, #1d1d1bff,#1d1d1b99);
	border-radius: .5em;
	padding: 1em;
}
.content-bg5{
	background: linear-gradient(to top, #09070599,#2d292699);
	border-radius: .5em;
	padding: 1em;
}
.content-bg6{
position: relative;
border: 4px solid transparent;
border-radius: 8px;
background: linear-gradient(to left, #090708,#090708,#090708);
background-clip: padding-box;
padding: 10px;
}
.content-bg6::after{
position: absolute;
top: -4px; bottom: -4px;
left: -4px; right: -4px;
background: linear-gradient(0deg, #ddb458, #f6e9b4, #ddb458);
content: '';
z-index: -1;
border-radius: 8px;
}
.content-bg7 {
background-color: #00000022;
}
.card-link-img{
display: block;
text-align: center;
margin-bottom: 10px;
}
.card-link-img a{
display: inline-block;
margin: 5px;
}
.brighten img{
-webkit-filter: brightness(100%);
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-o-transition: all .5s ease;
-ms-transition: all .5s ease;
transition: all .5s ease;
}
.brighten img:hover{
-webkit-filter: brightness(120%);
}
.a-nav{
color: #ffffff;
font-weight: bold;
margin: 5px 10px;
}
.a-nav:hover{
color: #c10eed;
}
.full-height{height: 100%;}
#toc-list {
    column-count: 2;
    column-gap: 40px;
    margin: 0;
    padding-left: 20px;
}

#toc-list > li {
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (max-width: 600px) {
    #toc-list {
        column-count: 1;
    }
}

.page-link {
	color: #fff;
	background-color: #121212;
	border:none;
}.page-link:hover {
	color: #fff;
	background-color: #666666;
}
.page-item.active .page-link {
	color: #fff;
	background-color: #333333;
}
.page-item.disabled .page-link{
	color: #999999;
	background-color: #121212;
}
.h-100 {
	height: 100%;
}
.gap-2 {
  gap: 0.5rem;
}
table {
	border: 1px solid #bb7343;
	border-spacing: 0px;
}
table tr th{
	color: #f7e19f;
	border: 1px solid #f7e19f;
}
table tr td{
	border: 1px solid #f7e19f;
}
.img-frame {
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.nav-bg {
	background: linear-gradient(90deg, #684719, #ad945d, #684719);
}
.head-bg1{background: linear-gradient(0deg, #3a73fe, #57e1fc);}
.head-bg2{background: linear-gradient(0deg, #fe5f06, #fbce28);}
.head-bg3{background: linear-gradient(0deg, #b327f2, #7657ff);}
.head-bg4{background: linear-gradient(0deg, #3f8244, #9afaa0);}
.head-bg1,.head-bg2,.head-bg3,.head-bg4{ border-radius: 1em; }