.filterSlide {
    &>.txtFilter {
        margin-right: 0px;
        transition: all .3s;
        color: #6d6d6d;
        cursor: pointer;
        background-color: #ffffff;
        padding: 5px 15px;
        border-radius: 25px;
        font-size: 15px;
        border: 1px solid #f2f2f2;
        line-height: 3;

        &.active {
            color: #0d6390;
            font-weight: 600;
            background-color: #f0f3fd;
            border: 1px solid #0d6390;

        }
    }
}

.container_ section,
.sectionFeaturedListings,
.sectionNewProject,
.sectionPopularLocation,
.sectionBlogReview,
.sectionHotPrice,
.sectionContactUs {
    padding: 70px 20px;

    & .slideFeaturedListings,
    .slideNewProject,
    .slideHotPrice, .slideMoreRecommendedUnits {
        /* margin-top: 20px; */

        & .item {
            padding: 10px;
        }
    }
}

.contentSlide {
    position: relative;
    min-height: 250px;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.1) 0px 1px 7px 0px;
    border-radius: 20px;
    overflow: hidden;

    & .numImages {
        background-color: #00000054;
        color: #fff;
        position: absolute;
        right: 13px;
        top: calc(13px);
        z-index: 1;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 5px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        font-weight: 400;
        display: flex;
        gap: 3px;
        align-items: center;

        &>i {
            display: flex;
        }
    }

    & .txtTag {
        background-color: #1e8300;
        color: #fff;
        position: absolute;
        left: 13px;
        top: calc(13px);
        z-index: 1;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 5px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        font-weight: 400;
        display: flex;
        gap: 3px;
        align-items: center;

        &>i {
            display: flex;
        }

        &.red {
            background-color: #ce0000;
        }

        &.blue {
            background-color: #0097ce;
        }
    }

    & .imgCover {
        max-height: 180px;
        overflow: hidden;
        display: grid;
        align-content: center;
        position: relative;

        & .slick-dots {
            margin-bottom: 25px;
        }

        & .slick-dots li button:before {
            content: '';
            display: block;
            width: 20px;
            height: 4px;
            background: #ffffff;
            opacity: 0.5;
            transition: all 0.3s ease;
            border-radius: 10px;
        }

        & .slick-dots li.slick-active button:before {
            background: #000;
            /* สีขีดเวลาถูกเลือก */
            opacity: 1;
        }

        & .slick-arrow {
            &.slick-prev {
                left: 13px;
                z-index: 1;

                &::before {}

            }

            &.slick-next {
                right: 13px;

                &::before {}
            }

            &::before {
                color: #fff;
                font-size: 20px;
            }
        }

        & .img {
            &.more {
                position: relative;

                &::before {
                    content: "View All";
                    width: 100%;
                    background-color: #00000029;
                    display: grid;
                    align-items: center;
                    height: 250px;
                    position: absolute;
                    justify-items: center;
                    cursor: pointer;
                    backdrop-filter: blur(3px);
                    color: #fff;
                    height: 100%;
                }
            }

            &>img {
                object-fit: cover;
                aspect-ratio: 4 / 3;
            }
        }
    }
}

