.home-slide .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border: 2px solid #DA3832;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
    width: auto;
    height: auto;
    padding: 2px;
}
.home-slide .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    content: "";
    border: 2px solid transparent;
    background-color: #DA3832;
    width: 6px;
    height: 6px;
    border-radius: 100%;
}
.home-slide .swiper-pagination-bullet{
    background-color: #EAEAEA !important;
    opacity: 1;
}

/**/
.control-meta {
    margin-bottom: 15px !important;
}
/**/
.swiper-container{
    overflow: hidden;
}
div.swiper-button-next, 
div.swiper-button-prev {
    background: #fff;
    border: 1px solid #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    position: absolute;
    top: 50%;
    z-index: 2;
    overflow: hidden;
    text-align: center;
    left: 0;
    cursor: pointer;
    font-size: 15px;
    border-radius: 100%;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ddd;
}
div.swiper-button-next {
    right:0;
    left:auto;
/*    padding-left:5px;*/
}
div.swiper-button-prev {
}
div.swiper-button-prev::after,
div.swiper-button-next::after{
    font-family: "Font Awesome 5 Free";
    content:"";
    display: block;
    font-size: 14px;
}
div.swiper-button-next::after {
    content: "\f054";
    right: -10px;
}
div.swiper-button-prev::after {
    content: "\f053";
    left: -10px;
}
div.swiper-button-prev:hover,
div.swiper-button-next:hover{
    color: #999;
}
@media only screen and (min-width: 1370px) {
    .main-sw div.swiper-button-next {
        right: -21px;
    }
    .main-sw div.swiper-button-prev{
        left: -21px;
    }
}

/**/

@media only screen and (max-width: 768px) {
    .main-danhmuc {
        padding: 1px 0;
    }
    .main-danhmuc .item-dm a {
        padding: 7px 11px;
        font-size: 14px;
    }
    .home-title {
        font-size: 22px;
    }
    .dm-tab li a {
        padding: 10px;
        min-width: 200px;
        font-size: 14px;
        margin: 0 10px;
    }
    .item-khoahoc {
        margin-bottom: 10px;
    }
    /**/
    .main-danhmuc .swiper-slide {
        width: auto !important;
        margin-right: 8px !important;
    }
}
/**/
.main-hbox1 {
    left: 50%;
    transform: translateX(-50%);
    bottom: 42%;
    color: #fff;
}
.main-hbox1 .title{
    color: #FFF;
    font-size: 52px;
    font-weight: 800;
}

/**/
.home-box2{
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.filter-box {
    background: #FFF;
    padding: 5px 0;
    position: relative;
}
.form-setting label {
  font-weight: bold;
  margin-bottom: 9px;
  display: block;
}

.filter-box-form .label {
  min-width: 65px;
}
.filter-box-form {
  display: flex;
  align-items: center;
  overflow: auto;
}
.filter-box-form .form-setting {
    margin: 0 5px;
    flex: 1;
    min-width: 130px;
}
.filter-box-form .form-select {
  font-size: 14px;
}

.form-setting {
  margin-bottom: 24px;
}
.form-setting select.form-select {
    border-radius: 6px;
    border: 1px solid #BEBEBEA3;
    cursor: pointer;
    padding: 5px 10px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolygon fill='%23343a40' points='8,11 3,5 13,5'/%3E%3C/svg%3E");
}
.form-setting select.form-select option{
    font-family: Roboto;
}
.btn.btn-danger {
  height: 45px;
  background: #E03C31;
  border-radius: 12px;
}

.filter-box .btn{
    min-width: 278px;
}
.item-dm a{
    border: 1px solid #009BA1;
    font-size: 14px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 30px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}
.item-dm.active a,
.item-dm:hover a{
    background-color: #009BA1;
    color: #fff !important;
}
/**/
.btn-control-right {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 9;
}
.btn-control-right span.gal-link {
    border-radius: 50%;
    z-index: 3;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 100;
    opacity: .5;
    transition: all .2s linear;
    box-shadow: 0 0 0 2px hsla(0,0%,100%,.4);
    background-color: #009BA1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.btn-control-right span.gal-link  i {
    font-size: 16px;
    position: relative;
    top: 1px;
    left: 0;
}
.btn-control-right span.gal-link:focus,
.btn-control-right span.gal-link:hover {
    opacity: 1;
}

/**/
.home-list-bds .title{
    color: #333;
    font-size: 24px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 5px !important;
}
.item-bds-info .diachi a{
    margin-bottom: 10px;
    color: #009BA1;
    display: block;
    font-size: 16px;
}
.btn-map {
    border-radius: 5px;
    background: #009BA1;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0 20px;
}

.form-setting.orderby {
  margin: 0;
  height: 44px;
  margin-left: 10px;
}
.form-setting.orderby select {
  height: 44px;
}
.list-diachi {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: auto;
  margin-right: 20px;
}
.item-diachi a {
  color: #009BA1;
  font-weight: 500;
}
.item-diachi {
  margin-right: 16px;
  white-space: nowrap;
}
.item-diachi .count {
  border-radius: 2px;
  background: #FFF;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.16);
  color: #333;
  padding: 2px 5px;
  margin-left: 7px;
  font-weight: 400;
}
/**/
.list-bds .col-lg-4{
    padding-bottom: 30px;
}
.item-bds {
    border-radius: 0 0 8px 8px;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.16);
    /*margin-bottom: 36px;*/
    height: 100%;
}
.item-bds-gall-meta {
    z-index: 2;
    padding: 16px 20px;
/*    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 13.03%, rgba(0, 0, 0, 0.35) 90.92%, rgba(0, 0, 0, 0.50) 99.86%);*/
    color: #fff;
    font-size: 14px;
}
.tag-noibat {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 0;
    background: #009BA1;
    z-index: 2;
    padding: 2px 9px;
    color: #fff;
}
.item-bds-gall .swiper-slide {
  aspect-ratio: 372/253;
  overflow: hidden;
  /*border-radius: 8px 8px 0 0;*/
}

