body {
    font-family: 'Noto Sans Thai', sans-serif;
    overflow-x: hidden !important;
    background-color: #100500;
    color: #6A6A6A;
    position: relative;
    min-height: 100vh;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    line-height: 1.5em;
}

a {
    color: #fff;
    list-style: none;
}

a:hover {
    color: #BF0000;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: #fff;
    outline: none;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
}

.bg-red {
    background: #A20000;
    color: #000;
}


/* navbar */
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    justify-content: center;
}
.top-menu {
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    /* left: 50%; */
    /* transform: translate(-50%, -0%); */
    z-index: 1000;
    font-size: 19pt;
}

.navbar-brand {
    position: relative;
    border-radius: 10px;
    margin-right: 40px;
}
.nav-link:focus, .nav-link:hover {
    color: #fff;
}
.main-logo img{
    /* height: 60px; */
}


.top-menu .navbar {
    /* width: 95%; */
    margin: 0px auto;
    border-radius: 0px;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);


    color: #fff;
    box-shadow: 0 0 18px -7px #df00005e;
    font-family: tannakone-condensed, sans-serif;
    padding-top: 0px;
}

.navbar .btn-icon {
    font-size: 20pt;
}
.top-menu .nav-item {
    background-image: url(/images/main-nav-bg.png);
    background-repeat: no-repeat;
    width: 215px;
    height: 63px;
    color: #fff;
    
    /* background-color: red; */
}
.top-menu .nav-item a {
    width: 215px;
    height: 63px;
    clip-path: polygon(15% 0%, 100% 0%, 83% 91%, 0% 100%);
}
.top-menu .nav-item:hover {
    background-image: url(/images/main-nav-bg-active.png);
    color: #fff;
}
.top-menu .nav-item.active {
    background-image: url(/images/main-nav-bg-active.png);
}
.nav-item:hover p {
    color: #fff;
}
.nav-item:hover
.tooltip-inner {
    background-color: rgba(186, 0, 0, 0.653) !important;
    color: #fff;
    z-index: 100;
    font-family: 'tannakone-condensed', 'Prompt', sans-serif;
    font-size: 1.8em;
}

.tooltip-arrow {
    opacity: 0;
}

.dropdown-menu {
    padding: 0px;
    left: -2px;
    top: 104%;
    color: #1c1c1c;
}
.nav-item .dropdown-menu a {
    height: auto;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
    
.dropdown .btn{
    font-weight: 400;
}

.language a {
    font-size: 18pt;
    border: none;
    padding: 0;
    line-height: 13pt;
}

.language a:hover {
    border: none;
}

.language .btn-check:active+.btn,
.language .btn-check:checked+.btn,
.language .btn.active,
.language .btn.show,
.language .btn:active,
.language .btn:focus {
    border: none;
}


.language .dropdown-menu.show {
    background: transparent;
    border: none;
    display: flex;
}

.dropdown-item {
    text-decoration: none;
    color: #fff;
}


.dropdown-menu.show a {
    padding: 10px;
    border-radius: 5px;
    background-color: #000;
    transition: 0.3s;
    font-size: 1.5em;
}   
.dropdown-menu.show.bg-dark li img{
width: 30px;
height: 30px;
margin-right: 15px;
}    
.dropdown-menu.show a:hover{
    background-color: #ec327e;
    color: #fff;
}
.dropdown-menu.show li a
.dropdown-item:hover {
    background: #fff;
    border-radius: 7px;
    color: #fff;
}

button:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}




/* ham menu */
#ham-menu {
    display: none;
}

label[for="ham-menu"] {
    display: block;
    top: 24px;
    left: 20px;
    z-index: 999;
    width: 33px;
    height: 33px;
    background-color: transparent;
    border-radius: 4px;
    /* border: 2px solid #9e9e9e; */
    padding-top: 3px;
}

#ham-menu:checked+label {
    background-color: transparent;
    border-color: rgb(13 57 121);
}

