@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Kanit", sans-serif;
    font-size: var(--global-font-size);
}

.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-size: cover;
    background-position: center;
}

.bg-none {
    background: none;
}

.bg-main {
    background-color: var(--main-color);
}

.bg-sub {
    background-color: var(--sub-color);
}

.bg-sub-2 {
    background-color: var(--sub-2-color);
}

.text-main {
    color: var(--main-color);
}

.text-sub {
    color: var(--sub-color);
}

.text-sub-2 {
    color: var(--sub-2-color);
}

.text-indent {
    text-indent: 2rem;
}

.header-bar .container {
    background-color: white;
}

.btn-adjust-text,
.btn-text-example,
.btn-theme-main,
.btn-theme-sub {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    line-height: 1;
    width: var(--adjust-btn-width);
}

.btn-adjust-text,
.btn-text-example,
.btn-theme-main {
    background-color: var(--main-color);
}

.btn-theme-main:hover,
.btn-adjust-text:hover,
.btn-text-example:hover,
.btn-theme-main:focus,
.btn-adjust-text:focus,
.btn-text-example:focus {
    border: solid var(--main-color) 1px !important;
}

.btn-theme-sub {
    background-color: black;
}

.btn-theme-sub:hover,
.btn-theme-sub:focus {
    border: solid black 1px !important;
}

.btn-theme-main,
.btn-theme-sub,
.btn-text-example,
.btn-adjust-text,
.btn-adjust-text>i {
    color: white;
}

.theme-active {
    background-color: white;
}

.btn-theme-main.theme-active {
    border: solid var(--main-color) 1px !important;
    color: var(--main-color);
}

.btn-theme-sub.theme-active {
    border: solid black 1px !important;
    color: black;
}

.btn-adjust-text:hover>i {
    color: var(--main-color);
}

.btn-adjust-text.adjust-max {
    background-color: var(--sub-color);
}

.btn-switch-lang>img {
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 12px -5px var(--color-1);
}

#DropdownLang {
    z-index: 2000;
}

.btn-lang {
    all: unset;
    width: 100%;
    padding: 5px 10px;
}

#HeaderMenu a.navbar-brand {
    display: block;
    position: absolute;
    z-index: 10;
    padding: 0;
    left: var(--header-adjust-left);
    top: var(--header-adjust);
}

#HeaderMenu a.navbar-brand>img {
    border-radius: 0 0 1rem 1rem;
    padding: 1rem;
    background-color: white;
    height: var(--header-logo-height);
}

#HeaderMenu #NavbarHeader {
    background-image: linear-gradient(var(--color-12), var(--color-13) 25%, var(--color-5));
    border-radius: 0 0 1rem 1rem;
}

#HeaderMenu #NavbarHeader > ul#HeaderMenuNav > li > a {
    color: white;
    padding: 1.25rem 1.5rem;
}

#HeaderMenu #NavbarHeader > ul#HeaderMenuNav > li > a.dropdown-toggle::after {
    display: none;
}

#HeaderMenuNav > li {
    transition: ease 0.3s;
}

#HeaderMenuNav > li > ul.dropdown-menu, 
#HeaderMenuNav > li:hover, 
#HeaderMenuNav > li.active {
    background-color: var(--color-15);
}

#HeaderMenuNav > li > ul.dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 0;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    padding: 1rem;
    padding-top: 0;
}

#HeaderMenuNav > li > ul.dropdown-menu > li {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: solid rgba(255, 255, 255, 0.1) 1px;
}

#HeaderMenuNav > li > ul.dropdown-menu > li > a {
    padding: 0;
    color: white;
    transition: ease 0.3s;
    width: 200px;
    white-space: normal;
}

#HeaderMenuNav > li > ul.dropdown-menu > li:hover > a, 
#HeaderMenuNav > li > ul.dropdown-menu > li > a.active {
    background-color: transparent;
    color: #eceba5e8;
}

#carouselHeaderSlideshowIndicators .carousel-indicators {
    margin-bottom: 8rem;
}

.section-hero-menu .hero-4-menu {
    margin-top: -90px;
    position: relative;
}