.item-bds-gall .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-bds-info {
  padding: 16px 20px;
  overflow: hidden;
}
.item-bds-info .title a {
  color: #222;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 64px;
}
.item-bds-info ul.meta-bds {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
.item-bds-info ul li {
    width: 50%;
    margin-bottom: 10px;
    list-style:none;
    white-space: nowrap;
}
.item-bds-info ul li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: #181818;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 3px;
}
.item-bds-info ul li img {
  margin-right: 5px;
  display: none;
}
.price {
  color: #009BA1;
  font-weight: 600;
  font-size: 20px;
}
.btn-group a {
    border: 1px solid #009BA1;
    opacity: .7;
    aspect-ratio: 1;
    width: 28px;
    border-radius: 5px;
    padding: 4px;
    height: 28px;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-group a:hover {
    opacity: 1;
    background-color: #009BA1;
}
.btn-group a.btn-chiase:hover img{
    filter: brightness(0) invert(1);
}
.item-bds-contact {
  padding: 16px 20px;
}
.item-bds-author img.author-avata {
  aspect-ratio: 1/1;
  width: 48px;
  object-fit: cover;
  border-radius: 100%;
}
.phone-author{
  color: #009BA1;
  font-weight: 500;
}

.item-bds .phone-author{
  font-size: 16px;
}
.phone-author:first-child {
    margin-right: 14px;
}
.item-bds .swiper-container::after {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 13.03%, rgba(0, 0, 0, 0.35) 90.92%, rgba(0, 0, 0, 0.50) 99.86%);
    width: 100%;
    height: 40px;
    left: 0;
    bottom: 0;
    display: block;
    position: absolute;
    z-index: 2;
}
.item-bds .swiper-pagination {
    left: 20px !important;
    right: auto;
    width: auto !important;
    color: #fff;
    z-index: 3;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.40);
    padding: 0 5px;
    font-size: 14px;
    bottom: 16px;
    display: flex;
    align-items: center;
}
.item-bds .swiper-pagination::before{
    content: "";
    width: 16px;
    height: 14px;
    background-image: url(images/camera-solid.png);
    background-size: contain;
    display: inline-block;
    margin-right: 2px;
}
/**/
.eyes {
  position: absolute;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  background: rgba(0,0,0,.3);
  padding: 0 5px;
  font-size: 14px;
  border-radius: 2px;
  color: #fff;
}
.eyes i {
  margin-right: 2px;
}