#ham-menu:checked~div.ham-menu {
    transform: translate(0px);
    visibility: visible;
}

#ham-menu:checked~div.full-page-green {
    display: block;
    opacity: 1;
    visibility: visible;
}

[for="ham-menu"]>div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    align-content: center;
    align-items: center;
}

.menu-line {
    display: block;
    width: 12px;
    height: 2px;
    margin: 3px 0 3px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    background-color: #9e9e9e;
    transition: 500ms;
    transform-origin: right center;
}

[for="ham-menu"]>div>span:nth-child(4),
[for="ham-menu"]>div>span:nth-child(5),
[for="ham-menu"]>div>span:nth-child(6) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    transform-origin: left center;
}


#ham-menu:checked+label span:nth-child(2),
#ham-menu:checked+label span:nth-child(5) {
    transform: scale(0);
}

#ham-menu:checked+label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#ham-menu:checked+label span:nth-child(4) {
    transform: translateY(8px) rotate(-45deg);
}

#ham-menu:checked+label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#ham-menu:checked+label span:nth-child(6) {
    transform: translateY(-8px) rotate(45deg);
}

.navigation{
    margin-top: 50px ;
}

footer {
    text-align: center;
    font-size: 8pt;
    padding: 60px 15px;
    bottom: 0;
    width: 100%;
    background: #000;
    position: relative;
}

/* footer::before {
    content: "";
    background: url(/images/s-news-eff.png) bottom no-repeat;
    height: 70px;
    width: 100%;
    position: absolute;
    top: -70px;
    left: 0;
} */
.cookies-banner{
    position: fixed;
    z-index: 1000;
    background: #000000da;
    width: 90%;
    padding: 4% 4%;
    bottom: 3%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    border-radius: 5px;
}

.cookies-banner .btn-red, .cookies-banner .btn-black{
    font-size: 0.9rem;
    padding: 6px 30px;
}
.cookies-banner .btn-black:hover{
    background: #1c1c1c;
}

/* content-detail */
.blank-page{
    background: url(/images/blank-page-bg.jpg);
    background-attachment: fixed;
    margin-top: 100px;
}
.blank-page .body-text{
    background: #1d1d1d95;
    font-size: 0.85em;
    line-height: 1.6em;
    color: #fff;
    border-radius: 47px;
    font-weight: 300;
    margin-bottom: 90px;
}
.blank-page .body-text p{
 margin-bottom: 10px;
}



@media (max-width: 991px) {
    .navbar-toggler {
        /* width: 67px; */
        /* height: 54px; */
    }
    .top-menu .nav-item a {
        width: 100%;
        height: auto;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        /* background-color: red; */
    }
    .top-menu .nav-item.active {
        background-image: none;
        background-color: #ec327e;
    }
    .top-menu .nav-item:hover {
        background-color: #ec327e;
        background-image: none;
    }
    .top-menu .nav-item {
        background-image: none;
        background-repeat: no-repeat;
        width: 100%;
        height: auto;
        color: #fff;
        
    }
    .top-menu .navbar-brand {
        width: 20%;
    }
    .top-menu .navbar {
        background: linear-gradient(180deg, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 1) 100%);
        padding-top: 10px;
    }
}
@media (max-width: 370px) {
    .main-logo img {
        /* max-width: 120px; */
    }
}

@media (min-width: 585px) {
    .main-logo img {
        /* max-width: 180px; */
        top: -7px;
    }
    .blank-page .body-text{
        font-size: 10pt;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse{
        /* flex-basis:100% */
    }
    .navbar {
        width: 100%;
        margin: 0 auto;
    }

    .nav-item i {
        display: none;
    }

    .top-menu li {
        /* padding-top: 22px; */
        margin-left: -40px;
    }

    .main-logo img {
        /* height: 80px; */
    }

    .download .dropdown-toggle::after {
        display: block;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 12px;
    }

    .language {
        margin-top: 18px;
    }

    .dropdown-menu.show {
        left: -10px;
    }
    .cookies-banner{
        padding: 3%;
    }

}