/*
Theme Name: Star Property
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Star Property
Version: 1.0.0.1668417399
Updated: 2024-03-13 09:16:39

*/

:root {
  --ere-color-accent: #a0ab8b !important;
}

html, body {
  overflow-x: hidden;
}

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 #head-sticky.head-sticky-active > .e-con-inner {
  padding: 0 !important;
}

header .gtranslate_wrapper {
  max-width: 80px;
  font-size: 14px;
  border-left: 1px solid #bfbfbf;
  padding-left: 10px;
}

header .gtranslate_wrapper select {
  border: 1px solid #bfbfbf;
  padding: 5px 10px;
  border-radius: 0;
}

.btn-primary {
  color: #fff;
  background-color: #252525 !important;
  border-color: #252525 !important;
}

a.contact-detail {
  color: inherit !important;
  display: inline-block !important;
  width: auto;
}

.menu-col-2 ul.elementor-nav-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ere-search-status-tab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #ebebeb;
  height: 65px !important;
  margin-top: -65px;
}

.ere-search-status-tab button {
  font-size: 20px !important;
  font-weight: 600 !important;
  height: 65px !important;
  background-color: var(--e-global-color-primary) !important;
  color: #fff !important;
}

.ere-search-status-tab button.active {
  background-color: #ebebeb !important;
  color: #111 !important;
}

.img-box-style .elementor-image-box-content {
  padding: 10px 0;
}

.img-box-style-border .elementor-image-box-img {
  border-left: 1px solid var(--e-global-color-primary);
}

.img-box-style-border .elementor-image-box-content {
  padding: 10px 0;
}

.home-project-col-image {
  position: relative !important;
}

.about-col-image {
  position: relative !important;
}

/* START Single Property */
.single-property
  .single-property-area
  .property-info-action
  .property-main-info {
  background-color: transparent;
  width: 96%;
  max-width: min(100%, var(--container-max-width, 1140px));
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
}

.single-property .property-identity-heading {
  display: inline-block;
  border: 1px solid var(--e-global-color-primary);
  padding: 2px 10px;
  text-align: center;
  min-width: 100px;
}

.single-property .property-heading-info h1 {
  font-size: 25px;
  color: var(--e-global-color-4983346);
  margin: 0;
}

.single-property .property-info-action {
  background-color: #fff;
  position: relative;
  text-align: center;
  margin: 60px 0 20px !important;
}

.single-property
  .property-info-action
  .property-main-info
  .property-info-block-inline {
  justify-content: flex-end;
}

.single-property .property-info-action .property-main-info .property-status {
  top: 0;
}

.single-property
  .property-info-action
  .property-main-info
  .property-status
  span {
  background-color: transparent !important;
  color: var(--e-global-color-text);
  padding-left: 0;
  padding-right: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5 !important;
  height: auto;
}

.single-property .property-info-action .property-main-info .property-price {
  color: var(--e-global-color-text);
  margin-right: 0;
}

.single-property .single-property-element.property-gallery-wrap {
  width: 96%;
  max-width: min(100%, var(--container-max-width, 1140px));
  margin-left: auto;
  margin-right: auto;
}

.single-property .property-details-column > div {
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}

.single-property .property-details-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 96%;
  max-width: min(100%, var(--container-max-width, 1140px));
  margin: 20px auto 50px;
}

.single-property .property-details-column > div:not(.property-featured-section),
.single-property .ere-property-element.featured-section-box > div {
  padding: 25px;
  border: 1px solid var(--e-global-color-primary);
}

.single-property .property-details-column iframe {
  width: 100% !important;
  max-height: 350px;
}

.single-property
  .ere-property-element.featured-section-box
  > div:not(:last-of-type) {
  margin-bottom: 20px;
}

.single-property .property-sidebar-column > div {
  padding: 25px;
  border: 1px solid var(--e-global-color-primary);
}

.single-property .ere-heading-style2 {
  margin-bottom: 20px;
}

.single-property .ere-heading-style2 h2:after {
  display: none !important;
}

.single-property .ere-heading-style2 h2 {
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.35;
  font-size: 18px;
  color: var(--e-global-color-4983346);
}

