@import url('https://fonts.googleapis.com/css?family=Bai+Jamjuree|Kanit|KoHo|K2D|Maitree|Sarabun&display=swap');



html {
    scrollbar-gutter: stable;
}

html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/* Prevent transition jitter/shaking on scroll/hover on Webkit/Blink browsers */
.hover-translate,
.card,
.btn,
.nav-link,
.banner-item-modern,
.service-content-card,
.quick-action-card,
.sidebar-nav-link,
.sidebar-sub-link,
.floating-action-btn,
.accessibility-item,
.popup-complaint-card,
.logo-shimmer-wrapper,
.person-card-frame,
.eit-banner-card,
img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}



body {

    /*padding-top: 200px;*/

    font-family: Kanit !important;

    font-weight: 300;

    font-size: 15px;

}



.section-search a {

    color: white !important;

}



.section-search {

    background: #782090;

    background: -webkit-linear-gradient(to right, #782090, #381880);

    background: linear-gradient(to right, #782090, #381880);

    padding: 30px;

}



.floating-menu {

    z-index: 999;

    padding-top: 10px;

    padding-bottom: 10px;

    left: 0;

    position: fixed;

    display: inline-block;

    top: 50%;

    -webkit-transform: translateY(-50%);

    -ms-transform: translateY(-50%);

    transform: translateY(-50%)

}



.main-menu {

    margin: 0;

    padding-left: 0;

    list-style: none;

    font-size: small;

    /*font-family: 'K2D';*/

}



.main-menu li a {

    display: block;

    padding: 4px;

    color: #fff;

    position: relative;

    -webkit-transition: none;

    -o-transition: none;

    transition: none

}



.main-menu li a:hover {

    background: rgba(244, 244, 244, .3)

}



.menu-bg {

    /*background-image: -webkit-linear-gradient(top, #1C5E91 0, #167699 100%);

    background-image: -o-linear-gradient(top, #1C5E91 0, #167699 100%);

    background-image: -webkit-gradient(linear, left top, left bottom, from(#1C5E91), to(#167699));

    background-image: linear-gradient(to bottom, #1C5E91 0, #167699 100%);

    background-repeat: repeat-x;*/

    background-color: rgba(124, 58, 237, 0.5);

    position: absolute;

    width: 100%;

    height: 100%;

    z-index: -1;

    top: 0;

    left: 0;

    -webkit-transition: .1s;

    -o-transition: .1s;

    transition: .1s;

    border-radius: 0px 30px 30px 0px;

}



.ripple {

    position: relative;

    overflow: hidden;

    transform: translate3d(0, 0, 0)

}



.ripple:after {

    content: "";

    display: block;

    position: absolute;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    pointer-events: none;

    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);

    background-repeat: no-repeat;

    background-position: 50%;

    transform: scale(10, 10);

    opacity: 0;

    transition: transform .5s, opacity 1s

}



.ripple:active:after {

    transform: scale(0, 0);

    opacity: .2;

    transition: 0s

}



footer {

    padding: 30px 20px;

    background-color: #1e1b4b;

    color: white;

}

.footer a {

    color: white;

}



.footer-bottom {

    font-size: smaller;

    background-color: #303030 !important;

}







.help-block {

    color: indianred;

}



.header-bg {

    background-image: linear-gradient(to bottom, rgba(0, 150, 36, 1) 10%, rgba(0, 150, 36, 0.0) 100%);

}

/*

 * Custom styles

 */

.navbar-brand {

    font-size: 24px;

    font-family: 'K2D';

}

.navbar a {

    font-weight: bold;

    font-size: 16px;

    color: white;



}



.navbar a:visited {

    color: white;

}



.navbar a:hover {

    color: gold;

}



.navbar.fixed-top.fixed-theme {

    /*box-shadow: 0 0 5px rgba(0, 0, 0, .8);*/



    background: #782090; /* fallback for old browsers */

    /*background: -webkit-linear-gradient(to right, #ED8F03, #FFB75E); /* Chrome 10-25, Safari 5.1-6 */

    /*background: linear-gradient(to right, #ED8F03, #FFB75E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    border-bottom: 4px solid #1e1b4b;

}



.navbar-brand.fixed-theme {

    font-size: 18px;

}



.navbar-container.fixed-theme {

    padding: 0;

}



.navbar-brand.fixed-theme,

.navbar-container.fixed-theme,

.navbar.fixed-top.fixed-theme,

.navbar-brand,

.navbar-container {

    transition: 0.8s;

    -webkit-transition: 0.8s;

}





.navbar .dropdown-menu {
    border: 0px;
    background: var(--purple-blue-gradient) !important;
    margin-top: 4px;
}



.dropdown-menu a, .dropdown-menu a:visited {

    color: white;

}



.dropdown-menu a:hover {

    color: gold;

}



.navbar .dropdown {

    position: static

}



.navbar .dropdown-menu {

    width: 100%;

    left: 0;

    right: 0;

    border-radius: 0rem;

}



.navbar-toggler {

    border-color: rgb(98, 56, 49);

}

.navbar-toggler-icon {

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(9,55,244, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");

}



.fixed-theme a, .fixed-theme a:visited {

    color: white;

}

.fixed-theme a:hover {

    color: #fcf8e3;

}







.abs-center-x {

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

}





.section {

    padding-top: 30px;

    padding-bottom: 30px;

}



.section-slide {

    min-height: 100vh;

}



.section-top {

    color: #782090;

    /*background-color: #eee3cc !important;*/

    padding-bottom: 20px;

    background-color: #FCF6BA;

    background-image: url("/img/index_bg1.png");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(124, 58, 237, 0.6) 100%), url("/img/index_bg1.png");

}





