/* ------------------------------------------------------------------------------------------------------------------ */
/* CSS - House detail page */
/* ------------------------------------------------------------------------------------------------------------------ */
.detailsContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 50px 0;
}
.detailsContainer > div {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1100px;
    height: fit-content;
    margin: 20px;
}
.detailsContainer > div > .houseDetailSlider {
    width: 100%;
    height: 500px;
    background-image: url('../../images/backgrounds/maldives.jpg');
    background-size: cover;
    transition: all 0.5s ease-in-out;
    box-shadow: var(--box-shadow);
}
.detailsContainer > div > .houseDetailSlider > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detailsContainer > div > .houseDetailsHead {
    display: flex;
    height: 200px;
    border-bottom: 1px dashed var(--color-grey-light);
}
.detailsContainer > div > .houseDetailsHead > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: calc(100% / 2);
}
.detailsContainer > div > .houseDetailsHead > div:first-child {
    align-items: flex-start;
}
.detailsContainer > div > .houseDetailsHead > div:first-child > h2 {
    margin: 20px 0;
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div.houseLocation {
    min-width: 120px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary));
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div.houseLocation > p {
    margin: 0 auto;
    padding: 5px 10px;
    color: var(--color-FF);
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div > i {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: auto 10px;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div > a {
    transition: color 0.5s ease-in-out;
}
.detailsContainer > div > .houseDetailsHead > div:first-child > div > a:hover {
    color: var(--color-primary);
}
.detailsContainer > div > .houseDetailsHead > div:last-child {
    align-items: flex-end;
}
.detailsContainer > div > .houseDetailsHead > div:last-child > .propertyPrice {
    display: flex;
    justify-content: center;
    align-items: center;
}
.detailsContainer > div > .houseDetailsHead > div:last-child > .propertyPrice > p {
    margin: auto 0 auto 10px;
}
.detailsContainer > div > .houseDescription {
    width: 100%;
    margin: 20px 0;
    border-bottom: 1px dashed var(--color-grey-light);
}
.detailsContainer > div > .houseDescription > p {
    padding-bottom: 20px;
}
.detailsContainer > div > .propertyOwner {
    width: 100%;
}
.detailsContainer > div > .propertyOwner > .profile {
    display: flex;
    margin-top: 20px;
}
.detailsContainer > div > .propertyOwner > .profile > .userPhoto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
}
.detailsContainer > div > .propertyOwner > .profile > .userPhoto > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div {
    display: flex;
    align-items: center;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div:first-child {
    margin-bottom: 10px;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div:nth-child(2) > p {
    color: var(--color-primary);
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div:nth-child(3) {
    margin-top: auto;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div > i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    color: var(--color-primary);
    font-size: 1rem;
}
.detailsContainer > div > .propertyOwner > .profile > div:last-child > div > i + p {
    margin-left: 10px;
}
@media screen and (max-width: 500px) {
    .detailsContainer > div > .propertyOwner > .profile {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    .detailsContainer > div > .propertyOwner > .profile > .userPhoto {
        width: 100%;
        height: fit-content;
        min-width: initial;
        min-height: initial;
    }
    .detailsContainer > div > .propertyOwner > .profile > .userPhoto > img {
        height: initial;
    }
    .detailsContainer > div > .propertyOwner > .profile > div:last-child {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 30px 0 0 0;
    }
    .detailsContainer > div > .propertyOwner > .profile > div:last-child > div:first-child {
        margin: 0;
    }
    .detailsContainer > div > .propertyOwner > .profile > div:last-child > div:nth-child(3) {
        margin-top: 50px;
    }
}