ul.properties{
    
}

.owl-item .property{
    overflow: hidden;
}

.post-type-archive-property ul.properties li.property{
    margin-bottom: 1.5rem !important;
}

li.property{
    width: 100%;
    margin: 0;
    margin-bottom: 1.5rem;
    clear: none !important;
    border: 1px solid var(--bs-primary) !important;
    border-radius: 5px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

@media(min-width:768px){
    li.property{
        width: calc(50% - 15px);
        margin-right: 30px !important;
    }
    li.property:nth-of-type(2n + 0){
        margin-right: 0 !important;
    }
}

@media(min-width: 1025px){
    li.property{
        width: calc(33.33% - 20px);
        margin-right: 30px !important;
    }
    li.property:nth-of-type(2n + 0){
        margin-right: 30px !important;
    }
    li.property:nth-of-type(3n + 0){
        margin-right: 0 !important;
    }
}

li.property .details, li.property .thumbnail{
    margin: 0;
    float: left;
    width: 100% !important;
}


li.property .thumbnail img{
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

li.property .details{
    padding: 1.5rem;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
}

li.property .details h3{
    font-size: 1.1rem;
    height: 45px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.property li{
    border: none !important;
}

#featured-properties{
    overflow: hidden;
}

li.property .thumbnail{
    position: relative;
}

li.property .thumbnail img{
    aspect-ratio: 4/3 !important;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

li.property .thumbnail .property_status{
    position: absolute;
    z-index: 9;
    background: var(--bs-primary);
    padding: .5rem 1rem;
    color: #fff;
    border-radius: 3px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    font-size: 12px;
    text-transform: uppercase;
    right: -.5rem;
    top: 1rem;
}

li.property .ry-property-price{
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    font-weight: 500;
}

li.property .ry-property-rooms {
    overflow: hidden;
    margin-bottom: 1rem;
}

li.property .ry-property-rooms li{
    width: 33.33%;
    padding: 0;
    font-size: .9rem;
}

li.property .ry-property-rooms li span{
    width: 100%;
    display: block;
    color: var(--bs-primary);
    font-size: 1rem;
}

li.property .ry-property-link{
    display: block;
    border-radius: 5px;
    color: #fff;
    background: var(--bs-primary);
    font-weight: 500;
    font-family: 'DM Serif Display';
    padding: .5rem 1rem;
}

li.property .ry-property-link:hover{
    color: var(--bs-secondary);
}


ul.properties li{
    padding: 0 !important;
}


.property-carousel li{
    width: 100% !important;
    margin: 0 !important;
}

.property-carousel .ry-property-rooms li{
    width: 33.33% !important;
    float: left;
}





/* SINGLE PROPERTY */

.single-property #container{
    max-width: unset;
}

.ry-property-actions{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.ry-property-actions li a{
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    background: var(--bs-primary);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    font-weight: 400;
    padding: .5rem 1rem;
    font-family: 'DM Serif Display';
    text-shadow: none;
}

.ry-property-actions li a:hover{
    color: var(--bs-secondary) !important;
    transition: all .3s ease;
}

.ry-summary .text-end{
    display: none !important;
}

/* Enquiry Popup */

.offcanvas-enquiry{
    width: 80%;
    max-width: 800px;
}

@media(max-width:767px){
    .offcanvas-enquiry{
        max-width: unset;
        width: 100%;
    }
}

.offcanvas-enquiry .btn-close{
    height: unset;
    width: unset;
    opacity: .95;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 3px;
    padding: 0.75rem;
    margin: 0;
    transition: all .5s ease;
}

.offcanvas-enquiry .btn-close:hover{
    background: var(--bs-secondary);
}

.offcanvas-enquiry .btn-close i {
    font-size: 24px;
    width: 24px;
    vertical-align: middle;
    line-height: 1;
    color: #fff;
}


.leaflet-container a{
    color: var(--bs-primary) !important;
}