.section-scroll {

    /*padding-top: 10px;*/

    background-color: #1e1b4b;

    vertical-align: middle;

    color: white;

    border: 4px solid #1e1b4b;

    border-left: none;

    border-right: none;

}

.section-scroll a,.section-scroll a:hover,.section-scroll a:visited {

    color: white;

}



.section-carousel {

    color: white;

    background: #782090; /*linear-gradient(45deg, #BF953F, #FCF6BA, #009624, #FBF5B7, #AA771C);*/

    background-image: url("/img/index_bg1.png");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(124, 58, 237, 0.6) 100%), url("/img/index_bg1.png");



}



.section-activity {

    background-color: transparent;

}



.section-dla {

    background-color: #e0e7ff;

}



.section-title {

    color:#782090;

    font-weight: bold;

    position: relative;

    display: flex;

    width: 100%;

    justify-content: center;

    align-items: center;

    text-align: center;

    height: 80px;

    margin-bottom: 20px;

}



.section-title:before {

    position: absolute;

    top: -18px;

    content: url("../img/bg_section_title_top.png");

}

/*.section-title:after {

    position: absolute;

    bottom: -20px;

    content: url("../img/bg_section_title_bottom.png");

}*/

/*

.section-title:before,

.section-title:after {

    content: '';

    border-top: 2px solid #9b9b9b;

    margin: 0 20px 0 0;

    flex: 1 0 20px;

}



.section-title:after {

    margin: 0 0 0 20px;

}*/

.section-news {

    z-index: 1;

    background-color: #782090;

    position: relative;

}

.section-news::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: .1;

    z-index: -1;

    background-image: url("/img/index_bg1.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

}

.section-news a, .section-news a:hover, .section-news a:visited {

    color: white;

}

.section-news .nav-pills .nav-link.active, .section-news .nav-pills .show > .nav-link {

    color: #782090;

    background-color: #FCF6BA;

}

.section-news .card-body a {

    color: #782090;

}

