﻿h2 {
    font-size: 20px;
}

a.call-to-action {
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

a.btn-active {
    background: #00467f;
    border: 1px solid #00467f;
    color: #fff;
    margin: 0 auto;
    text-align: center;
}

    a.btn-active:hover,
    a.btn-active:focus {
        background: #fff;
        color: #2b76a9 !important;
    }

.img-responsive {
    max-width: 100%;
}

.content-container {
    padding: 10px 20px;
}

.content-container,
.grey-banner-content,
.property-name {
    max-width: 1300px;
    margin: 0 auto;
}

.grey-banner-content {
    padding-left: 40px;
    padding-right: 40px;
}

.content-wrap {
    padding-top: 35px;
    padding-bottom: 30px;
}

.content-spacing {
    padding-bottom: 25px;
}

.content-bottom {
    padding-top: 0;
    padding-bottom: 20px;
}

.contact-card {
    min-height: 265px;
    position: relative;
}

    .contact-card .img-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.contact-links {
    margin: 0 auto;
    text-align: center;
}

    .contact-links .content-btn {
        margin-top: 5%;
    }

    .contact-links.is-bottom .content-btn {
        margin-top: 5%;
    }

    .contact-links p {
        margin-top: 0;
    }

.details-table {
    border-spacing: unset;
    margin: 0 auto;
    width: 100%;
}

    .details-table > tr {
        padding-left: 10px !important;
    }

    .details-table tr:nth-child(odd) {
        background: #f9f9f9;
    }

    .details-table td {
        padding: 6px 12px;
    }

.grey-banner {
    background: #eee;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
}

.lightgrey {
    background: #f7f7f7;
}

.grey-banner.has-border {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.grey-banner h2 {
    border: 0;
    color: #333;
    font-weight: bold;
    margin-top: 0 !important;
}

.grey-banner p {
    font-size: 16px;
}

.property-image {
    margin: 0 auto;
    text-align: center;
}

.property-name {
    font-size: 28px;
    font-weight: normal;
    line-height: 1.2;
    padding: 0 20px 20px;
    margin-top: 15px;
}

.section-header {
    color: #333;
    display: block;
    font-size: 22px;
    font-weight: bold;
}

.map-wrap {
    background: #f7f7f7;
    height: 530px;
    width: 100%;
}

.property-map {
    width: 100%;
}

.content-screen {
    position: relative;
}

.screen-wrap {
    text-align: center;
}

.screen-btn {
    position: absolute;
    text-align: center;
    width: 100%;
}

.property-table thead th {
    background: #eee;
}

.property-table p {
    margin: 0;
    padding: 0 40px 0 0;
}


.is-desktop .screen-btn {
    top: 35%;
}

.is-mobile .screen-btn {
    top: 25%;
}

.is-mobile {
    display: none;
}

@media (max-width: 1300px) {
    .content-container {
        max-width: inherit;
    }

    .row {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .grey-banner .span6 {
        margin-left: 0;
        width: 100%;
    }

    .content-wrap .content-btn {
        margin: 25px auto 10px;
        text-align: center;
    }

    .grey-banner-content {
        padding-left: 20px;
        padding-right: 20px;
    }

        .grey-banner-content p {
            padding-right: 30px;
        }

    .contact-links .content-btn {
        margin-top: 15%;
    }

    .contact-links.is-bottom .content-btn {
        margin-top: 25%;
    }

    .contact-card {
        min-height: 210px;
        margin-top: 65px;
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .contact-links .content-btn,
    .contact-links.is-bottom .content-btn {
        margin-top: 25px;
    }

    .details-table {
        margin: 25px 0;
    }

    .content-wrap {
        padding: 0;
    }

    .grey-banner {
        box-sizing: border-box;
        padding: 20px;
    }

        .grey-banner .call-to-action {
            padding: 10px 20px;
        }


        .grey-banner h2 {
            font-size: 18px;
        }

    .grey-banner-content p {
        padding-right: 0;
    }

    .property-name {
        font-size: 22px;
    }

    .section-header {
        font-size: 18px;
    }
}

@media screen and (max-width: 640px) {
    .is-desktop {
        display: none;
    }

    .is-mobile {
        display: block;
    }

    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive tr,
    .table-responsive th,
    .table-responsive td {
        display: block;
        float: left;
        width: 100%;
    }

    .table-responsive th {
        display: none;
    }

    .table-responsive tbody > tr {
        border: 1px solid #ddd;
        border-bottom: 0;
        position: relative;
        margin: 10px 0;
        width: 99%;
    }

    .table-responsive p {
        text-align: left !important;
    }

    .table-responsive tbody > tr > td {
        border: 0;
        border-bottom: 1px solid #ddd;
        box-sizing: border-box;
        padding-left: 35%;
        text-align: left !important;
        white-space: normal;
        width: 100%;
        word-break: break-all;
    }

        .table-responsive tbody > tr > td:before {
            font-weight: bold;
            float: left;
            margin-left: -50%;
            text-align: left;
            width: 35%;
            white-space: normal;
        }

    .table-responsive > * > tr > td:nth-child(1):before {
        content: "Submarket";
    }

    .table-responsive > * > tr > td:nth-child(2):before {
        content: "Property";
    }

    .table-responsive > * > tr > td:nth-child(3):before {
        content: "Address";
    }

    .table-responsive > * > tr > td:nth-child(4):before {
        content: "Units";
    }

    .contact-card {
        margin-top: 45px;
    }
}

@media (max-width:480px) {
    .contact-card {
        min-height: 180px;
    }

    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive tr,
    .table-responsive th,
    .table-responsive td {
        font-size: 14px;
    }
}
