﻿.KinhDoanhNhaDat-detail-amenity-expander {
    margin-top: 40px !important;
}

    .KinhDoanhNhaDat-detail-amenity-expander .title-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .KinhDoanhNhaDat-detail-amenity-expander .title-container .dropdown-icon {
            color: #00436b;
            width: 20px !important;
            height: 20px !important;
        }

.KinhDoanhNhaDat-detail-map-container {
    margin-top: 20px;
    position: relative;
}

    .KinhDoanhNhaDat-detail-map-container .map {
        height: 500px;
        z-index: 1 !important;
    }

    .KinhDoanhNhaDat-detail-map-container .remark-btn {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 2 !important;
        background-color: #00436b !important;
        color: white !important;
    }

.KinhDoanhNhaDat-detail-header-title {
    font-size: 16px;
    /*color: #00436b;*/
    margin: 10px 0 !important;
    margin-top: 40px !important;
}

.KinhDoanhNhaDat-detail-grid-amenitites {
    border: 1px solid lightgray;
    border-radius: 4px;
    padding: 10px !important;
}

.text-18-bold {
    font-size: 18px;
    font-weight: bold;
}

.ui.divided.list > .item {
    border-top: 1px solid rgba(34, 36, 38, 0.05) !important;
}

@media(max-width: 768px) {
    .KinhDoanhNhaDat-detail-grid-amenitites {
        padding-left: 20px !important;
    }

    .mobile-mt-10 {
        margin-top: 10px;
    }
}

.unit-name-style {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.unit-value-style {
    font-weight: bold;
    /*color: var(--secondary-color);*/
}
/*Slide image*/
/* body {
        background-color: rgb(225, 185, 185);
    }*/

.js .slider-single > div:nth-child(1n + 2) {
    display: none;
}

.js .slider-single.slick-initialized > div:nth-child(1n + 2) {
    display: block;
}

.slide-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 0px;
}

.custom-slide {
    padding: 15px 5px 0 5px;
    height: 200px;
    object-fit: cover;
    box-shadow: 5px 5px 5px #dedede76;
    width: 100%;
    object-fit: cover;
}

.slider-single h3 {
    line-height: 10rem;
}

.slider-nav .slick-slide {
    margin: 20px 5px;
}

.slider-nav .slick-slide {
    margin: 20px 5px;
}

.borderless {
    border: 0px !important;
    box-shadow: none !important;
}

.unit-icon {
    width: auto;
    height: 20px;
    color: #888;
}

.info-estate {
    height: 35px;
}

.phone-contact {
    /* font-weight: bold;*/
}

.slider-wrap {
    height: fit-content;
}

/*.slick-slide {
    padding: 5px;
}
*/
.slick-dots {
    left: 0;
}

.post-area {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    padding-top: 0px;
}

.title-estate-info {
    color: darkolivegreen;
    font-weight: bold;
}

.post-by-district:hover {
    opacity: 1;
    /*background-color: #DDD*/
}

.post-by-district:focus {
    opacity: 1;
    background-color: #DDD
}

.special-post:hover {
    opacity: 1;
    color: #DDD;
}

.special-post:focus {
    opacity: 1;
    color: #DDD
}


/* The Modal (background) */
.modal-image {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 801; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    /*        max-width: 700px;*/
}

/* Caption of Modal Image */
#captionModal {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #captionModal {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

