:root {
    --brand-color: black;
}

.apex27-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 120rem;
    width: calc(100% - 4rem);
}

.apex27-container h1,
.apex27-container h2,
.apex27-container h3 {
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.apex-container h2 {
    font-size: 48px;
}

.apex-container h3 {
    font-size: 40px;
}

.apex27-container h4 {
    margin-top: 4.5rem;
    margin-bottom: 2.5rem;
    font-size: 32px;
}

ul.apex27-media-list, ol.apex27-media-list {
    margin-bottom: 3rem;
}

@media (min-width: 700px) {
    .apex27-container {
        width: calc(100% - 8rem);
    }

    ul.apex27-media-list, ol.apex27-media-list {
        margin-bottom: 4rem;
    }

}

.apex27-footer {
    text-align: center;
    line-height: 32px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.apex27-footer img {
    vertical-align: middle;
}

.sr-only {
    display: none;
}

.d-flex {
    display: flex!important;
}

.d-inline {
    display: inline!important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-fill {
    flex: 1 1 auto!important;
}

.px-3 {
    padding-left: 16px;
    padding-right: 16px;
}

.mb-0 {
    margin-bottom: 0!important;
}

.my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.my-5 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.mt-0 {
    margin-top: 0!important;
}

.btn {
    font-family: "Inter var", "Roboto", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    padding: 8px 16px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

.btn:link, .btn:visited {
    color: white;
}

.btn:hover {
    text-decoration: none;
}

.btn[disabled] {
    opacity: 0.75;
}

.btn-brand {
    background: var(--brand-color) !important;
    color: white;
}

.text-brand {
    color: var(--brand-color) !important;
}

.text-center {
    text-align: center!important;
}

.text-right {
    text-align: right!important;
}

.lead {
    font-size: 48px;
}

.featured-badge {
    display: inline-block;
    background: rgba(255, 0, 0, .75);
    padding: 0 0.5rem;
    font-weight: bold;
}

#property-search-form .d-flex > * {
    margin-bottom: 6px;
    margin-right: 8px;
    width: 200px;
}

#property-search-form button {
    padding: 0 16px;
    height: 45px;
    background: var(--brand-color);
    color: white;
    border: 0;
    text-transform: uppercase;
}

#property-search-form select {
    padding: 8px;
    border-radius: 4px;
}

.card > .card-body {
    padding: 16px;
    line-height: 1.5;
}

/* Property Card */

.card.property-card > .card-body {
    background: rgba(0, 0, 0, 0.05);
}

.card.property-card.featured > .card-body {
    background: darkslategrey;
    color: white;
}

.card.property-card img {
    height: 256px;
    object-fit: cover;
}

.card.property-card > .card-body > .d-flex {
    flex-direction: column;
}

.card.property-card .property-card-image {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.property-card-details {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media screen and (min-width: 768px) {

    .card.property-card > .card-body > .d-flex {
        flex-direction: row;
    }

    .card.property-card .property-card-image {
        width: 30%;
        margin-bottom: 0;
    }

    .property-card-details {
        width: 70%;
    }
}

/* Property Details */

span.property-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    background: rgba(255, 0, 0, .75);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

span.property-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .25);
    padding: 8px 16px;
    color: white;
    text-align: center;
}

.property-details-status, .property-details-banner {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 0, 0, .75);
    color: white;
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
    letter-spacing: 0;
}

.property-details-banner {
    background: rgba(0, 0, 0, .75);
}

.mt-1 {
    margin-top: 8px;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 48px;
}

.img-fluid {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row > div {
    width: 100%;
    margin-left: 15px;
    margin-right: 15px;
}

.row > div:first-child {
    margin-left: 0;
}

.row > div:last-child {
    margin-right: 0;
}

@media (min-width: 1200px) {

    .mt-xl-0 {
        margin: 0!important;
    }

    .col-xl-4 {
        flex: 4;
    }

    .col-xl-8 {
        flex: 8;
    }

}

ul.property-details-bullets-list {
    color: var(--brand-color);
    list-style-type: square;
}

ul.property-details-bullets-list > li {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

span.bullet-text {
    color: black;
}

.form-group {
    margin-bottom: 8px;
}

#property-details-thumbnails {
    white-space: nowrap;
    overflow: auto;
    margin-bottom: 16px;
    position: relative;
}

#property-details-thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: inline-block;
    opacity: 0.5;
    cursor: pointer;
}

#property-details-thumbnails img:hover {
    opacity: 0.75;
}

#property-details-thumbnails img.active {
    opacity: 1;
}

#property-details-slider {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

#property-details-slider img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: inline-block;
}

#property-details-slider video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: inline-block;
}

#property-details-slider-prev, #property-details-slider-next {
    position: absolute;
    display: inline-block;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    top: 226px;
    line-height: 48px;
    text-align: center;
}

#property-details-slider-prev:hover,
#property-details-slider-next:hover {
    background: rgba(0, 0, 0, 0.75);
}

#property-details-slider-prev {
    left: 0;
}

#property-details-slider-next {
    right: 0;
}

#property-details-media-buttons .btn {
    margin-bottom: 16px;
}

/* Contact Form */

#apex27-contact-form label {
    display: inline-block;
}

#apex27-contact-form input[type=text],
#apex27-contact-form input[type=tel],
#apex27-contact-form input[type=email],
#apex27-contact-form textarea,
#apex27-contact-form select
{
    display: block;
    width: 100%;
    padding: 15px 18px;
}

#apex27-contact-form input,
#apex27-contact-form textarea {
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}