.section-activity {
    z-index: 1;
    position: relative;
    background-image: linear-gradient(180deg, rgba(56, 24, 128, 0.92) 0%, rgba(120, 32, 144, 0.92) 100%), url("../img/bg_activity_new.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.section-activity::before {
    display: none;
}



.section-egp {

    background-image: url("../img/bg_egp.png");

    background-color: #1e1b4b;

    color: white;

}



.section-egp a, .section-egp a:hover, .section-egp a:visited {

    color: white;

}

.section-egp .nav-pills .nav-link.active, .section-egp .nav-pills .show > .nav-link {

    color: #fff;

    background-color: #782090;

}



.section-tour {

    background-image: url("../img/bg_nature.jpg");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

}



.section-tour .card-title {

    padding: 10px;

    background-color: rgba(246, 209, 98, 0.6);



}

.section-tour a {

    color: white;

}



.section-banner {

    background-image: url("/img/index_bg1.png");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(124, 58, 237, 0.6) 100%), url("/img/index_bg1.png");



}



.section-work {

    /*background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),

    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);*/

    background-color: #92a0a7;

}



.section-service {

    background-image: url("../img/bg_section_service.png");

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    background-color: #1e1b4b;

    color: white;

}



.section-service a, .section-service a:hover, .section-service a:visited {

    color: white;

}

.section-service .nav-pills .nav-link.active, .section-service .nav-pills .show > .nav-link {

    color: #fff;

    background-color: #782090;

}



.main-content {

    padding-top: 20px;

    padding-bottom: 20px;



}

.section-main-content {

    z-index: 1;

    /*background-color: #243b7f;*/

    position: relative;

}

.section-main-content::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: .1;

    z-index: -1;

    background-image: url("/img/index_bg1.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

}



.breadcrumb {

    background: transparent !important;

    justify-content: center !important;

}

.breadcrumb a, .breadcrumb a:hover, .breadcrumb a:visited {

    color: white !important;

}



.breadcrumb-item.active {

    color: white !important;

}



.breadcrumb-item::before {

    color: white !important;

}



.card {

    border: none;

}



/*#animated-bg {

    animation: animateBg forwards 5s ease-in;

}

@keyframes animateBg{

    from { background-size: 100%; }

    to { background-size: 140%; }

}*/



.post-summary {

    font-size: small;

}





.content-image {

    margin-bottom: 10px;

    justify-content: center;

    align-items: center;

    text-align: center;

    display: flex;

}



.collapse-header {

    font-size: 18px;

    font-weight: bold;

}



.box {

    border: 6px solid;

    padding: 10px;

}

.box-green {

    color: green;

}

.box-orange {

    color: orange;

}

.box-red {

    color: orangered;

}

.box-yellow {

    color: yellowgreen;

}

/* 🔹 section-link-banner New Premium Dashboard Design */
.section-link-banner {
    padding: 70px 0;
    background: linear-gradient(180deg, #fbfaff 0%, #f4f0ff 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(120, 32, 144, 0.05);
}

.slb-heading {
    text-align: center;
    margin-bottom: 50px;
}

.slb-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #381880;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(56, 24, 128, 0.05);
}

.slb-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #e5a93c 0%, #ffc107 100%);
    margin: 0 auto;
    border-radius: 50px;
}

.slb-card {
    display: block;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
}

.slb-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease;
}

.slb-card:hover img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 15px 25px rgba(120, 32, 144, 0.25));
}

.slb-item {
    display: flex;
    justify-content: center;
}





.page-item.active .page-link {

    color: #fff !important;

    background-color: #782090 !important;

    border-color: #782090 !important;

}

.page-link {

    color: #782090 !important;

}

.page-link:hover {

    color: #c828a0 !important;

    background-color: rgba(120, 32, 144, 0.05) !important;

    border-color: rgba(120, 32, 144, 0.1) !important;

}

.section-name-pad{
    background: white;
    border: 1px solid black;
    position: relative;
    top: 1rem;
    right: 2rem;


}