& .body {
    padding: 10px;
    min-height: 200px;

    &>.title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
        font-weight: 600;
        margin: 5px 0;
        border-bottom: 1px dashed #f1f1f1;
        padding-bottom: 10px;
    }

    &>.detail {
        &>.head {
            &>.tag {
                font-size: 12px;
                color: #a6a6a6;
            }

            &>.price {
                margin: 4px 0;
                font-weight: 500;
            }
        }

        &>.listOption {
            min-height: 100px;
            background-color: #f7f7f7;
            margin-bottom: 10px;
            border-radius: 5px;
            padding: 10px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            justify-items: stretch;
            align-items: stretch;

            &>.listItem {
                display: flex;
                gap: 3px;
                font-size: 12px;
                color: #545454;

                &>.icon {
                    width: 18px;
                    text-align: center;
                }

                &>.txt {
                    width: calc(100% - 3px - 20px);
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }

        &>.footer {
            &>button {
                background: linear-gradient(145deg, #0d6390, #9ec1d3);
                font-size: 14px;
                border: none;
                min-height: 40px;
            }

        }
    }
}


.slick-dotted.slick-slider {
    margin-bottom: unset;
}



@media screen and (max-width:1200px) {
    .contentSlide {
        & .body {
            &>.detail {
                &>.listOption {
                    grid-template-columns: repeat(1, 1fr);
                }
            }
        }
    }

}

.sectionIntroAbout {
    padding: 100px 0 70px 0 !important;
    background: #113d80;
    /* background: linear-gradient(37deg, rgba(17, 61, 128, 1) 0%, rgba(43, 115, 224, 1) 100%); */
    background: linear-gradient(145deg, #0d6390, #9ec1d3);
    color: #fff;
    position: relative;

    &>.container {
        z-index: 2;
        position: relative;
    }
}

@media screen and (max-width:751px) {
    .container_ section {
        padding: 70px 10px;
    }

    .sectionIntroAbout {
        padding: 200px 20px 220px 20px !important;
    }

    .areaBlogs {
        &>.list {
            align-items: flex-start !important;

            &>.img {
                width: 100px !important;
            }
        }
    }
}


.sectionNewProject {
    background-color: #ffffff;
}

.sectionPopularLocation {
    background-color: #f4f4f4;
}

.sectionBlogReview {
    background-color: #ffffff;
}

.sectionHotPrice {}

.sectionContactUs {
    &>.container {
        z-index: 1;
        position: relative;
    }
}

a {
    text-decoration: none;
}

/* From Uiverse.io by kennyotsu */

.loaderText {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 16px;
    display: flex;
    line-height: 1;

    &>.words {
        overflow: hidden;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(var(--bg-color) 10%,
                    transparent 30%,
                    transparent 70%,
                    var(--bg-color) 90%);
            z-index: 20;
        }

        &>.word {
            display: block;
            height: 100%;
            padding-left: 6px;
            color: #f79421;
            animation: spin_4991 4s infinite;
        }
    }
}





@keyframes spin_4991 {
    10% {
        -webkit-transform: translateY(-102%);
        transform: translateY(-102%);
    }

    25% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    35% {
        -webkit-transform: translateY(-202%);
        transform: translateY(-202%);
    }

    50% {
        -webkit-transform: translateY(-200%);
        transform: translateY(-200%);
    }

    60% {
        -webkit-transform: translateY(-302%);
        transform: translateY(-302%);
    }

    75% {
        -webkit-transform: translateY(-300%);
        transform: translateY(-300%);
    }

    85% {
        -webkit-transform: translateY(-402%);
        transform: translateY(-402%);
    }

    100% {
        -webkit-transform: translateY(-400%);
        transform: translateY(-400%);
    }
}

.btnGradiun {
    background: linear-gradient(145deg, #0d6390, #86b1c8);
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 42px;
    align-items: center;
    transition: all 0.3s;

}

.btnGradiun {
    position: relative;
    background: linear-gradient(145deg, #0d6390, #86b1c8);
    overflow: hidden;
    z-index: 0;
    transition: all 0.3s;
    border: none;
}

.btnGradiun::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #86b1c8, #0d6390);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btnGradiun:hover::after,
.btnGradiun:active::after,
.btnGradiun:focus-visible::after {
    opacity: 1;
}

.iti {
    width: 100%;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d6390;
    color: white;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: background-color 0.3s;

    &>.icon {
        line-height: 1;
        margin-bottom: 9px;
        margin-top: -5px;
    }

    &>.txt {
        margin-top: -20px;
        font-size: 10px;
    }
}

.scroll-top-btn:hover {
    background-color: #0056b3;
}

.formInquireNow {
    & .formDetailRef {
        width: 100%;
        transition: all .3s;

        &.show {
            background-color: #f6f6f6;
            min-height: 20px;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 10px;
        }
    }
}

.boxShowImgPreview {
    --heightcustom: 600px;
    --mbcustom: 20px;
    overflow: hidden;
    margin-bottom: var(--mbcustom);
    position: relative;

    &>.img {
        display: grid;
        height: 100%;

        &>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    &.style1 {
        height: var(--heightcustom);
    }

    &.style2 {

        height: calc(var(--heightcustom) / 2 - var(--mbcustom) / 2);
    }

    &.more {
        position: relative;

        &::before {
            content: "View All";
            width: 100%;
            background-color: #00000029;
            display: grid;
            align-items: center;
            height: 250px;
            position: absolute;
            justify-items: center;
            cursor: pointer;
            backdrop-filter: blur(3px);
            color: #fff;
            height: 100%;
        }
    }

    &>.numImages {
        background-color: #00000054;
        color: #fff;
        position: absolute;
        right: 13px;
        top: calc(13px);
        z-index: 1;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 5px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        font-weight: 400;
        display: flex;
        gap: 3px;
        align-items: center;

        &>i {
            display: flex;
        }
    }

    &>.txtTag {
        background-color: #1e8300;
        color: #fff;
        position: absolute;
        left: 13px;
        top: calc(13px);
        z-index: 1;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 5px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        font-weight: 400;
        display: flex;
        gap: 3px;
        align-items: center;

        &>i {
            display: flex;
        }

        &.red {
            background-color: #ce0000;
        }

        &.blue {
            background-color: #0097ce;
        }
    }

}

@media screen and (max-width:751px) {
    .boxShowImgPreview {
        --heightcustom: 300px;
        --mbcustom: 10px;
        margin-bottom: var(--mbcustom);

        &.style1 {
            height: var(--heightcustom);
        }

        &.style2 {
            /* height: calc(var(--heightcustom) / 2 - var(--mbcustom) / 2); */
            display: none;
        }
    }
}

.detailCondo {
    &>.title {
        font-size: 25px;
        font-weight: 700;
        margin-top: 35px;
        color: #393939;
        margin-bottom: 2px;
    }

    &>.subtitle {
        font-size: 14px;
        color: #767676;
    }

    &>.price {
        margin: 15px 0px;
        font-weight: 600;
        font-size: 20px;
    }

    &>.listOption {
        min-height: 100px;
        background-color: #f7f7f7;
        margin-bottom: 10px;
        border-radius: 5px;
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        justify-items: stretch;
        align-items: stretch;

        &>.listItem {
            display: flex;
            gap: 3px;
            font-size: 12px;
            color: #545454;

            &>.icon {
                width: 18px;
                text-align: center;
            }

            &>.txt {
                width: calc(100% - 3px - 20px);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }

    &>.txtdetail {
        font-size: 14px;
        color: #727272;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    &>.tableDetail {
        &>table {
            width: 100%;
        }

    }

    &>.mapsArea {
        width: 100%;
        min-height: 400px;
        background-color: #f7f7f7;
        padding: 10px;
        display: grid;
        gap: 8px;
        border-radius: 5px;

        &>.imgPreviewMaps {
            border-radius: 5px;
            overflow: hidden;
        }
    }
}

.formContactUs {
    box-shadow: rgb(0 30 64 / 50%) 0px 7px 29px 0px;
    padding: 25px;
    background-color: #fff;
    border-radius: 14px;
    color: #000;
    min-height: 350px;
    z-index: 2;
    position: relative;
}

.formContactUs.detail {
    box-shadow: rgb(193 193 193 / 43%) 0px 3px 11px 0px;
    position: sticky;
    top: 120px;
}

.formContactUs.result {
    box-shadow: rgb(193 193 193 / 43%) 0px 3px 11px 0px;
    position: sticky;
    top: 120px;
}



.air-datepicker {
    z-index: 1055 !important;
    /* มากกว่า modal backdrop ของ Bootstrap */
}

.resultAres {
    margin-top: 20px;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 25px;
    background-color: #fff;
    border-radius: 14px; */
    min-height: 100dvh;

    &>.head {
        & .groupShowMaps {}

        &>.title {
            font-size: 25px;
            font-weight: 700;
            color: #393939;
        }

    }

    &>.body {}

    &>.footer {}
}



.showLocationItem {
    width: 100%;
    /* height: 100%; */
    position: relative;
    /* max-width: 20rem; */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    max-height: 480px;
    min-height: 140px;
    cursor: pointer;

    &>.content {
        position: absolute;
        bottom: 0;
        color: #fff;
        z-index: 1;
        width: 100%;
        padding: 15px;

        &>.title {
            font-size: 16px;
            font-weight: 600;
        }

        &>.subtitle {
            font-size: 11px;
        }

        &>.tagC {
            display: flex;
            gap: 5px;
            margin-top: 10px;

            &>.tag {
                width: 100%;
                border: 1px solid;
                padding: 1px 6px;
                text-align: center;
                border-radius: 6px;
                font-size: 14px;
                cursor: pointer;
                transition: all .3s;

                &:hover {
                    background-color: #fff;
                    color: #000;
                }
            }
        }
    }

    &>.imgBG {
        height: 230px;

        &>img {
            transition: all .5s;
            width: 100%;
            height: 100%;
            object-fit: cover;

            &:hover {
                scale: 1.1;
            }
        }
    }

    &>.overBG {
        position: absolute;
        top: 0px;
        width: 100%;
        height: 100%;
        box-shadow: rgb(0, 0, 0) 0px -400px 100px -341px inset;
        border-top-right-radius: 5px;
    }

}

.showLocationItem .imgBG img {
    transition: transform 0.7s ease;
    /* ลื่นไหลเวลาขยาย */
}

.showLocationItem.full .imgBG {
    height: 650px;
}

.showLocationItem:hover .imgBG img {
    transform: scale(1.1);
    /* ขยาย 10% */
}

.btnSearchOnMapsAres {
    position: relative;
    /* height: 80px; */
    /* overflow: hidden;
    display: grid;
    align-content: center;
    justify-items: center; */
    margin-top: 10px;

    &>.detail {

        height: 80px;
        display: grid;
        align-content: center;
        justify-items: center;
        overflow: hidden;
        border-radius: 6px;

        & .group {
            position: absolute;
            top: 18px;
            left: 50%;
            transform: translateX(-50%);

            &>.iconpin {

                width: 28px;

            }

            &>txt {}
        }

        & .preview {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

}

.areaMapsContent {
    box-shadow: rgb(193 193 193 / 43%) 0px 3px 11px 0px;
    padding: 5px;
    background-color: #fff;
    border-radius: 14px;
    /* min-height: 450px; */
    min-height: 265px;
    overflow: hidden;

    &>.imgPreviewMaps {
        /* height: 440px; */
        height: 265px;
        overflow: hidden;
        border-radius: 10px;
    }

    &>.mapDetailGoogle {
        /* height: 440px; */
        height: 265px;
        overflow: hidden;
        border-radius: 10px;
    }
}

@media screen and (max-width:751px) {
    .formContactUs {
        margin-top: 50px;
        margin-bottom: 0px;
    }

    .resultAres {
        padding: 15px;

    }
}



.areaBlogs {
    display: grid;
    gap: 20px;

    &>.list {
        display: flex;
        gap: 15px;
        cursor: pointer;
        /* background-color: #fff; */
        transition: all .3s;
        margin-bottom: 20px;

        &:hover {
            color: #184994;
        }

        &>.img {
            width: 100px;
            display: grid;
            align-items: center;
            overflow: hidden;
            max-height: 150px;

            &>img {
                width: 100%;
                aspect-ratio: 4 / 3;
                object-fit: cover;
            }
        }

        &>.detail {
            width: calc(100% - 15px - 100px);

            &>.title {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-weight: 600;
                font-size: 19px;
            }

            &>.subtitle {
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 14px;
                color: #9b9b9b;
                font-weight: 300;
            }

            &>.update {
                font-size: 12px;
                color: #9e9e9e;
                margin-top: 5px;
            }
        }

    }
}

.blogsContentArea {
    &>.head {}

    &>.body {}

    &>.footer {}
}