/*
 Theme Name:   Twenty Twenty-One Child
 Theme URI:    https://example.com/twenty-twenty-one-child/
 Description:  A child theme for the Twenty Twenty-One theme.
 Author:       Your Name
 Author URI:   https://example.com
 Template:     twentytwentyone
 Version:      1.0.0
 Text Domain:  twentytwentyone-child
*/

/* Import the parent theme's styles */
@import url("../twentytwentyone/style.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
	font-family: "Poppins", "Noto Sans Thai", serif;
}
.primary-navigation a {
	font-family: "Poppins", "Noto Sans Thai", serif !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background) {
    background-color: #fff !important;
    color: #827D4D !important;
    border: 1px solid #827D4D !important;
	border-radius: 40px;
	padding: 12px 30px !important;
}
.after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:active {
    background-color: #827D4D !important;
    color: #fff !important;
	border: 1px solid #827D4D !important;
	border-radius: 40px;
	background: #827D4D !important;
	padding: 10px 30px !important;
}
.primary-navigation a:hover {
    text-decoration: none !important;
}
.primary-navigation a:hover, .primary-navigation a:link, .primary-navigation a:visited {
    color: #363535 !important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    background: transparent !important;
    color: #827D4D !important;
}

.site-header > .site-logo {
    width: unset !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}
.after-nav-widget-container {
    min-width: 520px;
    display: contents;
}
.after-nav-widget select {
    background-size: 24px !important;
    background: #fcf3e0 url(assets/images/lang.png) no-repeat left center;
    border: 2px solid #fcf3e0;
    border-radius: 6px;
    padding: 8px 10px 10px 43px !important;
    height: 42px;
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
    background-position: 10px;
    color: #827d4d;
}

ul.wp-block-social-links {
    float: left;
}
.wp-block-buttons {
    float: right;
}
.site-header, .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.wp-social-link-facebook a svg,
.wp-social-link-chain a svg,
.wp-social-link-instagram a svg,
.wp-social-link-tiktok a svg{
    display: none;
}

.wp-social-link-facebook a:before {
    content: '';
    background: url(assets/images/fb.png);
    display: block;
    width: 14px;
    height: 23px;
    background-size: 14px;
    margin: 0 auto;
    margin-top: 9px;
}
.wp-social-link-chain a:before {
    content: '';
    background: url(assets/images/line.png);
    display: block;
    width: 22px;
    height: 25px;
    background-size: 22px;
    margin: 0 auto;
    margin-top: 9px;
}
.wp-social-link-instagram a:before {
    content: '';
    background: url(assets/images/ig.png);
    display: block;
    width: 22px;
    height: 25px;
    background-size: 22px;
    margin: 0 auto;
    margin-top: 9px;
}
.wp-social-link-tiktok a:before {
    content: '';
    background: url(assets/images/tiktok.png);
    display: block;
    width: 22px;
    height: 25px;
    background-size: 22px;
    margin: 0 auto;
    margin-top: 9px;
}
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook,
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-chain,
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram,
:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok {
    background-color: #FBF3E0;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    text-align: center;
}
.wp-block-social-link a {
    display: block !important;
    width: 100%;
    text-align: center;
}
.footer-wg {
    background: #363535;
}
ul.footer-social-link li {
    float: left;
    padding-right: 24px;
}
h2.footer-address {
    font-size: 28px !important;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 0;
    font-family: 'Poppins';
}
span.footer-address-detail {
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    display: block;
    max-width: 318px;
    margin: 0;
}
.widget-area, .pagination, .comments-pagination, .post-navigation, .site-footer, .site-header, .alignwide, .wide-max-width {
    max-width: 1310px !important;
}

#hero-banner {
    max-width: 1310px;
    margin: 0 auto;
}
#hero-banner h1,
#hero-banner .elementor-widget-text-editor .elementor-widget-container {
    width: 60%;
}
.after-nav-widget ul li {
    list-style: none;
}

.mainbt a {
    color: #FBF3E0;
    font-family: "Poppins", "Noto Sans Thai", serif !important;
    background: #827D4D !important;
    font-size: 20px;
    padding: 15px 30px !important;
    border-radius: 30px;
}
.secondbt a {
    color: #827D4D;
    font-family: "Poppins", "Noto Sans Thai", serif !important;
    background: transparent !important;
    border: 1px solid #827D4D !important; 
    font-size: 20px;
    padding: 15px 30px !important;
    border-radius: 30px;
}
.aboutus-hero img {
    width: 100% !important;
    max-width: 100% !important;
}

