body {
  font-family: Quark-Bold;
}
.page-header{
  padding-top: 15px;
  border-bottom: 1px solid #dfe6e9;
}
.img-logo img {
  width: 164px;
  height: 63;
}
.page-top {
  margin: 0;
  padding: 0;
  background: white;
  font-family: Quark-Bold;
}
.page-top .jumbotron {
  padding: 2rem 1rem;
  background-color: white;
  border-radius: 0.3rem;
  margin: 0;
}
.page-top .jumbotron .logo {
  position: relative;
}
.page-top .header-code-branch {
  font-weight: 600;
  margin-top: 1rem;
}
.page-top .jumbotron .header-name-branch {
  float: right;
  font-size: 1.25rem;
  margin-top: 0px;
}
.page-top .jumbotron .header-name-branch .name {
  font-size: 1.5rem;
  color: #27ae60;
}
.page-top .jumbotron .header-name-branch .phone {
  color: #7f8c8d;
}
.page-top .jumbotron .header-name-branch p {
  margin: 0;
}
@media (max-width: 575.98px) {
  .page-top .jumbotron .header-name-branch {
    float: right;
    font-size: 1rem;
    margin-top: 0px;
  }
}
#mainNav {
  font-family: Quark-Bold;
  font-size: 1.25rem;
  font-weight: 700;
  background: #52a45d;
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .navbar-nav {
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: white;
  width: 100%;
  margin-right: 3rem;
  padding: 2px;
  text-align: center;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #44bd32;
  background: white;
  border-radius: 15px;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active,
#mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #44bd32;
  background: white;
  border-radius: 15px;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #44bd32;
  background: white;
  border-radius: 15px;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

/* @media (min-width: 992px) {
  
} */
@media (max-width: 575.98px) {
  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: white;
    display: inline;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: white;
    display: inline;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: white;
    display: inline;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: white;
    width: 100%;
    margin-right: 3rem;
    padding: 2px;
    text-align: center;
  }
}

.page-section {
  padding: 2rem 0;
}

.page-section .page-section-heading {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 992px) {
  .page-section .page-section-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.divider-custom {
  margin: 1.25rem 0 1.5rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.divider-custom .divider-custom-line {
  width: 100%;
  max-width: 7rem;
  height: 0.25rem;
  background-color: #2c3e50;
  border-radius: 1rem;
  border-color: #2c3e50 !important;
}

.divider-custom .divider-custom-line:first-child {
  margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
  margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
  color: #2c3e50 !important;
  font-size: 2rem;
}

.divider-custom.divider-light .divider-custom-line {
  background-color: #fff;
}

.divider-custom.divider-light .divider-custom-icon {
  color: #fff !important;
}
.floating-label-form-group {
  position: relative;
  border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-left: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  width: 100%;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none;
}

.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}

.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #e9ecef;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #1abc9c;
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #e9ecef;
}

.btn-custom {
  color: #fff;
  background-color: #1abc9c;
  border-color: #1abc9c;
}

.btn-custom:hover {
  color: #fff;
  background-color: #159a80;
  border-color: #148f77;
}

.btn-custom:focus,
.btn-custom.focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(60, 198, 171, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(60, 198, 171, 0.5);
}

.btn-custom.disabled,
.btn-custom:disabled {
  color: #fff;
  background-color: #1abc9c;
  border-color: #1abc9c;
}

.btn-custom:not(:disabled):not(.disabled):active,
.btn-custom:not(:disabled):not(.disabled).active,
.show > .btn-custom.dropdown-toggle {
  color: #fff;
  background-color: #148f77;
  border-color: #12846e;
}

.btn-custom:not(:disabled):not(.disabled):active:focus,
.btn-custom:not(:disabled):not(.disabled).active:focus,
.show > .btn-custom.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(60, 198, 171, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(60, 198, 171, 0.5);
}