.price-share {
    max-height: 30px;
    overflow: hidden;
}
.price-share .price-loop{
    margin-right: 10px;
}
.price-loop del {
    color: #009BA1;
    font-size: 17px;
    margin-left: 4px;
    display: inline-block;
}
/**/
.kygui-bds{
    background: #009BA1;
}
.form-kygui{
    background-color: #fff;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
}
.loai-bds{
    margin-bottom: 16px;
}
.loai-bds a{
    width: 33.3333%;
    padding: 10px;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    color: #333;
}
.loai-bds a.active{
    color: #E03C31;
    border-color: #E03C31;
}
.form-kygui .form-setting select.form-control,
.form-kygui .form-setting select.form-select{
    margin-bottom: 16px;
}
.form-kygui .btn {
    margin-bottom: 16px;
    height: 58px;
    border-radius: 6px;
}
/**/
.main-menu {
    display: flex;
    align-items: center;
}
.btn-heart-head {
    position: relative;
    cursor: pointer;
    font-size: 25px;
    width: 70px;
    color: #009BA1;
    transition: all .2s linear;
    text-align: center;
}
.btn-heart-head .num {
  position: absolute;
  top: -2px;
  right: 11px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 0 0 3px #fff;
  border-radius: 50%;
  background-color: #009BA1;
}
/**/
.btn.btn-success {
    background-color: #009BA1;
    border-color: #009BA1;
}

.main-danhmuc .swiper-slide {
    width: auto !important;
}
/**/
@media only screen and (max-width: 1799px) {
    .btn-heart-head {
        font-size: 25px;
        width: 40px;
    }
    .btn-heart-head .num {
        right: 0;
    }
}
@media only screen and (max-width: 1400px) {
    .full-content .container {
        max-width: 100% !important;
    }
    /**/
    .main-hbox1 {
        bottom: 35%;
    }
    .main-hbox1 .title {
        font-size: 30px;
    }
    .filter-box {
        padding: 5px 0;
    }
    .item-bds-info ul.meta-bds {
        font-size: 14px;
        padding-left: 0;
    }
    .item-bds-info ul li {
    }
}
@media only screen and (max-width: 1366px) {
    .filter-box-form .form-setting {
        min-width: 120px;
    }
}
@media only screen and (max-width: 1000px) {
    .full-header {
    }
    .filter-box {
        padding: 15px 0;
        margin-top: 0;
    }
/*    */
    .main-hbox1 {
        bottom: 0;
        width: 100%;
    }
/*    */
    .filter-box-form .label {
        width: 70px;
        min-width: 74px;
    }
    .filter-box-form .label,
    .filter-box-form .form-setting{
        white-space: nowrap;
    }

    .filter-box-form.active {
      display: flex;
/*      flex-wrap: wrap;
      justify-content: space-between;*/
    }
    /**/
    span.scroll-btn.left {
        display: none !important;
    }

}
@media only screen and (max-width: 767px) {
    .main-hbox1 .title {
        font-size: 18px;
        margin-bottom: 10px !important;
    }
    .home-box1 > img {
        min-height: 300px;
    }
    .main-hbox1 {
        bottom: auto;
        width: 100%;
        transform: translate(-50%,-50%);
        top: 50%;
    }
/*    */
    .home-list-bds .title {
        font-size: 18px;
    }
/*    */
    .control-meta .list-diachi {
        flex: unset;
        margin-bottom: 10px;
        justify-content: flex-start;
        margin-right: 0;
    }
    .item-diachi {
        margin-right: 7px;
    }
    .btn-map {
        height: 36px;
        padding: 0 20px;
    }
    .form-setting.orderby select {
        height: 36px;
        font-size: 14px;
    }
    .form-setting.orderby{
        height: auto;
    }
/*    */
    .item-bds-info .title a {
        font-size: 19px;
        line-height: 28px;
        height: 55px;
    }
    .item-bds {
        /*margin-bottom: 20px;*/
    }
/*    */
    .item-bds-contact,
    .item-bds-info {
        padding: 10px;
    }
    .price{
    }
    .form-kygui {
        font-size: 16px;
    }
/*    */
    .form-kygui .form-setting select.form-select {
        height: 40px;
        margin-bottom: 10px;
        font-size: 16px;
    }
    .form-setting {
        margin-bottom: 15px;
    }
    .form-kygui .btn{
        height: 40px;
    }
    /**/
    .full-row.full-content {
        background-color: #f9f9f9;
    }
    .item-bds-author {
        font-size: 16px;
    }
    .item-bds-info ul.meta-bds {
        font-size: 15px;
    }
    /**/
    .list-bds .col-lg-4{
        padding-bottom: 20px;
    }
    /**/
    .item-bds-author img.author-avata {
        width: 40px;
    }
}
/**/
.main-danhmuc{
    overflow: auto;
}
.main-danhmuc .item-dm{
    margin-right: 10px;
}
/**/
.main-danhmuc,
.filter-box-form,
.list-diachi {
  overflow-x: auto;
  scrollbar-width: none; /* ẩn scrollbar trên Firefox */
  -ms-overflow-style: none; /* ẩn scrollbar trên IE và Edge cũ */
}