.single-property .property-feature-list {
  margin-bottom: 40px !important;
}

.single-property .property-feature-list,
.single-property .property-facility-list,
.project-facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-property .property-feature-list li:before,
.single-property .property-facility-list li:before {
  content: "\f058";
  display: inline-block;
  font: 14px / 1 FontAwesome;
  margin-right: 8px;
  color: var(--e-global-color-primary);
}

.project-facility-list li:before {
  content: "\f058";
  display: inline-block;
  font: 14px / 1 FontAwesome;
  margin-right: 8px;
  color: var(--e-global-color-4983346);
}

.single-property .single-property-area .contact-agent .form-error {
  color: #a0ab8b;
}

.ere-archive-property-wrap .ere-archive-property {
  width: 96%;
  max-width: min(100%, var(--container-max-width, 1140px));
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0;
}

.ere-property .property-inner {
    border: 1px solid #a0ab8b;
    background: #fff !important;
}

.ere-property .property-item-content .property-title {
    color: var(--e-global-color-4983346);
}

.ere-property .property-item-content .property-title a{
    color: inherit !important;
}

.ere-property:not(.property-zigzac,.property-list) .property-footer {
  padding: 12px 15px;
  background-color: #a0ab8b;
  margin-left: -15px;
  margin-right: -15px;
  color: #fff;
}


.ere-property .property-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.ere-property .property-footer > div {
  width: 50%;
}

.ere-property .property-footer .property-id-inner {
  display: block;
  width: 100%;
  border: 1px solid #fff;
  background: #A0AB8B;
  text-align: center;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #fff;
}

.ere-property.property-list .property-footer .property-id-inner {
  border-color: #A0AB8B;
}

.ere-property .property-footer .property-cta a {
  display: block;
  width: 100%;
  border: 1px solid #000;
  background: #000;
  font-size: 13px;
  text-align: center;
  padding: 7px 10px;
  line-height: 1.35;
  color: #fff;
}

.ere-property.property-carousel .owl-item .property-info,
.ere-property.property-grid .property-info,
.ere-property.property-list .property-info {
    background-color: #fff !important;
}

.ere-property .property-item-content .property-info .property-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto !important;
  margin-bottom: 8px;
  border-top: 1px solid #dcdcdc;
  padding-top: 8px;
}

.ere-property:not(.property-zigzac) .property-info {
    margin-left: -15px;
    margin-right: -15px;
    color: #000;
}

.ere-property:not(.property-zigzac) .property-info i,
.ere-property:not(.property-zigzac) .property-info .fa {
    color: var(--e-global-color-4983346);
}

.ere-property .property-item-content .property-info .property-info-inner>div:not(.tooltip) {
    width: 100% !important;
    font-size: 13px !important;
    color: #252525;
    text-align: left;
}

.ere-property a {
    color: inherit;
}

.ere-property .property-status {
    right: 10px !important;
    top: 10px !important;
}

.ere-property .property-label {
    left: 10px !important;
    top: 10px !important;
}

.ere-property .property-label p.label-item .property-label-bg, .ere-property .property-status p.label-item .property-status-bg {
    background-color: var(--e-global-color-accent);
}

.ere-property .block-center-inner>a, .ere-property .property-view-gallery-wrap, .ere-property .social-share {
    background-color: var(--e-global-color-accent) !important;
    color: #fff !important;
}

.ere-property .property-status p .property-status-bg .property-arrow,
.ere-property .property-label p .property-label-bg .property-arrow {
    display: none !important;
}

.ere-property .property-label p .property-label-bg, .ere-property .property-status p .property-status-bg {
    padding: 4px 15px !important;
}

.ere-property-carousel .navigation-wrap .owl-nav {
    margin: 0 !important;
}

.ere-property-carousel .navigation-wrap {
    width: 100% !important;
    padding: 0 !important;
    float: unset !important;
}

.ere-property-carousel .property-content {
    width: 100% !important;
    float: unset !important;
}

.ere-property-carousel .owl-nav .owl-prev:after,
.ere-property-carousel .owl-nav .owl-next:after,
.owl-nav .owl-next:after, 
.owl-nav .owl-prev:after {
    display: none !important;
}

