p, h1, h2, h3, h4, h5, h6, img, div, span, form, fieldset, label, legend {margin: 0px; padding: 0px; border: 0px; font-size: 1em;}
legend {display: none;}

#dmg_detail_wrapper {width: 100%; min-height: 600px; max-width: 960px; padding: 10px 10px 30px 10px; background: #FFFFFF; margin: 0 auto; box-sizing: border-box; font-size: 16px; overflow: hidden;}
#dmg_detail_wrapper ul {margin: 0 !important; padding: 0 !important;}
#dmg_detail_wrapper li {padding-bottom: 0 !important}

/* == Breadcrumb Links ======================================
============================================================================ */
#dmg_crumb_wrapper {width: 100%; height: 20px; font-size: 12px; box-sizing: border-box;}
.dmg_detail_crumbs {font-size: .875em; color: #00285d; line-height: 20px; vertical-align: middle;float: left;}
.dmg_detail_crumbs span + span:before {content: "\2022"; color: #00285d; display: inline; padding-right: .25em;}
.dmg_detail_crumbs span:last-of-type {color: #333333;}

#breadcrumb {float: left;}	
#breadcrumb li {display: inline-block;}	

	

/* == Social Icons ======================================
============================================================================ */	
.dmg_share_wrapper a {display: block; float: right;}
.dmg_share_wrapper iframe {height: 24px !important; display: block; float: right;}	
.dmg_share_wrapper div {height: 20px; float: right;}
.google-share-button {width: 75px;}
.twitter-share-button {margin-right: 10px;}


/* == Detail Nav ======================================
============================================================================ */	
.dmg_detail_nav_wrapper {width: 100%; padding: 7px; margin-top: 15px; margin-bottom: 20px; background: #f7f7f7; box-sizing: border-box;}
.dmg_detail_nav_wrapper a, .dmg_detail_nav_wrapper label {padding: 4px 12px; display: block; text-align: center; font-size: 1em; color: #707070; text-decoration: none;}
.dmg_detail_nav_wrapper a + a, .dmg_controlled_content_wrapper label, .detail_nav_print {border-left: 1px solid #eaeaea}
.dmg_detail_nav_wrapper img {margin: 0 auto 3px; display: block;}
.dmg_detail_nav_wrapper a:hover, .dmg_detail_nav_wrapper label:hover {background: #e5e5e5; cursor: pointer;}
.dmg_detail_nav_wrapper .detail_nav_save {border: 0;}
.dmg_detail_nav_wrapper .detail_nav_call {border-left: 0; border-right: 1px solid #eaeaea}




.dmg_controlled_content_wrapper {max-width: 77px; position: relative;}

.dmg_nav_control_body {box-sizing: border-box; display: none;}
.dmg_nav_control_body .control_label {position: absolute; top: 0; right: 0; border: 0;}
.dmg_nav_control_body label {border: 0; text-align: left;}

.dmg_nav_control_body {padding: 15px; background: #FFFFFF; border: 1px solid #efefef; border-radius: 4px; box-shadow: 0 0 6px; #333333;}
.detail_nav_share + .dmg_nav_control_body {width: 320px; position: absolute; top: 50px; right: 0; z-index: 9999;}
.detail_nav_email + .dmg_nav_control_body {width: 320px; position: absolute; top: 50px; right: 0; z-index: 9999;}

#dmg_detail_share_control:checked ~ .detail_nav_share + .dmg_nav_control_body {display: block;}
#dmg_detail_email_control:checked ~ .detail_nav_email + .dmg_nav_control_body {display: block;}

.dmg_nav_control_body .dmg_modal_title {margin-bottom: 6px; font-size: 18px; color: #00285d; text-align: center; display: block;} 
.dmg_nav_control_body p {margin-bottom: 8px; font-size: 14px; line-height: 1.375em;}
.dmg_controlled_content_wrapper .dmg_nav_control_body a {border: 0;}
.dmg_controlled_content_wrapper .dmg_nav_control_body a:hover {background: #FFFFFF;}
.dmg_controlled_content_wrapper .dmg_nav_control_body a + a {margin-top: 6px;}


.dmg_email_listing_form ul {list-style: none; margin: 0; padding: 0;}
.dmg_email_listing_form li {margin-bottom: 12px;}
.dmg_email_listing_form li:last-child {margin-bottom: 0;}
.dmg_email_listing_form label {margin-bottom: 3px; padding: 0;}
.dmg_email_listing_form input[type="text"], .dmg_email_listing_form input[type="email"] {width: 100%; height: 34px; padding: 0 0 0 4px; border: 1px solid #CCCCCC; line-height: 34px; vertical-align: middle; border-radius: 4px; box-sizing: border-box;}
.dmg_email_listing_form textarea {width: 100%; height: 68px; padding: 4px; border: 1px solid #CCCCCC; border-radius: 4px; box-sizing: border-box;}


.dmg_detail_main {margin: 15px 0; color: #2e2e2e;}
.dmg_detail_main span + span:before {content: "/"; padding: 0 8px;}
.dmg_detail_main strong {font-weight: normal;}

.submit_button {width: 220px; height: 34px; padding: 0 10px; margin: 16px auto 0; background: #00285d url(/shared/listings/images/r/icon-arrow-right.png) right 10px center no-repeat; border: 0; border-radius: 2px; color: #FFFFFF; font-size: 16px; line-height: 34px; vertical-align: middle; text-align: left; display: block; box-sizing: border-box;}
.submit_button:hover {background: #cc3433 url(/shared/listings/images/r/icon-arrow-right.png) right 10px center no-repeat; color: #FFFFFF}


/* == Banners ======================================
============================================================================ */	
.dmg_detail_banner_wrapper div {padding: 5px 10px; margin-bottom: 7px; border-radius: 3px; background: #bdbdbd; font-size: 1em; color: #FFF; line-height: 1em; vertical-align: middle; display: inline-block; float: left;}
.dmg_detail_banner_wrapper div + div {margin-left: 7px;}
.dmg_detail_banner_wrapper .dmg_banner_red {background: #e51937;}
.dmg_banner_red a:link, .dmg_banner_red a:visited, .dmg_banner_red a:active {color: #FFFFFF}
.dmg_banner_red a:hover {color: #fada54;}

#dmg_detail_wrapper #dmg_detail_page_title {margin: 10px 0 0; padding: 0; border: 0; font-weight: normal; font-size: 1.8em; line-height: 1.125em}
#dmg_detail_wrapper #dmg_detail_page_title span + span:before {content: "\2022"; padding: 0 5px;}


.dmg_detail_table {width: 100%; margin-top: 5px; display: table;}
.dmg_detail_info {float: left; width: 65%; min-width: 300px; min-height: 500px; display: table-cell; vertical-align: top;}
.dmg_detail_cta {float: right; width: 35%; padding-left: 20px; display: table-cell; vertical-align: top; box-sizing: border-box;}

.dmg_detail_picture_viewer, figcaption {
	height: 34px;
    padding: 0 10px;
    margin: 10px 0;
    background: #efefef;
    border: 0;
    border-radius: 2px;
    color: #00285d; 
    font-size: 16px;
    text-decoration: none;
    line-height: 34px;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    float: left; 	
}

figcaption {margin-top: 15px;}

.dmg_detail_virtual_tour {
	height: 34px;
    padding: 0 10px;
    margin: 10px 0;
    background: #efefef;
    border: 0;
    border-radius: 2px;
    color: #00285dF;
    font-size: 16px;
    text-decoration: none;
    line-height: 34px;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    float: right;
}

.dmg_detail_picture_viewer:hover, .dmg_detail_virtual_tour:hover {background: #00285d; color: #FFFFFF;}

#dmg_detail_highlight_ribbon.dmg_sold_banner {
    width: 124px;
    height: 92px;
    background-image: url(/shared/images/listings/soldBanner.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}




/* == Main Photo ======================================
============================================================================ */	
.dmg_detail_main_listing_pic {position: relative; opacity: 1;}
.dmg_detail_photo {margin-bottom: 5px; position: relative;}
.dmg_detail_photo img {width: 100%}
.dmg_photo_overlay {width: 70px; height: 70px; padding: 4px; background: url(/shared/images/trans/black60.png) repeat; color: #FFF; font-size: 14px; text-align: center; position: absolute; bottom: 5px; box-sizing: border-box; right: 45px;}
.dmg_photo_overlay a {color: #FFFFFF; text-decoration: none;}
.overlay_box2 {right: 80px}
.overlay_box1 {right: 5px}
.dmg_photo_overlay img {width: 40%; margin: 0 auto 4px; display: block}

.dmg_detail_photo .dmg_photo_swipe {width: 150px; height: 79px; margin: -40px 0 0 -75px; border:0; background: url(/shared/listings/images/r/swipe-icon.png) no-repeat; position: absolute; top: 50%; left: 50%; display: none;}

.dmg_detail_photo.my-gallery figure {margin: 10px 5px 5px}
.photo_image_desc {margin-bottom: 8px; text-align: center; font-size: 14px;}

#dmg_detail_wrapper .dmg_detail_mobilethreed {display: none;}


/* == Content Controls ======================================
============================================================================ */	
.content_check {position: relative; display: none;}
.dmg_content_control_body {max-height: 0; margin: 5px 0; transition: max-height .5s ease-in; overflow: hidden; box-sizing: border-box;}

.dmg_content_control {width: 100%; padding: 8px; background: #f2f2f2; border-radius: 2px; font-size: 18px; line-height: 1em; vertical-align: middle; color: #2e2e2e; display: block; box-sizing: border-box; transition: background 0.25s ease-in; cursor: pointer}
.dmg_content_control span {width: 20px; height: 1em; background: url(/shared/listings/images/r/icon-expand.png) center center no-repeat; display: block; float: right;}


.content_check:checked + .dmg_content_control {background: #00285d; color: #FFFFFF; max-height: 3000px; transition: max-height .25s ease-out;}
.content_check:checked + .dmg_content_control span {background: url(/shared/listings/images/r/icon-collapse-w.png) center center no-repeat;}
.content_check:checked + .dmg_content_control + .dmg_content_control_body {position: relative; top: auto; left: auto; max-height: 3000px;}

#dmg_control_comments {clear: both;}

/* == Content Body ======================================
============================================================================ */
.dmg_content_control_body h2 {margin-bottom: 8px; font-size: 18px; color: #cc3433; font-weight: normal;}
.dmg_content_control_body p {color: #2e2e2e; line-height: 1.5em;}


/* == Content Rows ======================================
============================================================================ */
.dmg_content_rows div {padding: 5px 0; color: #2e2e2e; overflow: hidden;}
.dmg_content_rows_padding div {padding: 10px 0;}
.dmg_content_rows div:nth-of-type(even) {background: #f2f2f2;}
.dmg_content_rows span {width: 280px; padding: 5px 0; line-height: 1.125em; float: left;}
.dmg_content_rows span + span {float: right;}
.dmg_content_rows b {font-weight: normal}


.dmg_listing_footer_comments {margin: 10px 0 15px; padding-top: 10px; border-top: 1px solid #e5e5e5;}
#dmg_detail_wrapper .dmg_listing_footer_comments ul {padding-left: 25px !important;}

/* == Listing Info ======================================
============================================================================ */
.dmg_listing_company_info {margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5e5e5; color: #2e2e2e; font-size: 14px; overflow: hidden;}
.dmg_listing_company_info p {width: 100%; margin-bottom: 8px; font-size: 16px; float: right;}
.dmg_listing_company_info .dmg_details_agent_pic + .dmg_detais_listing_header {width: 84%}
.dmg_listing_company_info .dmg_details_agent_pic + .dmg_detais_listing_header + .dmg_details_agent {width: 84%}



.dmg_listing_company_info strong {font-size: 18px; font-weight: normal;}
.dmg_detais_listing_header {font-weight: bold;}
.dmg_details_agent_pic {width: 15%; height: auto; margin-right: 1%; float: left;}

.dmg_graph_nav {list-style: none; margin: 0; padding: 0; }
.dmg_graph_nav li {float: left;}
.dmg_graph_nav li + li:before {content: "|"; padding: 0 5px;}



/* == Vscreen Video ======================================
============================================================================ */
#dmg_vscreen_video_wrapper {}
#sundayskyDiv {max-width: 600px; margin: 0 auto 20px; clear: both}
#sskyPseudoInvitationDiv {width: 100% !important; max-width: 100%; height: 0 !important; padding-bottom: 56.25%;}


/* == Gallery ======================================
============================================================================ */
.dmg_more_pic {width: 25%; padding-bottom: 19%; float: left; position: relative;}
.dmg_more_pic_thumb {width: 120px; height: 90px; margin: 0 0 0 -60px; position: absolute; top: 0; left: 50%;}


.dmg_charts_wrapper {width: 100%; margin: 0 auto; box-sizing: border-box;}


/* == Demographics ======================================
============================================================================ */
.dmg_demographic_stats {width: 48%; font-size: 14px; float: left;}
.dmg_demographic_stats + .dmg_demographic_stats {margin-left: 4%;}
.dmg_demographic_stats div {padding: 4px 0; }
.dmg_demographic_stats .dmg_demographic_stats_group_label {padding: 5px; margin-top: 8px; background: #f2f2f2; border-bottom: 1px solid #CCCCCC; font-size: 16px; font-weight: bold;}
.dmg_demographic_stats_field_label {display: inline-block; padding-left: 5px;}
.dmg_demographic_stats_field_value {float: right;}


/* == Walkscore Widget ======================================
============================================================================ */
#ws-walkscore-tile {margin: 0 auto;}


/* == CTA Forms ======================================
============================================================================ */
.dmg_3dview_button img {margin: 0 auto 15px; display: block;}

.dmg_detail_cta {}
.dmg_detail_form_wrap {width: 300px; padding: 25px; box-sizing: border-box; overflow: hidden;}
.dmg_detail_form_wrap ul {list-style: none; margin: 0; padding: 0;}
.dmg_detail_form_wrap li {margin-bottom: 10px}
.dmg_detail_form_wrap li:last-child {margin-bottom: 0;}
.dmg_ctaform_contact {margin-bottom: 10px; background: #f8f8f8; border: 5px solid #dfdfdf;}
.dmg_ctaform_mortgage {border: 1px solid #dfdfdf; color: #484848;}

#dmg_mort_banner img {max-width: 100%; height: auto;}

/* == CTA Contact ======================================
============================================================================ */
.dmg_ctaform_contact_title {margin-bottom: 10px; font-size: 24px; color: #c50101; display: block;}
.dmg_ctaform_agent {margin-bottom: 10px; font-size: 14px; line-height: 1.5em; overflow: hidden;}
.dmg_ctaform_agent span {margin-bottom: 2px; color: #00285d; display: block;}
.dmg_ctaform_agent_photo {width: 90px; margin-right: 7px; float: left;}
.dmg_ctaform_agent_stars {width: 21px; padding-bottom: 5px; margin-right: 7px; display: block; float: left;}
.dmg_ctaform_agent .ctaform_agent_type {margin-bottom: 8px; display: block;}
.dmg_ctaform_agent p {overflow: hidden;}


.dmg_ctaform_contact input[type="text"], .dmg_ctaform_contact input[type="email"] {width: 100%; height: 34px; padding: 0 0 0 5px; border: 1px solid #d4d4d4; border-radius: 2px; font-size: 14px; color: #484848; line-height: 34px; vertical-align: middle; box-sizing border-box;}
#dmg_ctaform_date {background: #FFFFFF url(/shared/listings/images/r/icon-calendar.png) 212px center no-repeat}
#dmg_ctaform_time {background: #FFFFFF url(/shared/listings/images/r/icon-clock.png) 212px center no-repeat}

.dmg_ctaform_contact textarea {width: 100%; height: 100px; padding: 0 0 0 5px; border: 1px solid #d4d4d4; border-radius: 2px; font-size: 14px; color: #484848; line-height: 34px; vertical-align: middle; box-sizing border-box;}
.dmg_ctaform_contact label {color: #484848; font-size: 14px; font-weight: bold; line-height: 22px; vertical-align: middle;}
.dmg_ctaform_contact .long_label {line-height: 1em; font-weight: normal;}
.dmg_ctaform_contact .long_label span {line-height: 22px;}
.custom_checkbox.red + label {color: #c50101;}
.custom_checkbox {display: none;}
.custom_checkbox_control span {width: 22px; height: 22px; margin-right: 6px; border: 1px solid #d4d4d4; border-radius: 2px; background: #FFFFFF; text-align: center; color: #FFFFFF; font-size: 18px; font-weight: bold; box-sizing: border-box; display: inline-block; float: left;} 
.custom_checkbox:checked + .custom_checkbox_control span {color: #484848;}
.custom_checkbox.red:checked + .custom_checkbox_control span {color: #c50101;}

.dmg_ctaform_showing_input {margin: 10px 0 0; display: none;}
#dmg_ctaform_showing:checked ~ .dmg_ctaform_showing_input {display: block;} 
.showing_custom_checkbox {margin: 10px 0 0; display: none;}
#dmg_ctaform_showing:checked ~ .showing_custom_checkbox {display: block;}

.dmg_ctaform_submit {width: 100%; height: 34px; padding: 0 10px; margin-top: 10px; background: #c50101 url(/shared/listings/images/r/icon-arrow-right.png) 217px center no-repeat; border: 0; border-radius: 2px; color: #FFF; font-size: 16px; line-height: 34px; vertical-align: middle; text-align: left; box-sizing: border-box;}
.dmg_ctaform_submit:hover {background: #B7B7B7 url(/shared/listings/images/r/icon-arrow-right.png) 217px center no-repeat;}
.dmg_ctaform_another_request {width: 100%; height: 34px; padding: 0 10px; margin-top: 10px; background: #c50101 url(/shared/listings/images/r/icon-arrow-right.png) 217px center no-repeat; border: 0; border-radius: 2px; color: #FFF; font-size: 16px; line-height: 34px; vertical-align: middle; text-align: left; box-sizing: border-box;}
.dmg_ctaform_another_request:hover {background: #B7B7B7 url(/shared/listings/images/r/icon-arrow-right.png) 217px center no-repeat;}
div.contact_proc_message_success, div.contact_proc_message_exclusive {position: relative; top: -419px;}

/* == Calendar ======================================
============================================================================ */
#dmg_ctaform_date .ui-widget-header {border: 1px solid #e5e5e5; background: #FFFFFF;}
#dmg_ctaform_date ui-state-default, #dmg_ctaform_date .ui-widget-content .ui-state-default, #dmg_ctaform_date .ui-widget-header .ui-state-default {
    border: 1px solid #e5e5e5;
    background: #f2f2f2;
    font-weight: bold;
    color: #00285d;
}
#dmg_ctaform_date .ui-widget-content {background: #dfdfdf;}
#dmg_ctaform_date ui-state-default, #dmg_ctaform_date .ui-widget-content .ui-state-default, #dmg_ctaform_date .ui-widget-header .ui-state-default {background: #FFFFFF;}
#dmg_ctaform_date ui-state-default:hover, #dmg_ctaform_date .ui-widget-content .ui-state-default:hover, #dmg_ctaform_date .ui-widget-header .ui-state-default:hover {border: 1px solid #00285d; background: #EFEFEF;}
.ui-icon, .ui-widget-content .ui-icon {background-image: none;}
.ui-datepicker .ui-datepicker-next span {width: 0; height: 0; border-top: 5px solid transparent; border-left: 10px solid #CCCCCC; border-bottom: 5px solid transparent; margin-left: -3px; margin-top: -3px;} 
.ui-datepicker .ui-datepicker-prev span {width: 0; height: 0; border-top: 5px solid transparent; border-right: 10px solid #CCCCCC; border-bottom: 5px solid transparent; margin-left: -3px; margin-top: -3px;}
.ui-datepicker-next .ui-datepicker-next-hover {background: none; border: 1px solid #F00}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {border: 1px solid #00285d; background: none; color: #CCCCCC;}
#dmg_ctaform_date .ui-widget-content .ui-state-active {border: 1px solid #00285d;}

/* == CTA Mortgage ======================================
============================================================================ */
.dmg_ctaform_mortgage li {overflow: hidden;}
.dmg_ctaform_mortgage h2 {margin: 0 0 10px; font-size: 24px; color: #00285d;}
.dmg_ctaform_mortgage label {width: 88px; font-size: 14px; color: #484848; line-height: 34px; vertical-align: middle; display: block; float: left;}
.dmg_ctaform_mortgage .long_label {line-height: 1em;}
.dmg_ctaform_mortgage input[type="text"] {width: 65px; height: 34px; padding: 0 0 0 4px; margin-right: 6px; border: 1px solid #d4d4d4; border-radius: 2px; font-size: 14px; box-sizing: border-box;}
.dmg_ctaform_mortgage #mortdownpayment {width: 65px;}
.dmg_ctaform_mortgage input.dmg_detail_down_payment {width: 34px; margin-right: 5px;}
.dmg_ctaform_mortgage span {font-size: 11px;}
.dmg_ctaform_mortgage .spanMonthlyPayment {font-size: 14px;}
.dmg_detail_payment_per_month {margin-left: 8px; line-height: 34px; vertical-align: middle; font-size: 14px; float: left}

.dmg_detail_mortbanner {width: 300px; margin: 10px 0 -25px -25px; background: #eeeeee;  padding: 10px; display: table;}
.dmg_detail_mortbanner span {width: 80px; padding-left: 15px; font-size: 14px; display: table-cell; vertical-align: middle; box-sizing: border-box;}
.dmg_detail_mortbanner span + span {width: auto; padding-left: 0; vertical-align: middle; text-align: center;}

#mortdownpayment_responsive {width: 70px;}

/* == Similar Homes ======================================
============================================================================ */
.dmg_detail_similar {width: 300px; margin-top: 20px; font-size: 14px; line-height: 1.375em; color: #393939;}
.dmg_detail_similar_title {font-size: 24px; line-height: 1em; color: #00285d;}
.dmg_detail_similar img {width: 100%; height: auto; margin: 6px 0;}
.dmg_detail_similar span {display: block;}

.dmg_detail_similar div + div {margin-top: 15px;}
.dmg_detail_similar a:link, .dmg_detail_similar a:visited, .dmg_detail_similar a:active {text-decoration: none; color: #393939}
.dmg_detail_similar .dmg_similar_price {font-size: 16px; color: #00285d;}
.dmg_detail_similar em {font-style: normal;}



/* == General Rules ======================================
============================================================================ */
.clearFix:before, .clearFix:after {content: ""; display: table;}
.clearFix:after {clear: both;}
.floatLeft {float: left !important}
.floatRight {float: right !important}

::-webkit-input-placeholder {
   color: #484848;
}

:-moz-placeholder { /* Firefox 18- */
   color: #484848;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #484848;  
}

:-ms-input-placeholder {  
   color: #484848;  
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 968px) {
	#dmg_vscreen_video_wrapper {display: none;}
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 945px) {

.dmg_content_rows span {width: 100%; padding: 5px 0; line-height: 1.125em; display: inline-block;}
.dmg_content_rows span + span {float: none;}
.dmg_content_rows span:nth-of-type(even) {background: #f2f2f2;}

.dmg_demographic_stats {width: 80%; margin: 0 auto; float: none;}

}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 860px) {

	.dmg_more_pic {width: 33%; padding-bottom: 25%; float: left; position: relative;}


	#dmg_detail_walkscore, #dmg_detail_walkscore + label, #dmg_detail_walkscore + label + .dmg_content_control_body {display: none;}
	#dmg_detail_sunnumber, #dmg_detail_sunnumber + label, #dmg_detail_sunnumber + label + .dmg_content_control_body {display: none;}


}


/* == Tablet (landscape) ===================================================
============================================================================ */
@media only screen and (max-width: 768px) {
	#dmg_detail_wrapper {font-size: 15px;}
	#dmg_crumb_wrapper {text-align: center;}
	.dmg_detail_crumbs {float: none}
	.dmg_share_wrapper {display: none;}
	.dmg_detail_banner_wrapper {text-align: center;}
	.dmg_detail_banner_wrapper div {float: none;}
	
	
	.dmg_detail_table {width: 100%; display: block;}
	.dmg_detail_info {width: 100%; min-height: 500px; display: block;}
	.dmg_detail_cta {width: 100%; margin: 0 auto 20px auto; padding: 0; display: block;}
	.dmg_detail_form_wrap {float: left;}
	.dmg_detail_form_wrap + .dmg_detail_form_wrap {float: right;}
	
	.dmg_detail_similar {width: 100%; max-width: 650px; margin: 10px auto 0; padding: 0; clear: both; float: left;}
	.dmg_detail_similar div {float: left;}
	.dmg_detail_similar div + div {margin-top: 0; float: right;}
	
	
	.dmg_content_rows span:nth-of-type(even) {background: none}
	.dmg_content_rows div:nth-of-type(even) {background: #f2f2f2;}
	.dmg_content_rows span {width: 280px; padding: 5px 0; line-height: 1.125em; float: left;}
	.dmg_content_rows span + span {float: right;}
	
	
	.dmg_more_pic {width: 20%; padding-bottom: 16%; float: left; position: relative;}
	
	
	.dmg_demographic_stats {width: 48%; margin: 0; float: left;}
	.dmg_demographic_stats + .dmg_demographic_stats {margin-left: 4%;} 
	
	.dmg_listing_company_info {padding-bottom: 15px;}
	
	#dmg_detail_wrapper  .dmg_detail_mobilethreed {height: 40px; float: left; padding-left: 10px; padding-top: 3px; display: inline;}
}



/* == Tablet (landscape) ===================================================
============================================================================ */
@media only screen and (max-width: 660px) {
	.dmg_detail_form_wrap {width: 100%;}	
	.dmg_ctaform_submit {text-align: center; background: #c50101 url(/shared/listings/images/r/icon-arrow-right.png) 98% center no-repeat;}	
	.dmg_ctaform_submit:hover {background: #B7B7B7 url(/shared/listings/images/r/icon-arrow-right.png) 98% center no-repeat;}
	
	#dmg_ctaform_date {background: #FFFFFF url(/shared/listings/images/r/icon-calendar.png) 98% center no-repeat;}
	#dmg_ctaform_time {background: #FFFFFF url(/shared/listings/images/r/icon-clock.png) 98% center no-repeat;}
	
	.showing_custom_checkbox span {height: 22px; line-height: 22px; vertical-align: middle;}
	.dmg_ctaform_contact .long_label {line-height: 22px;}
	
	.dmg_ctaform_mortgage h2 {text-align: center;}
	.dmg_detail_montly_payment form {width: 300px; margin: 0 auto; display: block;}
	.dmg_ctaform_mortgage label {width: 100px;}
	.dmg_ctaform_mortgage .long_label {line-height: 34px;}
	.dmg_detail_mortbanner {width: 100%; padding: 10px 50px;}
	.dmg_ctaform_mortgage span {font-size: 13px;} 
	
	.dmg_detail_similar div {width: 47%; max-width: 300px;}
	.dmg_detail_similar img {width: 100%; height: auto;}
	.dmg_detail_similar em {display: block;}
	
	.dmg_content_rows div + div {background: none;}
	
	.dmg_more_pic {width: 25%; padding-bottom: 20%; float: left; position: relative;}
}	


/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 630px) {
	.dmg_content_rows span {width: 100%; padding: 5px 0; line-height: 1.125em; display: inline-block;}
	.dmg_content_rows span + span {float: none;}
	.dmg_content_rows span:nth-of-type(even) {background: #f2f2f2;}
	
	.dmg_demographic_stats {width: 80%; margin: 0 auto; float: none;}
	
}


/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 600px) {
	/*
	.dmg_detais_listing_header, .dmg_details_agent {clear: left;}
	.dmg_details_agent_pic {width: 60px;}
	.dmg_listing_company_info p {width: 200px; min-width: 200px;}
	*/
}


/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 550px) {
	.dmg_more_pic {width: 33.3%; padding-bottom: 25%; float: left; position: relative;}
}



/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 480px) {
	#dmg_layout_internal #dmg_detail_wrapper h2 {font-size: 20px;}
	
	.dmg_detail_nav_wrapper span {display: none;}
	#dmg_detail_wrapper #dmg_detail_page_title {font-size: 1.5em}
	.dmg_photo_overlay {display: none;}
	.dmg_detail_photo .dmg_photo_swipe.swipe_active {display: block;}
	
	.detail_nav_share + .dmg_nav_control_body {top: 35px;}
	.detail_nav_email + .dmg_nav_control_body {top: 35px;}
	.dmg_nav_control_body.share_content img {width: auto; height: 30px;}
	
	.dmg_demographic_stats + .dmg_demographic_stats {margin-left: auto;}
	
	.video-js {width: 100%; max-width: 560px; height: 0; padding-bottom: 56.25% !important;}
	
}


/* == Smartphones (portrait and landscape) =================================
============================================================================ */
@media only screen and (max-width: 479px) {
	
	#dmg_detail_wrapper {padding: 0 0 30px 0;}
	.dmg_detail_nav_wrapper img {height:20px}
	
	.dmg_detail_similar div {width: 90%; max-width: 400px; margin: 0 auto; float: none;}
	.dmg_detail_similar img {width: 100%; height: auto;}
	.dmg_detail_similar em {display: block;}
	.dmg_detail_similar div + div {margin-top: 10px; float: none;}
	
	.detail_nav_share + .dmg_nav_control_body {width: 265px;}
}

/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 400px) {
	.dmg_more_pic {width: 33.3%; padding-bottom: 25%; float: left; position: relative;}
	.dmg_more_pic_thumb {width: 90px; height: 68px; margin: 0 0 0 -45px; position: absolute; top: 0; left: 50%;}
}


/* == Tablet (portrait) ====================================================
============================================================================ */
@media only screen and (max-width: 320px) {
	.dmg_detail_nav_wrapper a, .dmg_detail_nav_wrapper label {
    	padding: 4px 10px;
    }	
}	



#eighty-one-red-bar {display: none;}