.main-danhmuc::-webkit-scrollbar,
.filter-box-form::-webkit-scrollbar,
.list-diachi::-webkit-scrollbar {
  display: none; /* ẩn scrollbar trên Chrome, Safari */
}

@media only screen and (max-width: 100px) {
    /* WebKit (Chrome, Edge, Safari) */
    *::-webkit-scrollbar {
      width: 12px;           /* thay đổi kích thước nếu cần */
      height: 12px;
      background: transparent !important;
    }
    *::-webkit-scrollbar-track {
      background: transparent !important;
    }
    *::-webkit-scrollbar-thumb {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      -webkit-appearance: none !important;
    }
    *::-webkit-scrollbar-thumb:hover,
    *::-webkit-scrollbar-thumb:active {
      background: transparent !important;
      box-shadow: none !important;
    }

    /* Firefox */
    * {
      /* scrollbar-color: thumb track; -> set both to transparent */
      scrollbar-color: transparent transparent !important;
      /* scrollbar-width: auto | thin | none */
      scrollbar-width: thin; /* hoặc 'none' để ẩn hoàn toàn (không khuyến nghị) */
    }

    /* For legacy IE/Edge (hides classic scrollbar visuals) */
    * {
      -ms-overflow-style: none; /* ẩn thanh cuộn trong IE 10+ (vẫn scroll được bằng phím/cuộn) */
    }

}
@media only screen and (max-width: 640px) {
    .main-danhmuc .item-dm a {
        padding: 5px 11px;
    }
    .filter-box {
        padding: 5px 0;
    }
    .home-list-bds > .container > .title {
        white-space: nowrap;
        overflow-x: auto;
    }
    .home-box2.home-box {
        top: 55px;
        margin-bottom: 15px !important;
    }
    .control-meta {
        margin-bottom: 20px !important;
    }
    .btn-map {
        height: 32px;
        padding: 0 10px;
    }
    .btn-map img {
        width: 18px;
    }
    .form-setting.orderby select {
        height: 32px;
        font-size: 14px;
        padding: 0 5px 0 10px;
    }
    /**/
     .filter-box-form .form-setting {
        min-width: 110px;
     }
     .filter-box-form .form-setting .form-select {
        padding: 5px;
        height: 34px;
        border-radius: 0;
        font-size: 12px;
        padding-right: 0 !important;
        max-width: 120px;
        background-position: 99% center;
    }
    /**/
    .control-meta > .d-flex {
        display: none !important;
    }
    /**/
    body .btn-chiase {
        width: 77px !important;
        font-size: 12px;
    }
    .btn-chiase img{
        width: 15px;
    }
}
@media only screen and (max-width: 480px) {
    .item-bds .swiper-pagination{
        left: 7px !important;
        bottom: 7px;
    }
    .item-bds .eyes{
        right: 7px;
        bottom: 7px;
    }
    .item-bds-info ul.meta-bds {
        font-size: 14px;
    }
    .phone-author{
        /*font-size: 16px;*/
    }
    .item-bds-info ul li::before {
        width: 3px;
        height: 3px;
    }
    .phone-author:first-child {
        margin-right: 4px;
    }
}
@media only screen and (max-width: 400px) {

    .item-bds-author img.author-avata {
        width: 40px;
    }
    /**/
    .btn-heart-head {
        font-size: 22px;
    }
    .item-bds-info ul li::before {
        display: none;
    }
}

@media only screen and (max-width: 377px) {
    .item-bds-info ul.meta-bds {
        padding: 0;
    }
    .item-bds-info ul li::before {
        display: none;
    }
    .item-bds-info ul li {
/*        width: auto;
        margin-right: 10px;*/
        list-style: none;
    }
}


