:root {
    --color-default: #212529;
    --color-light: #ffffff;
    --color-primary: #2a41ed;
    --color-secondary: #2361ff;
}

html {
    scroll-behavior: smooth;
}

.pill {
    background: #eee;
    border-radius: 15px;
    padding: 3px 12px;
    font-size: 14px;
}

.pill:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn {
    border-radius: 0;
    font-size: 15px;
}

.btn-primary {
    border: var(--tp-theme-primary) !important;
    background-color: var(--tp-theme-primary) !important;
}

.btn-primary:hover {
    color: #fff;
    border: var(--color-secondary) !important;
    background: var(--color-secondary) !important;
}

.button-primary {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 27px !important;
    border: none;
    color: var(--tp-common-white) !important;
    background-color: var(--tp-theme-primary) !important;
    min-width: 144px;
    text-align: center;
}

.button-primary:hover {
    color: #fff;
    background: var(--color-secondary) !important;
}

.button-secondary {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 27px !important;
    border: none;
    color: #525252 !important;
    background-color: #ddd !important;
    min-width: 144px;
    text-align: center;
}

.button-secondary:hover {
    background-color: #ffffff !important;
}

.button-outline {
    color: #666;
    border: 1px solid #666;
    background: transparent;
}

.button-outline:hover {
    color: #fff;
    background: var(--color-primary);
}

.form-button-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    color: #fff;
    background: #3c3c3c;
}

.form-button-primary:hover {
    color: #fff;
    background: var(--color-primary);
}

.color-primary {
    color: var(--color-primary);
}

.text-large {
    font-size: 36px;
}

.text-bar {
    padding: 15px 0;
    margin-top: 20px;
}

@media(min-width: 767px) {
    .text-bar {
        display: flex;
        justify-content: space-between;
    }
}

@media(max-width: 991px) {
    .form-button-primary {
        margin-bottom: 20px;
    }
}

.text-muted {
    font-size: 14px;
}

.divider::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 15px;
    background: #888;
}

.list-order {
    display: flex;
}

    .list-order .custom-label {
        margin-right: 15px;
    }

    .list-order a {
        display: flex;
        align-items: center;
        color: var(--color-default);
        padding-left: 3px;
        padding-right: 3px;
    }

    .list-order a::after {
        /*content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5' /%3E%3C/svg%3E ");*/
        display: block;
        width: 12px;
        height: 20px;
        margin-left: 3px;
        opacity: 0.6;
    }

/* dropdown */
.custom-dropdown .btn {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .custom-dropdown .dropdown-menu {
        width: 100%;
        border: 1px solid #eee;
        border-radius: 0;
    }

        .custom-dropdown .dropdown-menu a {
            display: block;
            text-align: center;
            padding: 10px 5px;
        }


/* image box */
 .image-box {
    display: flex !important;
}

    .image-box-outer {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
        margin: 0;
        line-height: 0;
    }

    .image-box-outer.vertical {
        padding-bottom: 120%;
    }

    .image-box-outer.ratio-3-2 {
        padding-bottom: 66.66%;
    }

    .image-box-outer.ratio-16-9 {
        padding-bottom: 56.25%;
    }

        .image-box-inner {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background: #f1f1f1;
        }

            .image-box-inner img {
                width: 100%;
                height: 100%;
                object-position: 50% 50%;
                object-fit: cover;
            }


.image-hover--zoom img {
    transition: 0.5s;
}

.image-hover--zoom:hover img {
    transform: scale(1.05);
}


/* tab */
.nav-tabs-container {
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 1px;
}

.tp-hero-tab nav .nav-tabs .nav-item.show .nav-link, .tp-hero-tab nav .nav-tabs .nav-link {
    color: var(--color-primary);
    background-color: var(--tp-common-white);
    border: none;
}

.tp-hero-tab nav .nav-tabs .nav-item.show .nav-link.active, .tp-hero-tab nav .nav-tabs .nav-link.active {
    color: var(--tp-common-white);
    background-color: var(--color-primary);
}

.tp-breadcrumb__ptb {
    padding-top: 180px;
    padding-bottom: 130px;
}

.tp-breadcrumb__list a {
    color: var(--color-light);
}

.tp-breadcrumb__list a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' class='size-6'%3E%3Cpath fill-rule='evenodd' d='M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z' clip-rule='evenodd' /%3E%3C/svg%3E%0A");
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    width: 12px;
    height: 12px;
}

.tp-breadcrumb__list a:last-child:after {
    display: none;
}

/* home */
.search-by-map {
    position: absolute;
    top: -9px;
    right: 0;
}
.tp-hero-tab-select .nice-select {
    width: 230px;
}
@media(max-width: 991px) {
    .tp-hero-tab-select,
    .tp-hero-tab-select .nice-select {
        width: 100%;
        margin-right: 0;
    }
    .tp-hero-tab-search,
    .tp-hero-tab-search button {
        width: 100%;
    }
}