.service-detail-item .elementor-icon-list-item span svg,
.otherservices .elementor-icon-list-item span svg {
    display: none;
}
.service-detail-item .elementor-icon-list-item .elementor-icon-list-icon:before,
.otherservices .elementor-icon-list-item .elementor-icon-list-icon:before {
    content: '';
    background: url(assets/images/bullet.png);
    display: block;
    width: 23px;
    height: 24px;
    background-size: 23px;
    margin: 0 auto;
    margin-right: 10px;
}
.otherservices .elementor-icon-list-item .elementor-icon-list-icon:before {
        margin-top: 5px !important;
}
.service-item-page img {
    height: unset !important;
    width: 100% !important;
    max-width: unset !important;
}
.roomtypegroup .e-opened svg,
.roomtypegroup .e-closed svg {
    display: none;
}
.roomtypegroup .e-opened:before,
.roomtypegroup .e-closed:before {
    content: '';
    background: url(assets/images/bullet.png);
    display: block;
    width: 16px;
    height: 16px;
    background-size: 16px;
    margin: 0 auto;
    margin-right: 10px;
}
.bookform .fm-form-container.fm-theme1 {
    margin: 0 auto;
}
.fm-form-container.fm-theme1 {
    width: 100% !important;
    max-width: 868px;
}
input[type=checkbox]:after {
        left: 8px !important;
        top: 4px !important;
}
.checktc a {
    padding-left: 5px;
}
.bookform .fm-form-container.fm-theme1 .fm-form input[type="text"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type="number"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type=password],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=url],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=email],
.bookform .fm-form-container.fm-theme1 .fm-form textarea,
.bookform .fm-form-container.fm-theme1 .fm-form .StripeElement,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-spinner,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider-handle,
.bookform .fm-form-container.fm-theme1 .fm-form select {
    border-bottom-color: #363535 !important;
    margin-top: 5px;
}
.bookform .fm-form-container.fm-theme1 .fm-form input[type="text"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type="number"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type=password],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=url],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=email],
.bookform .fm-form-container.fm-theme1 .fm-form textarea,
.bookform .fm-form-container.fm-theme1 .fm-form .StripeElement,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-spinner,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider-handle,
.bookform .fm-form-container.fm-theme1 .fm-form select {
    border-right-color: #363535 !important;
}
.bookform .fm-form-container.fm-theme1 .fm-form input[type="text"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type="number"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type=password],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=url],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=email],
.bookform .fm-form-container.fm-theme1 .fm-form textarea,
.bookform .fm-form-container.fm-theme1 .fm-form .StripeElement,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-spinner,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider-handle,
.bookform .fm-form-container.fm-theme1 .fm-form select {
    border-left-color: #363535 !important;
}
.bookform .fm-form-container.fm-theme1 .fm-form input[type="text"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type="number"]:not(.ui-spinner-input),
.bookform .fm-form-container.fm-theme1 .fm-form input[type=password],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=url],
.bookform .fm-form-container.fm-theme1 .fm-form input[type=email],
.bookform .fm-form-container.fm-theme1 .fm-form textarea,
.bookform .fm-form-container.fm-theme1 .fm-form .StripeElement,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-spinner,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider,
.bookform .fm-form-container.fm-theme1 .fm-form .ui-slider-handle,
.bookform .fm-form-container.fm-theme1 .fm-form select {
    border-top-color: #363535 !important;
}
.amenities {
    margin: 0 auto !important;
}
.addlinebefore {
        border-top: 1px solid #000;
    padding-top: 40px;
    margin-top: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 40px;
    margin-bottom: 20px !important;
}
.chooseservice {
    margin-top: 20px;
}
.wp-custom-logo .site-header {
    padding: 0 !important;
}
.site-header > .site-logo {
        margin: 10px 0 0 0;
}
.primary-navigation .primary-menu-container > ul > .lang-item {
        display: none !important;
    }

html:lang(th) {
    .booknow-en{
        display: none !important;
    }
}
html:lang(en) {
    .booknow-th{
        display: none !important;
    }
}
input#ff_3_input_text_13 {
    display: none;
}
@media only screen and (min-width: 1024px) {
    .footer-wg .widget-area {
        grid-template-columns: 23% 53% 24%;
        display: grid;
        gap: 0;
        margin-top: 0;
        padding: 65px 0;
    }
    .footer-wg .widget-area section:first-child {
        margin-right: 58px;
    }
}

