﻿h2 {
    margin: 1.5vw;
}

#container {
    letter-spacing: 0.05em !important;
}

.subpanel {
    width: 50%;
    margin: 0;
    display: flex;
    flex-grow: 1;
}

    .subpanel.first {
        flex-direction: column;
        padding-right: 1vw;
    }

.carousel {
    height: 100%;
}

.carousel-cell {
    width: 100%;
    height: 100%;
}

    .carousel-cell img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }

.estate-info {
    display: flex;
    width: 80%;
    margin: 4rem auto;
    padding-top: 4rem;
    box-shadow: 0 0 6px -2px rgba(0,0,0,0.5);
    border-radius: 1%;
}

.estate-info-group {
    display: flex;
    flex-direction: column;
}

.estate-info-group div {
    padding-bottom: 3rem;
    flex-basis: 50%;
}

.info-lbl, .info-data {
    display: block;
    text-align: center;
}

.info-lbl {
    font-size: 1rem;
    font-weight: bold;
}

.info-data {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.flex-container {
    display: flex;
    flex-direction: row;
    margin-top: 2vw;
    padding: 0 2vw;
}

.layout-interior {
    display: flex;
    flex-direction: column;
}

.layout-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

.layout {
    margin-bottom: 2%;
}

    .layout > a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        box-shadow: 0 0 8px -2px rgba(0,0,0,0.5);
        border-radius: 1%;
        transition: 0.3s;
    }

        .layout > a:hover {
            transform: scale(1.04);
            transition: 0.3s;
        }

        .layout > a > img {
            object-fit: cover;
            aspect-ratio: 1 / 1;
        }

        .layout > a > span {
            width: auto;
            color: black;
            font-weight: 500;
            font-size: 1rem;
            text-align: center;
        }

.mobile-property-info {
    display: none;
}

.no-proposal {
    margin: 10vh auto;
    width: 50%;
    text-align: center;
    font-size: 2em;
}

.property-gallery {
    width: 100%;
    margin-top: 20px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.property-info {
    width: 100%;
    margin: 20px;
    display: flex;
    flex-direction: column;
}

.property-list {
    height: calc(15vw + 5rem);
}

.related-properties {
    width: 100%;
    height: 100%;
    margin-top: 10vh;
    padding: 0 calc(2vw - 10px);
}

.carousel-cell {
    height: 100%;
}

    .carousel-cell img {
        aspect-ratio: auto 16 / 9;
    }

.product-item {
    text-align: center;
}

.image_info img {
    aspect-ratio: 16 / 9 !important;
}

.propertyTitle {
    text-align: center;
    height: 4vh;
}

.property-map {
    position: relative;
    width: 80%;
    margin: auto;
}

    .property-map #copyright-logo {
        position: absolute;
        width: 4%;
        height: auto;
        right: 2px;
        top: 2px;
    }

    .property-map a {
        font-size: 0.8rem;
    }

@media screen and (max-width: 998px) {
    .flex-container {
        flex-direction: column;
    }

    .property-info > .property-name, .property-info > .property-location {
        display: none;
    }

    .mobile-property-info {
        margin-top: 20px;
        display: block !important;
    }

    .property-name, .property-location {
        text-align: center;
    }

    .property-list {
        height: calc(20vw + 5rem);
    }

    .subpanel {
        width: 100%;
    }

        .subpanel.first {
            padding-right: 0;
        }

    .estate-info {
        display: block;

    }
}

@media screen and (max-width: 760px) {

    .property-list {
        height: calc(30vw + 5rem);
    }
}

@media screen and (max-width: 576px) {
    .flex-container {
        padding: 0 4vw;
    }

    .property-list {
        height: calc(56vw + 5rem);
    }
}