/* COLORS -
primary = #562449
secondary = #877181
tertiary = #EFEFEF

BHHS
purple = #552448
cream = #EAE3D4

*/

.autocomplete-w1 .autocomplete {font-size: 14px;}

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

/* CSS Reset Changes */
body {font-size: 100%; margin: 0 auto; font-family: Georgia, Times, "Times New Roman", serif;}

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;}

/* Fonts -  1.375em = 22px / 1.25em = 20px / 1.125em = 18px / 1em = 16px 
.875em = 14px / .75em = 12px / .687em = 11px / .625em = 10px */

h1, h2, h3, h4, h5, h6 {}

#dmg_main_wrapper {width: 100%; min-width: 300px; position: relative; overflow: hidden; box-sizing: border-box;}

.dmg_layout_wrapper {/* width: 960px; */ width: 100%; max-width: 960px;   margin: 0 auto; padding: 0;}

.clearBoth {clear: both;}


/* == Header ==================== */
#dmg_layout_header {height: 120px; background: url(/images/layout10/headerbg.png);}
#dmg_layout_header .dmg_layout_wrapper {height: 120px; position: relative}
#dmg_layout_header.dmg_small_header {height: 118px; -webkit-box-shadow: 2px 2px 3px #666666; box-shadow: 2px 2px 3px #666666;}
.dmg_small_header .dmg_logo_container {height: 79px;}
.dmg_small_header #dmg_layout_logo {margin-top: 4px;}
.dmg_small_header #dmg_layout_mhf {margin-top: 4px;}
.dmg_small_header #dmg_layout_company {margin: 9px 0 0 0}

.dmg_site_bg {width: 100%; height: 645px; background-repeat: no-repeat; background-size: cover; background-position: center bottom; position: absolute; z-index: -5;}


.dmg_logo_container {height: 120px; width: auto; float: left;}
.dmg_logo_container img {padding: 13px 10px;}
.dmg_vert_line {color: #140711; padding: 0px 10px;}

.header_phone {color: #FFFFFF}

/*
.dmg_layout_header_elements {
	float: right;
	max-width: 725px;
}
*/

/* == Homefinder ==================== */
#dmg_layout_top_header {margin: 15px 10px 0 0;font-size: 1em; color: #FFFFFF; float: right;}
#dmg_layout_phone {margin: 5px 0; float: right; display: inline; color: #ffffff;}
#dmg_layout_phone a { color: #ffffff; text-decoration: none;}
#dmg_layout_mhf {margin: 5px 0; float: right; display: inline;}
#dmg_layout_mhf a:link, #dmg_layout_mhf a:visited, #dmg_layout_mhf a:active{font-style: italic; color: #b084a4; padding: 2px; text-decoration: none;}
#dmg_layout_mhf a:hover {color: #ffffff;}
.mhf_messages:after, .mhf_listings:after, .mhf_searches:after {content: " / "; color: #FFFFFF;}
.mhf_account {display: none;}
.mhf_help:after, .mhf_overview:after {content: " - "; margin-left: 5px; color: #FFFFFF;}
.dmg_mhf_functions {font-size: .75em; text-align: center;}

/* == Social Line ==================== */
#dmg_layout_mid_header {margin: 5px 0; padding: 0 12px 0 0; background-image: url(/images/right-arrowsm.png); background-repeat: no-repeat; background-position: right -1px; float: right;}

#dmg_layout_mid_header a {color: #cccccc; float: right; font-size: 16px; font-style: italic; text-decoration: none;}

#dmg_layout_mid_header a:hover {color: #ffffff;}

.mort_mobile {display: none;}
.mort_desktop {display: inline-block;}
a.dmg_mortgage_banner:link, a.dmg_mortgage_banner:visited, a.dmg_mortgage_banner:active {height: 26px; margin-top: 15px; line-height: 26px; vertical-align: middle; font-size: 26px; color: #FFFFFF; font-style: italic; text-decoration: none; text-shadow: 0 0 8px #000000;float: right; clear: right; display: inline-block;}
a.dmg_mortgage_banner:hover, a.dmg_mortgage_banner:hover span {color: #FF00FF;}
.dmg_mortgage_banner span {font-style: normal; color: #502b45; text-shadow: none;}

.dmg_mortgage_header {margin: 0 0 15px 0;}

#dmg_layout_nav {display: none;}
/* == Navigation ==================== */
/*
#dmg_layout_nav {position: absolute; z-index: 1000; padding-top: 10px; line-height: 38px; bottom: 0; right: 0;}
#dmg_layout_nav ul {list-style: none; margin: 0 auto; padding: 0; float: right;}
#dmg_layout_nav li {display: inline; float: left; position: relative;}
#dmg_layout_nav a:link, #dmg_layout_nav a:visited, #dmg_layout_nav a:active{color: #FFFFFF; padding: 0 13px; text-decoration: none; display: inline-block; font-family: Geneva,Tahoma,Verdana,sans-serif; font-size: .875em; text-transform: uppercase;}
#dmg_layout_nav a:hover {background: #666666;} 


#dmg_layout_nav li ul {min-width: 195px; display: block; margin: 0; padding: 0; background: #666666; position: absolute; left: -999em;}
#dmg_layout_nav li ul ul { margin: -38px 0 0 195px; border-left: 1px solid #595959;}
#dmg_layout_nav li ul li  { background: #666666; float: none; color: #FFFFFF; display: block;}
#dmg_layout_nav li ul li a:link, #dmg_layout_nav li ul li a:visited, #dmg_layout_nav li ul li a:active {padding: 0 5px; background: #666666; font-size: .8em; color: #FFFFFF; display: block; text-transform: capitalize;}
#dmg_layout_nav li ul li a:hover, #dmg_layout_nav li ul li:hover, #dmg_layout_nav li .dmg_nav_active a {background: #562449; color: #FFFFFF; }
#dmg_layout_nav li ul li.dmg_nav_active > a  {background: #562449}

#dmg_layout_nav li:hover ul ul { left: -999em; }
#dmg_layout_nav li:hover ul, #dmg_layout_nav li li:hover ul, #dmg_layout_nav li.sfhover ul, #dmg_layout_nav li li.sfhover ul { left: auto;}
.dmg_layout_navigation li:hover ul, #dmg_layout_topNav li li:hover ul, #ndmg_layout_topNavav li.sfhover ul, #dmg_layout_topNav li li.sfhover ul {}
.dmg_nav_active {background: #666666}
#dmg_layout_nav .dmg_layout_StateOpenHouse > a {width: 190px; cursor: default;}
.rightarrowclass {margin: 15px 10px; float: right;}

#dmg_layout_nav ul li ul {-webkit-box-shadow: 2px 2px 3px #333333; box-shadow: 2px 2px 3px #333333;}
#dmg_layout_nav ul li ul li:first-child {border-bottom: 1px solid #595959;}
#dmg_layout_nav ul li ul li + li {border-top: 1px solid #787878; border-bottom: 1px solid #595959;}
#dmg_layout_nav ul li ul li:last-child {border-bottom: 0;}
*/


/* == MENU
============================================================================ */

#dmg_layout_nav-holder {width: 750px; float: right;}
#dmg_advanced_nav {height: 2000px;}
#dmg_advanced_nav label { padding:0 0.25em; font:3.125em/1.375em Arial }
#dmg_advanced_nav .sub-nav .toggle { font:2em/2em Arial; top:0;}
#header label:hover, #dmg_advanced_nav label:hover { color:#ccc }
#main-nav-check, #dmg_advanced_nav .sub-nav-check { position:absolute; top:-9999px; left:-9999px }
.toggle {margin: 10px 10px 0 0; position:relative; cursor:pointer; color:#fff; font-size: 66px; float: right; clear: both; line-height: .75em;}
#dmg_advanced_nav > .toggle {height: 65px;}
#dmg_advanced_nav .toggle {margin: 0; position:absolute; top: 55px; right:20px; cursor:pointer; color:#fff; font-size: 66px; float: none;}
#dmg_advanced_nav .toggle {position:absolute; top: 0; right:0; cursor:pointer; color:#fff; font-size: 66px; line-height: 1em;}
.container { background:#fff; min-height:100%; padding:0; margin:0 }

#dmg_advanced_nav, #dmg_advanced_nav .sub-nav { position:absolute; top:0; bottom:0; width:13.75em; background:#222; z-index:90; right:-13.75em }
.container, #dmg_advanced_nav, #dmg_advanced_nav .sub-nav {   
	-webkit-transform:translate(0,0); -ms-transform:translate(0,0); transform:translate(0,0);
	-webkit-transition:-webkit-transform .25s ease; transition:transform .25s ease;
	}
#dmg_advanced_nav ul { background:#222; line-height:2.75em; text-decoration:none; padding:0; list-style:none; margin-top:4.0625em; border-top: 1px solid #444; text-align: right;}


#dmg_advanced_nav li { border-bottom:1px solid #444 }
#dmg_advanced_nav li a { display:block; font-size:0.875em; padding-left: 1.5em; padding-right: 45px; color:#fff; text-decoration:none; text-align: left;}
#dmg_advanced_nav li a:hover, #dmg_advanced_nav .toggle-sub:hover { background:#333 }
#dmg_advanced_nav ul ul ul li a {padding-left: 1.5em; text-align: left;}
#dmg_advanced_nav .sub-nav { margin-top:-1px }
#dmg_advanced_nav .sub-heading {margin-top:4.0625em; color:#999; border-top: 1px solid #444444; text-align: center; }
#dmg_advanced_nav .sub-heading span {width: 160px; padding: 8px 10px; line-height: 1.125em; display: table-cell; text-align: left;}
#dmg_advanced_nav .sub-nav .sub-heading .toggle {display: table-cell; vertical-align: middle; position: relative; line-height: 1em;}


/*
#dmg_advanced_nav .sub-heading:before { content:""; display:block; height:1px; width:13.75em; background:#444 }
*/
#dmg_advanced_nav .toggle-sub { font:bold 1em/2.75em Arial; color:#fff; background:#222; margin-top:-2.75em; width:2.25em; border-left:1px solid #444; cursor:pointer; text-align:center;}

/*
.container, #dmg_advanced_nav, #dmg_advanced_nav .sub-nav { -webkit-transform:translate3d(0,0,0) }
*/

/* #### - corrects 'unfixing' bug in Safari - uncomment if you have position:fixed elements inside .container - #### */
/* @media screen and (-webkit-min-device-pixel-ratio:0) { .container, #dmg_main_wrapper { -webkit-transform:none !important } } */

/* #### - define ids of animated container, menu and sub-menus here - #### */
#main-nav-check:checked + .container,
#main-nav-check:checked + #dmg_advanced_nav,
#dmg_advanced_nav .sub-nav-check:checked + [id$="_sub"] /* matches all elements with id ending "-sub" */ { 
	-webkit-transform:translate(-13.75em,0); -ms-transform:translate(-13.75em,0); transform:translate(-13.75em,0);
	}

#dmg_advanced_nav li {width: 100%; display: table; border-collapse: collapse;}
#dmg_advanced_nav li a {width: 174px; padding: 0 10px; display: table-cell; line-height: 1.25em; height: 40px; vertical-align: middle;}
#dmg_advanced_nav label {display: table-cell; vertical-align: middle; margin-top: 0;}
#dmg_advanced_nav .toggle-sub {margin-top: 0;}
#dmg_advanced_nav .toggle-sub span {width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 8px solid #FFFFFF; display: inline-block;}

/* == Mortgage Page Styels ==================== */

#dmg_main_wrapper #dmg_layout_internal.mortgage_landing_page {
	padding: 35px 30px;
}

#dmg_layout_mortgageLanding > h1 {
	background-image: url('/shared/fs/0341/company/mortgagesBg3.jpg');
	background-size: cover;
	background-position: center -10px;
	background-repeat: no-repeat;
	text-align:center;
	color: #ffffff !important;
	font-family: Georgia, Times, "Times New Roman", serif;
	text-shadow: 0 0 8px rgba(0,0,0,.6);
	padding: 100px 20px;
	box-sizing: border-box;
	font-size: 48px !important;
	font-weight: normal;
}

#dmg_layout_mortgageLanding > h1:before {
	content: "\f015";
	font-family: FontAwesome;
	border: 3px solid #ffffff;
	border-radius: 50%;
	width: 70px;
	height: 70px;
	text-shadow: 0 0 8px rgba(0,0,0,.6);
	display: block;
	text-align: center;
	margin: auto;
	line-height: 70px;
}

#dmg_layout_mortgageLanding p {
	font-size: 16px;
	text-align: center;
	color: #585858;
	padding: 20px 0;
	margin: auto;
}

.dmg_layout_mortgageBlock {
	display: block;
	width: calc(33.3% - 10px);
	float: left;
	color: #552448;
	text-decoration: none;
	font-size: 16px;
	padding: 15px;
	box-sizing: border-box;
	border: 1px solid #c2c2c2;
	height: 250px;
	background: #F4F4F3;
	background: -webkit-linear-gradient(top, #F4F4F3, #DFDFDF);
	background: -moz-linear-gradient(top, #F4F4F3, #DFDFDF);
	background: linear-gradient(to bottom, #F4F4F3, #DFDFDF);
	border-radius: 10px;
}

.dmg_layout_mortgageBlock:hover {
	background: #552448;
	color: #ffffff;
	transition: background .5s, color .5s;
}

.dmg_layout_mortgageBlock:hover#helpMortBlock:before,
.dmg_layout_mortgageBlock:hover#financingMortBlock:before,
.dmg_layout_mortgageBlock:hover#preMortBlock:before {
	color: #ffffff;
	border-color: #ffffff;
	transition: color .5s, border-color .5s;
}

.dmg_layout_mortgageBlock strong {
	display: block;
	font-size: 21px;
	font-weight: normal;
	margin-bottom: 10px;
}

#helpMortBlock {
	margin: 0 15px 0 0;
}

#helpMortBlock:before {
	content: "\f095";
	font-family: FontAwesome;
	border: 3px solid #552448;
	color: #552448;
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: block;
	text-align: center;
	margin: 10px auto 15px auto;
	line-height: 73px;
	font-size: 55px;
}

#financingMortBlock {
	margin: 0 15px 0 0;
}

#financingMortBlock:before {
	content: "\f155";
	font-family: FontAwesome;
	border: 3px solid #552448;
	color: #552448;
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: block;
	text-align: center;
	margin: 10px auto 15px auto;
	line-height: 73px;
	font-size: 48px;
}

#preMortBlock {
	margin: 0;
}