.ere-property-carousel .navigation-wrap .owl-nav .owl-prev,
.ere-property-carousel .navigation-wrap .owl-nav .owl-next,
.owl-nav .owl-next, 
.owl-nav .owl-prev {
    margin-right: 0 !important;
    height: auto !important;
}

.ere-property-carousel .owl-nav .owl-next i, 
.ere-property-carousel .owl-nav .owl-prev i,
.single-property-area .single-property-image-main .owl-nav .owl-next i,
.owl-nav .owl-next i, 
.owl-nav .owl-prev i {
    line-height: 1 !important;
    font-size: 20px !important;
}

.ere-property-carousel .navigation-wrap .owl-nav div {
    position: absolute !important;
    width: 18px;
    z-index: 2;
    background: transparent !important;
}

.ere-property-carousel .navigation-wrap .owl-nav div.owl-prev,
.single-property-area .single-property-image-main .owl-nav .owl-prev {
    top: 50%;
    left: 0;
}

.ere-property-carousel .navigation-wrap .owl-nav div.owl-next,
.single-property-area .single-property-image-main .owl-nav .owl-next {
    top: 50%;
    left: unset;
    right: 0;
}

.ere-property-carousel  .owl-nav .owl-next:hover i, .owl-nav .owl-prev:hover i {
    color: inherit !important;
}

.ere-property-carousel .owl-dots .owl-dot span {
    background-color: #bfc6b0;
}

.ere-property-carousel .owl-dots {
    text-align: center;
    padding-top: 40px;
}

.archive-property-action .view-as span.active:before, .archive-property-action .view-as span:hover:before {
    border-top-color: var(--e-global-color-4983346) !important;
    border-bottom-color: var(--e-global-color-4983346) !important;
}

.archive-property-action .view-as span.active, .archive-property-action .view-as span:hover {
    background-color: var(--e-global-color-4983346) !important;
}

.archive-property-action .property-status ul li a:focus, .archive-property-action .property-status ul li a:hover, .archive-property-action .property-status ul li.active a {
    background-color: var(--e-global-color-4983346) !important;
}

.ere-property .property-view-gallery-wrap:hover a {
    color: #fff !important; 
}

.ere-heading-archive h2 {
    font-size: 16px;
    margin-bottom: 35px;
}

.property-details-row a {
    color: inherit;
}

.single-property .property-similar-wrapper{
    position: relative;
    width: 96%;
    max-width: min(100%, var(--container-max-width, 1140px));
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
}

.property-similar-wrapper .ere-heading:after {
    display: none !important;
}

.property-similar-wrapper .ere-heading h2 {
    text-align: center;
    font-size: 24px;
    color: var(--e-global-color-4983346);
}

.single-property-area .single-property-image-main .owl-nav {
    width: 100%;
    top: 0%;
    z-index: 3;
}

.single-property-area .single-property-image-main .owl-nav .owl-next, .single-property-area .single-property-image-main .owl-nav .owl-prev {
    position: absolute !important;
    top: auto;
    width: auto;
}

.single-property-area .single-property-image-main .owl-nav .owl-prev,
.single-property-area .single-property-image-main .owl-nav .owl-next {
    background-color: transparent !important;
}

.single-property-area .single-property-image-main .owl-nav .owl-prev i,
.single-property-area .single-property-image-main .owl-nav .owl-next i {
    color: #333 !important;
}

.single-property-area .owl-dots {
    position: relative;
    padding-top: 30px;
    z-index: 3;
}

#gform_1 #gform_fields_1,
#gform_2 #gform_fields_2 {
    row-gap: 25px;
}

input#gform_submit_button_1,
input#gform_submit_button_2 {
    background-color: #000;
    border-radius: 0;
    padding: 15px 35px;
}

.project-facility-wrapper {
    border: 1px solid var(--e-global-color-4983346);
    padding: 25px;
}

.project-facility-wrapper h2 {
    color: var(--e-global-color-4983346);
    font-size: 22px;
    font-weight: 700;
}

.project-section {
  padding: 25px;
  border: 1px solid var(--e-global-color-4983346);
  margin-bottom: 25px;
}