@media only screen and (min-width: 822px) {
	.site-header {
        padding-top: 7px !important;
    }	
}


@media only screen and (min-width: 482px) {
	 .primary-navigation {
        margin: 0 auto;
    }
    .site-header {
        padding-bottom: 7px !important;
    }
    .primary-navigation .primary-menu-container > ul > .menu-item > a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 19px;
    }
}

@media only screen and (max-width: 1340px) {
    header#masthead,
    .footer-wg {
        padding: 0 24px !important;
    }
}

@media only screen and (max-width: 1129px) {
    .wp-custom-logo .site-header {
        height: 93px;
    }
    .primary-navigation a {
        font-size: 18px !important;
        padding: 0 10px !important;
    }
    .after-nav-widget-container {
        min-width: unset;
    }
    .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background) {
        border-radius: 40px;
        padding: 10px 18px !important;
        font-size: 18px !important;
    }
    .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
    .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:active {
        background: #827D4D !important;
        padding: 10px 18px !important;
        font-size: 18px !important;
    }
    .after-nav-widget {
        display: inline-block;
        margin-left: 24px;
    }
}

@media only screen and (max-width: 1009px) { 
    .site-logo .custom-logo {
        width: 80px !important;
    }
    .primary-navigation a,
    .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background) {
        font-size: 16px !important;
    }
    .primary-navigation .primary-menu-container {
        margin-left: 20px !important;
    }
    .wp-custom-logo .site-header {
        height: 93px;
    }
    :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-facebook, :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-chain, :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram, :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-tiktok {
        width: 36px;
        height: 36px;
    }
    .wp-social-link-facebook a:before {
        content: '';
        background: url(assets/images/fb.png);
        display: block;
        width: 11px;
        height: 18px;
        background-size: 11px;
        margin: 0 auto;
        margin-top: 9px;
    }
    .wp-social-link-chain a:before {
        content: '';
        background: url(assets/images/line.png);
        display: block;
        width: 17px;
        height: 18px;
        background-size: 17px;
        margin: 0 auto;
        margin-top: 8px;
    }
    .wp-social-link-instagram a:before {
        content: '';
        background: url(assets/images/ig.png);
        display: block;
        width: 17px;
        height: 18px;
        background-size: 17px;
        margin: 0 auto;
        margin-top: 8px;
    }
    .wp-social-link-tiktok a:before {
        content: '';
        background: url(assets/images/tiktok.png);
        display: block;
        width: 17px;
        height: 18px;
        background-size: 17px;
        margin: 0 auto;
        margin-top: 8px;
    }
}


@media only screen and (max-width: 931px) {
    .primary-navigation a {
        padding: 0 8px !important;
    }
}

@media only screen and (max-width: 911px) {
    .primary-navigation .primary-menu-container > ul > .lang-item {
        display: block !important;
    }
    .primary-navigation a {
        padding: 0 10px !important;
    }
    .primary-navigation a, .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background) {
        font-size: 14px !important;
    }
    .after-nav-widget-container {
        display: none;
    }
}

@media only screen and (max-width: 650px) {
    .primary-navigation a {
        padding: 0 16px !important;
    }
}

@media only screen and (max-width: 567px) {
    .primary-navigation a {
        padding: 0 7px !important;
    }
    #hero-banner h1, #hero-banner .elementor-widget-text-editor .elementor-widget-container {
        width: 100%;
    }
}

@media only screen and (max-width: 481px) {
    header#masthead {
        display: block;
    }
    .site-header.has-logo.has-title-and-tagline.has-menu {
        display: block;
        float: left;
        width: 100%;
    }
    .site-header > .site-logo {
        float: left;
    }
    body:not(.primary-navigation-open) .site-header.has-logo.has-title-and-tagline .menu-button-container {
        padding-top: 25px !important;
    }
    .primary-navigation a {
        padding: 16px 0px !important;
    }
    .primary-navigation a, .after-nav-widget-container .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background) {
        font-size: 20px !important;
    }
}

@media only screen and (max-width: 375px){
    div[type=type_checkbox]>.wdform-element-section .wd-flex.checkbox-div, div[type=type_checkbox]>.wdform-element-section .wd-flex.checkbox-div label {
    flex-wrap: nowrap;
        font-size: 13px !important;
    }
}