@import url('https://fonts.googleapis.com/css?family=Bai+Jamjuree|Kanit|KoHo|K2D|Maitree|Sarabun&display=swap');



html,

body {

    overflow-x: hidden; /* Prevent scroll on narrow devices */

}



body {

    /*padding-top: 200px;*/

    font-family: Kanit !important;

    font-weight: 300;

    font-size: 15px;

}



.section-search a {

    color: white !important;

}



.section-search {

    background: #007a1d;

    background: -webkit-linear-gradient(to right, #007a1d, #91ffab);

    background: linear-gradient(to right, #007a1d, #91ffab);

    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(0, 150, 36, 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: #009624;

    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: #009624; /* 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 #116325;

}



.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-color: #7489f5 !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: #009624;

    padding-top:120px;

    /*background-color: #eee3cc !important;*/

    padding-bottom: 20px;

    background-color: #FCF6BA;

    background-image: url("../img/bg_pattern.jpg");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(0, 150, 36, 0.6) 100%), url("../img/bg_pattern.jpg");

}





.section-scroll {

    /*padding-top: 10px;*/

    background-color: #116325;

    vertical-align: middle;

    color: white;

    border: 4px solid #116325;

    border-left: none;

    border-right: none;

}

.section-scroll a,.section-scroll a:hover,.section-scroll a:visited {

    color: white;

}



.section-carousel {

    color: white;

    background: #009624; /*linear-gradient(45deg, #BF953F, #FCF6BA, #009624, #FBF5B7, #AA771C);*/

    background-image: url("../img/bg_pattern.jpg");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(200, 8, 91, 0.6) 100%), url("../img/bg_pattern.jpg");



}



.section-activity {

    background-color: #f7f7f7;

}



.section-dla {

    background-color: #b1bb86;

}



.section-title {

    color:#116325;

    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: #009624;

    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/bg_news.jpg");

    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: #009624;

    background-color: #FCF6BA;

}

.section-news .card-body a {

    color: #009624;

}

.section-activity {

    z-index: 1;

    background-color: #FCF6BA;

    position: relative;

}

.section-activity::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: .1;

    z-index: -1;

    background-image: url("../img/bg_activity.jpg");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

}



.section-egp {

    background-image: url("../img/bg_egp.png");

    background-color: #243b7f;

    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: #009624;

}



.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/bg_pattern.jpg");

    background-image: linear-gradient(to bottom, rgba(255,255,255, 1) 0%, rgba(0, 150, 36, 0.6) 100%), url("../img/bg_pattern.jpg");



}



.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: #243b7f;

    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: #009624;

}



.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/bg_news.jpg");

    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{



    background-color: #dddddd;



}

.card-border {

    border-style: inset;

    border-width: 10px;

    border-color: #009624;

}



.text-center.text-color {

    text-shadow: 2px 2px 5px #009624;

    color:#009624;

}

.section-link-banner {

    z-index: 1;

    background-color: #dddddd;

    position: relative;

}

.section-link-banner::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: .1;

    z-index: -1;

    background-image: url("../img/bg_ita.jpg");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

}



.page-item.active .page-link {

    color: #fff !important;

    background-color: #009624 !important;

    border-color: #009624 !important;

}

.page-link {

    color: #009624 !important;

}

.section-name-pad{
    background: white;
    border: 1px solid black;
    position: relative;
    top: 1rem;
    right: 2rem;


}