.project-section .section-title {
  color: var(--e-global-color-4983346);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-section .project-details-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.project-section .project-details-inner > div {
  display: flex;
  align-items: center;
}

.project-section .project-details-inner svg {
  width: 16px;
  margin-right: 8px;
  fill: #687f6d;
}

.project-map iframe {
  max-height: 300px;
}

.ere-heading-archive h2 {
  font-size: 25px !important;
} 

.ere-search-properties.style-default .form-search-wrap {
  padding-bottom: 0 !important;
}

.ere-search-properties .submit-search-form {
  text-align: center !important;
}

.search-properties-form > .row > .form-group {
  height: auto !important;
}

.ere-search-properties .submit-search-form button {
  border: 0;
  padding: 8px 30px;
  min-width: 200px;
}

.item-not-found {
  text-align: center;
  padding: 35px 0;
}

.single-property-area .property-location .open-on-google-maps {
  right: 8px !important;
  top: 8px !important;
}

.single-agent #container {
  width: 96%;
  max-width: min(100%,var(--container-max-width,1140px));
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0;
}

.ere-agent-single .contact-agent .form-error {
  color: var(--e-global-color-primary) !important;
}

.project-wrapper-style article {
  border-radius: 8px;
}

.project-wrapper-style article .elementor-post__thumbnail__link {
  transition: all 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}

.project-wrapper-style article:hover .elementor-post__thumbnail__link {
  transform: scale(1.05);
}

.property-price-postfix, .property-price-prefix {
  font-size: 15px !important;
  color: #111 !important;
}

.review-carousel .swiper-wrapper > div {
  width: 100% !important;
}

.img-box-style.elementor-widget-image-box .elementor-image-box-img {
  text-align: right;
}

span.property-price.price-2 {
  display: block !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #7e7e7e !important;
}

.price-2 .property-price-postfix, .price-2 .property-price-prefix {
  color: inherit !important;
  font-size: inherit !important;
}

/* END Single Property */

/* .review-carousel .swiper-slide {
    width: 100% !important;
} */

@media screen and (min-width: 768px) {
  .home-project-col-image {
    position: static !important;
  }

  .single-property .property-details-row {
    grid-template-columns: 3fr 1fr;
  }

  .project-section .project-details-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .above-archive-property {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }

  .single-property .property-heading {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 10px;
  }

  .single-property .property-heading-info {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .single-property .property-heading-info h1 {
    font-size: 30px;
  }
}

@media screen and (min-width: 1025px) {
  .about-col-image {
    position: static !important;
  }

  .search-properties-form > .row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 10px;
    margin-left: 0;
    margin-right: 0;
  }

  .search-properties-form > .row > .form-group {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }

  .search-properties-form > .row > .form-group:nth-of-type(3) {
    grid-column: span 4;
  }

  .search-properties-form > .row > .form-group:nth-of-type(4) {
    grid-column: span 2;
  }

  .search-properties-form > .row > .form-group:nth-of-type(5) {
    grid-column: span 2;
  }

  .search-properties-form > .row > .form-group:nth-of-type(6) {
    grid-column: span 2;
  }

  .search-properties-form > .row > .form-group:nth-of-type(7) {
    grid-column: span 2;
  }

  .search-properties-form > .row > .form-group:nth-of-type(10) {
    grid-column: span 8;
  }
}

@media screen and (min-width: 1200px) {
    .ere-property-carousel .navigation-wrap .owl-nav div.owl-prev,
    .single-property-area .single-property-image-main .owl-nav .owl-prev {
        left: -25px !important;
    }
    
    .ere-property-carousel .navigation-wrap .owl-nav div.owl-next,
    .single-property-area .single-property-image-main .owl-nav .owl-next {
        right: -25px !important;
    }
}

@media screen and (max-width: 767px) {
  .img-box-style .elementor-image-box-wrapper,
  .img-box-style-border .elementor-image-box-wrapper {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
  }

  .img-box-style .elementor-image-box-img img,
  .img-box-style-border .elementor-image-box-img img {
    max-width: 80px;
  }

  .single-property .property-info-action .property-main-info .property-info-block-inline {
    justify-content: center;
  }

  .ere-property-wrap .ere-property-carousel .navigation-wrap {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
  }
}
