* {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

a {
    color: #8c4a6d;
}

.bg-purple {
    background-color: #7e74b4!important;
}
.bg-purple2 {
    background-color: #9894c6!important;
}
.bg-purple3 {
    background-color: #7f79b9!important;
}
.bg-purple4 {
    background-color: #712049!important;
}
.bg-purple5 {
    background-color: #8c4a6d!important;
}
.bg-white-opacity-80 {
    background-color: rgba(255,255,255,.85);
}

.text-purple1 {
    color: #6059a1;
}
.text-purple2 {
    color: #712049;
}

.divider {
    background-color: #e1d1db;
    height: 4px;
    border-radius: 2px;
}

.navbar-brand img {
    width: 80px;
    height: auto;
}
.navbar-toggler {
    border: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-link {
    font-weight: 400;
    padding-left: 12px;
    padding-right: 12px;
}

#section-1, #section-2, #section-3, #section-4, #section-5, #section-6 {
    scroll-margin-top: 97px;
}

.section {
    position: relative;
}
.section .section-bg, .section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.section .section-bg {
    object-fit: cover;
    z-index: -2;
}
.section .section-overlay {
    z-index: -1;
}

.swiper-button-next, .swiper-button-prev {
    color: #888;
}

.xc-hover {
    margin-top: 20px;
    transition: transform .3s ease;
}
.xc-hover:hover {
    transform: translateY(-20px);
}
.xc-hover .xc-hover-appear {
    max-height: 0;
    transition: max-height .3s ease;
    overflow: hidden;
}
.xc-hover:hover .xc-hover-appear {
    max-height: 1000px;
}
.xc-hover .section-overlay {
    transition: background-color .3s ease;
}
.xc-hover:hover .section-overlay {
    background-color: rgba(98,99,165,.8)!important;
}

.xc-hover2 {
    min-height: 290px;
    perspective: 1000px;
}
.xc-hover2 .xc-hover2-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.xc-hover2:hover .xc-hover2-inner {
    transform: rotateY(180deg);
}
.xc-hover2 .xc-hover2-disappear {
    width: 100%;
    height: 100%;
    background-color: #9894c6;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.xc-hover2 .xc-hover2-appear {
    width: 100%;
    height: 100%;
    background-color: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.btn {
    font-size: 14px;
}
.rfs-1 {
    font-size: 100px;
    line-height: 100px;
}
.rfs-2 {
    font-size: 130px;
    line-height: 180px;
}
.rfs-3 {
    font-size: 60px;
    line-height: 60px;
}
.rfs-4 {
    font-size: 40px;
    line-height: 45px;
}
.rfs-5 {
    font-size: 35px;
    line-height: 40px;
}

.step-line {
    height: 100%;
    width: 2px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
}
.step-line::after {
    content: "";
    background-color: #fff;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 0;
    left: -9px;
}
.step-line::before {
    content: "";
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    background-color: #fff;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    bottom: -2px;
    left: -9px;
}

.blog-content img {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nav-pills-themed .nav-link {
    background-color: #6158a5;
    color: #fff;
    margin-right: 10px;
    margin-left: 10px;
}
.nav-pills-themed .nav-link.active {
    background-color: #7c164a;
}

.dropdown-menu {
    background-color: #7c164a;
}
.dropdown-menu .dropdown-item, .dropdown-menu .dropdown-item i {
    color: #fff;
    font-size: 14px;
}
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255,255,255,.1);
    color: #fff;
}

.wp-block-table {
    overflow-x: auto;
}
.wp-block-table table {
    width: 100%;
}
.wp-block-table table td {
    border: 1px solid #aaa;
    padding: 8px;
    font-size: 15px;
}
.wp-block-table table td strong {
    font-size: 15px;
}

#cc-main {
    --cc-font-family: "Noto Sans Thai", sans-serif;
    --cc-primary-color: #ffffff;
    --cc-secondary-color: #ffffff;
    --cc-bg: #7e74b4;
    --cc-separator-border-color: #a89de2;
    --cc-btn-primary-bg: #712049;
    --cc-btn-primary-border-color: #712049;
    --cc-btn-primary-hover-bg: #4f0d2e;
    --cc-btn-primary-hover-border-color: #4f0d2e;
    --cc-cookie-category-block-bg: #712049;
    --cc-cookie-category-block-border: #712049;
    --cc-cookie-category-block-hover-bg: #712049;
    --cc-cookie-category-block-hover-border: #4f0d2e;
}

@media (min-width: 992px) {

    .btn {
        font-size: 1rem;
    }
    .rfs-1 {
        font-size: 140px;
        line-height: 140px;
    }
    .rfs-2 {
        font-size: 200px;
        line-height: 230px;
    }
    .rfs-3 {
        font-size: 140px;
        line-height: 140px;
    }
    .rfs-4 {
        font-size: 55px;
        line-height: 55px;
    }
    .rfs-5 {
        font-size: 45px;
        line-height: 50px;
    }

    .step-line {
        background-color: transparent;
        height: 45%;
        width: 105%;
        position: absolute;
        left: -2.5%;
        top: 25%;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .step-line::after {
        content: "";
        background-color: #fff;
        border-radius: 10px;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: -11px;
    }
    .step-line::before {
        content: "";
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
        background-color: #fff;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        bottom: -11px;
        left: -2px;
    }

}
