footer { padding: 30px 0; }
footer #copyright { margin-top: 60px; }
img { max-width: 100%; }

.agents { text-align: center; font-size: 14px; }
.agents .AgentProfile {
    border: 0px;
    background: none;
    float: none;
    display: inline-block;
    width: 180px;
    height: auto;
    overflow: hidden;
    margin: 10px 5px;
    position: relative;
    vertical-align: top;
}
.agents .AgentProfile .photo, .detailRight .contact .photo {
    position: relative;
    top: 5px;
    left: 5px;
    display: inline-block;
    vertical-align: top;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    border: 2px solid #DADADA;
    margin-bottom: 8px;
}
.agents .AgentProfile .info {
    position: relative;
    top: 5px;
    bottom: 5px;
    left: auto;
    display: inline-block;
    width: auto;
    overflow: hidden;
    white-space: nowrap;
}
.agents .AgentProfile .title {
    border-top: solid 1px #ffffff4f;
    border-bottom: solid 1px #ffffff4f;
    margin-bottom: 8px;
}
.agents .AgentProfile .phonef {
    color: #082857;
    font-weight: 600;
    font-family: arial;
}
.AgentProfile .name {
    font-size: 16px;
    padding-bottom: 4px;
}
.agents a { color: #d18708; text-decoration: none; }
.agentsGridStandard { justify-content: center; }

.photo, h1, h2, h3, h4  { text-align: center; }
.footer-contact { text-align: center; margin-top: 40px; }
.footer-contact-info { text-align: center; margin-top: 40px; }

.featuredCarousel .featuredGalleryBlockWrapper { text-align: center; }
.featuredCarousel .featuredGalleryBlock { float: none; display: inline-block; }

@media (min-width: 480px) {
    .photo, h1, h2, h3, h4 { text-align: inherit; }
    footer h4 { text-align: left; }
    .footer-contact { text-align: left; border-left: solid 3px #323232; padding-left: 30px; margin-top: 0px; }
    .footer-contact-info { text-align: right; padding-right: 30px; margin-top: 0px; }
}
@media (min-width: 768px) {
    .featuredGalleryBlockWrapper, .searchResultsGalleryWrapper { text-align: center; }
    .featuredGalleryBlock, .searchResultsGallery { float: none; display: inline-block; }
}