.form-filter {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.form-filter #nav-tab {
    display: flex;
    width: 100%;
}

    .form-filter #nav-tab .filter-tab-nav {
        display: flex;
        align-items: center;
        margin-right: 15px;
        background: transparent ;
        color: #262b35;
        font-weight: 400;
        font-size: 14px;
        padding-left: 0;
        padding-right: 0;
        transition: 0.3s;
    }

    .form-filter .filter-tab-nav::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
        position: relative;
        display: block;
        width: 16px;
        height: 16px;
        margin-left: 5px;
        transition: 0.3s;
    }

    .form-filter #nav-tab .filter-tab-nav.active {
        color: var(--color-primary);
    }

    .form-filter #nav-tab .filter-tab-nav.active::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%232a41ed' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
        top: 2px;
        transform: rotate(-180deg);
        transform-origin: center;
    }

.tp-rent-thumb {
    flex-shrink: 0;
}

.tp-rent-content {
    width: 100%;
}

.tp-rent-meta-list {
    margin-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.tp-rent-meta-content {
    font-size: 16px;
    font-weight: 400;
    align-items: center;
}

   
    .tp-rent-meta-content svg {
        width: 22px;
        height: 22px;
        color: var(--color-primary);
        margin-right: 5px;
    }

    .tp-rent-meta-content .text:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 1px;
        height: 16px;
        background: #d5d5d5;
        margin-left: 10px;
        margin-right: 10px;
        position: relative;
        top: 2px;
    }

    .tp-rent-thumb .video-play {
        position: relative;
    }

    .tp-rent-thumb .video-play::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' class='size-6'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm14.024-.983a1.125 1.125 0 0 1 0 1.966l-5.603 3.113A1.125 1.125 0 0 1 9 15.113V8.887c0-.857.921-1.4 1.671-.983l5.603 3.113Z' clip-rule='evenodd' /%3E%3C/svg%3E%0A");
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    .tp-rent-thumb .image-box {
        width: 370px;
    }

        .tp-rent-thumb .image-box-outer {
            padding-bottom: 72%;
        }

    .tp-rent-price {
        width: 200px;
        text-align: center;
    }

    .tp-rent-price span {
        font-size: 26px;
        color: var(--color-primary);
    }

    .tp-rent-price .unit {
        font-size: 14px;
        font-weight: 400;
        margin-left: 10px;
    }