.fancybox__caption .caption-title a i {
  display: none;
}
.fancybox__caption .caption-title {
  font-weight: 700;
}
/*bs 4/11*/
    .filter-box-form .label{
      cursor: pointer;
    }
    .filter-box-form .label::after{
        content: "\f0d7";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 12px;
        margin-left: 5px;
    }
    .filter-box-form.active .label {
      width: 100% !important;
      cursor: pointer;
      margin-bottom: 5px;
    }
    .filter-box-form.active .form-setting {
/*      flex: unset;
      width: 48%;
      margin: 0 0 10px;*/
    }

    /**/
    .filter-box-form-mobile {
        display: none;
        margin-top: -40px;
        background-color: #fff;
        z-index: 10;
        position: relative;
        padding-top: 15px;
        /*max-height: calc(100vh - 250px);*/
        overflow: auto;
        overflow-x: clip;
    }
    .filter-box-form-mobile ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .filter-box-form-mobile li {
        width: 50%;
        float: left;
    }
    .filter-box-form-mobile li  input{
        float: left;
        position: relative;
        outline: 0 !important;
        outline-offset: 0 !important;
        border: 1px solid #e5e7f2 !important;
        box-shadow: none !important;
        cursor: pointer;
        padding: 0;
        width: 20px;
        height: 20px;
        line-height: 20px;
        border-radius: 0;
        color: #fff;
        background: #fff;
        -webkit-appearance: none;
        border-radius: 100%;
    }
    .filter-box-form-mobile li label {
        float: left;
        padding: 0 10px;
        position: relative;
        top: 1px;
        color: #878c9f;
        width: auto;
        font-size: 14px;
        cursor: pointer;
        font-size: 13px;
        color: #878c9f;
    }
    .filter-box-form-mobile li input:checked::after {
        font-family: "Font Awesome 5 Free";
        content: "\f00c";
        font-size: 15px;
        position: absolute;
        top: 0;
        left: 2px;
        z-index: 20;
        color: #009BA1;
        font-weight: 900;
    }
    .filter-box-form-mobile.active {
        display: block !important;
    }
/**/
.act-filter-option.top-filter {
    display: flex;
    align-items: center;
    position: sticky;
    bottom: 0;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
}
/*.form-setting-mobile-wrap {
    max-height: calc(100vh - 272px);
    overflow: auto;
}*/
.more-filter-option-btn {
    float: left;
    height: 38px;
    width: 120px;
    /* line-height: 40px; */
    color: #566985;
    border-radius: 4px 4px 0 0;
    background: #fff;
    border: 1px solid #e5e7f2;
    /* border-bottom: none; */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease-in-out;
    /* top: 11px; */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #009BA1;
}
.more-filter-option-btn i:first-child {
  margin-right:10px;
  margin-left:0
}
.more-filter-option-btn i {
  margin-right:0;
  margin-left:10px
}
.more-filter-option-wrap .close-form {
  top:8px;
  color:#566985;
  margin-left:25px
}
.accept-filter-option-wrap {
    /* position: absolute; */
    /* right: 2px; */
    /* bottom: 0; */
    display: flex;
    align-items: center;
}
.accept-filter-option-wrap .btn-search {
  float:right;
  margin-right:0;
  position:relative;
  height:32px;
  color:#fff;
  background:#009BA1;
  border:1px solid #009BA1;
  line-height:19px;
  font-weight:400!important;
  letter-spacing:-.2px;
  padding:6px 14px;
  border-radius:4px;
  width:auto;
  font-size:15px
}
.accept-filter-option-wrap .btn-search:disabled {
  color:#fff;
  background:#9ea2a7;
  border:1px solid #9ea2a7
}
.accept-filter-option-wrap .btn-search i {
  font-size:13px;
  margin-right:11px
}
.btn-search i.fa-spinner {
  margin-right:0;
  font-size:15px;
  min-width:16px;
  position:absolute;
  color:#1267a5;
  left:-23px;
  top:8px
}
.found-properties {
  font-size:18px;
  font-weight:600;
  padding:0 3px;
  min-width:12px;
  position:relative;
  top:0
}
.accept-filter-option-wrap .reset-form {
  float:left;
  margin-right:32px;
  top:-2px;
  color:#4f4f4f;
  font-size:15px
}
.home-box2.home-box.active{
    position: relative;
    top: 0;
}