/*--- Font Replacement ---*/
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400;500;600;700&display=swap');
body,a,h3,input {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 300 !important;
}
h1,h2,h3,h4,h5,h6,b {
    font-family: 'Prompt', sans-serif !important;
    font-weight: 600 !important; 
}
strong {
    font-weight: 500 !important; 
}

/*--- Header ---*/
header#masthead {
    border-top: 10px solid #937934;
    position: fixed;
    width: 100%;
    z-index: 9999;
    opacity: 0.95;
    background-color: #2b2c2bcc;
}
header#masthead.menu-open {
    top:0;
    bottom: 0;
}
#header-shifter {
    background-color: #2B2C2B;
}
/* Logo */
img.logo-img-header {
    width: 50%;
}
/* Menu */
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color:white;
}
#menu-top-menu .nav-link{
    text-align: center;
}
.dropdown-toggle::after {
    display: none;
}
.menu-line {
    display: block;
    height: 4px;
    width: 62px;
    margin: 0.3rem auto;
    background-repeat: no-repeat;
    background-size: contain;
}
.menu-line.pr{
    /* background-color: #84ADEF; */
    background-image: url("../images/line-pr.svg");
}
.menu-line.project{
    /* background-color: #EFAA87; */
    background-image: url("../images/line-project.svg");
}
.menu-line.about{
    /* background-color: #6AD0A9; */
    background-image: url("../images/line-about.svg");
}
.menu-line.contact{
    /* background-color: #EB8C8C; */
    background-image: url("../images/line-contact.svg");
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    transition: color 300ms ease-in;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover .menu-line {
    transition: width 200ms ease-out 300ms;
    width: 55px;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-24 > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-24.active > a{
    color: #84ADEF;
} 
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-34 > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-34.active > a{
    color: #EFAA87;
} 
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-33 > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-33.active > a{
    color: #6AD0A9;
} 
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-32 > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-32.active > a{
    color: #EB8C8C;
} 

/* sanwitch menu */
.navbar-toggler {
    border: none;
    font-size: 1rem;
    padding: 0;
}
.navbar-toggler:focus {
    outline: none;
}
.navbar-light button[aria-expanded="false"] .navbar-toggler-icon {
    background-image: url("../images/sanwitch.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.navbar-light button[aria-expanded="true"] .navbar-toggler-icon{
    background-image: url("../images/btn-menu-close.png");
}

/* sub menu */
ul.dropdown-menu.show {
    background-color: #2B2C2B;
    margin-left: 0;
}
ul.dropdown-menu.show a {
    color: white;
    text-align: center;
}
ul.dropdown-menu.show li:hover a{
    color: #1D1D1B;
}

#menu-item-33 li:hover {
    background-color: #6AD0A9;
    
}



/* Search */
.nav-tool-wrapper {
    margin-right: 2rem;
}
#masthead>.container {
    position: relative;
}
.top-search {
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-search-top {
    width: 1.3rem;
    height: 1.3rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

.custom-search-top:focus {
    outline: none;
}
.custom-search-top:hover {
    width: 1.4rem;
    height: 1.4rem;
    transition: all 300ms ease-out;
}

.custom-search-btn-sm {
    /* position: absolute;
    right: 4rem; */
    display: none;
}

/* Contact Menu */
#menu-contact-channel{
    display: none;
}


/*--- Content ---*/
/* Page Intro Section */
.intro-text-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}
.intro-text-containter{
    text-align: center;
    width: 100%;
    height: 100%;
}
.intro-text-with-img .page-intro-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.intro-text-overlay-bg{
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.6;
}
.full-width-section img.intro-img-big {
    display: block;
    width: 100vw;
    max-width: 100vw;
}
.intro-img-small {
    display: none;
}

.page-intro-text {
    font-weight: 700 !important;
    letter-spacing: 1px;
}
.intro-text-en {
    font-size: 1.2rem;
    letter-spacing: 0.15rem;
}
.intro-text-th {
    font-size: 2.7rem;
    letter-spacing: 0.3rem;
}
span.intro-text-thin {
    font-weight: 400 !important;
}
/* Separate Line */
.intro-text-line {
    display: inline-block;
    width: 124px;
    height: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*--- Footer ---*/
#footer-widget {
    background-color: #1D1D1B!important;
    padding: 1rem 0;  
}
#footer-widget>.container {
    position: relative;
}
#footer-widget>.container>.row {
    padding: 3rem 0;
}
body:not(.theme-preset-active) footer#colophon {
    color: #1D1D1B;
    background-color: #937934;
    text-align: center;
}
footer#colophon .pb-3, 
footer#colophon .py-3 {
    padding: 0.75rem 0!important;
}
footer .site-info {
    font-weight: 400;
}
.footer-logo a {
    width: 50%;
    display: block;
}
.logo-img {
    width: 100%;
}

/* Back to Top */
#back-to-top {
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    margin: 0 15px 0 0;
    border: 0;
    background: none;
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 250ms;
}
#back-to-top:hover {
    transform: translateY(-5px);
}

#back-to-top:focus {
    outline: none;
}