.tp-rent-content .item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-rent-content .tags {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.tp-rent-content .tags a {
    display: inline-block;
    margin-right: 8px;
}

@media(max-width: 991px) {
    .tp-rent-thumb .image-box {
        width: 100%;
    }

    .tp-rent-content .item-info {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .tp-rent-price {
        width: auto;
        text-align: left;
        margin-bottom: 20px;
    }
}


/* header */
.offcanvas__logo > a {
    display: inline-block;
    padding-top: 17px;
}

    .offcanvas__logo img {
        height: 20px;
        width: 160px;
        object-fit: contain;
    }

.tp-header-right-user a > svg {
    width: 16px;
    position: relative;
    top: -2px;
    margin-right: 2px;
}


/* page */
.page {
    background: #f7f7f7;
}

.page .header {
    position: relative;
    background: #ffffff;
    /* box-shadow: 0px 4px 10px rgba(3, 4, 28, 0.1); */
    border-bottom: 1px solid #eee;
}

.page .tp-header-sticky-cloned {
    position: fixed !important;
}

.page .tp-header-1-menu nav > ul > li > a {
    color: var(--color-default);
    padding: 23px 15px;
}

.page .tp-header-1-menu nav > ul > li > a:hover {
    color: var(--color-primary);
}

.page .tp-header-right-user-content p,
.page .tp-header-right-user-content span {
    color: var(--color-default);
}

/* about */
.about-intro .image-1 {
    width: 400px;
    height: 529px;
    object-fit: cover;
}

.about-intro .image-2 {
    width: 298px;
    height: 318px;
    object-fit: cover;
}

.tp-about-area .tp-about-thumb img {
    width: 945px;
    height: 620px;
    object-fit: cover;
    object-position: top;
}

.tp-about-content p {
    color: var(--color-default);
}

@media(max-width: 991px) {
    .about-intro .image-1,
    .about-intro .image-2 {
        width: 100%;
    }
}

/* property */
.property-info {
    display: flex;
}

    .property-info .location {
        display: flex;
        align-items: center;
    }

    .property-info svg {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
    
    .tp-property-details-slider-thumb img {
        object-fit: cover;
    }

    .tp-property-details-tags-item {
        min-width: 100px;
        margin-right: 40px;
    }

    .property-spec {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 240px;
        border-top: 1px solid #ddd;
        padding-top: 30px;
    }

        .property-spec .item {
            display: flex;
            color: var(--color-default);
            margin-bottom: 15px;
        }

        .property-spec .item-label {
            color: #888;
            margin-right: 10px;
        }

    .property-nearby {
        display: flex;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
    }

    .property-nearby .item {
        padding: 10px;
        width: 33.33333%;
    }

    .property-nearby .inner-content {
        background: #f7f7f7;
        padding: 15px;
        height: 100%;
    }

    .property-nearby .item-label {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .property-nearby .list-item {
        display: flex;
        justify-content: space-between;
    }
        .property-nearby .list-item .name {
            font-size: 14px;
        }

        .property-nearby .list-item .distance {
            font-size: 14px;
        }

.property-card-list .tp-rent-content {
    padding-left: 15px;
    padding-right: 15px;
}

    .property-card-list .tp-rent-content .divider {
        position: relative;
        top: 3px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .property-card-list .tp-rent-content .price {
        margin-top: 20px;
    }


.tp-property-details-right .tp-team-details-info-top {
    border-radius: 0;
}

.tp-property-details-right .title {
    text-align: center;
    letter-spacing: 2px;
    color: var(--color-light);
}

.tp-property-recent-post-thumb {
    width: 74px;
}

.price-range {
    display: flex;
    align-items: center;
}

    .price-range input {
        height: 40px;
        border-radius: 0;
    }

    .price-range .connect {
        margin-left: 10px !important;
        margin-right: 10px;
    }

.tp-property-details-plans {
    margin-bottom: 30px;
}

@media(max-width: 576px) {
    .property-spec {
       flex-direction: column;
       height: auto;
    }

    .property-spec .item-label {
        width: 100px;
        flex-shrink: 0;
    }

    .property-nearby {
        flex-direction: column;
    }

    .property-nearby .item {
        width: 100%;
    }
}

/* member */
.inner-menu-bar {
    background: var(--color-light);
}

    .inner-menu-bar .menu {
        display: flex;
        list-style: none;
    }

        .inner-menu-bar .menu a {
            position: relative;
            display: inline-block;
            padding: 30px 20px;
        }

        .inner-menu-bar .menu a.active,
        .inner-menu-bar .menu a:hover {
            color: var(--color-primary);
        }

        .inner-menu-bar .menu a::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 10%;
            width: 80%;
            height: 5px;
            border-radius: 5px;
            background: var(--color-primary);
            opacity: 0;
            transition: 0.3s;
        }

        .inner-menu-bar .menu a.active::after,
        .inner-menu-bar .menu a:hover::after {
            opacity: 1;
        }

/* footer */
.tp-footer-widget-content ul li,
.tp-footer-widget-content ul li:not(:last-of-type) {
    margin-left: 0;
}
.tp-footer-widget-content ul li a::before {
    display: none;
}
.tp-footer-widget-content p {
    font-size: 24px;
    line-height: 1.5;
}
.tp-footer-widget-social {
    margin-top: 20px;
}


/* form */
.form-select {
    height: 50px;
    border-radius: 0;
}

.input-row-center-v {
    align-items: center;
}
    .input-row-center-v .form-label {
        margin-bottom: 0;
    }
    
.form-edit input {
    border: 1;
    border-radius: 0;
    color: var(--color-primary);
}

.form-edit input:read-only {
    color: var(--color-default);
}

.form-edit input:focus {
    box-shadow: none;
}

.form-edit .input-row {
    border-bottom: 1px solid #eee;
}

.form-edit .input-row.active {
    border-bottom: 1px solid var(--color-primary);
}

.form-edit .button-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 15px;
}

.form-edit .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.custom-file-upload {
    position: relative;
}

    .custom-file-upload .btn {
        cursor: pointer;
    }

.custom-file-upload input[type="file"] {
    display: none;
}

.button-edit,
.button-save {
    display: none;
}

.button-edit.show,
.button-save.show {
    display: block;
}

/* table */
.ct-row {
    display: flex;
    background: #ffffff;
}
.ct-thead {
    border-bottom: 2px solid var(--color-primary);
    color: #333;
    font-weight: 700;
}
.ct-row .ct-cell {
    width: 20%;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ct-row .ct-cell:nth-child(1) {
    width: 15%;
}
.ct-row .ct-cell:nth-child(2) {
    width: 25%;
}
.ct-row .ct-cell:nth-child(3) {
    width: 20%;
}
.ct-row .ct-cell:nth-child(4) {
    width: 20%;
}
.ct-row .ct-cell:nth-child(5) {
    width: 20%;
}
.ct-body .ct-row {
    border-bottom: 1px solid #ddd;
}
.ct-body .collapse-content .card {
    border-radius: 0;
    border: 0;
    background-color: #ebf0fc;
}

@media(max-width: 991px) {
    .ct-row-wrapper {
        margin-bottom: 30px;
    }
    .ct-thead {
        display: none;
    }
    .ct-row {
        padding-top: 20px;
        padding-bottom: 20px;
        flex-direction: column;
        background: #ffffff;
    }
    .ct-row .ct-cell {
        width: 100% !important;
        justify-content: flex-start;
        flex-direction: row;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .ct-cell::before {
        content: attr(data-th);
        display: block;
        width: 40%;
        flex-shrink: 0;
        font-weight: 700;
    }
}