body {
    font-family: 'Kanit', sans-serif;
    color: rgb(94, 94, 94);
    font-weight: 400;
}
.wrap_page {
    max-width: 1500px;
}
.wrapper {
    min-height: calc(100vh - 80px);
}
.font-200 {
    font-weight: 300;
}
.text-gray{
    color: gray;
}
a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}
.navbar.bg-light {
    background-color: #ffffff!important;
    max-width: 1460px;
    right: 0;
    left: 0;
    margin: auto;
}
.navbar-brand img {
    width: 85px;
}
.lang_flag {
    width: 30px;
    border-radius: 2px;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: unset !important;
    color: unset !important;
}
.custom_card {
    width: 100%;
    padding: 10px;
    box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
    -webkit-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
    -moz-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
    border-radius: 7px;
    margin-top: 10px;
    word-break: break-word;
  }
.wrap_main {
    padding-left: 20px;
    padding-right: 20px;
}
.wrap_banner {
    padding: 0px 20px;
    position: relative;
    height: 500px;
    
}
.wrap_banner > img,.banner_overlay {
    width: calc(100% - 40px);
    border-radius: 13px;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
    position: absolute;
    left: 20px;
}
.banner_overlay {
    padding: 30px;
    font-size: 30px;
    color: #FFF;
}
.wrap_search {
    width: 80%;
    height: 150px;
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    position: absolute;
    left: 0;
    top: calc(400px - (150px / 2));
    right: 0;
    margin: auto;
    box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -webkit-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -moz-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    padding: 20px;
}

.wrap_search input{
    background-color: #f4f4f4;
    border: none;
}
.wrap_search button{
    background-color: #f4f4f4;
    border: none;
}
.wrap_search table td {
    width: 33%;
    text-align: center;
}
.wrap_search table td:nth-child(1),.wrap_search table td:nth-child(2){
    border-right: solid 1px #dbdbdb;
}

.wrap_search table td span{
    color: rgb(107, 107, 107);
    font-size: 20px;
    font-weight: 400;
}
.wrap_search table img {
    width: 60px;
}
.owl-nav {
    position: absolute;
    top: calc(50% - 25px);
    display: block !important;
    width: 100%;
}
.owl-prev{
    left: -20px;
    position: absolute;
}
.owl-next{
    right: -20px;
    position: absolute;
}
.owl-dots {
    margin-top: 10px;
}
.nav-btn {
    width: 25px;
    height: 25px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -webkit-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -moz-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
}

.wrap_cookie {
    position: fixed;
    bottom: 20px;
    max-width: 900px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #FFF;
    padding: 15px;
    box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -webkit-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    -moz-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.41);
    z-index: 200;
    border-radius: 10px;
    display: none;
  }
  .cookie_detail {
    font-size: 15px;
    padding-top: 10px;
  }
  .badge-green {
    background-color: green;
    color: white;
  }
  
  /* สีปุ่ม Sale with tenant เหลือง */
.badge-yellow {
    background-color: yellow;
    color: black;
  }
  
  /* สีปุ่ม Sale down น้ำตาล */
.badge-brown {
    background-color: brown;
    color: white;
  }

  
  /* สีปุ่ม Sale/Rent ชมพู */
.badge-pink {
    background-color: rgb(222, 111, 111);
    color: white;
  }

@media (max-width: 768px){
    .wrap_banner {
        height: 400px;
        
    }
    .wrap_banner img,.banner_overlay {
        height: 300px;
        left: 5px;
        width: calc(100% - 10px);
    }

    .wrap_search {
        width: 90%;
        top: calc(300px - (150px / 2));
        box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
        -webkit-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
        -moz-box-shadow: 1px 0px 19px -1px rgba(0,0,0,0.21);
        

    }
    .wrap_search table img {
        width: 43px;
        height: auto;
    }
    .wrap_search table td span{
        font-size: 15px;
       
    }

    .wrap_cookie {
        max-width: 90%;
      }
}