/*
Theme Name: Thailand Realty Group
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Thailand Realty Group
Version: 1.0.0.1668417399
Updated: 2023-07-11 09:16:39

*/

.primary-color {
    color: var(--e-global-color-primary);
}

.secondary-color {
    color: var(--e-global-color-secondary);
}

.accent-color {
    color: var(--e-global-color-accent);
}

.red-text {
    color: #bf1d3f;
}

.font-2 {
    font-family: var(--e-global-typography-secondary-font-family);
}

.font-2 * {
    font-family: inherit !important;
}

header #head-sticky {
    transition: all 0.2s ease-out;
}

header #head-sticky.head-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 0 10px #00000087;
}

header #head-sticky .elementor-widget-theme-site-logo img {
    transition: all 0.2s ease-out;
}

header #head-sticky.head-sticky-active .elementor-widget-theme-site-logo img {
    max-width: 60px !important;
}

header .switch-lang-header .elementor-shortcode {
    display: flex;
    align-items: center;
}

header .switch-lang-header .switch-text {
    font-size: 14px;
    color: #fff;
}

.page-template-page-header-transparent header #head-sticky:not(.head-sticky-active) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent !important;
}

body.home header #head-sticky:not(.head-sticky-active) .elementor-widget-theme-site-logo {
    visibility: hidden;
}

body.home header#site-header.dynamic-header {
    display: none;
}

.wpml-ls-legacy-dropdown {
    width: auto !important;
}

.wpml-ls-legacy-dropdown a {
    background: transparent !important;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
    gap: 5px;
    border: 0;
    font-size: 14px;
    color: #fff !important;
    padding-left: 5px;
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
    color: #fff;
    background: transparent;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border: 0 !important;
    background: #fff;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 5px;
    color: #000;
}

.wpml-ls-legacy-dropdown .wpml-ls-flag+span {
    font-size: 13px;
    margin: 0;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a>img {
    order: 2;
}

.font-1 {
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.elementor-image-carousel-wrapper .swiper-slide {
    line-height: 0;
}

.posts-grid-wrapper article.elementor-post {
    transition: all 0.2s ease-out;
}

.posts-grid-wrapper article.elementor-post:hover {
    box-shadow: 0px 32px 80px -32px rgba(0, 0, 0, 0.24) !important;
}

.posts-grid-wrapper article.elementor-post .elementor-post__text {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.posts-grid-wrapper article.elementor-post .elementor-post__text .elementor-post__meta-data {
    order: -1;
}

.subscribe-footer-form #form-field-email {
    height: 100%;
}

.list-style-none {
    list-style: none;
    padding: 0;
}

.line-gold-gradient .elementor-divider {
    background: linear-gradient(90deg, transparent, #e2d78d4a, #af8646, #e2d68d, #af8646, #e2d78d4a, transparent);
}

.line-gold-gradient .elementor-divider-separator {
    border-color: transparent !important;
}

.project-banner .swiper-pagination {
    bottom: -20px !important;
}

.project-facilities-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.project-facilities-wrapper:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: calc(100% - 50px);
    background-color: var( --e-global-color-primary );
    left: 0;
    bottom: 0;
}

.project-facilities-wrapper > .container {
    position: relative;
    width: 96%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.project-facilities-wrapper .fac-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.project-facilities-wrapper .fac-item {
    text-align: center;
    color: #fff;
}

.project-facilities-wrapper .fac-item .featured-image img {
    width: 100%;
    max-width: 100%;
}

.project-facilities-wrapper .fac-item  .fac-description {
    margin-top: 15px;
    padding: 0 25px;
}

.single-project table.project-details th, 
.single-project table.project-details td {
    padding: 10px;
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid #fff;
    text-align: left;
}

.project-addition-content {
    padding: 50px 0 50px;
}

.project-location-section {
    padding: 60px 0;
}

.house-list-details {
    list-style: none;
    padding: 0;
    font-weight: 700;
}

.project-house-type .elementor-swiper-button.elementor-swiper-button-prev {
    top: unset !important;
    bottom: 40px;
}

.project-house-type .elementor-swiper-button.elementor-swiper-button-next {
    top: unset !important;
    right: unset !important;
    left: 55px;
    bottom: 40px;
}

.project-house-type .elementor-swiper-button.elementor-swiper-button-prev:after {
    content: '';
    width: 1px;
    height: 16px;
    position: absolute;
    background: #d3d3d3;
    top: 0;
    right: -15px;
}

.project_filter-wrapper ul {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    line-height: 1.5;
}

.project_filter-wrapper ul li {
    position: relative;
}

.project_filter-wrapper ul li:before{
    width: 0;
    transition: all 0.2s ease-out;
}

.project_filter-wrapper ul li:hover:before,
.project_filter-wrapper ul li.active:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--e-global-color-primary);
}

.project_grid-wrapper article .elementor-post__text {
    padding: 0 10px 15px;
}

.project_grid-wrapper article:hover {
    box-shadow: 0px 32px 80px -32px rgba(0, 0, 0, 0.24);
}

.project_grid-wrapper .elementor-post__title {
    position: relative;
}

.project_grid-wrapper .elementor-post__title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 17px;
    height: 2px;
    display: inline-block;
    background: #f5e492;
}

