/* CSS Document */
/*Remember this. It is a reset for everything. Add to the beginning of each site.*/
body, p, h1, h2, h3, h4, h5, h6, img, div, span, ol, ul, li, form, fieldset, label, legend { border: 0 none; font-size: 1em; margin: 0; padding: 0; }
legend { display: none; }
strong { font-weight: bold; }
body { margin: 0 0 0 0; font-family: 'Asap', sans-serif; }
.clearBoth {clear: both}
.clearLeft {clear: left}
.clearRight {clear: right}
.floatLeft{float: left;}
.floatRight{float: right;}
.disclaimer_links_span { display: none; }

.space { margin: 0 0 50px 0; } /*DELETE WHEN LIVE*/

/*======== Header ========*/
#dmg_layout_header_bg { width: 100%; height: 164px; background: url(/images/layout2/header_bg.jpg) no-repeat 50% 0; }
#dmg_layout_header { margin: 0 auto; width: 960px; }

/*======== Homefinder ========*/
#dmg_layout_mhf_social_bg { float: right; width: 430px; height: 40px; background: url(/images/layout2/mhf_social_bg.png) repeat; -webkit-border-radius: 0px 0px 5px 5px; border-radius: 0px 0px 5px 5px; }

#dmg_layout_mhf .myHomeFinderLinksCreateAccount, #dmg_layout_mhf  .myHomeFinderLinksLogIn:hover { vertical-align: middle; margin: 0 0 0 5px; padding: 3px 4px 2px 4px; color: #FFFFFF; border: 1px solid #9a9a9a; font-size: .8em; text-align: center; text-decoration: none; display: inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
behavior: url(/shared/htc/PIE.php);
position: relative;
background: #82001e;
/*background: -webkit-gradient(linear, 0 0, 0 bottom, from(#383636), to(#211f1f));
background: -webkit-linear-gradient(#383636, #211f1f);
background: -moz-linear-gradient(#383636, #211f1f);
background: -ms-linear-gradient(#383636, #211f1f);
background: -o-linear-gradient(#383636, #211f1f);
background: linear-gradient(#383636, #211f1f);
-pie-background: linear-gradient(#383636, #211f1f);*/	
}

#dmg_layout_mhf  .myHomeFinderLinksLogIn, #dmg_layout_mhf  .myHomeFinderLinksCreateAccount:hover { vertical-align: middle; margin: 0 0 0 5px; padding: 3px 4px 2px 4px; color: #FFFFFF; border: 1px solid #9a9a9a; font-size: .8em; text-align: center; text-decoration: none; display: inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
behavior: url(/shared/htc/PIE.php);
position: relative;	
background: #3c3c3c;
/*background: -webkit-gradient(linear, 0 0, 0 bottom, from(#383636), to(#211f1f));
background: -webkit-linear-gradient(#383636, #211f1f);
background: -moz-linear-gradient(#383636, #211f1f);
background: -ms-linear-gradient(#383636, #211f1f);
background: -o-linear-gradient(#383636, #211f1f);
background: linear-gradient(#383636, #211f1f);
-pie-background: linear-gradient(#383636, #211f1f);*/
}

