/* Profile Box */
.profile-box {
    width: 50%;
    float: left;
    margin-top: 0;
}

.profile-image-outer {
    float: left;
    width: 30%;
    padding-right: 30px;
}

.profile-info {
    float: left;
    width: 70%;
    padding-right: 30px;
}


.page-heading {
    border-bottom: 1px solid #BBB;
}

.content-row.data-buttons {
    padding-top: 0;
}

h1 {
    font-size: 28px;
    line-height: 32px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 28px;
    line-height: 32px;
    font-weight: normal;
    padding-bottom: 5px;
    padding-top: 0;
}

h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: normal;
    padding-top: 0;
}

h4 {
    font-size: 20px;
    font-weight: normal;
    margin: 20px 0;
}

.profile-content {
    padding-bottom: 20px;
    border-bottom: 1px solid #bbbbbb;
}

.profile-left {
    float: left;
    width: 25%;
}

.profile-right {
    float: left;
    width: 75%;
    line-height: 22px;
    padding-left: 30px;
}

.social-links-container {
    margin-top: 20px;
}


div.page-top-links {
    border: none;
}

.page-controls-container:empty {
    display: none;
}

.address-box {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 5px;
}

.agent-info {
    font-size: 14px;
    padding-bottom: 20px;
    width: 100%;
}

    .agent-info hr {
        border: 1px solid #333;
        background-color: #333;
        height: 1px;
    }

.agent-name {
    font-weight: bold;
    padding-bottom: 10px;
}

.agent-position {
    padding-bottom: 20px;
}

.agent-phone {
    margin-bottom: 10px;
}

.agent-social {
    padding-top: 10px;
}

    .agent-social img {
        width: 50px;
    }

.agent-profile {
    padding-top: 20px;
    width: 100%;
    font-size: 14px;
}

.agent-controls {
    display: none;
    margin-bottom: 20px;
}

    .agent-controls a {
        display: block;
        text-decoration: none;
        width: 100%;
        margin-bottom: 10px;
        padding: 0px;
        height: 50px;
        padding-top: 14px;
        font-size: 20px;
        margin-left: 0;
    }

.contact-form {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    font-size: 14px;
    max-width: 450px;
}

.profile-view {
    text-align: center;
    font-size: 20px;
    padding-top: 20px;
}

.display-data-type-container {
    text-align: center;
    width: 100%;
    padding-bottom: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .display-data-type-container a {
        display: inline-block;
        text-align: center;
        cursor: pointer;
        vertical-align: middle;
        padding: 15px 30px;
        margin-right: 10px;
        transition: all 0.15s;
        border-radius: 4px;
    }

        .display-data-type-container a:hover {
            color: #FFF;
            background-color: #f00;
        }

        .display-data-type-container a:last-of-type {
            margin-right: 0;
        }

/*.display-data-type-container a {
        width: 25%;
        display: block;
        text-align: center;
        vertical-align: middle;
        float: left;
        margin-left: 0;
        border-right: 1px solid #FFF;
    }*/

.active-type {
    color: #FFF;
    background-color: #f00 !important;
}

.no-listings {
    display: none;
}

.years-list {
    padding: 0;
}

.testimonial-title {
    padding-left: 0;
}

.testimonial-address {
    padding-left: 0;
}

.page-count {
    padding-left: 0;
}

.paging.paging-top {
    margin-top: 25px;
}

.paging.paging-bottom {
    margin-top: 25px;
}

.listing-throbber {
    top: -59px;
    left: 15px;
}

.profile-type .share-links {
    margin-top: 20px;
}

    .profile-type .share-links i {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all 0.15s;
    }


@media only screen and (max-width: 1199px) {
    .profile-type.profile-box {
        width: 50%;
    }

    .office-container {
        width: 50%;
    }
}

@media only screen and (max-width: 1060px) {
    .profile-image-icon:before {
        display: none;
    }
}

@media only screen and (max-width: 960px) {
    .profile-box,
    .office-container {
        width: 50%;
    }
}

@media only screen and (max-width: 850px) {
    .profile-box,
    .office-container {
        width: 100%;
    }

    .profile-info {
        float: none;
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .profile-image-outer {
        float: none;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .profile-type .profile-image-outer {
        float: left;
        width: 30%;
    }

    .profile-type .profile-info {
        float: left;
        width: 70%;
        text-align: left;
    }

    .profile-type h2.profile-name {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 400;
    }

    .profile-type .profile-position {
        font-size: 18px;
        font-weight: 300;
    }

    .profile-type.profile-box {
        width: 100%;
        float: none;
    }

    .office-container {
        width: 50%;
        float: none;
        margin-left: 15px;
    }
}

@media only screen and (max-width: 680px) {
    .profile-type.profile-box,
    .office-container {
        width: 100%;
        float: none;
        margin: 0 auto;
    }

    .profile-type.profile-box {
        padding: 0;
        margin-bottom: 40px;
    }

    .profile-image-outer {
        width: 50%;
    }

    .profile-left,
    .profile-right {
        float: none;
        width: 100%;
    }

    .profile-right {
        padding-left: 0;
    }

    .agent-controls {
        display: block;
        margin-top: 20px;
    }

    .display-data-type-container a {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        height: 50px;
        padding-top: 14px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .contact-box {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .overlay-text {
        font-size: 22px;
    }

    .img-overlay {
        top: 40px;
    }
}

@media only screen and (max-width: 500px) {
    .profile-type.profile-box,
    .office-container {
        width: 100%;
        margin: 0 auto;
    }

    .profile-type.profile-box {
        margin-bottom: 40px;
        padding: 0;
    }

    .profile-type .profile-image-outer {
        width: 50%;
    }

    .profile-type .profile-info {
        padding-left: 0;
        width: 100%;
    }

    .profile-type .share-links {
        text-align: left;
    }


    .overlay-text {
        padding: 5px;
    }

        .overlay-text span {
            font-size: 18px;
        }

    .img-overlay {
        top: 35px;
    }
}

@media only screen and (max-width: 330px) {
    .profile-type.profile-box {
        border: 1px solid #c8cfd7;
    }

    .profile-type .profile-image-outer {
        width: 100%;
    }

    .profile-type .profile-info {
        padding: 20px;
        padding-top: 0;
    }
    
    .office a.more-details-btn {
        font-size: 14px;
    }
}