.section-hero-menu .hero-4-menu .hero-menu-item {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 3px var(--neutral-black);
    border-radius: 20px;
    background-color: var(--color-8);
}

.section-hero-menu .hero-4-menu .hero-menu-item.hero-menu-item-10 {
    position: relative;
}

.section-hero-menu .hero-4-menu .hero-menu-item.hero-menu-item-10 img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
}

.section-hero-menu .hero-4-menu .hero-menu-item.hero-menu-item-10 h2 {
    position: absolute;
    right: 1rem;
}

.section-hero-menu .hero-5-menu a {
    color: var(--color-2);
}

.section-hero-menu .hero-5-menu a .hero-menu-item img {
    height: 80px;
    max-width: 100%;
    margin-bottom: 1rem;
}

.card-thumbnail {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

.home-highlight-menu #home-highlight-tab {
    background-color: var(--color-3);
    padding: 10px 35px;
}

.home-highlight-menu #home-highlight-tab button.nav-link {
    color: white;
}

.home-highlight-menu #home-highlight-tab button.nav-link.active,
.home-highlight-menu #home-highlight-tab button.nav-link:hover {
    background-color: var(--color-4);
    color: white;
}

.home-highlight-menu #home-highlight-tabContent .card {
    background: none;
}

.home-highlight-menu #home-highlight-tabContent .card img {
    box-shadow: 3px 3px 3px #00000038;
}

.hero-status .hero-status-item p.title,
.hero-status .hero-status-item p.sub-title,
.hero-status .hero-status-item p.number {
    color: var(--color-2);
}

.hero-status .hero-status-item p.title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0;
}

.hero-status .hero-status-item p.number {
    font-size: 4rem;
    font-weight: 600;
    display: flex;
    line-height: 1;
    margin-bottom: 0;
}

.hero-status .hero-status-item p.sub-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.hero-status .hero-status-item p.text {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0;
}

.hero-status .hero-status-item p.number>img {
    object-fit: contain;
    margin-left: 1rem;
}

.announcement-menu #announcement-tab button.nav-link {
    background-color: white;
    border-radius: 15px 15px 0 0;
    padding: 10px 25px;
    transition: ease 0.3s;
}

.announcement-menu #announcement-tab button.nav-link span {
    background-image: linear-gradient(99deg, var(--color-14), var(--color-7));
    color: transparent;
    background-clip: text;
    transition: ease 0.3s;
}

.announcement-menu #announcement-tab button.nav-link:hover, 
.announcement-menu #announcement-tab button.nav-link.active {
    background-image: linear-gradient(99deg, var(--color-14), var(--color-7));
    border: none;
}

.announcement-menu #announcement-tab button.nav-link:hover span, 
.announcement-menu #announcement-tab button.nav-link.active span {
    color: white;
}

.announcement-menu #announcement-tabContent #announcement-hiring #hiring-tab button.nav-link, 
.announcement-menu #announcement-tabContent #announcement-purchase #purchase-tab button.nav-link {
    text-align: left;
    color: var(--neutral-black);
    background-color: white;
    border-radius: 0;
}

.announcement-menu #announcement-tabContent #announcement-hiring #hiring-tab button.nav-link.active, 
.announcement-menu #announcement-tabContent #announcement-purchase #purchase-tab button.nav-link.active {
    background-image: linear-gradient(108deg, var(--color-10), var(--color-11) 30%, var(--color-11));
}

.announcement-menu #announcement-tabContent #announcement-hiring, 
.announcement-menu #announcement-tabContent #announcement-purchase {
    box-shadow: 0 4px 5px #0003;
    background-color: white;
    border-radius: 2px 2px 20px 20px;
    height: 400px;
    overflow-y: hidden;
}

.announcement-menu #announcement-tabContent #announcement-hiring .tab-content .tab-pane, 
.announcement-menu #announcement-tabContent #announcement-purchase .tab-content .tab-pane {
    height: 100%;
    width: 100%;
    padding: 1rem;
}