.bg-header {
  position: relative;
  width:100%;
  height: 600px;
  background-position: center center;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.search-properties{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  transform: translate(-50%, -50%);
}
.search-properties a,
.search-properties a:active,
.search-properties a:focus,
.search-properties a:hover{
  margin-top: 5px;
  float: right;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  border: 1px solid white;
  height: 40px;
  padding: 8px;
  text-decoration: none;
  width: 10%;
  text-align: center;
  
}
.search-properties a >i{
  color: white;
}
.bg-text{
  font-size: 33px;
  color: #fff;
  font-weight: 400;
  padding-bottom: 0px;
}
.search-box {
  position: absolute;
  background: white;
  height: 40px;
  padding: 0px;
  width: 85%;
  margin-top: 5px;
  border: none;
}
.search-box > .search-txt {
  padding: 0 6px;
}
.search-btn {
  color: #d63031;
  float: right;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-txt {
  border: none;
  background: none;
  outline: none;
  float: left;
  padding: 5px;
  color: black;
  font-size: 1.25rem;
  transition: 0.4s;
  line-height: 40px;
  width: 90%;
}

.search-modal .modal{
  background: #dfe6e9;
}
.search-modal .modal-title{
  font-family: Quark-Light;
}
.search-modal .modal-title i{
  font-size: 1.25rem;
  color: #7cc598;
}
.search-modal .close{
  color: #d63031;
  opacity: 0.5;
}
.search-modal .close:hover{
  color: #d63031;
  opacity: 0.8;
}

.input-box {
  font-family: Quark-Light;
  width: 100%;
  padding: 5px;
  margin: 5px auto;
  background: white;
}
.input-img img {
  margin-top: 20%;
  width: 35px;
  height: 35px;
}
.input-fill input,
.input-fill select {
  width: 100%;
  color: black;
  font-weight: 600;
  border: none;
  padding: 5px;
  font-size: 1rem;
  border-bottom: 1px solid #dfe6e9;
}
.input-fill span {
  font-size: 1rem;
  font-weight: 600;
}

.input-box button {
  margin-top: 5px;
  font-size: 20px;
  width: 100%;
  background-color: #7cc598;
}
@media (max-width: 575.98px) {
  .bg-header {
    height: 300px;
  }
  .search-properties {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
  }
  .search-properties h4{
    font-size: 1.5rem;
  }
  .search-txt{
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 5px;
    color: black;
    font-size: 1rem;
    transition: 0.4s;
    line-height: 40px;
    width: 80%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .bg-header {
    height: 400px;
  }
  .search-properties {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    transform: translate(-50%, -50%);
  }
  .search-txt{
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 5px;
    color: black;
    font-size: 1rem;
    transition: 0.4s;
    line-height: 40px;
    width: 85%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bg-header {
    height: 400px;
  }
  .search-properties {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .bg-header {
    height: 500px;
  }
  .search-properties {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    transform: translate(-50%, -50%);
  }
}

.line-header {
  font-family: Quark-Bold;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.line-header .line-header-custom {
  width: 100%;
  max-width: 75%;
  height: 0.1rem;
  background-color: green;
  border-radius: 1rem;
  border-color: #2c3e50 !important;
}
.line-header a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}
.line-header i {
  color: green;
}
@media (max-width: 575.98px) {
  .line-header .line-header-custom {
    width: 100%;
    max-width: 30%;
    height: 0.1rem;
    background-color: green;
    border-radius: 1rem;
    border-color: #2c3e50 !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .line-header .line-header-custom {
    width: 100%;
    max-width: 50%;
    height: 0.1rem;
    background-color: green;
    border-radius: 1rem;
    border-color: #2c3e50 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .line-header .line-header-custom {
    width: 100%;
    max-width: 60%;
    height: 0.1rem;
    background-color: green;
    border-radius: 1rem;
    border-color: #2c3e50 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .line-header .line-header-custom {
    width: 100%;
    max-width: 70%;
    height: 0.1rem;
    background-color: green;
    border-radius: 1rem;
    border-color: #2c3e50 !important;
  }
}

@media (min-width: 1200px) {
}

.card-properties {
  margin: 10px auto;
  padding: 0;
  width: 100%;
  border: 1px solid #dcdde1;
  background: white;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}
.card-properties:hover {
  box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.5);
}
.card-properties a,
.card-properties a:hover {
  color: black;
  text-decoration: none;
}
.card-properties a:hover > .card-properties-text-block {
  opacity: 0;
}
.card-properties .card-img-top {
  display: block;
  width: 100%;
  height: 225px;
}
.tab-sale {
  position: absolute;
  font-family: Quark-Bold;
  width: auto;
  top: 5%;
  padding: 0rem 1rem;
  color: white;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(0, 0, 0);
  background: rgba(255, 107, 107, 1);
}
.tab-rent {
  position: absolute;
  font-family: Quark-Bold;
  width: auto;
  top: 5%;
  padding: 0rem 1rem;
  color: white;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(0, 0, 0);
  background: rgba(29, 209, 161, 1);
}
.tab-salerent {
  position: absolute;
  font-family: Quark-Bold;
  width: auto;
  top: 5%;
  padding: 0rem 1rem;
  color: white;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(0, 0, 0);
  background: rgba(72, 219, 251, 1);
}
.card-properties .card-properties-body {
  width: 100%;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
}
.card-properties .card-properties-title {
  color: #44bd32;
  font-size: 1.25rem;
  text-decoration: none;
  text-overflow: ellipsis; /* เพิ่ม ... จุดจุดจุดท้ายสุด */
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.card-properties-body .card-properties-text p {
  margin: 0px;
  border-bottom: 1px solid #dfe6e9;
  font-size: 1rem;
}
.card-properties i {
  color: #44bd32;
}
.card-properties .card-properties-body .price_sale {
  color: red;
  font-size: 1rem;
}
.card-properties .card-properties-body .price_rent {
  color: red;
  font-size: 1rem;
}

.card-properties .card-properties-footer {
  width: 100%;
  height: auto;
  padding-left: 0.5rem;
  background: #dcdde1;
}

.card-properties-footer i {
  margin-right: 0.5rem;
}

.card-properties .card-properties-footer .icon-properties {
  display: inline-block;
}

@media (max-width: 575.98px) {
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .card-properties .card-img-top {
    display: block;
    width: 100%;
    height: 150px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
}

.news-main {
  margin: 0%;
  padding: 0%;
  width: 100%;
  color: black;
  opacity: 0.8;
}
.news-main:hover {
  opacity: 1;
}
.news-main img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.news-main-title {
  padding-top: 10px;
  padding-left: 10px;
  color: black;
  font-size: 1.15rem;
  font-family: Quark-Bold;
  text-decoration: none;
  /* text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  white-space: nowrap; */
}
.news-main a:hover {
  color: black;
  text-decoration: none;
}

.news-second {
  margin: 0%;
  padding: 0%;
  width: 100%;
  opacity: 0.8;
}
.news-second:hover {
  opacity: 1;
}
.news-second-title {
  color: black;
  text-align: left;
  font-family: Quark-Bold;
  font-size: 1.1rem;
  /* text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  white-space: nowrap; */
}
.news-second a:hover {
  color: black;
  text-decoration: none;
}
.line-news {
  margin: 1.5rem auto;
  font-family: Quark-Bold;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.line-news .line-news-custom {
  width: 100%;
  height: 0.1rem;
  background-color: gray;
  border-radius: 1rem;
  border-color: #2c3e50 !important;
}

.form-sale span {
  color: red;
}
.form-sale label{
  font-size: 1.2rem;
}
.form-sale [type="text"],
.form-sale [type="email"],
.form-sale [type="number"],
.form-sale select,
.form-sale textarea {
  width: 100%;
  padding: 8px;
  margin-top: 0.5rem;
  border: none;
  border-bottom: 1px solid #b2bec3;
  background: none;
}

.form-sale button {
  float: right;
  margin-top: 1rem;
}

footer.sticky-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100%);
  height: 50px;
  background-color: #e9ecef;
}

footer.sticky-footer .copyright {
  line-height: 1;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  footer.sticky-footer {
    width: calc(100%);
  }
}

body.sidebar-toggled footer.sticky-footer {
  width: 100%;
}

@media (min-width: 768px) {
  body.sidebar-toggled footer.sticky-footer {
    width: calc(100%);
  }
}

.footer {
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
  color: white;
  background: #2ecc71;
}
.footer .contactus,
.footer .sale {
  padding: 1rem;
}
.footer .contactus p,
.footer .sale p {
  font-size: 1.1rem;
  margin: 5px;
}
.footer .contactus .header,
.footer .sale .header {
  font-size: 2rem;
}

.footer .sale .link a {
  color: white;
  text-decoration: none;
}
.footer .sale .link a:hover {
  color: #7f8c8d;
}
.copyright{
  font-family: Quark-Light;
  font-size: 1.2rem;
}
@media (max-width: 575.98px) {
}

@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer .contactus .header,
  .footer .sale .header {
    font-size: 1.6rem;
  }
  .footer .contactus p,
  .footer .sale p {
    font-size: 1rem;
    margin: 5px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
}

.dropdown-menu .active{
  color: #fff;
  background-color: #1d7e39;
}

.dropdown-item:focus{
  color: #fff;
  background-color: #1d7e39;
}

.page-item .page-link{
  color:green;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #1d7e39;
  border-color: #1d7e39;
}

.loader {
  text-align: center;
  padding: 0!important;
  top: 30%;
}
.loader .modal-body{
  width: 100%;
  font-size: 50px;
  font-weight: 600;
  padding-top: 125px;
  padding-bottom: 125px;

}