﻿body {
    text-align: left;
    font-size: large;
    color: white;
    background-color: #0A3D62;
    font-family: 'Open Sans', sans-serif;
    margin-left: 0.5rem;
}
#divContent {
    margin-left: 0px;
    padding-left: 0px !important;
    color: white !important;
}
#sidebar {
    height: 100vh !important;
    width: 18rem;
    font-size: 1.2vw;
    scrollbar-width: thin;
    scrollbar-color: gray transparent;
    padding: 1rem;
    display: block !important;
}
.navbar {
    background-color: #1B4F72 !important;
    margin-left: -0.5rem;
    font-size: medium;
}

.navbar-brand {
    color: #FFFFFF !important;
    margin-left: 0.5rem;
}

.error-label {
    color: red;
    font: italic;
    font-size: 1rem;
    display: inline-block;
}

form {
    width: 100%;
}

label {
    margin-left: 1rem;
}

.form-floating {
    color: dimgray;
}

input[type="checkbox"] {
    transform: scale(1.5);
}

input[type="radio"] {
    transform: scale(1.5);
}

.rounded {
    font-size: larger;
    width: 120px;
    height: 15px;
    padding: 10px;
    border: 2px solid #cccc;
    border-radius: 20px;
    outline: none;
}

input:focus {
    border-color: #66afe9;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
}

input[type="submit"] {
    height: auto;
    width: auto;
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    background-color: #4299e1;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    line-height: 26px;
    margin: 0.25rem;
}

    input[type="submit"]:hover {
        background-color: #599fd9;
    }

select.rounded {
    font-size: small;
    width: 12rem;
    height: 3rem;
}
a.nav-link:link {
    color: inherit;
    text-decoration: none;
}

a.nav-link:visited {
    color: inherit;
    text-decoration: none;
}

a.nav-link:hover {
    text-decoration: underline;
}

a.nav-link:active {
    color: #fb3f00;
    text-decoration: none;
}
/*Remove up/down spinner for the phone number text box*/
#txtPhone::-webkit-inner-spin-button,
#txtPhone::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#divLoginContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    padding: 1rem;
}
#divLogin{
    border-width: 0.5rem;
    border-color: white;
    width: 50%;
    align-content: center;
    padding: 0.5rem;
}
.card {
    width: 20rem;
    height: 34rem;
}
.card-body {
    width: 100%;
    height: 90%;
}
.card-img {
    height: 8rem;
    object-fit: cover;
}
.custom-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hover-expand {
    transition: transform 0.3s ease; /* Smooth transition */
}

    .hover-expand:hover {
        transform: scale(1.05);
        z-index: 1;
        position: relative;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border-color: blue;
    }
#divHouses {
    width: 80%;
    /*border-style: solid !important; uncomment for the border to work*/
    border-color: white !important;
    border-width: thin !important;
    margin-left: 3rem;
}
#amenitiesDrop{
    color: black;
}
.listbox{
    color: black;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: black !important;
    width: 100% !important;
}

.select2-container--default .select2-results__option {
    color: black !important;
    width: 100% !important;
}
.select2-search--inline {
    display: contents; /*this will make the container disappear, making the child the one who sets the width of the element*/
}

.select2-search__field:placeholder-shown {
    width: 100% !important; /*makes the placeholder to be 100% of the width while there are no options selected*/
}
.new-home{
    height: 7rem !important;
    margin: 0.5rem;
    padding: 0.5rem;
    width: 100%;
}
#houseContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1rem;
}
#divAddHouse {
    justify-content: center;
    width: 75% !important;
    box-sizing: border-box;
    margin: auto;
}
.scrolling-listbox {
    height: 6rem !important;
    overflow-y: auto;
    width: 50% !important;
    border: 1px solid #ccc;
    padding: 5px;
}
.carousel{
    transform: scale(1) !important;
    transform-origin: center;
    margin-left: auto;
    margin-right: auto;
}
    .carousel:hover {
        transform: none;
    }
    .carousel:active{
        transform: none;
        margin: auto;
        height: 100%;
        width: 100%;
    }
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* This will crop images to fit the set height */
}

.mls-header, .mls-footer {
    font-size: 12px;
    text-align: center;
    font-weight: bold;
}

.mls-section {
    margin-bottom: 15px;
    border-style: solid;
    border-color: white !important;
    border-width: 0.1rem !important;
    padding: 0.5rem;
}
.mls-carousel {
    width: 100%;
}

.mls-section-title {
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 5px;
}

.room-table th, .room-table td {
    font-size: 12px;
    padding: 5px;
}
.collapse.nav.flex-column {
    list-style-type: none;
    padding-left: 0;
}
.amenity-label{
    margin-right: 0.5rem;
}
.grid-view-full-width {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

    .grid-view-full-width th, .grid-view-full-width td {
        border: 1px solid #ddd;
        padding: 10px;
    }
.grid-view-padding th, .grid-view-padding td {
    padding: 10px; 
}
#lblSellHome{
    margin-right: 0.3rem;
}
.listbox::-webkit-scrollbar {
    width: 8px;
}

.listbox::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.listbox::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px; 
}

    .listbox::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.listbox {
    scrollbar-width: thin;
    scrollbar-color: #093b4f;
    background-color: #052a45;
    border-collapse: separate;
    color: white !important;
    background-color: #164d63;
}
    .listbox option {
        border-bottom: 1px solid #ccc;
        padding: 5px;
        background-color: #164d63;
        color: white;
    }
        .listbox option:hover {
            background-color: #224857;
        }
        .listbox option:checked {
            background-color: #24414d;
            color: white;
        }
        .listbox option:last-child {
            border-bottom: none;
        }
.offer-card{
    height: 30rem !important;
}
.showing-card {
    height: 15rem !important;
}
.btn-offer{
    height: 0.2rem;
    width: 0.8rem;
}
.button-with-image {
    background-image: url('images/logout.png');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-right: 40px;
    margin: auto;
    width: 9rem !important;
    position: relative;
    z-index: 999;
}
    .button-with-image#btnViewProfile {
        background-image: url('images/icon.png') !important;
        width: 11rem !important;
        position: relative !important;
        z-index: 999 !important;
    }
#lbRooms{
    color: black !important;
}
.searchText#infoText {
    font-size: 1vw;
    width: 15vw;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    display: inline-block;
}
.location-box{
    width: 10vw !important;
    height: 5vh !important;
    max-width: 80%
}
.size-box {
    width: 8vw !important;
}