/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.nav>li.active>a {
    color: #F5CD07 !important;
}
.header-main {
	background: #460101;
}
.header-main .header-nav a {
	color: #fff;
}
.content-area {
    color: #fff;
}
.content-area .section-title-container {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}
.content-area .section-title {
    color: #fff;
    border: none;
}
.row-main-content {
    justify-content: center;        
}

.col-toc .col-inner {
    position: sticky !important;
    top: 9rem !important;
}

.auto-toc-2 {
    padding: 1rem !important;
    border-radius: 10px !important;
    border: 1px solid #620304 !important;
    background: #330001 !important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.50) !important;
    position: relative !important;
}
.auto-toc-2::after {
    content: "";
    position: absolute;
    top: -4%;
    right: -7%;
    width: 4.5rem;
    height: 4.5rem;
    background: url('https://s3.cdn-thai.com/pgbet888/template/v1/icon/fire-icon.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
}
.auto-toc-2 li {
    padding: 0.3rem 0 0.3rem 1rem !important;
    margin-left: 0 !important;
}
.auto-toc-2 li:hover {
    border-radius: 5px !important;
    background: #460101 !important;
}
.auto-toc-2 li a {
    padding-left: 0 !important;
}
.auto-toc-2 .toc-list li.active,
.auto-toc-2 .toc-list li.current {
	border-radius: 5px;
    background: #850D0D !important;
}

/* Footer */
footer .section-bg {
    background: #000;
}
footer .footer-menu ul {
    list-style: none;
}
footer .footer-menu ul li {
    margin-left: 0;
}
footer .copyright .col-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
footer .copyright .col-inner > span {
    display: flex;
    align-items: center;
}
footer .copyright .ux-menu {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
footer .copyright .ux-menu .ux-menu-link__link {
    border: none !important;
}
@media only screen and (max-width: 48em) {
    footer .copyright {
        margin-bottom: 3rem;
    }
}
.absolute-footer {
    display: none;
}
.fixed-footer {
    position: fixed;
    left: -50%;
    right: -50%;
    bottom: 0;
    z-index: 10;
    border-radius: 5px;
    border: 1px solid #850D0D;
    background: #460101;
    gap: 0.5rem;
}
.fixed-footer .icon-box-img {
    width: 2rem !important;
    margin-bottom: 0;
    margin-top: 0.5rem;
    color: #fff;
}
.fixed-footer .icon-box-text h3 {
    color: #fff;
}
.fixed-footer a:hover .icon-box-img {
    color: #F5CD07;
}
.fixed-footer a:hover .icon-box-text h3 {
    color: #F5CD07;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    
}
@media only screen and (min-width: 48em) {
    .square-hover {
        flex-wrap: nowrap !important;
    }
}