
[class*="agent_themeID_"] .dmg_internal_seoarea_cityLandingPage #dmg_layout_internal-page {
	max-width: 100%;
	padding: 0;
}

#eighty-one-red-bar {background: greens !important;}

#dmg_layout_wrapper {
	height: auto;
}

#dmg_layout_internal {
	padding: 20px 0 !important;
}

#dmg_layout_internal-page {
	max-width: 100% !important;
}

.dmg_layout_internal_background.dmg_internal_seoarea_cityLandingPage, .dmg_layout_internal_background.dmg_internal_seoarea_listingMarketingPage {background: #FFFFFF;}
#dmg_layout_internal.dmg_internal_seoarea_cityLandingPage, #dmg_layout_internal.dmg_internal_seoarea_listingMarketingPage {max-width: 100%; padding: 20px 0; box-shadow: none;}

#dmg_layout_internal.dmg_internal_seoarea_cityLandingPage #dmg_lp_wdgt_wrapper {max-width: 100%;}
#dmg_layout_internal.dmg_internal_seoarea_listingMarketingPage #dmg_layout_internal-page {
	max-width: 100%;
	padding: 20px 0px;
}


#dmg_lp_wrapper {width: 100%; margin: 0 auto; overflow: hidden;}
#dmg_mlp_wrapper #dmg_mlp_header {width: 100%; height: auto; padding: 15px 5px; background: #195483; color: #FFFFFF; text-align: center; display: table; box-sizing: border-box;}
#dmg_mlp_wrapper #dmg_mlp_header.bg_banner {height: 550px;}

#dmg_mlp_header h1 {color: #FFFFFF; font-weight: normal; display: table-cell; vertical-align: middle;}
#dmg_mlp_header span {color: #FFFFFF; font-size: 26px; font-weight: normal; line-height: 1em; text-align: center; display: inline-block;}

#dmg_mlp_header .heading_middle,
#dmg_mlp_header .heading_count {margin-left: 8px; display: inline-block;}
#dmg_mlp_header .heading_count {font-size: 16px;}

.dmg_lp_wdgt_featured_homes #dmg_results_wrapper h1 {
	display: none;
}

/*
#dmg_mlp_header .heading_location {margin-bottom: 5px; font-size: 32px; position: relative;}
.heading_location:after {content: ""; width: 100px; height: 3px; background: #FFFFFF; position: absolute; left: 50%; bottom: 0; margin-left: -50px;}
*/

.dmg_mlp_container {max-width: 1260px; margin: 0 auto; overflow: hidden;}


/* =============== Overview Navigation
============================================================================ */
.dmg_mlp_anchors {padding: 10px 5px 0; border-bottom: 1px solid #e5e5e5; font-size: 16px; text-align: center; color: #b7b7b7;}
.dmg_mlp_anchors a {margin-bottom: 10px; display: inline-block;}


/* =============== Market Info 
============================================================================ */
#dmg-wiid-13.dmg_lp_wdgt_market_info {width: 100%; max-width: 1260px; margin: 0 auto; padding: 20px 5px; text-align: center;box-sizing:border-box;} 
#dmg-wiid-13.dmg_lp_wdgt_market_info h2, #dmg-wiid-13.dmg_lp_wdgt_market_info h2 strong {font-size: 36px; color: #195483; font-weight: normal;}
#dmg-wiid-13.dmg_lp_wdgt_market_info p {font-size: 16px; line-height: 1.5em;}
/*
#dmg-wiid-13.dmg_lp_wdgt_market_info p:last-child a {height: 40px; padding: 0 15px; background: #821408; border-radius: 4px; color: #FFFFFF; line-height: 40px; display: inline-block;}
*/
#dmg-wiid-13.dmg_lp_wdgt_market_info p:last-child a:hover {background: #195483; color: #FFFFFF; text-decoration: none;}

.dmg_lp_wdgt_market_info #market_read_more_btn {height: 32px; padding: 0 10px; font-size: 16px; color: #FFFFFF; background: #1e659d; position: relative; float: none; box-sizing: border-box;}
.dmg_lp_wdgt_market_info #market_read_more_btn:hover {background: #333333; color: #FFFFFF;}
.dmg_lp_wdgt_market_info #market_read_more_btn:focus {outline: none;}
.dmg_lp_wdgt_market_info #market_read_more_content {margin-top: 10px;}

.dmg_lp_wdgt_market_info ul li {
	margin-bottom: 8px;
	line-height: 1.375em;
}

#market-text-small {
	position: relative;
}