.house_featured-wrapper {
    padding: 30px 0;
}

.house_featured-wrapper ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    list-style: none;
    padding: 0;
    grid-gap: 15px;
}

.house_featured-wrapper ul li {
    padding: 15px 0;
}

.house_featured-wrapper ul li label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.house-list-facilities {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    grid-gap: 10px;
    list-style: none;
}

.house-list-facilities li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.house-list-facilities li:before {
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--e-global-color-accent);
    font-size: 14px;
}

.single-house-type .house-list-details {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: left;
}

.house_floor_plan-wrapper {
    padding: 0 0 30px;
    max-width: 1000px;
    margin: auto;
}

.house_floor_plan-wrapper .section-title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #565656;
}

.house_floor_plan-wrapper ul {
    list-style: none;
    padding: 0;
}

.house_floor_plan-wrapper ul li {
    text-align: center;
    margin-bottom: 20px;
}

.house_floor_plan-wrapper ul li img {
    max-width: 100%;
}

#gform_2 input:not([type=submit]), 
#gform_2 textarea, 
#gform_2 select {
    border: 0;
    border-bottom: 1px solid #b9b9b9;
    background-color: transparent;
    border-radius: 0;
    outline: unset !important;
    padding: 15px 0;
}

#gform_2 .gform_footer .gform_button {
    padding: 12px 60px !important;
}

.form-center .gform_footer {
    justify-content: center;
}

.form-center #gform_2 input, 
.form-center #gform_2 textarea, 
.form-center #gform_2 select {
    text-align: center;
}

.white-form #gform_2 input:not([type=submit]), 
.white-form #gform_2 textarea, 
.white-form #gform_2 select {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

.white-form #gform_2 select option {
    color: var(--e-global-color-accent);
}

.white-form #gform_2 input:not([type=submit])::placeholder,
.white-form #gform_2 textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #fff;
opacity: 1; /* Firefox */
}

.white-form #gform_2 input:not([type=submit]):-ms-input-placeholder,
.white-form #gform_2 textarea::-ms-input-placeholder  { /* Internet Explorer 10-11 */
color: #fff;
}

.white-form #gform_2 input:not([type=submit])::-ms-input-placeholder,
.white-form #gform_2 textarea::-ms-input-placeholder { /* Microsoft Edge */
color: #fff;
}

.white-form #gform_2 .gform_footer .gform_button {
    background-color: #fff;
    color: var(--e-global-color-accent);
}

@media screen and (min-width: 481px) {
    .house-list-facilities {
        grid-template-columns: 1fr 1fr;
    }

    .single-house-type .house-list-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {

    .house_featured-wrapper ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .house_featured-wrapper ul li:not(:nth-of-type(3n)) {
        border-right: 1px solid var(--e-global-color-primary);
    }
}

@media screen and (max-width: 480px) {
    .house_featured-wrapper ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .house_featured-wrapper ul li:not(:nth-of-type(even)) {
        border-right: 1px solid var(--e-global-color-primary);
    }
}

@media screen and (min-width: 768px) {
    .w-md-100 {
        display: block;
        width: 100%;
    }

    .project-facilities-wrapper:before {
        height: calc(100% - 120px);
    }

    .house_featured-wrapper ul {
        grid-template-columns: repeat(5, 1fr);
    }

    
    .house_featured-wrapper ul li:not(:last-of-type) {
        border-right: 1px solid var(--e-global-color-primary);
    }

    .single-house-type .house-list-details {
        text-align: right;
    }
}

@media screen and (min-width: 1025px) {

    header .head-menu-contact .e-con-inner>div:not(:last-of-type):before {
        content: '';
        display: block;
        width: 1px;
        height: 20px;
        background: #fff;
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
    }

    .project-facilities-wrapper:before {
        height: calc(100% - 180px);
    }
}

@media screen and (max-width: 1024px) {

    header .head-menu-contact .e-con-inner>div:not(:first-of-type):before {
        content: '';
        display: block;
        width: 1px;
        height: 20px;
        background: #fff;
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
    }
}