#preMortBlock:before {
	content: "\f1ec";
	font-family: FontAwesome;
	border: 3px solid #552448;
	color: #552448;
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: block;
	text-align: center;
	margin: 10px auto 15px auto;
	line-height: 73px;
	font-size: 40px;
}

#dmg_layout_mortgageModal .modal-body {
	padding: 20px;
}

#dmg_layout_mortgageModal .modal-body h2 {
	font-weight: normal;
	font-size: 24px;
}

#dmg_layout_mortgageModal .modal-body p {
	margin-bottom: 10px;
}

#dmg_layout_mortgageModal .modal-body form ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#dmg_layout_mortgageModal .modal-body form ul li {
	padding: 7px 0;
}

#dmg_layout_mortgageModal .modal-body form ul li input {
	border: 1px solid #adadad;
	text-align: left;
	padding: 5px;
	box-sizing: border-box;
}

#dmg_layout_mortgageModal .modal-body form ul li button {
	background-color: #5C4555;
	border: none;
	width: 100%;
	text-align: center;
	color: #ffffff; padding: 8px;
	text-transform: uppercase;
	font-size: 16px;
	font-family: Tahoma, Verdana, sans-serif;
}

@media screen and (max-width: 1020px) {
	
	.dmg_layout_mortgageBlock {
		height: 280px;
	}
	
	.dmg_layout_mortgageBlock strong {
		font-size: 18px;
	}
	
}

@media screen and (max-width: 720px) {
	
	#dmg_main_wrapper #dmg_layout_internal.mortgage_landing_page {
		padding: 20px 15px;
	}
	
	#dmg_layout_mortgageLanding > h1 {
		padding: 40px 20px;
		font-size: 36px !important;
	}
	
	.dmg_layout_mortgageBlock {
		display: block;
		width: 100%;
		float: none;
		height: auto;
	}
	
	#helpMortBlock {
		margin: 0;
	}
	
	#financingMortBlock, #preMortBlock {
	    margin: 15px 0 0 0;
	}

}

