@font-face {
    font-family: Nunito-Bold;
    src: url(../fonts/Nunito/static/Nunito-Bold.ttf);
}

@font-face {
    font-family: Nunito-Italic;
    src: url(../fonts/Nunito/static/Nunito-Italic.ttf);
}

* {
    box-sizing: border-box;
}

p {
    margin: 0;
}

.host {
    font-family: Nunito-Bold;
}

.active {
    display: flex !important;
}

a {
    text-decoration: none;
    width: fit-content;
    outline: none;

}

a:active {
    border: none;
}

.room {
    background-color: rgb(0, 136, 255) !important;
    color: white !important;
}



.main {
    display: flex;
    justify-content: center;

}


.mid {
    border: none;
    height: auto;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.details_link {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}

.rental_building_card,
.room_card,
.house_card {
    height: 250px;
    width: 250px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
}

.rental_building_card .rental_building_img,
.room_card .room_img,
.house_card .house_img {

    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    position: relative;
}

.rental_building_card .rental_building_img img,
.room_card .room_img img,
.house_card .house_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.room_img .type {
    color: rgb(0, 0, 0);
    position: absolute;
    top: 2px;
    font-family: Nunito-Bold;
    font-size: small;
    background-color: rgba(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 4px 10px;
}

.room_img i,
.rental_building_img i,
.house_img i {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 5px;
    position: absolute;
    top: 5px;
    left: 5px;
}

.type {
    right: 2px;
}


.details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 5px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    transition-duration: 0.3s;
    padding: 5px;
}


.details span {
    display: block;
    text-align: start;
}

.rental_building_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details .location,
.rental_building_card .location,
.house_card .location ,
.room_card .location{
    color: #646464;
    font-family: Nunito-SemiBold;
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 90%;
    text-overflow: ellipsis;
    font-size: small;
    display: flex;
    align-items: center;
}
.details .location i,
.rental_building_card .location i,
.house_card .location i,
.room_card .location i {
    position: relative;
    background-color: transparent;
    width: fit-content;
    height: fit-content;
    display: inline;
    top: 0;
    left: 0;
    color: rgb(100, 100, 100);
    margin-right: 5px;
}


.rental_building_title,
.house_title {
    color: #000000;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    text-wrap: nowrap;
    width: auto;
    max-width: 95%;
    text-overflow: ellipsis;
    font-family: Nunito-Bold;
    font-size: medium;
    margin: 0;
    padding: 0;
}

.vacant {
    color: #000000;
    font-weight: 700;
    padding: 0 8px;
    font-family: Nunito-Bold;
}

.mini-navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
    gap: 15px;
    margin: 5px;
    border-radius: 10px;
}

.mini-navbar span {
    margin: 0;
    text-decoration: none;
    font-family: Nunito-Bold;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgb(172, 172, 172);
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    box-sizing: border-box;

}

.mini_nav_link {
    gap: 5px;
    display: flex !important;
    justify-content: center !important;
    align-items: baseline !important;
}

.active_link {
    color: rgb(255, 255, 255) !important;
    background-color: rgb(0, 145, 255);
    border: 1px solid rgb(0, 145, 255) !important;
}

.active_section {
    display: flex !important;
    ;
}


.content-section {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    justify-content: start;
    padding: 2px;
    height: fit-content;
}

.content-section.active {
    display: flex;
}

.content-section .empty {
    display: block;
    border-radius: 8px;
    color: #666;
    text-align: center;
    width: 100%;
    margin-top: 50px;
    font-family: Nunito-SemiBold;
}

.content-section:not(.active) .empty {
    display: none;
}