﻿h1 {
    font-weight: bold;
    font-size: 2.2rem;
    text-align: center;
}
h2 {
    font-size: 1.6rem;
    font-family: 'Montserrat-Bold';
}

.content-body {
    margin: 1em 0;
}

.content-body p {
    margin: .6em 1em;
    font-size: 1.2em;
}
@media screen and (min-width: 758px) {
    .content-body p, .content-body h3 {
        margin: .6em 4em;
        font-size: 1.2em;
    }
}

.properties {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 1em;
    margin-right: 1em;
}

@media screen and (min-width: 710px) {
    .properties {
        grid-template-columns: 1fr 1fr;
    }
    .properties > :last-child:nth-child(odd) {
        grid-column: -3 / -1;
    }
}

@media screen and (min-width: 758px) {
    .properties {
        margin-left: 0;
        margin-right: 0;
    }
}

.property {
    padding: 0px;
    box-shadow: -1px 5px 8px rgba(51, 51, 51, 0.14);
    box-sizing: border-box;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    height: 100%;
    font-family: 'Montserrat';
}

.property-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.property-thumbnail > img {
    position: absolute;
    top: -50%;
    right: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.property-caption {
    padding-left: 13px;
    padding-top: 11px;
    padding: 9px;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.5;
}
.property-caption > p {
    margin-bottom: 0.8em;
}
.property-caption > ul {
    font-size: 0.8rem;
    margin-top: 0.2em;
    margin-bottom: 0.4em;
}

.letterbox {
    height: 500px;
    position: relative;
    overflow: hidden;
    object-fit: contain;
    object-position: center;
}
.letterbox > img {

}

h2 {
    text-align: center;
}

h3 {
    font-weight: bold;
    float:none !important;
}