.port { display: inline-block; padding: 4px 3px 0; }
.dmg_homefinder_middlecontent { display: inline-block; margin: 13px 10px 0 15px; color: #3c3c3c; font-size: .85em; }
a.port { color: #82001A; text-decoration: none; font-size: .75em; }
a.port:hover { text-decoration: underline; }
a.port:link { color: #82001A; text-decoration: none; }
a.port:link:hover { text-decoration: underline; }
#MPusername { font: 12px arial; width: 170px; margin: 5px 0; }
#MPpassword { font: 12px arial; width: 170px; margin: 5px 0; }
.alphacube_message { font: 12px arial; margin: 0 auto; padding-bottom: 10px; text-align: center; width: 220px; }
.alphacube_buttons { text-align: center; width: 100%; }
.alphacube_buttons input { margin: 3px; width: 20%; }
.login_label { margin: 5px 0 0 0; }

#divMPLoginForm { }
#dmg_layout_mhf_login { float: left; width: 285px; height: 40px; margin: 0; padding: 0 5px 0 30px; background: url(/images/layout2/homefinder_icon.png) no-repeat 5px center; }
#MPusername { font: 12px arial; width: 170px; margin: 5px 0; }
#MPpassword { font: 12px arial; width: 170px; margin: 5px 0; }
.alphacube_message { font: 12px arial; margin: 0 auto; padding-bottom: 10px; text-align: center; width: 220px; }
.alphacube_buttons { text-align: center; width: 100%; }
.alphacube_buttons input { margin: 3px; width: 20%; }
.login_label { margin: 5px 0 0 0; }

#dmg_layout_events {
	float: right;
	display: block;
	clear: right;
	margin-top: 20px;
}

#dmg_layout_events a {
	background-image: url(/shared/images/trans/black80.png);
	display: block;
	color: #ffffff;
	text-decoration: none;
	padding: 10px 20px;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	font-style: italic;
	border-radius: 5px;
}

/*======== MHF Modal ========*/
.alphacube_buttons input {background: #82001A; color: #FFFFFF; margin: 0 5px;}
#login_title {  font-size: 1.4em; font-style: italic; font-weight: 100; color: #82001A; margin: 0 0 5px 0; }
.dmg_layout_hfText { color: #82001A; font-size: 1.1em; font-weight: bold; margin-left: 16px; }
.dmg_layout_hfLinks { color: #82001A; font-size: 0.75em; font-weight: bold; margin-left: 27px; }
.dmg_layout_hfLinks a { color: #82001A; padding: 0 20px 0 6px;}
.dmg_layout_hfLinks a:hover { color: #FFFFFF; }

/*======== Social Networking Icons ========*/
#dmg_layout_social { float: left; margin: 10px 0 0 5px; padding: 0 0 0 15px; height: 22px; border-left: solid 1px #707579; }
#dmg_layout_social img { padding: 0 0 0 2px; }

/*======== Logo ========*/
#dmg_layout_logo { float: left; width: 240px; margin: 25px 0 0 0; }
#dmg_layout_logo img {width: 240px; height: 114px; border: 0; box-shadow: 2px 2px 8px #333333;}

/*======== Slogan ========*/
.dmg_layout_heading { float: right; margin: 5px 0 0 0; color: #ffffff; text-shadow: 2px 2px 2px #000000; filter: dropshadow(color=#000000, offx=2, offy=2); font-size: .9em; }

/*======== Navigation ========*/
#dmg_layout_nav_bg { width: 100%; height: 36px; 
	background: #82001a; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#82001a', endColorstr='#6b0119'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#82001a), to(#6b0119)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #82001a,  #6b0119); /* for firefox 3.6+ */ }
	
#dmg_layout_nav { width: 960px; margin: 0 auto; text-align: center; }
#dmg_layout_nav ul { list-style-type: none; }
#dmg_layout_nav li { display: inline-block; padding: 10px 14px; text-transform: uppercase; font-size: .85em; }
#dmg_layout_nav li a { color: #ffffff; text-decoration: none; }
#dmg_layout_nav li a:hover { text-decoration: underline; }

/*======== Center Section ========*/
#dmg_layout_center_bg { width: 100%; height: 346px; background: url(/images/layout2/bg_pattern.png) repeat-x; border-bottom: solid 20px #5e5e5e; }
#dmg_layout_center { width: 960px; margin: 0 auto; }
#dmg_layout_search { float: left; width: 460px; height: 220px; margin: 60px 0 0 0; }

#dmg_layout_home_image { float: right; margin: 25px 0 0 0; }
#dmg_layout_home_image img { padding: 5px; background: #ffffff; border: solid 1px #d3d3d3; -webkit-box-shadow:  1px 1px 5px 1px #4e4e4e; box-shadow:  1px 1px 5px 1px #4e4e4e; }

/*========Property Search========*/
.dmg_layout_ps_head { font-size: 1.5em; font-weight: bold; color: #82001A; margin: 0 10px 0 0; }
#dmg_layout_search .dmg_layout_searchLink { float: right; margin: 8px 20px 0  0; font-size: 0.85em; color: #515151; }
#dmg_layout_search a { color: #82011d; }
#dmg_layout_search a:hover { text-decoration: none; }
#dmg_layout_search .dmg_layout_searchLink span:hover{ color: #a3224c; }
#qsIntelligent { font-size: 0.75em; margin: 7px 0; padding: 3px 5px; font-family: Arial, Helvetica, sans-serif; font-size: .7em; font-weight: bold; width: 429px; height: 20px; color: #3c3c3c; border: 1px solid #c2c2c2; line-height: 20px; }
#dmg_layout_search ul { list-style: none; margin: 0; padding: 0; }
#dmg_layout_search li { float: left; width: 140px; }
#dmg_layout_search select{}
.dmg_layout_searchShot{ width:140px!important;}
.dmg_layout_price{width:140px!important}
#dmg_layout_propertyType{width: 270px!important;}
#dmg_layout_search .chzn-container {color: #003D29!important; font-size: .8em!important; font-weight: normal!important; width: 270px;} 
#dmg_layout_search .chzn-single { -webkit-border-radius: 0px; -moz-border-radius: 0px;border-radius: 0px; }
#dmg_layout_search .chzn-container-single .chzn-single div{background: #eef3f8; /* for non-css3 browsers */}
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004299', endColorstr='#1e384a'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#004299), to(#1e384a)); /* for webkit browsers */
background: -moz-linear-gradient(top,  #cccccc,  #003D29); /* for firefox 3.6+ */  -webkit-border-radius: 0px; -moz-border-radius: 0px;border-radius: 0px;}
#dmg_layout_search .chzn-container-single .chzn-single div b{ background: url("/images/layout/chosen-sprite.png") no-repeat 0 1px;}
#dmg_layout_search .chzn-container-single .chzn-single{border: 1px solid #c2c2c2; font-family: Arial, Helvetica, sans-serif;}
#dmg_layout_search .chzn-results li { width: 115px; margin-bottom: 3px; margin-right: 0; padding: 4px; font-family: Arial, san-serif; font-size: .8em; }
#dmg_layout_search .chzn-container-single .chzn-search input {position: absolute; left: -9000px;}
.dmg_layout_search_btn { margin: 28px 10px 0px 19px; height: 28px; }
.chzn-container .chzn-results .highlighted { background: none repeat scroll 0 0 #1F886C; color: #FFFFFF; }

#dmg_layout_search label { display: block; margin: 0 0 3px 0; font-size: .75em; font-weight: bold; color: #515151; }


/*======== Featured Homes ========*/
#dmg_layout_featured_bg { width: 100%; height: 205px; 
	background: #5e5e5e; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5e5e5e', endColorstr='#3b3b3b'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#5e5e5e), to(#3b3b3b)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #5e5e5e,  #3b3b3b); /* for firefox 3.6+ */ }
	
#dmg_layout_featured { width: 960px; margin: 0 auto; }

/*========Featured Homes Carousel Code========*/
#dmg_layout_carousel_title { color: #020169; font-size: 1.375em; font-weight: normal; margin: 15px 0 4px 25px; }
.carousel .dmg_layout_carousel_inner { width: 2500px; padding-left: 5px; }
#dmg_layout_featured_carousel { width: 947px; margin-left: 10px; padding: 1px 0 0 0; }
#dmg_layout_featured_carousel .dmg_layout_carousel_middle { width: 840px; padding-left: 5px; margin: 30px 0 0 22px; overflow: hidden;}
#dmg_layout_featured_carousel .dmg_layout_carousel_inner div { width: 170px; float: left; color: #ffffff; font-size: .7em; }
#dmg_layout_featured_carousel .dmg_layout_carousel_inner div a { width: 150px; color: #ffffff; text-decoration: none; display: block;	}
#dmg_layout_featured_carousel .dmg_layout_carousel_inner div a:hover { background: #D9D9D9; color: #82001A;	}
#dmg_layout_featured_carousel .dmg_layout_carousel_inner img {width: 140px; height: 90px; background: url('/images/layout/carousel-img-bg.png') no-repeat; margin: 5px 0 6px 0; padding: 4px; border: solid 1px #c5c7c9; background: #ffffff; -webkit-box-shadow:  1px 1px 2px 1px #383838; box-shadow:  1px 1px 2px 1px #383838; }  
#dmg_layout_featured_carousel a.carousel-control { float: left; width: 47px; height: 30px; margin-top: 85px; }
#dmg_layout_featured_carousel a.next { float: right; }
#dmg_layout_featured_carousel a:hover { color: #000; }
#dmg_layout_featured_carousel .hide_control {visibility: hidden;}
#dmg_layout_featured_carousel .carousel-control {width: 47px; height: 30px; background-image: url('/images/layout2/arrow-sprite.png'); background-repeat: no-repeat; display: block;}
#dmg_layout_featured_carousel .carousel-control.next {background-position: -47px 0;}
#dmg_layout_featured_carousel .carousel-control.next:hover {background-position: -47px -30px;}
#dmg_layout_featured_carousel .carousel-control.prev:hover {background-position: 0 -30px;}
	
/*======== Frontpage Content ========*/
#dmg_layout_content_bg { width: 100%; padding: 50px 0 0 0; }
#dmg_layout_content { width: 960px; margin: 0 auto; }
#dmg_layout_content_left { float: left; width: 540px; }

#dmg_layout_welcome { border-bottom: solid 1px #e5e5e5; padding: 0 0 20px 0; }
#dmg_layout_welcome img { float: left; }
.dmg_layout_welcome_head { float: left; margin: 0 0 10px 10px; width: 310px; color: #82001e; font-size: 1.5em; }
.dmg_layout_welcome_text { float: left; margin: 0 0 0 10px; width: 310px; color: #3c3c3c; font-size: .85em; line-height: 20px; }

.dmg_layout_features { margin: 15px 0 0 0; }
.dmg_layout_features a { color: #3c3c3c; font-weight: bold; text-decoration: none; }
.dmg_layout_features a:hover { text-decoration: underline; }
.dmg_layout_features_head { margin: 0 0 5px 0; color: #82001e; font-size: 1em; font-weight: normal; }
.dmg_layout_features_text { color: #3c3c3c; font-size: .85em; line-height: 20px; }

#dmg_layout_content_right { float: right; width: 370px; }
.dmg_layout_option { width: 365px; height: 118px; margin: 15px 0 0 0; border: solid 1px #e7e7e7; -webkit-border-radius: 5px; border-radius: 5px; -webkit-box-shadow:  1px 1px 3px 1px #e7e7e7; box-shadow:  1px 1px 3px 1px #e7e7e7; }
.dmg_layout_option a { width: 180px; float: right; text-transform: uppercase; color: #82001e; font-size: .9em; text-decoration: none; text-align: left; font-weight: bold; margin: 34px 0 0 0; }
.dmg_layout_option a:hover { text-decoration: underline; }
.dmg_layout_option_text { float: left; width: 180px; margin: 5px 0 0 10px; font-size: .85em; color: #3c3c3c; }


.dmg_news_title {margin: 0 0 10px 0; color: #82001e; font-size: 1.5em; display: block;}
.dmg_layout_news_header a:link, .dmg_layout_news_header a:visited, .dmg_layout_news_header a:active {color: #82001e; font-weight: bold; font-size: 1em;}
.dmg_layout_article {margin: 0 0 12px 0; padding: 0 0 5px 0; overflow: hidden;}
.dmg_layout_date{width: 59px; height: 35px; margin: 0 12px 0 0; padding: 12px 0 0 0; background: url('/images/layout2/date-bg.png') no-repeat; font-size: .875em; color: #333333; text-align: center; display: block; float: left;}
.dmg_layout_news_description {margin-top: 3px; font-size: .875em; overflow: hidden;}

#dmg_layout_news a:link, #dmg_layout_news a:visited, #dmg_layout_news a:active {color: #82001e; font-size: .875em; text-decoration: none;}
#dmg_layout_news a:hover, #dmg_layout_news a:hover strong {color: #333333; text-decoration: underline;}

/*======== Internal Content ========*/
#dmg_layout_content_internal_bg { width: 100%; background: url(/images/layout2/bg_pattern.png) repeat-x; padding: 30px 0 0 0; }
#dmg_layout_content_internal { width: 920px; margin: 3px auto 0; min-height: 500px; background: #ffffff; border: solid 1px #dfdfdf; padding: 20px; -webkit-box-shadow:  0px 0px 2px 2px #dfdfdf; box-shadow:  0px 0px 2px 2px #dfdfdf; }
.dmg_layout_content_com_photo { border: solid 1px #3C3C3C; padding: 4px; }
#dmg_layout_content_internal a { color: #82001A; font-weight: bold; font-size: .8em; }
.dmg_layout_listings a{color: #000!important; font-weight: bold; font-size: .8em; }
#dmg_layout_content_internal a:hover { text-decoration: none; color: #3C3C3C; }
#dmg_layout_content_internal h1 { color: #82001A; font-size: 1.50em; font-weight: 100; display: block; border-bottom: solid 1px #cccccc; margin: 0 0 5px 0; }
.dmg_layout_internal_photo { background: white; border: solid 1px #3C3C3C; padding: 4px; float: right; margin: 5px; }
.floatright { background: white; border: solid 1px #82001A; padding: 4px; float: right; margin: 5px; }
#dmg_layout_content_internal p { font-size: .9em; padding: 5px 0; line-height: 20px; }
#dmg_layout_content_internal h3 { color: #82001A; font-size: 1.2em; font-style: italic; font-weight: bold; padding: 15px 0 0 0; }
#dmg_layout_content_internal ul { margin: 10px 0 10px 25px; }
#dmg_layout_content_internal ul a { color: #82001A; font-weight: bold; }
#dmg_layout_content_internal ul a:hover { text-decoration: none; color: #3C3C3C; }
#dmg_layout_content_internal ol { font-size: .9em; margin: 0 0 0 25px; }
#dmg_layout_content_internal ol a { color: #82001A; font-weight: bold; }
#dmg_layout_content_internal ol a:hover { text-decoration: none; color: #82001A; }

.dmg_layout_listings #dmg_detail_saveListing,
.dmg_layout_listings .dmg_details_listing_links a {color: #FFF !important}

.head { color: #82001A; font-size: 1.50em; font-weight: 100; display: block; margin: 0 0 5px 0; }
.wtext2 { color: #ffffff; }


#dmg_results_properties .dmg_results_listing .dmg_results_price p {font-size: 1.4em; color: #FFFFFF; padding: 8px 0 8px 323px;}
.dmg_results_gallery_view #dmg_results_properties .dmg_results_listing .dmg_results_price p {font-size: 1.4em; color: #FFFFFF; padding: 8px 0 8px 8px;}
#dmg_results_wrapper.dmg_results_gallery_view .dmg_results_listingInfoIdx {margin: -57px 0 0 210px;}

/* == Rental Content 
============================================================================ */
.rental_link_wrap {max-width: 670px; margin: 0 auto; text-align: center; overflow: hidden;}
.rental_box_link {width: 200px; height: 100px; margin: 0 10px; color: #333333; line-height: 1.25em; display: block; float: left;}
.rental_box_link strong {font-size: 18px; color: #82001C}
.rental_box_link:hover {text-decoration: none; color: #82001C;}
.rental_box_link span {font-size: 18px; color: #82001C; font-weight: bold; padding-top: 25px; display: inline-block;}
.rental_box_link:hover span {color: #333333}
.dmg_rental_content_wrap {padding-top: 20px; border-top: 1px solid #EFEFEF; clear: both; overflow: hidden;}
#dmg_layout_internal .dmg_rental_content_wrap h3 {color: #82001C;}
.dmg_rental_left {width: 40%; float: left;}
.dmg_rental_right {width: 55%; float: right;}


/* == Featured Properties
============================================================================ */
.dmg_featured_section {border-top: 20px solid #82001C;}
.dmg_featured_section + .dmg_featured_section {margin-top: 30px;}
#dmg_layout_internal .dmg_featured_section h2, .dmg_featured_section h2 {font-size: 26px; margin-top: 12px;}
.dmg_featured_section_property {text-align: center; line-height: 2em;}
.dmg_featured_section_property strong {font-size: 20px;}
.dmg_featured_section_property p {margin: 0}
.dmg_featured_section_property img {width: auto; max-width: 100%; max-height: 400px; margin: 0 auto 6px; display: block;}
.dmg_featured_section_property + .dmg_featured_section_property {margin-top: 25px; padding-top: 25px; border-top: 1px solid #e5e5e5;}


/* == Box Links
============================================================================ */
.dmg_link_box_wrap {display: flex; flex-flow: row wrap; justify-content: space-around}
.dmg_link_box {width: 268px; margin-top: 15px; padding: 8px; color: #333333; line-height: 1.375em; border: 1px solid #EFEFEF; border-radius: 6px; display: block;}
.dmg_link_box:hover {background: #EFEFEF; border: 1px solid #82001C; text-decoration: none;}
.dmg_link_box img {width: 80px; margin-right: 8px; float: left;}
.dmg_link_box strong {width: 180px; margin-bottom: 6px; font-size: 18px; color: #82001C; display: block; float:right;}
.dmg_link_box span {width: 180px; font-size: 14px; display: block; float:right;}


/* == Getagent
============================================================================ */
.dmg_main_offices_wrap {display: flex;}
.dmg_offices_list {width: 190px; padding-top: 30px; flex: 0 0 190px;}


.office_map_notclickable {display: none;}
.dmg_offices_map_wrap img {max-width: 100%; height: auto}


/*==================== THE NEXT FEW SECTIONS CONTROL MOUSEOVER IMAGES ON THE PAGES ====================*/
/*======== Services Page ========*/
.dmg_service_utility { background: url(/images/layout/serv_utility_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_utility:hover { background: url(/images/layout/serv_utility_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_open_house { background: url(/images/layout/serv_open_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_open_house:hover { background: url(/images/layout/serv_open_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_warranty { background: url(/images/layout/serv_warranty_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_warranty:hover { background: url(/images/layout/serv_warranty_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_financing { background: url(/images/layout/serv_financing_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_financing:hover { background: url(/images/layout/serv_financing_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_title { background: url(/images/layout/serv_title_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_title:hover { background: url(/images/layout/serv_title_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_relo { background: url(/images/layout/serv_relo_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_relo:hover { background: url(/images/layout/serv_relo_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_VMA { background: url(/images/layout/serv_VMA_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_VMA:hover { background: url(/images/layout/serv_VMA_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_calc { background: url(/images/layout/serv_calc_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_calc:hover { background: url(/images/layout/serv_calc_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_checklist { background: url(/images/layout/serv_checklist_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_checklist:hover { background: url(/images/layout/serv_checklist_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_home { background: url(/images/layout/serv_home_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_home:hover { background: url(/images/layout/serv_home_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_new { background: url(/images/layout/serv_new_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_new:hover { background: url(/images/layout/serv_new_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_agent { background: url(/images/layout/serv_agent_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_agent:hover { background: url(/images/layout/serv_agent_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_contact { background: url(/images/layout/serv_contact_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_contact:hover { background: url(/images/layout/serv_contact_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_insurance { background: url(/images/layout/serv_insurance_off.png) no-repeat; display: block; padding: 50px 100px; }
.dmg_service_insurance:hover { background: url(/images/layout/serv_insurance_on.png) no-repeat; display: block; padding: 50px 100px; }

/*======== Career Page ========*/
.dmg_car_started { background: url(/images/layout/started_off.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_started:hover { background: url(/images/layout/started_on.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_new { background: url(/images/layout/new_off.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_new:hover { background: url(/images/layout/new_on.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_established { background: url(/images/layout/established_off.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_established:hover { background: url(/images/layout/established_on.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_education { background: url(/images/layout/education_off.gif) no-repeat; display: block; padding: 37px 0px; }
.dmg_car_education:hover { background: url(/images/layout/education_on.gif) no-repeat; display: block; padding: 37px 0px; }

/*======== Area Info Page ========*/
.dmg_comm_gov { background: url(/images/layout/comm_gov_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_gov:hover { background: url(/images/layout/comm_gov_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_edu { background: url(/images/layout/comm_edu_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_edu:hover { background: url(/images/layout/comm_edu_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_bus { background: url(/images/layout/comm_bus_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_bus:hover { background: url(/images/layout/comm_bus_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_rec { background: url(/images/layout/comm_rec_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_rec:hover { background: url(/images/layout/comm_rec_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_POA { background: url(/images/layout/comm_POA_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_POA:hover { background: url(/images/layout/comm_POA_on.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_info { background: url(/images/layout/comm_info_off.jpg) no-repeat; display: block; padding: 50px 100px; }
.dmg_comm_info:hover { background: url(/images/layout/comm_info_on.jpg) no-repeat; display: block; padding: 50px 100px; }

.comm_link_table {
	font-size: 12px;
	margin-bottom: 30px;
}

.comm_link_table tr:nth-child(even) {
	background-color: #e4e4e4;
}

.comm_link_table td {
	margin: 3px 0px;
	padding: 3px;
	width: 33%;
}

#dmg_layout_content_internal .comm_link_table a:link, #dmg_layout_content_internal .comm_link_table a:visited {
	color: #ffffff;
	background-color: #82001A;
	width: 200px;
	display: block;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	margin: 5px 0;
	padding: 8px 4px;
}

#dmg_layout_content_internal .comm_link_table a:hover {
	background-color: #4d000f;
}

/*======== Relocation Page ========*/
.dmg_relo_to_richmond { background: url(/images/layout/toRichmond_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_to_richmond:hover { background: url(/images/layout/toRichmond_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_from_richmond { background: url(/images/layout/fromRichmond_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_from_richmond:hover { background: url(/images/layout/fromRichmond_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_local { background: url(/images/layout/localmoves_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_local:hover { background: url(/images/layout/localmoves_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_military { background: url(/images/layout/military_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_military:hover { background: url(/images/layout/military_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_partnership { background: url(/images/layout/partnership_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_partnership:hover { background: url(/images/layout/partnership_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_relocation { background: url(/images/layout/relocation_off.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_relocation:hover { background: url(/images/layout/relocation_on.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_contact { background: url(/images/layout/contact_off2.jpg) no-repeat; display: block; padding: 50px 105px; }
.dmg_relo_contact:hover { background: url(/images/layout/contact_on2.jpg) no-repeat; display: block; padding: 50px 105px; }

/*======== State & Local Government ========*/
.dmg_govt_state { background: url(/images/layout/VA_state_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_govt_state:hover { background: url(/images/layout/VA_state_on.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_govt_local { background: url(/images/layout/VA_gov_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_govt_local:hover { background: url(/images/layout/VA_gov_on.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_govt_gov { background: url(/images/layout/VA_governor_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_govt_gov:hover { background: url(/images/layout/VA_governor_on.jpg) no-repeat; display: block; padding: 35px 110px; }

/*======== Education ========*/
.dmg_edu_public { background: url(/images/layout/VA_schools_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_edu_public:hover { background: url(/images/layout/VA_schools_on.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_edu_college { background: url(/images/layout/VA_commcolleges_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_edu_college:hover { background: url(/images/layout/VA_commcolleges_on.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_edu_univ { background: url(/images/layout/VA_universities_off.jpg) no-repeat; display: block; padding: 35px 110px; }
.dmg_edu_univ:hover { background: url(/images/layout/VA_universities_on.jpg) no-repeat; display: block; padding: 35px 110px; }

/*==================== END OF MOUSEOVER IMAGES CONTROL ====================*/

/*======== Footer ========*/
#dmg_layout_footer_bg { margin: 40px 0 0 0; width: 100%; min-height: 440px;
	background: #5e5e5e; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5e5e5e', endColorstr='#3b3b3b'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#5e5e5e), to(#3b3b3b)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #5e5e5e,  #3b3b3b); /* for firefox 3.6+ */ }
	
#dmg_layout_footer { width: 960px; margin: 0 auto; }
#dmg_layout_state { float: left; margin: 40px 0 0 0; width: 225px; text-align: center; }
.dmg_layout_state_text { color: #ffffff; font-size: 1.1em; margin: 8px 0 0 0; }

/*======== Footer Offices ========*/
.dmg_layout_MyOffices { float: right; width: 705px; margin: 40px 0 0 25px; }
.dmg_layout_MyOffices a { color: #ffffff; text-decoration: none; }
.dmg_layout_MyOffices ul { float: left; list-style: none outside none; margin: 0 0 0 10px; padding: 0 0 20px; width: 225px; }
.dmg_layout_MyOffices li { color: #ffffff; margin: 3px 0; }

.dmg_layout_contact_header { color: #ffffff!important; font-size: .85em; font-weight: bold;margin-bottom: 6px!important;   }
.dmg_layout_mail { background:url(/images/layout2/mail_icon.png) 0 2px no-repeat; padding-left: 44px; font-size: .75em; }
.dmg_layout_phone { background:url(/images/layout2/phone_icon.png) 0 4px no-repeat; padding-left: 44px; padding-top: 5px; padding-bottom: 5px; font-size: .75em; }
.dmg_layout_fax { background:url(/images/layout2/fax_icon.png) no-repeat;padding-left: 44px; font-size: .75em; }
.dmg_layout_contact_agent { background:url(/images/layout2/agent_icon.png) no-repeat;padding-left: 44px; font-size: .75em; }

/* ====css dropdowns ====*/
.anylinkcss{position: absolute;left: 0;top: 0;visibility: hidden;line-height: 18px;z-index: 100; /* zIndex should be greater than that of shadow's below */background: #6D011A;width: 187px; /* default width for menu */font-weight:normal;margin-top: 10px;}

.anylinkcss ul{margin: 0;padding: 0;list-style-type: none;width: 177px;}

.anylinkcss ul li a{width: 100%;display: block;text-indent: 3px;border-bottom: 1px solid #E1E1E1; padding: 1px 0;text-decoration: none;text-indent: 5px;color: #FFFFFF; font-family: Helvetica Arial,sans-serif;padding: 5px;font-size: .85em;}

.anylinkcss a:hover{ /*hover background color*/background: #E1E1E1; color: #6D011A;}

/* ######### Alternate multi-column class for drop down menus ######### */

.anylinkcsscols{position: absolute;left: 0;top: 0;visibility: hidden;border: 1px solid black;padding: 10px;z-index: 100; /*zIndex should be greater than that of shadow's below*/background: #ffffff;}

.anylinkcsscols .column{width: 130px;float: left;}

.anylinkcsscols .column ul{margin: 0;padding: 0;list-style-type: none;}

.anylinkcsscols li{ padding-bottom: 3px; }

/* ######### class for shadow DIV ######### */
.anylinkshadow{ /*CSS for shadow. Keep this as is */position: absolute;left: 0;top: 0;z-index: 99; /*zIndex for shadow*/background: #fff;visibility: hidden; margin: 8px 0 0 0;}

/*========Disclaimer and Office========*/
#dmg_layout_disclaimer_bg { width: 100%; }
#dmg_layout_disclaimer { width: 960px; margin: 15px auto 30px; font-size: .8em; color: #3C3C3C; } 
#dmg_layout_disclaimer a { color: #82001A; font-weight: bold; }
#dmg_layout_disclaimer a:hover { color: #3E3E3E; text-decoration: none; }
.disclaimer_links_span { display: none; }
#google_translate_div_element { display: none; }

/*========Contact Form========*/
#dmg_layout_content_internal .dmg_contact_item { clear: both; padding: 0 0 20px 0; }
#dmg_contact_left .dmg_contact_OfficeLocation ul, #dmg_contact_left .dmg_contact_item ul { margin: 0; width: 240px; padding: 0; }
#dmg_layout_content_internal .dmg_contact_OfficeLocation ul { width: 185px; padding: 0 0 15px 0; float: right; }
#dmg_contact_left .dmg_contact_item ul li { font-size: .85em; list-style-type: none; line-height: 16px; }
#dmg_contact_right li { list-style-type: none; }

/*====== Builder and community ===*/ 
#dmg_layout_content_internal #dmg_layout_community{margin-top: 0; }
#dmg_layout_community .dmg_layout_back{display: none!important; }
#dmg_layout_content_internal #dmg_layout_centerColumn .dmg_layout_communityText{font-size: .9em!important; padding-bottom: 5px;}
#dmg_layout_communitiesSearch{display: none; }
.searchCommunities { width: 100%; min-height: 300px; }
#linksCommunity ul {  float: left; list-style: none outside none;  margin: 0 19px 0 0;padding: 0;  width: 30%;}
.dmg_community_searchcommunity{  border: 1px solid #82001A;  float: left;height: 200px;margin: 20px;  text-align: center; background: #ffffff; width: 230px; }
.dmg_community_searchcommunity img{width: 150px;margin-right: 14px; margin: 10px;}
.dmg_community_searchcommunity p{}

#linksCommunity { margin: 0 0 25px 0; }

#dmg_layout_content_internal .dmg_community_searchcommunity h3 { background: none repeat scroll 0 0 #82001A;  color: #FFFFFF;  display: block;  padding: 3px;  text-align: center;  text-shadow: 1px 2px 3px #3A3A3A; }
.dmg_layout_communityHeader { color: #82001A; }

#dmg_results_wrapper #dmg_results_properties .dmg_results_listingInfoIdx  {width: 80px; height: auto;}


/*== Slideshow   ================ */
#dmg_layout_slideshow {padding: 5px; background: #ffffff;
border: solid 1px #d3d3d3;
-webkit-box-shadow: 1px 1px 5px 1px #4e4e4e;
box-shadow: 1px 1px 5px 1px #4e4e4e;float: left;}
#dmg_layout_slideshow_images {position:relative; display:block; margin:0px; padding:0px; width:450px; height:329px; overflow:hidden;}
#dmg_layout_slideshow_images li {position:absolute; display:block; list-style-type:none; margin:0px; padding:0px; background-color:#FFFFFF;}
#dmg_layout_slideshow_images li img{width:450px; height:329px; padding: 0; border: 0; display:block;}
.dmg_slideshow_banner {width: 370px; margin: -52px 0 0 0; padding: 5px; background: url('/images/layout2/slideshow-banner-bg.png') repeat; font-size: 1.375em; color: #FFFFFF; position: relative; z-index: 5; float: left;}