/* Search */
.custom-search-container {
    position: relative;
}
form.search-form .custom-search-btn {
    cursor: pointer;
    border: none;
    color: #937934;
    position: absolute;
    padding: 0;
    margin: 0;
    right: 0.6rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1.8rem;
    background: none;
}
form.search-form .custom-search-btn:focus {
    outline: none;
}
.custom-search-icon {
    background-image: url("../images/magnifiying-glass.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    width: 100%;
    height: 100%;
    display: block;
}
.custom-search-icon-sm{
    background-image: url("../images/magnifiying-glass-sm.png");
}

/* Social Icons */
.footer-social {
    display: flex;
    justify-content: space-between;
    padding: 1.45rem 1.6rem 0 0.5rem;
    width: 50%;
}
.footer-social .social-icon .img-fluid{
    width: 85%;
}

/* Contact */
.footer-contact-info,
.footer-contact-info h3 {
    color: white;
}
.footer-contact-info h3 {
    margin: 0;
    font-weight: 400 !important;
    letter-spacing: 1.3px;
}
.footer-col-right-content {
    width: 80%;
}
.footer-contact-info p {
    letter-spacing: 1.4px;
}
.contact-chanel {
    display: flex;
    justify-content: space-between;
    margin: 0 0 0.857rem;
}
.contact-chanel-item i {
    margin-right: 0.5rem;
}

/*--- Content ---*/
#content.site-content {
    padding: 0;
    margin: 0;
}

/* Content Header */
.content-header {
    text-align: center;
    padding: 3rem 0;
}
.content-header p {
    padding: 0;
    margin: 0;
}
.content-header-text.en {
    font-size: 0.9rem;
    letter-spacing: 0.15rem;
}
.content-header-text.th {
    font-size: 1.7rem;
    display: inline-block;
    letter-spacing: 0.25rem;
}
span.content-header-line {
    border-top: 2px solid #B69947;
    width: 30%;
    display: block;
    padding-bottom: 0.3rem;
    margin: 0 auto;
}
.content-header.dark-mode p{
    color:white;
}

/* Content Sub Header */
.content-sub-header-content {
    height: 2rem;
    display: inline-block;
    width: 100%;
}
.content-sub-header-text{
    font-size: 1.3rem;
    margin: 0 1rem 0 0;
    padding: 0;
    float: left;
}
.content-sub-header-line{
    border-top: 1px solid #B69947;
    display: flex;
    margin-top: 1rem;
}

.content-sub-header.dark-mode p {
    color: white;
}


/* Custom Accordian */
.custom-accordian .card {
    margin-bottom: 3rem;
    box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 36%);
}
.custom-accordian .card-header {
    padding: 0;

}
.custom-accordian button {
    width: 100%;
    text-align: left;
    letter-spacing: 0.1rem;
    font-size: 1.1rem;
    color: white;
    background: #937934;
    font-weight: 500;
    padding: 1rem;
    background-image: url("../images/accordian-open.png");
    background-repeat: no-repeat;
    background-position-x: 99%;
    background-position-y: center;

}
.custom-accordian button:hover,
.custom-accordian button:focus {
    color: white;
    text-decoration: none;
}
.custom-accordian button:focus {
    box-shadow: none;
}
.custom-accordian button.collapsed{
    color: black;
    background: #ffffff;
    background-image: url("../images/accordian-close.png");
    background-repeat: no-repeat;
    background-position-x: 99%;
    background-position-y: center;
}
.custom-accordian p {
    margin: 0;
    padding: 0;
}

/* Custom Breadcrumb */
.custom-breadcrumb{
    font-size: 0.9rem;
}
.custom-breadcrumb a{
    color:#937934;
}
.custom-breadcrumb a:hover,
.custom-breadcrumb a:focus{
    text-decoration: none;
}
/* See More Button */
.see-more-menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.see-more-menu a{
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 20px;
    padding: 0.5rem 3rem;
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.see-more-menu a:hover,
.see-more-menu a:focus{
    background:#937934;
    border: 1px solid #937934;
    text-decoration: none;
}
.see-more-menu li{
    list-style: none;
}

/* Load More Button */
.load-more-wrapper.pr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6rem;
}
.load-more-btn {
    border: 1px solid #937934;
    background: white;
    color: black;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.load-more-btn:hover,
.load-more-btn:focus {
    color: white;
    background: #937934;
    outline: none;
    transition: all 0.3s ease-out;
}
.load-more-btn .spinner-border {
    margin-left: 0.3rem;
    border-width: .15em;
    display: none;
}

/*--- Seach No Result Page ---*/
/* .search-no-results .footer-wrapper {
    position: fixed;
    width: 100%;
    bottom: 0;
} */


/*--- Icons ---*/
.custom-icon{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    height: 1rem;
    width: 1.5rem;
    margin-left: -0.3rem;
}
.icon-calendar-dark{
    background-image: url("../images/icon-carlender-dark.png");
}
.icon-pin-dark{
    background-image: url("../images/icon-pin-dark.png");
}
.icon-calendar-white{
    background-image: url("../images/icon-carlendar-white.png");
}
.icon-pin-white{
    background-image: url("../images/icon-pin-white.png");
}

/*---  Hack ---*/
.entry-title { /* Hide Page Title*/
    display: none !important;
}

/*Prevent Overlapping*/
/*
#page>#content>.container>.row{ 
    flex-direction: column;
}*/

#page { /* Full Width Section - REQUIRE */
    overflow: hidden;
}
.full-width-section { /* Full Width Section - REQUIRE */
    width: 100vw;
    position: relative;
    left: 50%;  
    margin-left: -50vw;
}
.full-width-section img { /* Full Width Img */
   width: 100%;
}


/*--- Bug Fix ---*/
.site-content > .container >.row {
    flex-direction: column;
    flex-wrap: nowrap;
}



/* tmp */
/* #primary {
    height: 2000px;
    background-color: tomato;
} */

