@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;
}

/*body {
    background: #FD7A17 url('../img/page.png') fixed;
    background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background: -webkit-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -webkit-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background: -moz-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -moz-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background: -o-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -o-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background: -ms-linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), -ms-linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    -svg-background: linear-gradient(top, rgba(129, 57, 1, 0.09) 0, rgba(242, 106, 2, 0.05) 197px, rgba(254, 205, 167, 0.19) 500px) no-repeat, url('../images/page.png'), linear-gradient(top, #B14E02 0, #FC6F03 197px, #FEB177 500px) no-repeat;
    background-attachment: fixed, fixed, fixed !important;

    position: relative;
    width: 100%;
    min-height: 100%;

}
 */

.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-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(253, 122, 23, 0.3);
    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: #FD7A17;
    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(253, 122, 23, 1) 10%, rgba(253, 122, 23, 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: #FD7A17; /* 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 #021b79;
}

.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: #eee0b6 !important;*/
    background-color: #FD7A17;
    margin-top: 4px;
    /*background-image: url("../img/bg_pattern.jpg");
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 10%, rgba(0, 150, 36, 0.8) 100%), url("../img/bg_pattern.jpg");

     */
}

.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: #FD7A17;
    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: #021b79;
    vertical-align: middle;
    color: white;
    border: 4px solid #021b79;
    border-left: none;
    border-right: none;
}
.section-scroll a,.section-scroll a:hover,.section-scroll a:visited {
    color: white;
}

.section-carousel {
    color: white;
    background: #FD7A17; /*linear-gradient(45deg, #BF953F, #FCF6BA, #FD7A17, #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-search {
    color: #021b79;
    padding: 20px 0px 20px 0px;
    background: #FD7A17; /*linear-gradient(45deg, #BF953F, #FCF6BA, #FD7A17, #FBF5B7, #AA771C);*/
    background-image: url("../img/bg_pattern.jpg");
    background-image: linear-gradient(to top, 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:#021b79;
    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: #FD7A17;
    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_activity.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: #FD7A17;
    background-color: #FCF6BA;
}
.section-news .card-body a {
    color: #FD7A17;
}
.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: #FD7A17;
}

.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(255, 255, 255, 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-color: #243b7f;
    color: white;
}
.section-service::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-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: #FD7A17;
}

.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;
}
.page-link {
    color: #FD7A17 !important;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #FD7A17 !important;
    border-color: #FD7A17 !important;
}

.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;
}