@media ( min-width: 60em ) {
	#dmg_advanced_nav li {width: auto; display: block; height: auto; border-collapse: collapse;}
	#dmg_advanced_nav li a {width: auto; height: auto; display: inline-block;}
	
	.toggle {display: none !important;} 
	#dmg_layout_nav-holder {width: 960px; float: right;}
	.container, #dmg_advanced_nav, #dmg_advanced_nav .sub-nav { -webkit-transform:translate(0,0) !important; -ms-transform:translate(0,0) !important; transform:translate(0,0) !important }
	#dmg_advanced_nav, #dmg_advanced_nav .sub-nav { position:absolute; top:0; bottom:0; width:13.75em;z-index:99; right: auto }
	#dmg_advanced_nav label, #dmg_advanced_nav .sub-nav, #dmg_advanced_nav .sub-heading, #header label { display:none }
	#dmg_advanced_nav li a {font-size: 14px;}
	#dmg_advanced_nav > #dmg_nav_main > li > a {padding-right: 1em; padding-left: 1em; box-sizing: border-box;}
	#dmg_advanced_nav > #dmg_nav_main > li > .toggle-sub {float: right; display: none;}
	#dmg_advanced_nav {margin-top: 12px; left:auto; bottom:auto; height:0; width:100% }
	#dmg_advanced_nav .toggle-sub { display:inline-block; margin-top:-3.25em; margin-right:0.25em; border: 0; border-left:0; float: none;}
	#dmg_advanced_nav .toggle-sub { background:transparent }
	#dmg_advanced_nav ul ul .toggle-sub {height: 100%; margin-top:0; margin-right:0; padding: 0 1em; border-left:1px solid #444; display: table-cell; height: 100%; vertical-align: middle;}
	#dmg_advanced_nav ul li:hover > label { color:#ccc }
	#dmg_advanced_nav > ul {background: none; border: 0; float:right; position:relative; z-index:1; top: 73px; right:0; margin-top:0; margin_bottom: 0; line-height: 1em; display:inline-table; border-right:0; font-size: 14px;}
	#dmg_advanced_nav > ul > li {border-bottom: 0;}
	#dmg_advanced_nav > ul > li > .toggle-sub {font: bold 1em/1em Arial; margin-top: -22px; width: 1.125em; margin-right: .5em;}
	
	#dmg_advanced_nav ul:after { content:""; clear:both; display:block }
	#dmg_advanced_nav ul li { float:left; position:relative; text-align:left; display: table; height: 100%;}
	#dmg_advanced_nav ul li a { padding:0.5em 3.75em 0.5em 1.5em; width: 100%}
	#dmg_advanced_nav ul li a:only-child { padding-right:1.5em }
	#dmg_advanced_nav ul li:hover > a { background:#333; -webkit-transition:background-color .25s ease; transition:background-color .25s ease }
	#dmg_advanced_nav ul li:hover > label {background:#333; -webkit-transition:background-color .25s ease; transition:background-color .25s ease }
	#dmg_advanced_nav ul li:hover > ul { display:block }
	#dmg_advanced_nav ul ul { position:absolute; left:0; margin-left:-1px; border-left:1px solid #444 }
	#dmg_advanced_nav ul ul li { float:inherit; width:13.75em; }
	#dmg_advanced_nav ul ul li a { padding: 7px 5px; display: table-cell; vertical-align: middle; line-height: 1.5em;}
	#dmg_advanced_nav ul ul li a:after { right:0.375em; margin-top:-1.6875em; -webkit-transform:none; -ms-transform:none; transform:none }
	#dmg_advanced_nav ul .sub-nav { top:auto; bottom:auto; left:auto; width:auto; margin-top:0; -webkit-transform:none !important; -ms-transform:none !important; transform:none !important }	
	#dmg_advanced_nav ul ul .sub-nav { float:left; top:0; left: 192px; margin-left:0; margin-top:-1px }
	#dmg_advanced_nav ul .fly-left ul { left:-13.75em; margin-left:-2px }
	#dmg_advanced_nav ul .fly-left ul li { float:none }
	#dmg_advanced_nav ul .fly-left .toggle-sub { right:auto; left:0.5em; left:0.375em; padding-bottom:1px; border-right:1px solid #444; -webkit-transform:rotate(-180deg); -ms-transform:rotate(-180deg); transform:rotate(-180deg) }

#dmg_nav_main > li > .toggle-sub span {width: 0; height: 0; margin: 4px 0 0; border-top: 8px solid #FFFFFF; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 0; display: inline-block;}

}



@media all and (max-width: 980px) {
#dmg_nav_contact ul {margin-left: -100px !important;}
}



#main-nav-check, #dmg_advanced_nav .sub-nav-check { position:absolute; top:-9999px; left:-9999px }
.toggle {position: absolute; cursor:pointer; color:#fff; font-size: 66px; right: 10px; bottom: 0; display: block;}
#dmg_nav_top {display: none;}



@media (min-width: 60em) {
.toggle {display: none;}



#dmg_nav_top {display:block;}

}

/*
#dmg_layout_homepage {margin-top: -600px;}
*/

/* == Qsearch ==================== */

#dmg_layout_quickSearch {width: 100%; min-height: 100px; max-width: 800px; box-sizing: border-box; margin: 230px auto 360px; position: relative; border-radius: 10px;}

/* Style for Tabs */		
	#dmg_layout_quickSearch .tab {
	  float: left;
	}
	
	#dmg_layout_quickSearch .tab label {
	  background: url('/shared/images/trans/white80.png') repeat;
	  padding: 0px 10px; 
	  height: 40px;
	  display: block;
	  line-height: 40px;
	  vertical-align: middle;
	  margin-right: 5px; 
	  position: relative;
	  left: 0px; 
	  color: #000000;
	  box-shadow: 0px -8px 6px -5px #545454 inset;
	  border-radius: 5px 5px 0 0;
	  text-transform: uppercase;
	  font-size: 18px;
	  font-family: 'Open Sans', sans-serif;
	}
	
	#dmg_layout_quickSearch .tab label:hover {
	  background: url('/shared/images/trans/black60.png') repeat;
	  padding: 0px 10px; 
	  height: 40px;
	  display: block;
	  line-height: 40px;
	  vertical-align: middle;
	  margin-right: 5px; 
	  position: relative;
	  left: 0px; 
	  color: #ffffff;
	}
	
	#dmg_layout_quickSearch .tab [type=radio] {
	  display: none;   
	}
	
	#dmg_layout_quickSearch .content {
	  position: absolute;
	  top: 40px;
	  left: 0;
	  background: url('/shared/images/trans/black60.png') repeat;
	  right: 0;
	  bottom: 0;
	  padding: 20px;
	  border-radius: 0 5px 5px 5px;
	  min-height: 86px;
	  box-sizing: border-box;
	}
	
	#dmg_layout_quickSearch [type=radio]:checked ~ label {
	  background: url('/shared/images/trans/black80.png') repeat;
	  box-shadow: none;
	  z-index: 2;
	  color: #ffffff;
	}
	
	#dmg_layout_quickSearch [type=radio]:checked ~ label ~ .content {
	  z-index: 1;
	}
	
	/* End Styles for Tabs */
	
	/* Start Quick Search Styles */
	
	.dmg_layout_mainFieldCont {
		width: 100%;
		padding-right: 37px;
		box-sizing: border-box;
	}
	
	#dmg_layout_quickSearch input[type=text] {
		width: 100%;
		height: 37px;
		color: #525252;
		font-size: 16px;
		border: 1px solid #b2b2b2;
		padding-left: 10px;
		font-family: 'Open Sans', sans-serif;
		box-sizing: border-box;
		float: left;
	}
	
	#dmg_layout_quickSearch button {
		background-color: #562449;
		height: 37px;
		border: 0px;
		width: 37px;
		box-sizing: border-box;
		float: right;
		color: #ffffff;
		font-size: 16px;
		text-transform: uppercase;
		background-image: url(/shared/images/predesigns/above/UID-A/magGlass.png);
		background-repeat: no-repeat;
		background-position: center center;
		font-family: 'Open Sans', sans-serif;
		text-align: left;
	}
	
	#dmg_layout_quickSearch button:hover {
		background-color: #754c6e;
	}
	
	#dmg_layout_quickSearchLinks {
		text-align: right;
		padding: 5px 0;
		color: #c5c5c5;
		font-size: 14px;
	}
	
	#dmg_layout_quickSearchLinks a {
		font-family: 'Open Sans', sans-serif;
		color: #ffffff;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
	}
	
	#dmg_layout_quickSearchLinks a:hover {
		color: #c5c5c5;
	}
	
	@media only screen and (max-width: 820px) {
		
				
	}
	
	@media only screen and (max-width: 565px) {
		
		#dmg_layout_quickSearch {width: 100%; min-height: 100px; max-width: 800px; box-sizing: border-box; margin: 100px auto 450px auto; position: relative; border-radius: 10px;}

		#dmg_layout_quickSearch .content {
			min-height: 76px;
			top: 40px;
		  	padding:  10px;
		}
				
	}
	
	@media only screen and (max-width: 480px) {
	
		
		#dmg_layout_quickSearch .tab label {
		  padding: 0px 5px; 
		  height: 35px;
		  display: block;
		  line-height: 35px;
		  vertical-align: middle;
		  margin-right: 2px; 
		  font-size: 14px;
		  text-transform: uppercase;
		}
		
		#dmg_layout_quickSearch .tab label:hover {
		  padding: 0px 5px; 
		  height: 35px;
		  display: block;
		  line-height: 35px;
		  margin-right: 2px; 
		}
		
		
		#dmg_layout_quickSearch {
			min-height: 90px;
		}
		
		#dmg_layout_quickSearch .content {
			min-height: 76px;
			top: 35px;
		}

		
	}
	
	
	