div#purchase-tab, 
div#hiring-tab {
    width: 300px;
    height: 400px;
}

.home-purchase-list {
    height: 300px;
    overflow-y: auto;
}

span.text-date {
    font-size: 12px;
}

button.btn-law-category:hover {
    color: var(--main-color);
}

.card-law-category {
    position: sticky;
    position: -webkit-sticky;
    top: 150px;
}

.card-law-category .card-body ul {   
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

div.split-line {
    color: var(--color-6);
    background-color: #c4c4c459;
    background-image: linear-gradient(83deg, var(--color-14), var(--color-7));
    border-radius: 20px;
    width: 7%;
    height: 2px;
    margin-top: 4px;
    margin-bottom: 20px;
}

.div-block-62 {
    background-image: linear-gradient(90deg, #130f63, #35ce7c);
    border-radius: 20px;
    width: 60px;
    height: 5px;
}

#accordionInternalContact, #accordionFAQ {
    border: none;
}

#accordionFAQ .accordion-item, 
#accordionInternalContact .accordion-item {
    border: none;
    border-radius: 0;
}

#accordionFAQ .accordion-button, 
#accordionInternalContact .accordion-button {
    color: var(--main-color);
    font-weight: bold;
    background-color: white;
    box-shadow: none;
}

#component-blog-tab li.nav-item button.nav-link {
    border-radius: 0;
    background-color: var(--main-color);
    color: white;
}

#component-blog-tab li.nav-item button.nav-link.active {
    background-color: var(--light-green);
}

.card-icon {
    background-image: url("../../media/component-icon-bg.jpg");
    background-position: 0 0;
    background-size: cover;
    border-top-right-radius: 29px;
    border-bottom-right-radius: 18px;
    width: 100%;
    padding: 15px 19px 19px;
    box-shadow: 0 2px 5px #0003;
    position: relative;
}

.card-icon .img-card-icon {
    height: 60px;
}

.card-icon .div-block-79 {
    background-image: linear-gradient(97deg, #23408f, #3fae49);
    width: 40%;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.block-download {
    border-bottom: 1px solid #e0e0e0;
    border-radius: 16px;
    height: auto;
    margin-bottom: 0;
    padding: 13px 18px 6px 16px;
    box-shadow: -2px 5px 5px #0000000f;
}

.div-block-78 {
    background-color: #afafaf;
    background-image: linear-gradient(99deg, #23408f, #3fae49);
    border-radius: 20px;
    width: 9%;
    height: 4px;
    margin-bottom: 8px;
}

.calendar-list {
    background-color: #f3f3f3;
    border-bottom: 1px solid #e2e2e2;
}

.home-calendar-card {
    border: none;
}

.home-calendar-card .card-header, 
.home-calendar-card .card-footer {
    background-image: linear-gradient(99deg, #23408f, #3fae49);
    color: white;
    padding: 1.25rem 1rem;
}

.home-calendar-card .card-header {
    border-radius: 20px 20px 0 0;
}

.home-calendar-card .card-footer {
    border-radius: 0 0 20px 20px;
}

.home-calendar-card .card-body p {
    line-height: 1;
}

.home-report-card {
    border: none;
    border-radius: 20px;
    background-image: linear-gradient(99deg, #23408f, #3fae49);
    color: white;
    padding: 1.25rem 1rem;
}

.home-calendar-card .img {
    border-radius: 20px;
}

footer {
    background-color: var(--sub-2-color);
    color: white;
}

footer #sfcahrm7yscdjxkusmlyxm1g9ea8wepwjcx img {
    height: 20px;
}

footer .footer-banner-image {
    height: 40px;
}

.copyright {
    background-image: linear-gradient(270deg, rgba(228, 169, 133, 0) 0%, var(--main-color) 50%, rgba(228, 169, 133, 0) 100%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
}

.cta .form-label {
    color: var(--color-9);
}

.cta-gradient {
    background: linear-gradient(360deg, rgba(228, 169, 133, 0.3) 0%, rgba(126, 93, 74, 0) 100%);
}

.mobile-bottom-bar {
    display: none;
}