#market-text-small:after {
    content: '';
    width: 100%;
    height: 80px;
    left: 0;
    bottom: 0;
    position: absolute;
    background: -webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 100%);
    background: linear-gradient(to bottom,rgba(255,255,255,0),#fff);
}

#market-text-small.full-display:after {
	display: none;
}


/* =============== Slideshow 
============================================================================ */
#dmg-wiid-20.dmg_lp_wdgt_slideshow {margin-top: 30px;}
#dmg-wiid-20.dmg_lp_wdgt_slideshow + #dmg-wiid-13.dmg_lp_wdgt_market_info {padding-top: 0;}

/* =============== Featured Homes
============================================================================ */
.dmg_lp_wdgt_featured_homes {padding: 0 20px; margin-bottom: 30px;}
#dmg-wiid-3.dmg_lp_wdgt_featured_homes h2 {width: 100%; height: 145px; line-height: 145px; margin-bottom: 0; background: #195483; color: #FFFFFF; font-size: 36px; font-weight: normal; text-align: center;}
.property_price, .address_wrap, .bab_wrap {display: block;}
.city_state_zip:before, .property_baths:before {content: "\00A0\2022"}


.image_overlay {width: 100%; padding: 10px 5px; background: rgba(0,0,0,0.7); font-size: 18px; color: #FFFFFF; line-height: 1.375em; text-align: center; display: block; box-sizing: border-box; position: absolute; bottom: 0;}
.property_price {font-size: 24px;}

.dmg_featured_flex {display: flex; flex-flow: row wrap; justify-content: center; padding-bottom: 20px;}
.dmg_lp_wdgt_home {width:32.3%; padding: 0; margin: 20px .5% 0; background-repeat: no-repeat; background-size: cover; background-position: center center; position: relative;}
.featured_home {width: 100%; padding: 0 0 75% 0; background-repeat: no-repeat; background-size: cover; background-position: center center; display: block;}
.featured_home img {width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0;}

.view_all {font-size: 16px;}
.view_all.top {margin-top: 8px;}
.view_all.bottom {margin-bottom: 8px;}

.featured_homes_pagination {padding: 0 20px;}
.featured_homes_pagination a.pagination_disabled{pointer-events: none; cursor: default;}

/* =============== VOW
============================================================================ */
.vow-blur .featured_home {
	filter: blur(10px);
}

.vow-blur .gallery-vow-content {
	width: 98%;
    padding: 20px;
    margin: 0 1%;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #195483;
    z-index: 100;
    position: absolute;
    bottom: 10px;
    background: #FFFFFF;
}

.vow-buttons a {
	float: none;
}


/* =============== Boundary Map
============================================================================ */
.dmg_lp_wdgt_boundarymap {width: 100%; margin-top: 20px; border-bottom: 3px solid #FFFFFF}
.dmg_boundary_container {width: 100%; height: 720px;}
#dmg_layout_internal .dmg_lp_wdgt_boundarymap h2 {margin: 0 0 20px; text-align: center; font-size: 30px; color: #195483; font-weight: normal;}
.dmg_boundary_container iframe {width: 100%;}

/* =============== Quick Search
============================================================================ */
.dmg_lp_wdgt_quick_search {padding: 50px 0 35px; background: #f2f2f2;}
.dmg_lp_wdgt_quick_search legend {display: none;}
#dmg_mlp_wrapper .dmg_lp_wdgt_quick_search h2 {margin-bottom: 20px; font-size: 36px; color: #195483; font-weight: normal; text-align: center;}
.qsearch_flex {width: 100%; max-width: 1260px; list-style: none; margin: 0 auto; padding: 0; display: flex; flex-flow: row wrap; justify-content: center;}
.qsearch_flex li {width: 20%; padding: 0 8px; margin-bottom: 15px; box-sizing: border-box;}
.dmg_lp_wdgt_quick_search input[type="text"] {width: 100%; height: 40px; padding: 0 0 0 5px; border: 1px solid #c9c9c9; border-radius: 3px; color: #5f5f5f; box-sizing: border-box;}

.dmg_quick_search_submit {width: 100%; height: 40px; line-height: 40px; padding: 0 10px; background: #195483; border-radius: 3px; color: #FFFFFF; font-size: 20px; text-align: left; box-sizing: border-box; cursor: pointer}
.dmg_quick_search_submit:hover {background: #821408; color: #FFFFFF;}
.dmg_quick_search_submit .fa {font-size: 30px; line-height: 40px; float: right;}

.dmg_select_wrap {width: 100%; position: relative;}
.styled_select {width: 100%; margin: 0; padding: .5em; border-radius: 4px; border: 1px solid #ccc; box-shadow: inset 0 1px 5px rgba(0,0,0,.1); transition: border .2s; box-sizing: border-box;}
.dmg_select_wrap select {margin: 0; position: absolute; display: block; top: 6px; bottom: 0; right: 0; left: 0; width: 100%; opacity: 0;}
.styled_select_display {width: 100%; height: 40px; line-height: 40px; margin: 0; padding: 0 29px 0 5px; background: #FFFFFF url(/shared/images/searchresults/select-down-arrow.png) right 5px center no-repeat; border: 1px solid #c9c9c9; border-radius: 3px; font-size: 14px; color: #5f5f5f; display: block; box-sizing: border-box;}

.styled_select_display .display_label {width: 100%; text-align: left;}
.styled_select:hover {cursor: pointer;}


/* == Market Info
============================================================================ */
.dmg_lp_wdgt_market_info {padding: 80px 5px; overflow: hidden}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info h2 {margin-bottom: 8px; font-size: 30px; color: #195483; font-weight: normal}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info h2 strong {font-weight: normal;}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info .dmg_mlp_container h2:first-child {font-size: 36px;}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info p {margin: 0; padding: 0; font-size: 16px;}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info p + p {margin-top: 12px;}
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info p + h2 {margin-top: 40px}
.dmg_lp_wdgt_market_info img {max-width: 98%; height: auto;}
.dmg_lp_wdgt_market_info img[align="center"], .dmg_lp_wdgt_market_info img[align="middle"] {margin: 0 auto; display: block;}


/* =============== Browse Listings
============================================================================ */
.dmp_lp_wdgt_related_pages {padding: 110px 5px; border-top: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF; background-image: url(/shared/images/marketlanding/related/family-carrying-boxes-into-new-home.jpg); background-repeat: no-repeat; background-size: cover; background-position: center center; position: relative;}
.dmp_lp_wdgt_related_pages:before {content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
background: -moz-linear-gradient(left, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.48) 30%, rgba(255,255,255,0.98) 60%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0.48) 30%,rgba(255,255,255,0.98) 60%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0.48) 30%,rgba(255,255,255,0.98) 60%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.dmg_mlp_anchors.dmg_mlp_container + .dmp_lp_wdgt_related_pages {width: 100%;}


.related_cols {list-style: none; margin: 0; padding: 0; column-count: 2;}
.dmp_lp_wdgt_related_pages_container {width: 100%; max-width: 680px; float: right; position: relative;}
#dmg_layout_internal .dmp_lp_wdgt_related_pages_container h2 {margin: 0 0 20px; font-size: 30px; color: #195483; font-weight: normal;}
.related_cols ul {list-style: none; margin: 0 0 20px; padding: 0;}
.related_cols li {font-size: 16px;}
.related_cols li .fa {margin-left: 5px; color: #9f9c9b;}
.related_cols li + li {margin-top: 18px;}
#dmg_layout_internal .related_cols h3 {font-size: 24px; color: #821408; font-weight: normal; }
.related_cols div {-webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid;}
.dmp_lp_wdgt_related_pages_container a {color: #323232; text-decoration: none;}
.dmp_lp_wdgt_related_pages_container a:hover {color: #821408; text-decoration: none;}  

/* =============== MARKET STATS
============================================================================ */
.dmg_marketstats_container {
	max-width: 1260px;
	margin: 30px auto;
	padding: 0 5px;
}

.listing-data-wrapper {
	margin-bottom: 40px;
	display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.stats-data-wrapper {
	max-width: 960px;
	margin: 0 auto 24px;
	padding-top: 20px;
	background: #f2f2f2;
}

.stats-data-wrapper:after {
	content: "";
	width: 100%;
	display: table;
}

#dmg-wiid-23 h2.dmg_market_banner {
    height: 42px;
    margin-bottom: 24px;
    padding: 0 0 0 40px;
    background: #195483;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 42px;
    vertical-align: middle;
    display: inline-block;
}

#dmg-wiid-23 .banner_cap_white {
    width: 0;
    height: 0;
    margin-left: 40px;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-right: 21px solid #FFFFFF;
    float: right;
}

#dmg-wiid-23 .dmg_market_banner.banner_large {
	height: 76px;
	line-height: 1.25em;
    display: table;
}

.dmg_market_banner.banner_large > span {
    display: table-cell;
    vertical-align: middle;
}

#dmg-wiid-23 .banner_large .banner_cap_gray {
    border-top: 38px solid transparent;
    border-bottom: 38px solid transparent;
    border-right: 25px solid #f2f2f2;
    float: right;
}

.dmg_market_banner .banner_cap_gray {
    width: 0;
    height: 0;
    margin-left: 40px;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-right: 21px solid #f2f2f2;
    float: right;
}

/* == LISTING TOTALS ====================================== */
.dmg_market_listings_total {width: 100%; margin: 20px 0; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #e5e5e5; font-size: 100%; overflow: hidden;}
#dmg-wiid-23 .market_listings_data {width: 14.6666%; height: 140px; min-width: 140px; margin: 0 1% 15px; background: #b2b2b2; color: #FFFFFF; font-size: .875em; line-height: 1em; text-align: center; text-decoration: none; border-radius: 35px 0 35px 0; float: left; display: table;}
#dmg-wiid-23 .market_listings_data span {display: table-cell; vertical-align: middle; }
#dmg-wiid-23 .market_listings_data strong {margin: 3px 0; font-size: 2.5em; font-weight: normal; line-height: 1em; display: block;}
#dmg-wiid-23 .market_listings_data:nth-of-type(2) {background: #999999}
#dmg-wiid-23 .market_listings_data:nth-of-type(3) {background: #7f7f7f}
#dmg-wiid-23 .market_listings_data:nth-of-type(4) {background: #666666}
#dmg-wiid-23 .market_listings_data:nth-of-type(5) {background: #4c4c4c}
#dmg-wiid-23 .market_listings_data:nth-of-type(6) {background: #333333}
#dmg-wiid-23 .market_listings_data:hover {background: #195483; color: #FFFFFF;}
#dmg-wiid-23 .browse_all_listings {font-size: 18px; text-decoration: none; display: block; clear: left;}


/* == HOUSING STATS ====================================== */
#dmg_housing_stats_wrapper {width: 100%; height: 266px; padding-top: 20px; background: #f2f2f2;}
.dmg_market_banner.banner_large {float: left;}
.dmg_stats_data {width: 150px; height: 150px; margin: 0 21px 10px; background: #FFFFFF; border: 10px solid #3a3a3a; border-radius: 50%; font-size: 13px; line-height: 1.25em; color: #195483; text-align: center; box-sizing: border-box; float: left; display: table;}
.dmg_stats_data > span {display: table-cell; vertical-align: middle;}
.dmg_stats_data > span strong {margin-top: 0px; font-size: 18px; font-weight: normal; display: block;}
.stats_data1, .stats_data2, .stats_data3 {margin-top: -34px;}

#dmg_housing_stats_wrapper + .dmg_stats_divider {margin-top: 55px;}
.dmg_stats_divider {margin: 35px 0; border-bottom: 1px solid #e5e5e5;}


/* == Desktop
============================================================================ */
@media only screen and (max-width: 960px) {
	.stats-data-wrapper {
		padding-top: 0;
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
	}

	#dmg-wiid-23 .dmg_market_banner.banner_large {
		width: 100%;
		margin: 0 0 8px;
	}

	.dmg_stats_data {
		margin: 15px;
	}

	#dmg-wiid-23 .banner_large .banner_cap_gray {
		display: none;
	}

	.dmg_market_banner.banner_large > span {
		text-align: center;
	}

	

}


/* =============== My Homefinder Signup
============================================================================ */
.dmp_lp_wdgt_mhf_signup {padding: 50px 5px 35px; background: #195483; color: #FFFFFF; font-size: 16px;}
.dmp_lp_wdgt_mhf_signup_container {width: 100%; max-width: 1260px; margin: 0 auto;}
.dmp_lp_wdgt_mhf_signup_container legend {display: none;}
#dmg_mlp_wrapper .dmp_lp_wdgt_mhf_signup_container h2 {margin: 0 0 5px; font-size: 30px; color: #FFFFFF; font-weight: normal}
#dmg_mlp_wrapper .dmp_lp_wdgt_mhf_signup_container p {margin: 0 0 20px; font-size: 16px;}

.dmp_lp_wdgt_mhf_signup_container .related_flex {width: 100%; list-style: none; margin: 0; padding: 0; display: flex; flex-flow: row wrap; justify-content: center;}
.related_flex li {width: 25%; padding: 0 8px; margin-bottom: 15px; box-sizing: border-box;}
.related_flex li:first-child {padding-left: 0}
.related_flex li:last-child {padding-right: 0}
.dmp_lp_wdgt_mhf_signup_container input[type="text"], .dmp_lp_wdgt_mhf_signup_container input[type="email"], .dmp_lp_wdgt_mhf_signup_container input[type="tel"] {width: 100%; height: 40px; padding: 0 0 0 5px; border: 0; border-radius: 3px; color: #5f5f5f; box-sizing: border-box;}

.dmp_lp_wdgt_mhf_submit {width: 100%; height: 40px; line-height: 40px; padding: 0 10px; background: #821408; border: 0; border-radius: 3px; color: #FFFFFF; font-size: 20px; text-align: left; box-sizing: border-box; cursor: pointer}
.dmp_lp_wdgt_mhf_submit:hover {background: #1e659d; color: #FFFFFF;}
.dmp_lp_wdgt_mhf_submit .fa {font-size: 30px; line-height: 40px; float: right;}

#dmg_mhf_signup_message {display: inline-block;}
#dmg_mhf_signup_message p.error {padding: 8px; background: #FFFFFF; border-radius: 4px; color: red;}
#dmg_mhf_signup_message p.success {padding: 8px; background: #FFFFFF; border-radius: 4px; color: green;}



/* =============== Market Trends
============================================================================ */
.dmg_lp_wdgt_market_trend_graphs {width: 100%; max-width: 960px; margin: 0 auto 60px; padding-top: 30px; padding-bottom: 30px; border-bottom: 1px solid #e5e5e5; overflow: hidden;}
#dmg_layout_internal .dmg_lp_wdgt_market_trend_graphs h2 {margin: 0 0 20px; font-size: 36px; color: #195483; font-weight: normal; text-align: center;}
.trend_descript {font-size: 16px; text-align: center; display: block;}


/* =============== Related Blog Articles
============================================================================ */
.dmg_lp_wdget_blogarticles {
	width: 100%;
	padding: 30px 5px;
	background: #f2f2f2;
	box-sizing: border-box;
}

#dmg_mlp_wrapper .dmg_lp_wdget_blogarticles h2 {
    margin-bottom: 32px;
    font-size: 36px;
    color: #195483;
    font-weight: normal;
    text-align: center;
}

.blog-article-flex {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.blog-article-flex a {
	width: 33.3333%;
	padding: 0 2%;
	display: block;
	box-sizing: border-box;
}

.article-title {
	margin-bottom: 10px;
	color: #195483 !important;
	font-size: 20px;
	line-height: 1.15em;
	display: block;
}

.article-desc {
	font-size: 16px;
	color: #343434;
	line-height: 1.5em;
}

.more-link {
	color: #195483 !important;
}

.article-title {
	margin-bottom: 10px;
	color: #195483 !important;
	font-size: 22px;
	line-height: 1.15em;
	display: block;
}

.blog-article-item .article-title:hover,
.blog-article-item .more-link:hover {
	color: #333333 !important;
}

/* == Tablet
============================================================================ */
@media only screen and (max-width: 768px) {
	.blog-article-flex {
		flex-flow: column;
	}
	
	.blog-article-flex a {
		width: 100%;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #e5e5e5;
	}

	.blog-article-flex a:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 580px) {
	#dmg_mlp_wrapper .dmg_lp_wdget_blogarticles h2 {
		font-size: 22px;
		margin-bottom: 16px;
	}

	.article-title {
		font-size: 18px;
	}

	.article-desc {
		font-size: 16px;
	}

}





/* == Related Area Testimonials ======================================
============================================================================ */
.detail-testimonials {
	width: 100%;
	padding: 40px 5px;
	background: #f2f2f2;
	box-sizing: border-box;
}
#dmg_layout_internal .detail-testimonials h2 {
    margin-bottom: 17px;
    font-size: 36px;
    color: #195483;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}
.testimonials-flex {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
.testimonials-CTA {
    background-color: #195483;
    color: #ffffff !important;
    border-radius: 3px;
    font-size: 20px;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    margin-top: 17px;
    text-align: center;
}
.testimonials-CTA:hover {
    text-decoration: none;
    background-color: #144369;
}
.testimonial-item {
    width: 33.3333%;
    padding: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.testimonial-item div.agent-photo {
    width: 100px;
    min-width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}
.testimonial-item div.agent-photo img {
    width: 100%;
    margin-top: -5px;
}
.testimonial-item div.testimonial-info {
    margin-left: 10px;
}
.testimonial-distance {
	margin-bottom: 5px;
	color: #195483 !important;
	font-size: 20px;
	line-height: 1.15em;
	display: block;
}
.testimonial-name {
    display: block;
    margin-top: 5px;
    font-weight: bold;
}
.testimonial-stars {
    display: block;
}
.detail-testimonials + .detail-related-articles {
    max-width: 1260px;
    padding: 40px 5px;
    border-bottom: 1px solid #e5e5e5;
    margin: 0 auto;
    background-color: transparent;
}
@media only screen and (max-width: 768px) {
	.testimonials-flex {
		flex-flow: column;
	}
    .testimonial-item {
        width: 100%;
    }
	.testimonial-item + .testimonial-item {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #e5e5e5;
	}
    .detail-testimonials + .detail-related-articles {
        margin-bottom: 30px;
        padding: 40px 0px;
        margin: 0 auto 30px;
        box-sizing: border-box;
        width: calc(100% - 40px);
    }
}
@media only screen and (max-width: 580px) {
	#dmg_layout_internal .detail-testimonials h2 {
		font-size: 26px;
		margin-bottom: 16px;
	}
	.testimonial-distance {
		font-size: 18px;
	}
	.article-desc {
		font-size: 16px;
	}
}


/* =============== DemoGraphics
============================================================================ */
.dmg_lp_wdgt_census_quickfacts {padding: 80px 5px; background: #195483; color: #FFFFFF; font-size: 16px;}
#dmg_layout_internal .dmg_lp_wdgt_census_quickfacts h2 {margin: 0 0 20px; font-size: 36px; line-height: 1em; color: #FFFFFF; font-weight: normal; text-align: center;}
.dmg_census_data_wrapper {width: 100%; max-width: 1260px; margin: 0 auto; column-count: 3; column-gap: 25px;}
.census_data_label {margin: 0 auto 5px; font-size: 20px; font-weight: bold; line-height: 1.125em;}
.census_section {text-align: center;}
.census_section div + div {margin-top: 10px;}
.census_section div.census_data_label + div {margin-top: 4px;}
.census_section + .census_section {margin-top: 20px;}
.census_data_value:before {content: "\2022\00A0"; color: #FFFFFF}
.census_section {break-inside: avoid}

.market-demo-icons {
	max-width: 1260px;
	margin: 24px auto 60px;
	padding-bottom: 30px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	position: relative;
}

.market-demo-icons:after {
	content: "";
	width: 80%;
	height: 1px;
	background: transparent;
	border-bottom: 1px solid #FFFFFF;
	position: absolute;
	left: 50%;
	bottom: 0;
	margin-left: -40%;
}


.demo-icon-item {
	width: 25%;
	min-width: 200px;
	padding: 0 15px 30px;
	box-sizing: border-box;
	color: #FFFFFF;
	text-align: center;
	text-shadow: 0 0 2px #000000;
}

.demo-icon-item span {
	line-height: 1em;
	display: block;
}

.demo-icon-item i {
	margin-bottom: 10px;
	font-size: 48px;
	display: block;
}

.demo-stat {
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: bold;
}

.demo-icon-item .demo-stat-label {
	line-height: 1.25em;
}

/* =============== Market Links
============================================================================ */
.dmp_lp_wdgt_market_links {padding-top: 30px;}
#dmg_layout_internal .dmp_lp_wdgt_market_links h2 {margin: 0 0 20px; font-size: 36px; color: #195483; font-weight: normal; text-align: center;}
.dmp_lp_wdgt_market_links_container {width: 100%; max-width: 1260px; margin: 0 auto; display: flex; flex-flow: row wrap; justify-content: space-between;}
.dmp_lp_wdgt_market_links_container ul {width: 100%; list-style: none; margin: 0; padding: 0; display: flex; flex-flow: row wrap; justify-content: center;}
.dmp_lp_wdgt_market_links_container li {width: 24%; padding: 0 .5%; margin-bottom: 15px; display: table;}

.dmp_lp_wdgt_market_links_container span {padding: 8px 0; line-height: 1em; position: relative; display: block;}
.dmp_lp_wdgt_market_links_container span:before {content: ""; width: 80%; height: 2px; background: #FFFFFF; position: absolute; top: 0; left: 10%;}
.dmp_lp_wdgt_market_links_container span:after {content: ""; width: 80%; height: 2px; background: #FFFFFF; position: absolute; bottom: 0; left: 10%;}
.dmp_lp_wdgt_market_links_container a {padding: 36% 0; background-color: #195483; background-repeat: no-repeat; background-size: cover; background-position: center center; color: #FFFFFF; font-size: 24px; display: table-cell; text-align: center; vertical-align: middle; position: relative;}
.dmp_lp_wdgt_market_links_container a:before {content: ""; width: 100%; height: 100%; background: rgba(0,0,0,0.7); position: absolute; top: 0; left: 0;}
.dmp_lp_wdgt_market_links_container a:hover {background-color: #195483; color: #FFFFFF; text-decoration: none;}
.dmp_lp_wdgt_market_links_container a:hover:before {background: rgba(0,0,0,0.4);}


/* == Desktop 
============================================================================ */
@media only screen and (min-width: 1480px) {
	.dmg_lp_wdgt_home {width: 24.5%;}			  
}

/* == Desktop 
============================================================================ */
@media only screen and (max-width: 1130px) {
	.property_price {font-size: 16px;}
	.image_overlay {font-size: 14px;}
			  
}

/* == Desktop 
============================================================================ */
@media only screen and (max-width: 880px) {
	#dmg-wiid-3.dmg_lp_wdgt_featured_homes h2 {height: 90px; line-height: 90px;font-size: 28px;}	

	.dmg_lp_wdgt_featured_homes {padding: 0 5px;}
	.dmg_lp_wdgt_home {width: 49%;}
	
	.dmp_lp_wdgt_market_links_container li {width: 32.3%;}
			 
}	


/* == Tablet 
============================================================================ */
@media only screen and (max-width: 768px) {
	.qsearch_flex li {width: 50%;}
	.related_flex li {width: 50%; padding: 0 8px;} 	 
	.related_flex li:first-child {padding-left: 8px;}
	.related_flex li:last-child {padding-right: 8px;} 
	
	.dmg_census_data_wrapper {column-count: 2;}

	.demo-icon-item {
		width: 33.3333%;
	}
}



/* == Phone
============================================================================ */
@media only screen and (max-width: 625px) {
  	.dmp_lp_wdgt_market_links_container li {width: 49%;}
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 580px) {
	.dmg_lp_wdgt_home {width: 100%;}
  	.property_price {font-size: 20px;}
	.image_overlay {font-size: 16px;}
	
	.dmp_lp_wdgt_related_pages {padding: 55px 5px;}
	.dmp_lp_wdgt_related_pages_container {width: 100%; margin: 0 auto; float: none;}
	
	#dmg_mlp_wrapper .dmg_lp_wdgt_quick_search h2 {font-size: 22px;}
	.dmg_lp_wdgt_quick_search {padding: 20px 0 5px;}
	
	.dmp_lp_wdgt_related_pages {padding: 20px 5px;}
	#dmg_layout_internal .dmp_lp_wdgt_related_pages_container h2 {font-size: 22px; text-align: center;}
	#dmg_layout_internal .related_cols h3 {font-size: 18px;}
	
	.dmp_lp_wdgt_mhf_signup {padding: 20px 5px 5px;}
	#dmg_mlp_wrapper .dmp_lp_wdgt_mhf_signup_container h2 {font-size: 22px; text-align: center;}
	
	.dmg_lp_wdgt_market_info {padding: 20px 5px;}
	#dmg_mlp_wrapper .dmg_lp_wdgt_market_info .dmg_mlp_container h2:first-child {font-size: 22px;}

	#dmg_layout_internal .dmg_lp_wdgt_boundarymap h2 {font-size: 22px;}
	
}	

/* == Phone
============================================================================ */
@media only screen and (max-width: 480px) {
	#dmg_mlp_wrapper #dmg_mlp_header {height: auto; padding: 10px 5px;}
	#dmg_mlp_header .heading_location {font-size: 24px;} 
 	#dmg_mlp_header span {font-size: 16px;}
  	
  	#dmg-wiid-13.dmg_lp_wdgt_market_info {padding: 25px 5px;}
  	#dmg-wiid-13.dmg_lp_wdgt_market_info h2, #dmg-wiid-13.dmg_lp_wdgt_market_info h2 strong {font-size: 24px;}
  	
  	#dmg-wiid-3.dmg_lp_wdgt_featured_homes h2 {height: 60px; line-height: 60px; font-size: 24px;}
  	
  	#dmg_mlp_wrapper .dmg_lp_wdgt_quick_search h2 {font-size: 24px;}
  	.dmg_lp_wdgt_quick_search {padding: 25px 0 10px;}
  	
  	#dmg_layout_internal .dmp_lp_wdgt_related_pages_container h2 {font-size: 24px; text-align: center;}
  	.dmp_lp_wdgt_related_pages {padding: 20px 5px;}
  	.related_cols {column-count: 1;}
  	.related_cols div {text-align: center;}
  	
  	.dmg_census_data_wrapper {column-count: 1;}
}

/* == Tablet 
============================================================================ */
@media only screen and (max-width: 425px) {
	.qsearch_flex li {width: 100%;}
	.dmp_lp_wdgt_market_links_container li {width: 99%;}
	.related_flex li {width: 100%; padding: 0;} 	 
	.related_flex li:first-child {padding-left: 0;}
	.related_flex li:last-child {padding-right: 0;}
}