.dmg_qsearch_bar {width: 100%; padding: 0; min-height: 30px; line-height: 30px; vertical-align: middle; background: #552448; position: relative; bottom: 0;}
.dmg_qsearch_bar a:link, .dmg_qsearch_bar a:visited, .dmg_qsearch_bar a:active {width: 100%; text-align: center; color: #FFFFFF; text-decoration: none; display: inline-block; box-sizing: border-box;}
.dmg_qsearch_bar a:hover {background-color: #6d2f5c;}
.dmg_qsearch_bar span {width: 33%; height: 30px; display: inline-block;}
.dmg_qsearch_bar a span {width: 10px; height: 30px; margin-left: 10px; background: url(/images/right-arrow.png) 0 -1px no-repeat; vertical-align: middle; display: inline-block;}

.dmg_qsearch_title {margin: 0 0 10px 30px; font-size: 2.375em; color: #552448; line-height: 1em; display: inline-block; font-weight: normal;}
.dmg_qsearch_nav {margin: 0 0 12px 0; font-size: 16px; text-transform: uppercase; color: #424242; font-family: 'Open Sans', sans-serif;}
.dmg_qsearch_nav a:link, .dmg_qsearch_nav a:visited, .dmg_qsearch_nav a:active {font-size: 18px; text-decoration:none; display: inline-block;
    padding: 10px 20px;
    background: #562447;
    color: #FFFFFF;
    box-sizing: border-box;}
    
.dmg_qsearch_nav a:hover {background: #481e3d; color: #e3e3e3;}

#dmg_slide_qsearch .dmg_qsearch_nav a.dmg_qsearch_buyTab:link, 
#dmg_slide_qsearch .dmg_qsearch_nav a.dmg_qsearch_buyTab:visited {
	background-color: #754c6e;
}

#dmg_slide_qsearch .dmg_qsearch_nav a.dmg_qsearch_buyTab:hover {
	background: #5e3c58;
}

#dmg_layout_qsearch ul {list-style: none; margin: 0; padding: 0;}
#dmg_layout_qsearch li {display: inline; margin: 0; float:left}
#dmg_layout_qsearch .advanced_option {display: none;}

#dmg_layout_qsearch select {height: 43px;}
#dmg_term_wrapper {height: 43px; width: 90%; margin: 0 0 0 0; background: #FFFFFF;}
#dmg_layout_qsearch .dmg_layout_nomargin {margin-right: 0; text-align: right; width: 10%;}

#dmg_term_wrapper #address {width: 100%; min-width: 600px; height: 43px; margin: 0; padding: 0 0 0 8px; border: 0; text-transform: uppercase; font-size: 18px; color: #525252; font-family: 'Open Sans', sans-serif; box-sizing: border-box;}
#dmg_layout_propertyType {width: 269px; margin: 0;}
#dmg_layout_qsbeds, #dmg_layout_qsbaths {width: 135px; margin: 0 17px 0 0; border: 0;}   
#dmg_layout_qsminprice, #dmg_layout_qsmaxprice {width: 130px; padding: 0 0 0 5px; border: 0; height: 36px; line-height: 36px; vertical-align: middle; font-size: 1em; color: #707070; font-family: Georgia, Times, "Times New Roman", serif; font-style: italic;} 

#dmg_layout_qsearch {width: 100%; max-width: 800px;   padding: 0; margin: 0 auto; box-sizing: border-box;}

#dmg_layout_qsearch li ul li {display: block;}
#dmg_layout_qsminprice_chzn {clear: left;}
#dmg_layout_qsearch .chzn-container {font-size: 1em; color: #707070; font-family: Georgia, Times, "Times New Roman", serif;}
#dmg_layout_qsearch .chzn-single {height: 36px; line-height: 36px; background: #FFFFFF; vertical-align: middle; padding-left: 3px; color: #707070; font-style: italic; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border: 0}
#dmg_layout_qsearch .chzn-results li {line-height: 100%; margin-bottom: 3px; margin-right: 0; padding: 4px; float: none;}
#dmg_layout_qsearch .chzn-container-single .chzn-search input {position: absolute; left: -9000px;}
#dmg_layout_qsearch .chzn-container-single .chzn-drop {border: 0; border-top: 0; z-index: 900;}
#dmg_layout_qsearch .chzn-container-single .chzn-single div {background: #FFFFFF; border-left: 0;}
#dmg_layout_qsearch .chzn-container-single .chzn-single div b {background: url('/images/layout10/chosen-sprite.png') no-repeat 0 6px;}
#dmg_layout_qsearch button {
	width: 43px;
    height: 43px;
    line-height: 43px;
    border: 0;
    color: #FFFFFF;
    font-size: 24px;
    text-align: center;
    background-color: #562449;
} 
#dmg_layout_qsearch button:hover {background: ;}

#more_options {position: absolute; left: -9999px;}
#more_options:checked ~ .advanced_option {display: block;}



.more_options_control {
    color: #000000;
    font-size: 16px;
	font-family: Georgia, Times, "Times New Roman", serif;
	cursor: pointer;
}

.more_options_control span {margin: 3px 0 0 6px; float: right;}
.more_options_control .fa-arrow-up {display: none;}
#more_options:checked ~ .fa-arrow-up {display: block;}
#more_options:checked ~ .fa-arrow-down {display: none;}
#more_options:checked ~ li > .more_options_control > .fa-arrow-down {display: none;}
#more_options:checked ~ li > .more_options_control > .fa-arrow-up {display: block;}


.less_options_text {display: none;}

#more_options:checked ~ li > .more_options_control > .less_options_text {display: inline-block}
#more_options:checked ~ li > .more_options_control > .more_options_text {display: none}

/*
#dmg_slide_qsearch.slide_qsearch_internal {background: #EFEFEF; margin: 50px auto 0; padding-top: 20px;}
#dmg_slide_qsearch.slide_qsearch_internal #dmg_layout_qsearch {padding: 0 27px;}
.slide_qsearch_internal #dmg_term_wrapper #address {border: 1px solid #a1a1a1;}
.slide_qsearch_internal #dmg_layout_qsearch .advanced_option {display: block;}
.slide_qsearch_internal #dmg_layout_qsminprice, .slide_qsearch_internal #dmg_layout_qsmaxprice {width: 128px; border: 1px solid #a1a1a1;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-single {border: 1px solid #a1a1a1;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-container-single .chzn-drop {border: 1px solid #a1a1a1;}
*/


#dmg_slide_qsearch {width: 100%; box-sizing: border-box; padding: 20px; background: url('/shared/images/trans/black60.png') repeat; position: relative; border-radius: 10px;}
#dmg_slide_qsearch #dmg_layout_qsearch li {margin: 10px 0;}
#dmg_slide_qsearch.slide_qsearch_internal {background: #EFEFEF; margin: 20px auto 0; padding-top: 20px;}
#dmg_slide_qsearch.slide_qsearch_internal #dmg_layout_qsearch {}
#dmg_slide_qsearch #dmg_term_wrapper { width: 80%; background-color: transparent;}
.dmg_slide_ptype {width: 20%}
.slide_qsearch_internal #dmg_term_wrapper #address {border: 1px solid #a1a1a1; box-sizing: border-box; min-width: auto; width: calc(100% - 14px);}
.slide_qsearch_internal #dmg_layout_qsearch .advanced_option {display: block;}
.slide_qsearch_internal #dmg_layout_qsminprice, .slide_qsearch_internal #dmg_layout_qsmaxprice {border: 1px solid #a1a1a1; box-sizing: border-box;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-single {border: 1px solid #a1a1a1; box-sizing: border-box; height: 43px !important; min-height: 43px !important; line-height: 43px;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-container-single .chzn-drop {border: 1px solid #a1a1a1; box-sizing: border-box;}
.slide_qsearch_internal .advanced_option, .slide_qsearch_internal .advanced_button {width: 20%; height: 43px;}
.slide_qsearch_internal #dmg_layout_qsearch button {width: 100%;}

.slide_qsearch_internal #dmg_layout_qsearch select.chzn-select {height: 43px !important; min-height: 43px !important;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-container-single {width: calc(100% - 14px) !important; height: 43px;}
.slide_qsearch_internal #dmg_layout_qsearch .chzn-container-single .chzn-single span {margin-right: 53px !important;}

.slide_qsearch_internal #dmg_layout_qsearch #anonymous_element_1_chzn {width: 100% !important;}

.slide_qsearch_internal #dmg_layout_qsearch #dmg_layout_qsminprice, .slide_qsearch_internal #dmg_layout_qsearch #dmg_layout_qsmaxprice {width: calc(100% - 14px); height: 43px;}

.slide_qsearch_internal #dmg_layout_qsearch .chzn-container-single .chzn-single div {line-height: 43px;}

#dmg_layout_qsearch .chzn-container-single .chzn-single div b {background-position: 0 8px;}

.slide_qsearch_internal #dmg_layout_qsearch .chzn-drop {width: 100% !important;}

.slide_qsearch_internal #dmg_layout_qsearch .fa {float: right; line-height: 43px;}

.slide_qsearch_internal #dmg_layout_qsearch button { float: left; font-size: 16px;}

#dmg_layout_internal.dmg_lpn_framed_landing, #dmg_layout_internal.market_page  {max-width: 1130px;}

/* == Featured Boxes ==================== */
.dmg_featured_boxes {/* width: 960px; */ width: 100%; max-width: 960px;   margin: 0 auto 40px; padding-bottom: 40px; border-bottom: 1px solid #cccccc; box-sizing: border-box; }
.dmg_featured_box {width: 32%; height: 345px; padding: 10px 10px 0 10px; background: #FFFFFF; box-shadow: 0 0 6px #A0A0A0; font-size: 16px; text-align: center; float: left; position: relative; box-sizing: border-box}
.dmg_featured_box:nth-of-type(3) {margin: 0 2%;}
.dmg_featured_box img {width: 100%; height: auto; margin: 0 auto 8px; display: block;}
.dmg_featured_box a:link, .dmg_featured_box a:visited, .dmg_featured_box a:active {color: #000000; text-decoration: none; display: block;}
.dmg_featured_box strong {margin-bottom: 8px; color: #562449; font-size: 22px; font-weight: normal; display: block;}
.dmg_featured_box .box_desc {width: 88%; margin: 0 auto; line-height: 1.375em; display: block;}
.dmg_featured_box .box_bar {width: 100%; height: 30px; background: #552448; line-height: 30px; vertical-align: middle; color: #FFFFFF; text-transform: uppercase; position: absolute; bottom: 0; left: 0; display: block;}
.dmg_featured_box a:hover .box_bar {background: #333333;}
.homesale_mortgage_box {display: none;}

/* == Featured Homes ==================== */
.dmg_homepage_featured {/* width: 960px; */ width: 100%; max-width: 960px;   margin: 0 auto;}
.dmg_homepage_featured + .dmg_homepage_featured {margin-top: 30px; margin-bottom: 20px; padding-top: 40px; border-top: 1px solid #CCCCCC;}
.dmg_homepage_featured h2 {margin-bottom: 16px; font-size: 30px; color: #552448; font-weight: normal; text-align: center;}
.dmg_listing_wrap {width: 32%; margin-bottom: 20px; background-repeat: no-repeat; background-size: cover; background-position: center center; font-size: 16px; float: left; position: relative; box-sizing: border-box; display: block;}
.dmg_featured_home {width: 100%; padding: 0 0 75% 0; background-repeat: no-repeat; background-size: cover; background-position: center center; font-size: 16px; float: left; position: relative; box-sizing: border-box; display: block;}
.dmg_featured_home img {max-width: 100%; margin: 0 auto; border: 0; display: block; opacity: 0; position: absolute;}
.dmg_featured_overlay {width: 100%; padding: 5px; background: url(/images/layout/featured-overlay-bg.png) repeat; font-size: 14px; line-height: 1.125em; position: absolute; left: 0; bottom: 0; display: block; box-sizing: border-box;}
.dmg_featured_overlay span {display: block;}
a.dmg_featured_home:link, a.dmg_featured_home:visited, a.dmg_featured_home:active {color: #FFFFFF;}
a.dmg_featured_home:hover .dmg_featured_overlay {background: url(/shared/images/trans/black80.png) repeat;}

.dmg_listing_wrap:nth-of-type(2), .dmg_listing_wrap:nth-of-type(5) {margin: 0 2%;}

/* == Browse Sections ==================== */
.dmg_browse_bg {width: 100%; padding: 30px 0; min-height: 450px; background-repeat: no-repeat; background-position: center center; background-size: cover;  box-sizing: border-box; overflow: hidden;}
.browse_maryland {background-image: url(/images/layout/browse-maryland-bg.jpg);}
.browse_pennsylvania {background-image: url(/images/layout/browse-pennsylvania-bg.jpg);}
.browse_offices {background-image: url(/images/layout/browse-offices-bg.jpg);}
.dmg_browse_wrapper {/* width: 960px; */ width: 100%; max-width: 960px;   min-height: 300px; margin: 0 auto; box-sizing: border-box;}
.dmg_browse_wrapper h2 {margin: 0 0 20px; color: #562449; font-size: 30px; font-weight: normal; text-align: center;}
.browse_three_column {list-style:none; margin: 0; padding: 0;}
.browse_three_column li {width: 33.3%; margin-bottom: 16px; text-align: center; float: left;}
.browse_three_column a:link, .browse_three_column a:visited, .browse_three_column a:active {color: #333333; text-decoration: none;}
.browse_three_column a:hover {color: #562449; text-decoration: underline;}
.browse_four_column {list-style:none; margin: 0; padding: 0;}
.browse_offices h2 {color: #FFFFFF;}
.browse_four_column li {width: 25%; min-height: 60px; margin-bottom: 10px; color: #FFF; text-align: center; float: left;}
.browse_four_column a:link, .browse_four_column a:visited, .browse_four_column a:active {color: #FFFFFF; text-decoration: none;}
.browse_four_column a:hover {color: #FF00FF; text-decoration: underline;}



/* == Internal ==================== */
#dmg_layout_internal.dmg_internal_subarea_mapsearch {width: 100%; padding: 0; min-width: 0; max-width: none;}
#dmg_mapsearch_table {width: 100%; display: table;}
#dmg_layout_internal.dmg_layout_myhomevalue { margin: 30px auto; padding: 15px 8px; max-width: 100%; background-color: transparent; box-shadow: none; padding: 0px; min-height: auto; margin: auto;}

#dmg_my-home-value_wrapper {background-color: #ffffff; max-width: 960px; margin: 30px auto; padding: 15px 8px; box-shadow: 0 0 6px #333333; box-sizing: border-box;}

#dmg_layout_internal.dmg_layout_myhomevalue #dmg_layout_quickSearch {margin: 160px auto;}

#dmg_layout_internal {/* width: 960px; */ width: 100%; max-width: 960px; min-height: 600px; padding: 15px 8px; margin: 30px auto; font-family: Tahoma, Verdana, sans-serif; background: #FFFFFF; color: #333333; font-size: .875em; -webkit-box-shadow: 0 0 6px #333333; box-shadow: 0 0 6px #333333; overflow: hidden; box-sizing: border-box;}
#dmg_layout_internal h1 {color: #562449; margin-bottom: 10px; font-size: 2em; font-weight: normal}
#dmg_layout_internal h2 {color: #5C4555; font-size: 1.375em;}
#dmg_layout_internal h3 {color: #333333; font-size: 1.125em;}

#dmg_internal_body {background: url(/images/layout10/internal-bg.png) repeat-x;}


.dmg_custom_internal p {padding-bottom: 8px; line-height: 1.5em;}
.dmg_layout_internal_photo {padding: 5px; border: 1px solid #CCCCCC; float: right;}
#dmg_layout_internal form table td {text-align: left;}
h4 span {color: #5C4555 !important;}

#dmg_mort_banner {margin-top: 10px;}
#dmg_mort_banner img {margin-right: 5px; float: left;}
#dmg_layout_internal #dmg_detail_map .dmg_details_larger_map {font-size: 12px;}

#dmg_mort_banner.pa a + a {font-size: 14px; display: inline-block; float: right; width: 75px; padding-top: 20px;}
#dmg_mort_banner.md a + a {font-size: 14px; display: inline-block; float: right; width: 75px; padding-top: 5px;}

#dmg_mort_banner .mortgage_master {width: 155px; height: auto; margin: 0 auto; float: none; display: block}


/* == Internal Columns ==================== */
#dmg_internal_left {width: 675px; float: left;}
#dmg_internal_right {width: 240px; margin: 0 0 0 20px; float: left;}
#dmg_internal_left img {max-width: 100%; height: auto;}

/* == Internal Search ==================== */
#dmg_internal_search {width: 236px; padding: 10px; color: #FFFFFF; border: 2px solid #542347; -webkit-border-radius: 6px; border-radius: 6px; box-shadow: 2px 2px 3px #CCCCCC; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

#dmg_internal_cta{width: 236px; padding: 10px; margin-bottom: 10px; color: #FFFFFF; border: 2px solid #542347; border-radius: 6px; box-shadow: 2px 2px 3px #CCCCCC; box-sizing: border-box;}
#dmg_internal_cta h2 {margin-bottom: 8px; color: #FFFFFF; text-align: center; font-size: 18px; text-shadow: 2px 2px #000000;}

#dmg_internal_cta ul {list-style: none; margin: 0; padding: 0;}
#dmg_internal_cta li {margin: 0 0 8px 0; clear: left}
#dmg_internal_cta input[type="text"], #dmg_internal_cta input[type="email"] {width: 100%; box-sizing: border-box;}
#dmg_internal_left #dmg_internal_cta {margin: 0 auto 15px; width: 100%;}
#dmg_internal_left #dmg_internal_cta input[type="text"], #dmg_internal_cta input[type="email"] {height: 34px; box-sizing: border-box;}

.alphacube_message #dmg_internal_leads {width: 96%; margin: 35px auto 10px; box-shadow: 0 0 10px #CCCCCC}
.alphacube_message #dmg_internal_leads input[type="text"], .alphacube_message #dmg_internal_leads input[type="email"] {height: 30px; line-height: 30px; vertical-align: middle;}
.alphacube_message #dmg_internal_leads .dmg_search_small {width: 125px;}

#dmg_internal_search h2 {margin-bottom: 8px; color: #FFFFFF; text-align: center; font-size: 1.5em; text-shadow: 2px 2px #000000;}

#dmg_internal_search ul {list-style: none; margin: 0; padding: 0;}
#dmg_internal_search li {margin: 0 0 8px 0; clear: left}
#dmg_internal_search .dmg_search_small {width: 106px; float: left; clear: none;}
#dmg_internal_search #address {width: 214px; border: 2px solid #7a3367; -webkit-border-radius: 4px; border-radius: 4px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
#dmg_internal_search select {width: 100px;}
#dmg_internal_search input[type="checkbox"] {float: left; clear: left;}
#dmg_internal_search label {margin: 0 0 3px 0; overflow: hidden; display: inline-block;}
#dmg_internal_search #dmg_layout_propertyType {width: 212px;}
#dmg_internal_search .dmg_search_small.floatRight select {float: right}

#dmg_internal_search a:link, #dmg_internal_search a:visited, #dmg_internal_search a:active {color: #FFFFFF; line-height: 1.375em; text-decoration: none;}
#dmg_internal_search a:hover {color: #EAE3D4; text-decoration: underline;}


#dmg-wiid-12 {margin-top: 20px;} 
#dmg-wiid-12 a {display: block;}
#dmg-wiid-12 a + a {margin-top: 10px;}

#dmg_mort_calc_banner #dmg_qualify_button {
	width: 100%;
    height: 30px;
    margin-top: 5px;
    padding: 0 10px;
    color: #FFFFFF;
    font-size: 1em;
    background: #552448;
    border-radius: 3px;
    line-height: 30px;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    display: block;
}

#dmg_mort_calc_banner #dmg_qualify_button:hover {background: #FF00FF;}
#dmg_mort_calc_banner #dmg_mort_banner {margin: 10px auto 0;}
#dmg_mort_calc_banner strong {margin-top: 10px; text-align: center; font-size: 14px; display: block;}

/* ---------------------------------------------------------
   Mortgage landing page formatting
---------------------------------------------------------*/
#dmg_layout_internal.mortgage_landing_page {padding: 0;}

.dmg_mlp_bg {padding: 30px 20px; background-size: cover; background-position: center center; background-repeat: no-repeat; box-sizing: border-box; overflow: hidden;}
.congrats {background-image: url(/mlp/images/bg-congratulations.jpg)}
.congrats_mortgage {background-image: url(/mlp/images/bg-mortgage.jpg); background-position: center bottom; background-size: 120%;}
.easier {background-image: url(/mlp/images/bg-easier.jpg)}
.easier2 {background-image: url(/mlp/images/bg-easier2.jpg)}
.afford {background-image: url(/mlp/images/bg-afford.jpg)}
.afford2 {background-image: url(/mlp/images/bg-afford2.jpg)}
.own {background-image: url(/mlp/images/bg-own.jpg)}
.landlords {background-image: url(/mlp/images/bg-tired.jpg)}
.landlords2 {background-image: url(/mlp/images/bg-tired2.jpg)}
.understand {background-image: url(/mlp/images/bg-understand.jpg)}
.understand2 {background-image: url(/mlp/images/bg-understand2.jpg)}
.living {background-image: url(/mlp/images/bg-living.jpg)}
.living2 {background-image: url(/mlp/images/bg-living2.jpg)}



.dmg_mlp_form_wrap {width: 42%; min-height: 575px; max-width: 395px; min-width: 300px; padding: 10px 20px; background: url(/mlp/images/mlp-form-bg.png) repeat; font-family: "Century Gothic",CenturyGothic,AppleGothic,sans-serif; color: #FFFFFF; float: right; box-sizing: border-box;}
#dmg_layout_internal .dmg_mlp_form_wrap h1 {font-size: 24px; color: #FFFFFF; text-align: center;}
#dmg_layout_internal .dmg_mlp_form_wrap h2 {color: #FFFFFF; margin-bottom: 10px;}
.checkmark_list {list-style: none; margin: 15px 0; padding: 0;}
.checkmark_list li {margin: 0 0 10px 0; padding-left: 35px; background: url(/mlp/images/checkmark.png) no-repeat;}

.mortgage_form {width: 100%; margin: 0 auto; font-size: 14px;}
.dmg_mlp_form_wrap p {margin-bottom: 12px;}
.mortgage_form input[type="text"],
.mortgage_form input[type="phone"],
.mortgage_form input[type="email"] {width: 100%; height: 34px; border: 0; font-size: 14px; text-align: center; box-sizing: border-box;}
.mortgage_form select {width:100%; margin-bottom: 8px; }
.mortgage_form span {display: block;}
.mlp_submit {margin: 10px auto 20px; padding: 3px 50px; font-size: 18px; font-weight: bold; border: 0; border-radius: 8px; display: block;}
.mlp_submit:hover {background: #FF00FF;}

.mlp_form_logo {margin: 0 auto; display: block}
.dmg_mortgage_input_wrapper {margin-top: 12px}

.dmg_select_box {width: 100%; position: relative;}
.dmg_select_box .custom_select {width: 100%; margin: 0; padding: .5em; font-size: 16px; 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_box select {position: absolute; display: block; top: 0; bottom: 0; right: 0; left: 0; width: 100%; opacity: 0;}
.custom_select_display {height: 34px; background: #FFFFFF url(/mlp/images/down-arrow.png) top right no-repeat; line-height: 36px; vertical-align: middle; color: #000000; text-align: center;}
.custom_select_display .display_label {width: 100%; text-align: left;}
.custom_select_display p {display: inline;}
.custom_select:hover {cursor: pointer;}
.dmg_select_box + span {margin-top: 12px;}

.custom_select_display p:nth-of-type(1) {display: none;}
.custom_select_display.default_option p:nth-of-type(1) {display: inline-block;}
.custom_select_display.default_option p:nth-of-type(2) {display: none;}
.custom_select_display span {width: 36px; height: 36px; display: inline-block; float: right;}


.dmg_mlp_testimonial {width: 56%; max-width: 500px; text-align: center; font-size: 18px; line-height: 1.5em; color: #3e3e3e; float: left; border-radius: 10px; box-sizing: border-box;}


.mortgage_form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000000;
}
.mortgage_form ::-moz-placeholder { /* Firefox 19+ */
  color: #000000;
}
.mortgage_form :-ms-input-placeholder { /* IE 10+ */
  color: #000000;
}
.mortgage_form :-moz-placeholder { /* Firefox 18- */
  color: #000000;
}



/* ---------------------------------------------------------
   Responsive Iframes for videos and such
---------------------------------------------------------*/
.dmg_internal_iframe_wrapper {max-width: 600px; margin: 15px auto;}
.dmg_internal_iframe_responsive {height: 0; padding-bottom: 56.25%; padding-top: 25px; position: relative; overflow: hidden;}
.dmg_internal_iframe_responsive iframe {width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0; display: block;}


/* == Internal Leads ==================== */
#dmg_internal_leads {width: 236px; padding: 10px; margin-bottom: 15px; color: #FFFFFF; border: 2px solid #542347; -webkit-border-radius: 6px; border-radius: 6px; box-shadow: 2px 2px 3px #CCCCCC; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
#dmg_internal_leads h2 {margin-bottom: 8px; color: #FFFFFF; text-align: center; font-size: 1.5em; text-shadow: 2px 2px #000000;}

#dmg_internal_leads ul {list-style: none; margin: 0; padding: 0;}
#dmg_internal_leads li {margin: 0 0 8px 0; clear: left}
#dmg_internal_leads input[type="text"], #dmg_internal_leads input[type="email"] {width: 100%; padding: 0 0 0 5px; box-sizing: border-box;}
#dmg_internal_leads .dmg_search_small {width: 100px; float: left; clear: none;}
#dmg_internal_leads .dmg_search_small + .dmg_search_small {float: right;} 
#dmg_internal_leads select {width: 100px;}
#dmg_internal_leads .dmg_search_small.floatRight select {float: right}

#dmg_internal_leads ::-webkit-input-placeholder {color: #000000;}
#dmg_internal_leads :-moz-placeholder  {color: #000000;}
#dmg_internal_leads ::-moz-placeholder  {color: #000000;}

.dmg_sellingform_submit, .dmg_buyingform_submit {
    width: 100%;
    padding: 8px 0;
    display: inline-block;
    color: #333333;
    font-size: 1.125em;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 2px 3px #EFEFEF;
    border: 2px solid #eae3d4;
    border-radius: 6px;
    box-shadow: 2px 2px 3px #333333;
    box-sizing: border-box;
}

.dmg_sellingform_submit:hover, .dmg_buyingform_submit:hover {
    background: #eae3d4;
    box-shadow: none;
    border: 2px solid #c1bbb0;
}

.dmg_calc_button {
	width: 200px;
	height: 34px;
	margin: 5px auto;
	color: #623555;
	background: #f2f2f2;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	display: block;
	border: 0;
	
}

.dmg_calc_button:hover {
	color: #FFFFFF;
	background: #333333;
	
}


.dmg_results_list_view .dmg_results_listingInfoIdx, .dmg_results_map_view .dmg_results_listingInfoIdx {
    height: 12% !important;
    width: 12% !important;
    margin: -56px 3px 0px -25px!important;
    
}

.dmg_results_gallery_view .dmg_results_listingInfoIdx {
    height: 20% !important;
    width: 20% !important;
}


#dmg_column_offices, .column_offices_wrapper {clear: both; overflow: hidden;}
.column_offices_wrapper .column_office {width: 18%; margin: 0 1% 12px; padding: 0 10px; line-height: 1.375em; box-sizing: border-box; float: left;}
.column_offices_wrapper h2 {margin-bottom: 6px; text-align: center; display: block; clear: both;}
.column_offices_wrapper .column_office:nth-of-type(5n+1) {clear: left;}
.column_offices_wrapper + .column_offices_wrapper {margin-top: 20px;}

.dmg_office_button {width: 110px; height: 32px; margin: 6px 0 0; padding: 0 5px; background: #783366; border-radius: 6px; font-size: 13px; color: #FFFFFF !important; text-decoration: none; line-height: 32px; vertical-align: middle; text-align: center; display: block;}
.dmg_office_button.call_office_button {display: none;}

/* == Footer ==================== */
.dmg_footer_bg {padding: 30px 0; background: #552448; overflow: hidden;}
.dmg_footer_wrapper {/* width: 960px; */ width: 100%; max-width: 960px;   color: #FFFFFF;  margin: 0 auto;}
.dmg_footer_column {width: 32%; float: left}
.dmg_footer_column:first-child {text-align: center;}
.dmg_footer_column:nth-of-type(2) {min-width: 255px; margin: 0 2%;}
.dmg_footer_wrapper h2 {margin: 0 0 8px; color: #FFFFFF; font-size: 24px; font-weight: normal;}
.dmg_footer_logo {width: 100%; max-width: 291px; height: auto; border: 0; margin: 0 auto 20px; display: block;}
.dmg_footer_wrapper p {font-size: 14px; line-height: 1.375em;}
.dmg_footer_social img {margin: 0 1px; -webkit-filter: grayscale(1); filter: grayscale(1)}

#dmg_footer_contact {width: 250px; margin-right: 40px; float: left;}
#dmg_footer_contact_form {width: 250px; margin: 0 30px 0 0; float: left;}
#dmg_footer_contact_form input {width: 242px; height: 30px; padding: 0 0 0 8px; margin: 0 0 15px 0; border: 0; font-size: 14px; line-height: 30px; vertical-align: middle; color: #545454; font-family: sans-serif; -webkit-border-radius: 4px; border-radius: 4px;}
#dmg_footer_contact_form textarea {width: 242px;  height: 55px; padding: 5px 0 0 8px; margin: 0 0 15px 0; color: #545454; font-size: 14px; font-family: sans-serif; -webkit-border-radius: 4px; border-radius: 4px;}
#dmg_footer_contact_form button {width: 250px; height: 30px; margin: 0 0 15px 0; background: #340828; font-family: Georgia, Times, "Times New Roman", serif; font-size: 1.125em; color: #FFFFFF; text-decoration: none; text-align: center; -webkit-border-radius: 3px; border-radius: 3px; border: 0;}
#dmg_footer_contact_form button:hover {background: #333333;}
#dmg_footer_contact_form ::-webkit-input-placeholder {
   color: #545454;
}

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

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

#dmg_footer_contact_form :-ms-input-placeholder {
   color: #545454;
}


.dmg_disclaimer_wrapper {/* width: 960px; */ width: 100%; max-width: 960px;   margin: 30px auto;}
.dmg_layout_disclaimer {width: 100%; padding: 13px 0 6px; font-size: .75em; color: #333333;}	
.dmg_layout_disclaimer_text {width: 65%; float: left}
.dmg_layout_disclaimer_text.homepage {margin: 0 auto; float: none;}
.dmg_layout_disclaimer_affiliates {width: 32%; text-align: center; float: right; }
.dmg_layout_disclaimer_affiliates img {width: 100%; max-width: 290px; margin: 0 auto 15px; border: 1px solid #747474;}





/*== MHF Modal ===================== */
body .dialog {font-family: Georgia, Times, "Times New Roman", serif;}
#login_title {color: #562449; font-weight: bold; font-size: 1.5em; margin-bottom: 12px; padding-left: 22px; width: 400px;}
.login_label {width: 160px; margin-bottom: 8px; padding-right: 0.5em; line-height: 20px; vertical-align: middle; text-align: right; display: block; float: left;}
.login_input {margin-bottom: 8px; float: left;}
.alphacube_buttons input {background: #562449; color: #FFFFFF; font-weight: bold; margin: 0 5px; padding: 5px; border: 0;}
.alphacube_buttons input:hover {background: #8c8c8c}

/* == General ==================== */
a:link, a:active, a:visited {color: #562449;}
a:hover {color: #333333; text-decoration:none;}

.clearBoth {clear: both;}
.clearLeft {clear: left}
.clearRight {clear: right}

.floatLeft {float: left !important;}
.floatRight { float: right !important;}
.floatright2 {float: right; margin-left: 20px; padding: 5px;}


.alignCenter {text-align: center;}
.alignLeft {text-align: left;}
.alignRight {text-align: right;}
.dmg_layout_red{ color: #cc3333;}

.clearFix:before, .clearFix:after {content:""; display: table;}
.clearFix:after {clear: both;}



.dmg_purple_grad {
background: #562449;
background: -moz-linear-gradient(top,  #562449 0%, #7a3367 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#562449), color-stop(100%,#7a3367));
background: -webkit-linear-gradient(top,  #562449 0%,#7a3367 100%);
background: -o-linear-gradient(top,  #562449 0%,#7a3367 100%);
background: -ms-linear-gradient(top,  #562449 0%,#7a3367 100%);
background: linear-gradient(to bottom,  #562449 0%,#7a3367 100%);
}

.dmg_cream_grad {
background: #eae3d4;
background: -moz-linear-gradient(top,  #eae3d4 0%, #c1bbb0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eae3d4), color-stop(100%,#c1bbb0));
background: -webkit-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: -o-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: -ms-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: linear-gradient(to bottom,  #eae3d4 0%,#c1bbb0 100%);
}


.dmg_layout_submit_button {width: 100%; padding: 8px 0; display: inline-block; text-align: center; color: #333333; font-size: 1.125em; font-family: Georgia, Times, "Times New Roman", serif; font-weight: bold; text-shadow: 1px 2px 3px #EFEFEF; border: 2px solid #eae3d4; -webkit-border-radius: 6px; border-radius: 6px; box-shadow: 2px 2px 3px #333333; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
.dmg_layout_submit_button:hover {background: #eae3d4; box-shadow: none; border: 2px solid #c1bbb0;}


/* == Full Page ==================== 
#superContainer {
    height:100%;
    position:relative;
}
.section{
    position: relative;
	-webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    box-sizing: border-box;
    overflow:hidden;
    padding-top: 118px; 
}


#homeslide.section {padding-top: 120px;}

.easing {
    -webkit-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
}

.dmg_slide_wrap {
	width: 960px;
	height: 100%;
	margin: 0 auto;
	background: url('/images/layout10/scroll-arrow.png') center bottom no-repeat; 
	position: relative;
}

.dmg_slide_table {display: table; width: 100%; height: 100%;}

.dmg_slide_center {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

#fullPage-nav{
	position: fixed;
	z-index: 100;
	margin-top: -32px;
	top: 58%;
	opacity: 1;
}
#fullPage-nav.right{
	right: 17px;
}
#fullPage-nav.left{
	left: 17px;
}

#fullPage-nav ul,
.fullPage-slidesNav ul{
	margin:0;
	padding:0;
}
#fullPage-nav li,
.fullPage-slidesNav li{
	display: block;
	width: 14px;
	height: 13px;
	margin: 7px;
	position:relative;
}
.fullPage-slidesNav li{
	display: inline-block;
}
#fullPage-nav li a,
.fullPage-slidesNav li a{
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
}
#fullPage-nav li .active span,
.fullPage-slidesNav .active span{
	background: #333;
}

#fullPage-nav li a:hover span,
.fullPage-slidesNav a:hover span{
	background: #FFF;
}

#fullPage-nav span,
.fullPage-slidesNav span{
	top: 3px;
	left: 2px;
	width: 8px;
	height: 8px;
	border: 1px solid #000;
	background: rgba(0, 0, 0, 0);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	z-index: 1;
}
.fullPage-tooltip{
	min-width: 100px;
	margin-right: -25px;
	position: absolute;
	color: #fff;
	font-size: 13px;
	top: -2px;
    text-align: left;
    padding: 2px 4px;
    background-color:rgba(0,0,0,0.4);
    font-family: Geneva, Tahoma, Verdana, sans-serif;
}
.fullPage-tooltip.right{
	right: 20px;
}
.fullPage-tooltip.left{
	left: 20px;
}

.dmg_move_down {width: 52px; height: 54px; position: absolute; bottom: 0; left: 47%; cursor: pointer}

*/

/*============ searchCommunities ============*/ 
.searchCommunities{ background: url(/newhomes/communities-bg.jpg) no-repeat top right; float: left; width:100%;}
	.searchCommunitiesHeader{border-bottom: 1px solid #C1BEB9;   margin-bottom: 6px;}
	#linksCommunity{clear: both;}
	#dmg_layout_internialHalf .aboutCommunities{ width: 368px; font-size: 0.75em}
	#linksCommunity ul{ list-style: none; margin: 0 19px 0 0; padding:0;  width: 30%; float: left; }
	#linksCommunity .noBorder{ border: none;}
	#linksCommunity li{ margin: 0;}
	#linksCommunity a{ text-decoration: none; }
	#linksCommunity a:hover{ text-decoration: underline; }
	/*== Form==*/
	#dmg_layout_communitiesSearch {margin: 15px 0; padding: 10px; background: #f2f2f2; float: left;}
	
	#dmg_layout_communitiesSearch fieldset {
    	border: medium none;
	}
	#dmg_layout_communitiesSearch legend {
    	display: none;
	}

	#dmg_layout_communitiesSearch ol {
	    list-style: none outside none;
	    margin: 0;
	    padding: 0;
	}
	#dmg_layout_communitiesSearch li {
	    float: left;
	}
	#dmg_layout_communitiesSearch li + li {
	    margin-left: 20px;
	}
	
	#dmg_layout_communitiesSearch select {
    	width: 130px;
	}
	#dmg_layout_communitiesSearch label {
	    color: #333333;
	    margin-bottom: 3px;
	    font-size: 12px;
	    font-weight: bold;
	    display: block;
	}
	

#dmg_layout_communitiesSearch .dmg_layout_communitiesOr{ margin-right: 5px; margin-top: 29px; width: 17px;}	
	
#dmg_layout_communitiesSearch .dmg_layout_searchReports, #main_content .dmg_layout_searchReports {padding: 2px 12px; margin-top: 6px; display: inline-block; color: #333333; font-size: 1em; font-family: Georgia, Times, "Times New Roman", serif; font-weight: bold; text-shadow: 1px 2px 3px #EFEFEF; border: 2px solid #eae3d4; -webkit-border-radius: 6px; border-radius: 6px; box-shadow: 2px 2px 3px #333333; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
background: #eae3d4;
background: -moz-linear-gradient(top,  #eae3d4 0%, #c1bbb0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eae3d4), color-stop(100%,#c1bbb0));
background: -webkit-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: -o-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: -ms-linear-gradient(top,  #eae3d4 0%,#c1bbb0 100%);
background: linear-gradient(to bottom,  #eae3d4 0%,#c1bbb0 100%);
}
#dmg_layout_communitiesSearch .dmg_layout_searchReports:hover, #main_content .dmg_layout_searchReports:hover {background: #eae3d4; box-shadow: none; border: 2px solid #c1bbb0;}

#dmg_layout_internialHalf #DetailSectionImageWrapper img{max-height: 300px;}

/* ========= Agent office page ========== */
#dmg_layout_agent_left {  margin-bottom: 5px; }
#dmg_layout_agent_left ul {list-style: none; margin: 0; padding: 0;}
#dmg_layout_agent_left label {  font-size: 0.9em; width: 90px; display: block; }
#dmg_layout_agent_left input{width: 190px; padding: 3px;}
#dmg_layout_agent_left select {margin-bottom: 8px; width: 194px;}
#dmg_layout_agent_left li{ margin: 5px 0;}
#dmg_layout_agent_left input[type="submit"] { font-weight: bold;  padding: 5px 0;width: 59px;  border: none; color: #fff;
background: #003A6D; /* Old browsers */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
position: relative;
}

#dmg_layout_agent_left input[type="submit"]:hover{
background: #003A6D; /* Old browsers */

}
.dmg_layout_getagentRight{-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
position: relative;padding: 24px;  width: 221px; float: right;  color: #E8E8E8;}
#dmg_layout_internal .dmg_layout_getagentRight h2 {color: #FFFFFF}

.dmg_layout_dropdown{margin-bottom: 19px;}
.dmg_layout_dropdown select{width: 210px;}
#dmg_layout_agent_right a{width: 18px; height: 20px; text-align: center; line-height: 20px; vertical-align: middle; color:#E8E8E8; display: inline-block; text-decoration: none; font-weight: bold; -webkit-border-radius: 4px; border-radius: 4px; }
#dmg_layout_agent_right a:hover{ background: #FFFFFF; color: #562449;}

#dmg_layout_agent_right p{font-size: 12px; line-height: 1.2em; margin-bottom: 9px;}
#dmg_layout_agent_right {  margin-bottom: 19px;}
#dmg_layout_content_internal .dmg_layout_getagentRight h2{border-bottom: 1px solid #E8E8E8;
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
    padding-bottom: 6px;}
#dmg_layout_agent_map{float: left; width: 625px }
#dmg_layout_agent_map select {margin: 8px 0;}	
#dmg_layout_agent_map p {margin: 0;}






#dmg_layout_footerBottom{-moz-border-radius-topleft: 20px;	-moz-border-radius-topright: 20px;	-moz-border-radius-bottomright: 20px;	-moz-border-radius-bottomleft: 20px;	-webkit-border-radius:20px 20px 20px 20px;	border-radius: 20px 20px 20px 20px; margin: 0 16px 30px; width: 854px;  background: #EFEFEF; float: left; clear: both; padding:40px 29px; color: #0b599b;}
#dmg_layout_footerBottom .dmg_layouot_footerOffices{ float: left; width: 891px;    text-align: center;}

#dmg_layout_footerBottom a{ line-height: 1.7em; text-decoration: none; float: left; clear: both;}
#dmg_layout_footerBottom a:hover{text-decoration: underline;}
#dmg_layout_footerBottom div.dmg_layout_office_columns{ float:left; width:185px; margin-right: 12px;}
#dmg_layout_footerBottom h3{ font-size: 1.2em;border-bottom: 1px solid #333333; padding-bottom: 5px; margin-bottom: 5px;}
#dmg_layout_footerBottom div#dmg_layout_office_PA{ float:left; width: 595px; overflow: auto;}
#dmg_layout_footerBottom div#dmg_layout_office_MD{ float:left; width: 200px; overflow: auto;}
.dmg_layouot_footerOffices span{ margin: 0 5px}
.dmg_layout_office_PA{ float: left; width: 604px; padding-right: 25px;}
.dmg_layout_office_MD{ float: left; width: 200px;}

#dmg_layout_footerBottom .dmg_layout_office_PA div:last-child {width: 150px; margin-left: 40px;}

#dmg_layout_footerBottom img{ margin-right: 13px;}

/* Open House Imagemap Formating
--------------------------------------------*/
#dmg_layout_counties {
    list-style: none;
    background: url(/images/layout/open-map.png) no-repeat 0 0;
    position: relative;
    width: 700px;
    height: 812px;
    margin: 0;
    padding: 0;
}

#dmg_layout_counties li {
    border: 0px solid #000;
    position: absolute;
    margin: 0;
}

#dmg_layout_counties li a{
    display: block;
    height: 100%;
    text-indent: -9000px;
}

#dmg_layout_counties li a:hover {
    background: url(/images/layout/open-map.png) no-repeat 0 0;
}

#dmg_layout_map_schuylkill {
    width: 205px;
    height: 124px;
    top: 136px;
    left: 329px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_schuylkill a:hover {
    background-position: -151px -1167px;
	}
	
#dmg_layout_map_perry {
    width: 174px;
    height: 119px;
    top: 223px;
    left: 113px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_perry a:hover {
    background-position: -509px -1296px;
	}
	
#dmg_layout_map_dauphin {
    width: 102px;
    height: 139px;
    top: 214px;
    left: 256px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_dauphin a:hover {
    background-position: -9px -1000px;
	}
	
#dmg_layout_map_cumberland {
    width: 175px;
    height: 95px;
    top: 303px;
    left: 125px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_cumberland a:hover {
    background-position: -311px -1308px;
	}
	
#dmg_layout_map_adams {
    width: 113px;
    height: 93px;
    top: 367px;
    left: 159px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_adams a:hover {
    background-position: -155px -1309px;
	}
/*--------------------------------------------*/

#dmg_layout_map_york {
    width: 200px;
    height: 135px;
    top: 325px;
    left: 232px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_york a:hover {
    background-position: -10px -1435px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_lebanon {
    width: 114px;
    height: 94px;
    top: 241px;
    left: 331px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_lebanon a:hover {
    background-position: -9px -1182px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_lancaster {
    width: 183px;
    height: 158px;
    top: 303px;
    left: 327px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_lancaster a:hover {
    background-position: -228px -1425px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_berks {
    width: 194px;
    height: 142px;
    top: 208px;
    left: 390px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_berks a:hover {
    background-position: -433px -1432px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_chester {
    width: 165px;
    height: 193px;
    top: 319px;
    left: 450px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_chester a:hover {
    background-position: -26px -1601px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_montgomery {
    width: 147px;
    height: 120px;
    top: 271px;
    left: 548px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_montgomery a:hover {
    background-position: -0px -1297px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_delaware {
    width: 82px;
    height: 71px;
    top: 369px;
    left: 565px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_delaware a:hover {
    background-position: -261px -1624px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_franklin {
    width: 137px;
    height: 149px;
    top: 318px;
    left: 28px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_franklin a:hover {
    background-position: -390px -1111px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_frederick {
    height: 140px;
    left: 116px;
    top: 464px;
    width: 128px;
    border: 0px;
}

#dmg_layout_counties #dmg_layout_map_frederick a:hover {
    background-position: -333px -825px;
}

/*--------------------------------------------*/

#dmg_layout_map_carroll {
    width: 118px;
    height: 106px;
    top: 462px;
    left: 195px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_carroll a:hover {
    background-position: -481px -823px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_baltimore {
    width: 130px; 
    height: 153px;
    top: 461px;
    left: 289px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_baltimore a:hover {
    background-position: -110px -822px; 
	}
	
/*--------------------------------------------*/

#dmg_layout_map_harford {
    width: 115px; 
    height: 121px; 
    top: 460px;
    left: 362px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_harford a:hover {
    background-position: -575px -965px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_montgomerymd {
    width: 139px; 
    height: 115px; 
    top: 571px;
    left: 148px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_montgomerymd a:hover {
    background-position: -540px -1137px; 
	}
	
/*--------------------------------------------*/

#dmg_layout_map_howard {
    width: 107px;
    height: 76px; 
    top: 562px;
    left: 224px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_howard a:hover {
    background-position: -418px -986px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_baltimorecity {
    width: 50px; 
    height: 55px;
    top: 561px;
    left: 329px;
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_baltimorecity a:hover {
    background-position: -609px -827px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_princegeorges {
    width: 99px;
    height: 167px; 
    top: 632px; 
    left: 247px; 
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_princegeorges a:hover {
    background-position: -137px -987px;
	}
	
/*--------------------------------------------*/

#dmg_layout_map_annearundel {
    width: 98px; 
    height: 149px; 
    top: 601px; 
    left: 303px; 
    border: 0px;
	}

#dmg_layout_counties #dmg_layout_map_annearundel a:hover {
    background-position: -263px -970px; /* First value is -width from left - second value if - width fromt he top */
	}
