/*
==============================
COMPARABLE SALES
==============================
*/

.comparable-sale-disclaimer {
    padding: 30px 10px;
    font-size: 0.8rem;
    opacity: 0.75;
}

.sales-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 12px;
}

.comparable-sale {
    background: #fbfbfb;
    padding: 5px;
    box-shadow: 0px 0px 5px #6b6b6b;
    border-radius: 5px;
    color: #555;
    line-height: 1.5;
}

.comparable-sale p {
    font-size: 14px;
}

.comparable-sale p {
    margin: 3px 0;
    padding: 0;
}

.comparable-sale-photo {
    width: 100%;
    overflow: hidden;
    height: calc(100vw * 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    margin-bottom: 5px;
}

.comparable-sale-photo img {
    margin: auto;
    display: block;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.comparable-sale-details {
    padding: 3px;
}

.comparable-sale-address {
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 8px !important;
    margin: 8px 0 !important;
    border-bottom: 2px solid rgba(77, 77, 79, 0.8);
}

.comparable-sale-price {
    color: #333;
    display: block;
    font-size: 1.3em;
    text-align: right;
    margin-top: 18px !important;
}

@media only screen and (min-width: 550px) {
    .sales-container {
        grid-template-columns: 1fr 1fr;
    }
    .comparable-sale-photo {
        height: calc(100vw * 0.35);
    }
    .comparable-sale-disclaimer {
        padding: 30px;
    }
}

@media only screen and (min-width: 800px) {
    .comparable-sale-photo {
        height: 160px;
    }
    .sales-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