#sticky-broker.fixed ~ .broker-ads-label {
    margin-top: 238px !important;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.closeModal {
    position: absolute;
    margin-top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .closeModal:hover,
    .closeModal:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.myImgSlide {
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

    .myImgSlide:hover {
        /*opacity: 0.7;*/
    }


/*Slide Image
/* Position the image container (needed to position the left and right arrows) */
.slide-container {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #ccc;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 4px 12px;
    position: absolute;
    top: 6px;
    right: 1%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}


/* Container for image text */
.caption-container {
    text-align: center;
    /*background-color: #178b7f;*/
    padding: 2px 16px;
    color: white;
}

.slide-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.slide-column {
    float: left;
    width: 16.66%;
    padding: 1.5px;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

    .active,
    .demo:hover {
        opacity: 1;
    }

.slide-active {
    opacity: 1;
    border: 2px solid var(--text-highlight);
}

    .slide-active:hover {
        opacity: 1;
        border: 2px solid var(--text-highlight);
    }

.ui.horizontal.segments > .segment {
    border-left: 0 !important;
}

.ui.card > .content {
    max-height: 300px !important;
    padding: 0 !important;
}

.avatar-image {
    height: 40px !important;
    width: 40px !important;
}

.kinhdoanh-btn .save-button-partial-view .unit-icon {
    margin-top: 5px !important;
}

.ui.divider:not(.vertical):not(.horizontal) {
    border-top: 1px solid rgba(34, 36, 38, 0.1) !important;
}

.ui.section.divider {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}

.image-slider .slick-list {
    padding-bottom: 0 !important;
}

.video {
    position: relative;
}

    .video img {
        display: block;
    }

    .video .fa-view {
        position: absolute;
        width: auto;
        height: 40%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.image-slider-expired .slick-list {
    padding-bottom: 0 !important;
}

.image-slider .slick-track {
    margin: 0 !important;
    padding: 0 !important;
}

.image-slider .slick-slide {
    margin: 0; /* Ensure no margins around slides */
    padding: 5px; /* Ensure no padding around slides */
    box-sizing: border-box; /* Ensure proper box sizing */
}

.image-slider-expired .slick-track {
    margin: 0 !important;
    padding: 0 !important;
}

.image-slider-expired .slick-slide {
    margin: 0; /* Ensure no margins around slides */
    padding: 5px; /* Ensure no padding around slides */
    box-sizing: border-box; /* Ensure proper box sizing */
}

#mobile-grid-realestate-feature {
    display: none;
}

#grid-realestate-feature {
    width: 100%;
    padding-bottom: 0px !important;
}

.kinhdoanh-view .mobile-search-container {
    display: none !important;
}

.header-post-block {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    z-index: 9999 !important;
    padding: 1rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

    .header-post-block.fixed {
        display: flex;
        transition: transform 0.3s ease;
    }

.header-post-block--detail {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    width: 100%;
    padding: .5rem 0 .5rem 0 !important;
    border-bottom: 1px solid #2224261a;
    margin: 0 1rem;
}

.header-post-detail--overview {
    display: flex;
    gap: 1rem;
}

.header-post-overview__img {
    width: 68px;
    height: 68px;
}

    .header-post-overview__img img {
        width: 68px;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: .5rem;
    }

.header-post-overview__detail {
    display: flex;
    gap: .5rem;
    flex-direction: column;
    justify-content: center;
}

    .header-post-overview__detail .title {
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
    }

    .header-post-overview__detail .description {
        display: flex;
        gap: 2rem;
        font-size: 16px;
        font-weight: 500;
    }

.header-post-detail--contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .header-post-detail--contact .button {
        background: #009BA1 !important;
        border: 1px solid #009BA1;
        align-items: center;
        margin: 0 !important;
        height: 40px;
        padding: .5rem 1rem !important;
        display: flex !important;
        white-space: nowrap;
    }

.header-post-block--navbar .ui.secondary.pointing.menu {
    border-bottom: 3px solid transparent !important;
}

    .header-post-block--navbar .ui.secondary.pointing.menu .active.item {
        border-bottom: 3px solid var(--primary-color);
        color: var(--primary-color);
    }

@media only screen and (max-width:992px) {
    .header-post-block--detail {
        margin: 0 !important;
    }
}

/*Mobile mode*/
@media only screen and (max-width:767px) {
    .mobile-not-show {
        display: none !important;
    }

    .mobile-show {
        display: block !important;
    }

    .slide-container .image-slider {
        /*display: none !important;*/
    }

    #mobile-grid-realestate-feature {
        display: block;
        width: 100%;
        /*padding: 3%;*/
    }

    .kinhdoanh-view .slick-prev {
        right: 10% !important;
    }

    .mobile-contact-show {
        white-space: nowrap;
        scrollbar-width: none;
        position: fixed;
        margin-top: 60px;
        bottom: 0px;
        z-index: 100;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
        transform: translateX(-9%);
        width: 38%;
    }

    .mobile-zalo-show {
        white-space: nowrap;
        scrollbar-width: none;
        position: fixed;
        margin-top: 60px;
        bottom: 0px;
        z-index: 100;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
        transform: translateX(-59%);
        width: 40% !important;
        height: 39px;
    }

    .prev, .next {
        top: 56%;
    }

    .mobile-main {
        padding-bottom: 1% !important;
    }

    #grid-realestate-feature {
        padding-bottom: 14px !important
    }

    .mt-0 {
        margin-top: 10px !important;
    }

    .mobile-display {
        display: none;
    }

    .mobile-display-none {
        display: block;
    }
}
/*tablet Ipad*/
@media (max-width:480px) {

    #title-section {
        margin-top: 10px !important;
    }

    .ui.stackable.grid .eleven.wide.column, .ui.stackable.grid .five.wide.column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

        .ui.stackable.grid .five.wide.column.mobile-cell-image {
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }

    .mobile-gird {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .mobile-display {
        display: block;
    }

    .mobile-display-none {
        display: none;
    }
}

/*tablet Ipad*/
@media (min-width:480px) and (max-width:979px) {
    .slide-container .image-slider {
        /*display: none !important;*/
    }
}

@media (min-width:979px) and (max-width:1200px) {
    #slide-image-bottom .image-slider .slick-slide .slide-column .demo.cursor {
        /*width: 100px !important;*/
    }
}
