.button-primary {
    display            : inline-block;
    font-weight        : 400;
    line-height        : 1.5;
    color              : #FFF;
    background         : #002161;
    text-align         : center;
    text-decoration    : none;
    vertical-align     : middle;
    cursor             : pointer;
    -webkit-user-select: none;
    -moz-user-select   : none;
    user-select        : none;
    border             : 1px solid transparent;
    padding            : 0.313rem 0.938rem;
    font-size          : 1rem;
    border-radius      : 5px;
    transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.button-primary:hover {
    background: #65ACF0;
}

.button-outline-primary {
    display            : inline-block;
    font-weight        : 400;
    line-height        : 1.5;
    color              : #002161;
    border             : 1px solid #002161;
    background         : #FFF;
    text-align         : center;
    text-decoration    : none;
    vertical-align     : middle;
    cursor             : pointer;
    -webkit-user-select: none;
    -moz-user-select   : none;
    user-select        : none;
    background-color   : transparent;
    padding            : 0.7rem 2rem;
    font-size          : 1rem;
    font-weight        : bold;
    transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.button-outline-primary:hover {
    background: rgba(155, 222, 255, 0.2);
}

.button-secondary {
    display            : inline-block;
    font-weight        : 400;
    line-height        : 1.5;
    color              : #FFF;
    background         : #979797;
    text-align         : center;
    text-decoration    : none;
    vertical-align     : middle;
    cursor             : pointer;
    -webkit-user-select: none;
    -moz-user-select   : none;
    user-select        : none;
    border             : 1px solid transparent;
    padding            : 0.313rem 0.938rem;
    font-size          : 1rem;
    border-radius      : 5px;
    transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #F4F4F4;
    background-clip: padding-box;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 3px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.radio-control {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 3px solid rgba(0,0,0,.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.radio-control:checked[type=radio] {
    background-image: url('../../images/radio-input-checked.svg');
}

.radio-control:checked {
    background-color: #FFF;
    border-color: #2E3A59;
}

.radio-control[type=radio] {
    border-radius: 50%;
}

.form-check .radio-control {
    float: left;
    margin-left: -1.5em;
}

.placeholder-dc::placeholder {
    color: #DC3444;
}

.placeholder-46::placeholder {
    color: #464646;
}

.owl-theme .owl-dots .owl-dot span {
    width: 24px !important;
    height: 5px !important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #002161 !important;
}

.owl-theme .owl-dots, .owl-theme .owl-nav {
    text-align: left !important;
}

.owl-nav {
    visibility: hidden;
}

.owl-carousel:hover > .owl-nav {
    visibility: unset;
}


.btn-previous {
    border-radius: 8px;
    background: #FFF;
    border:none;
    position: absolute;
    left: 5%;
    top: 30%;
}

.btn-next {
    border-radius: 8px;
    background: #FFF;
    border:none;
    position: absolute;
    right: 5%;
    top: 30%;
}

.tab-custom {
    font-weight: 400 !important;
    color      : rgba(70, 70, 70, 1) !important;

}

.ActiveTab,
.tab-custom:hover {
    padding      : 10px 20px !important;
    border-radius: 20px 60px 1px 2px !important;
    background   : linear-gradient(319.62deg, rgba(158, 214, 249, 0.0001) 10.44%, #65ACF0 94%);
    color        : #002161 !important;
    font-weight  : 500;
}

.bg-town {
    background-image     : url('../../images/about-us/about-us-bg.jpg');
    width                : 100%;
    height               : 100%;
    background-position  : center;
    background-repeat    : no-repeat;
    background-position-y: inherit;
}

.bg-manager {
    background-image     : url('../../images/about-us/management-bg.jpg');
    width                : 100%;
    height               : 100%;
    background-position  : center;
    background-repeat    : no-repeat;
    background-position-y: inherit;
}

.text-mission {
    color: #65ACF0;
}

.img-icon {
    width : 75px;
    height: 75px;
}

.space-tab {
    z-index: 100;
}

.bg-real-estate {
    height          : 31.25rem;
    width           : 100%;
    background-image: url("../../images/home/accomasia-thailand-real-estate-consultant-search-your-property-in-bangkok.jpg");
    margin-top      : 5rem;
}

.title-real-estate {
    margin-top: 3rem;
}

.box-enter-code {
    position: absolute;
    bottom  : 10%;
    left    : 0;
    right   : 0;
    width   : 100%
}

.button-enter-code {
    border-radius: 0.375rem;
    display      : flex;
    max-width    : fit-content;
}

.button-enter-code-rent {
    display            : inline-block;
    font-weight        : 400;
    line-height        : 1.5;
    text-align         : center;
    text-decoration    : none;
    vertical-align     : middle;
    cursor             : pointer;
    -webkit-user-select: none;
    -moz-user-select   : none;
    user-select        : none;
    border             : 1px solid transparent;
    padding            : 0.5rem 1.25rem;
    font-size          : 1rem;
    border-radius      : 5px 0px 0px 5px;
    transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.button-enter-code-sale {
    display            : inline-block;
    font-weight        : 400;
    line-height        : 1.5;
    text-align         : center;
    text-decoration    : none;
    vertical-align     : middle;
    cursor             : pointer;
    -webkit-user-select: none;
    -moz-user-select   : none;
    user-select        : none;
    border             : 1px solid transparent;
    padding            : 0.5rem 1.25rem;
    font-size          : 1rem;
    border-radius      : 0px 5px 5px 0px;
    transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow         : 0px 2px 5px -1px rgba(155, 222, 255, 0.487953);
}

.search-enter-code {
    border-radius: 0.375rem;
    display      : flex;
}

.input-search-code {
    width: 35rem !important;
}

.list-people {
    list-style: none;
    padding   : 0;
    margin    : 0;
}

.item-people {
    line-height: 20px;
}

.people-more {
    content: "More";
}

.img-75-100 {
    width: 75%;
}

.img-50-100 {
    width: 50%;
}

.box-shadow {
    border-radius: 15px;
    background   : #FFFFFF;
    box-shadow   : 0px 16px 24px rgba(0, 0, 0, 0.2);
    padding      : 2rem;
    height       : 100%;
}

.bg-bts {
    height          : 45rem;
    width           : 100%;
    background-image: url("../../images/home/accomasia-property-near-bts-line.jpg");
    margin-top      : 5rem;
}

.box-bts {
    background: #FFF;
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.15);
    width     : 25.5rem;
    height    : 18.438rem;
    margin-top: 7rem;
}

.box-title-bts {
    display        : flex;
    justify-content: space-around;
    width          : 100%;
    border-bottom  : 1px solid #F4F4F4;
    padding-top    : 0.5rem;
}

.title-bts {
    margin-top: 5rem;
}

.name-bts {
    width       : 70%;
    display     : flex;
    padding-left: 2rem;
    align-items : end;
}

.arrow-bts {
    width          : 30%;
    display        : flex;
    justify-content: center;
}

.box-content-bts {
    padding      : 1.5rem 1.5rem 2rem 2rem;
    border-bottom: 1px solid #F4F4F4;
}

.box-dummy {
    display     : flex;
    margin-right: -15rem;
    margin-top  : 7rem;
}

.dummy-bts {
    width     : 25.5rem;
    height    : 18.438rem;
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.15);
}

.opacity-bts {
    background    : #FFFFFF;
    mix-blend-mode: normal;
    opacity       : 0.4;
    width         : 25.5rem;
    height        : 18.438rem;
    position      : absolute;
    top           : 0;
    left          : 0;
}

.dummy-title-bts {
    position : absolute;
    top      : 50%;
    left     : 50%;
    transform: translate(-50%, -50%);
}

.box-count {
    margin-top: 5rem
}

.line-blue {
    position: absolute;
    top     : 0;
    left    : 0;
    border  : 3px solid #002161;
    background: #002161;
    width   : 30%;
    z-index : 1;
}

.line-gray {
    position: absolute;
    top     : 0.125rem;
    left    : 0;
    border  : 1px solid #F4F4F4;
    width   : 100%
}

.oval-arrow {
    width   : 30%;
    position: absolute;
    bottom     : 60%;
    left    : 35%;
}

.list-box-bts {
    position       : relative;
    width          : 100%;
    overflow-x     : hidden;
    display        : flex;
    justify-content: space-around;
}

.line-cbd-bangkok {
    background: #002161;
    width     : 0.125rem;
    height    : 1.875rem;
}

.limit-text-2line {
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp        : 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    text-overflow     : ellipsis;
    display           : -webkit-box;
}

.limit-text-3line {
    -webkit-line-clamp: 3;
    /* number of lines to show */
    line-clamp        : 3;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    text-overflow     : ellipsis;
    display           : -webkit-box;
}

.limit-text-6line-auto {
    overflow: auto;
    display: -webkit-box;
    height: 140px;
   }

.owl-carousel-bkk-img {
    width: 240px !important;
    height: 357px;
    object-fit: cover;
}

.owl-carousel-line-bangkok .owl-stage {
    height: 400px;
}

.owl-carousel-line-bangkok .owl-stage {
    display    : flex;
    align-items: center;
}

.owl-carousel-line-bangkok .item {
    display       : flex;
    flex-direction: column;
}

.owl-carousel-line-bangkok .owl-item {
    transition: all 0.3s;
    transform : scale(0.9, 1);
}

.owl-carousel-line-bangkok .owl-item.center {
    transform: scale(1.2, 1.3);
}

.title-line-bkk {
    position:absolute; 
    bottom:0;
    left:0;
    height: 82px;
    width:100%;
    background: #000;
    display: none;
}

.opacity-line-bkk {
    position:absolute; 
    bottom:0;
    left:0;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.399535);
    display: none;
    align-items: center;
    text-align: center;
}

.opacity-line-bkk2 {
    position:absolute; 
    bottom:0;
    left:0;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.399535);
    display: flex;
    align-items: center;
    text-align: center;
}

.owl-carousel-line-bangkok .owl-item:not(.center) .item .opacity-line-bkk {
    display: flex;
}

.center .title-line-bkk {
    display: block;
}

.space-title-line-bkk {
    margin-top: 1.1rem
}

.line-hr-bkk {
    height: 1px;
    width: 47px;
    border: 2px solid #002161;
    background: #002161;
}
.space-content1{
    margin-top: 8.4rem;
}
.title-cbd-bangkok {
    font-size: 46px;
}

.line-cbd-bangkok {
    height: 1px;
    width: 47px;
    border: 2px solid #002161;

}

.label-cbd-bangkok {
    width:95%;
    height:48px;
    position:absolute;
    right:0;
    bottom:0;
    background: #000;
}

.gallery-item {
    position:relative;
    max-width: 320px;
    max-height: 240px;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-img {
    height: 240px;
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #F4F4F4;
}

.gallery-label {
    position:absolute; 
    top:0;
    left:0;
    width: 100%;
    background: transparent;
}

.gallery-title {
    height: 70%;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0001) 0%, #000000 100%);
    position:absolute; 
    bottom:0;
    left:0;
    transition: 0.3s;
    display: none;
}

.gallery-item:hover > .gallery-title {
    display: block;
}

.gallery-title-space {
    margin-top: 3rem;
}

.gallery-price {
    position:absolute;
    bottom:0;
    left:0;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: space-between;
}

.gallery-fav {
    color: #FFF;
}

.gallery-fav:hover {
    color: rgba(220, 52, 68, 0.447524);
}

.gallery-fav:active {
    color: rgba(220, 52, 68, 0.447524);
}

.gallery-fav.active-fav {
    color: #DC3444;
}

.gallery-bg-sold-out {
    background: #D8D8D8;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-item2 {
    position:relative;
    max-width: 320px;
    max-height: 240px;
    transition: 0.3s;
}

.gallery-img2 {
    height: 240px;
    width: 100% !important;
    display: block;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #F4F4F4;
    object-fit: cover;
}

.gallery-price2 {
    position:absolute;
    bottom:0;
    left:0;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: space-between;
}

.gallery-content {
    background: #FFF;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #F4F4F4;
    display: block;
    max-width: 320px;
    height: 280px;
    position: relative;
}

.gallery-limit-title {
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp        : 4;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    text-overflow     : ellipsis;
    display           : -webkit-box;
}

.area-limit-title {
    -webkit-line-clamp: 1;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.gallery-request {
    display: none;
}

.card-galley-content {
    max-width: 320px;
    cursor: pointer;
}

.card-galley-content:hover .gallery-request {
    display: block;
}

.card-galley-content:active .gallery-request {
    display: block;
}

/* .owl-carousel .owl-item img {
    display: unset !important;
    width: unset !important;
} */

.gallery-icon-card {
    display: unset !important;
    width: unset !important;
}

.prime-tab {
    list-style: none;
    padding: 0px;
    margin: 0;
}

.prime-item {
    float: left;
    margin: 1.5rem 1.5rem 0rem auto;
}

.prime-item-tab {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    padding-bottom: 1rem;
}

.prime-item-tab:hover {
    border-bottom: 5px solid #002161;
    color: #267DBD;
}

.prime-item-tab.active-prime-tab {
    border-bottom: 5px solid #002161;
    color: #267DBD;
}

.prime-content {
    display: none;
}

.prime-content.prime-content-active {
    display: block;
}

.navbarCookieis {
    height: 125px;
    z-index: 99;
    font-size: 16px;
}

.arrow-back-to-top {
    margin:0px auto;
    width:47px;
    height: 47px;
    background: #65ACF0;
    border-radius: 3px;
    filter: drop-shadow(0px 16px 24px rgba(32, 0, 0, 0.5));
}

.box-back-to-top {
    background: transparent;
    position:fixed;
    right: 5%;
    bottom: 5%;
    z-index: 98;
}

.tab-request-tour {
    list-style: none;
    padding: 0px;
    margin: 0;
}

.tab-request-item {
    float: left;
    margin: 1rem 3rem 0rem auto;
}

.item-request {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    padding-bottom: 1rem;
}

.item-request:hover {
    border-bottom: 5px solid #002161;
    color: #267DBD;
}
.item-request.active-item-request {
    border-bottom: 5px solid #002161;
    color: #267DBD;
} 

.line-tab-request {
    position: absolute;
    top: 3.1rem;
    left: 0;
    width: 100%;
}

.request-content {
    display: none;
}

.request-content.active-request-content {
    display: block;
}

.tour-date {
    width: 65px;
    background: #FFF;
    border: 1px solid #D8D8D8;
    border-radius: 2px;
    display:block;
    cursor: pointer;
}

.tour-date:hover {
    border: 2px solid #002161;
    color: #267DBD;
}

.tour-date.active-tour-date {
    border: 2px solid #002161;
    color: #267DBD;
}

#code-list-search {
    position: absolute;
    z-index: 97;
    top: 10%;
    left: 0;
    overflow: auto;
}

.list-search {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-item-title {
    padding: 0.5rem;
}

.search-item-title span{
    border-bottom: 2px solid #002161;
    font-size: 16px;
}

.search-item {
    padding: 0.3rem 1rem;
}

.search-item:hover {
    background: #D1E6FB;
    color: #002161;
    cursor: pointer;
}


.search-item:hover > .search-desc  {
    color: #65ACF0;
}

.search-item:hover > .search-desc .search-sub-desc {
    color: #FFF;
}

.search-icon {
    padding: 0rem 0.5rem 0rem 0rem;
}

.search-desc {
    font-size: 14px;
    color: #000;
}

.search-sub-desc {
    font-size: 12px;
    color: #979797;
}

.img-cbd-bkk {
    height: 43.125rem;
    object-fit: cover;
}

.img-cbd-bkk2 {
    height: 18.75rem;
    object-fit: cover;
}

.icon-clear-input {
    position: absolute;
    top: 25%;
    right: 12%;
    font-size: 1.2rem;
    color: #D8D8D8;
    background: #FFF;
    cursor: pointer;
    z-index: 10;
    display: none;
}

#title-cbd-mb {
    font-size: 20px;
    font-weight: 900;
    height: 120px;
    display: block;
}

.ui-autocomplete {  
    top: 100%;
    z-index: 1000;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    border: none;
    border-top: none;
    background: #fff;
    box-shadow: 0px 8px 16px 0px rgba(208, 208, 208, 0.16);
    overflow-y: auto;
    margin-top: 15px;
    padding-top: 15px;
    padding: 8px;
	height:350px;
	overflow: auto;
    overflow-x: hidden;
    font-family: "Avenir", "Sarabun", sans-serif !important;

   
}
.ui-helper-hidden-accessible { display:none; }
.ui-menu-item  {
	color: #979797;
    padding: 8px;
    border-radius: 0;  
    cursor: pointer;
	font-size: 12px;
    line-height: 25px;
    display: inline-block;
    margin-bottom: 5px;
	min-width:100%;
    border-bottom: 1px solid transparent;
    font-family: "Avenir", "Sarabun", sans-serif !important;
}

.ui-menu-item:hover {
    background: #D1E6FB;
    color: #002161;
    cursor: pointer;
}

.list-search li:first-child { 
    background: #002161;
    color: #FFF;
    cursor: pointer;
 }

.ui-autocomplete li:first-child { 
    background: #002161;
    color: #FFF;
    cursor: pointer;
 }

 .no-res {
    background: #eee !important;
    color: #002161 !important;
    cursor: default !important;
 }

 .ui-autocomplete li:first-child > .search-desc-hover { 
    background: #002161;
    color: #65ACF0;
    cursor: pointer;
 }

.search-desc-hover {
    font-size: 14px;
    color: #000;
}

.ui-menu-item:hover > .search-desc-hover{
    color: #65ACF0;
}


