p, h1, h2, h3, h4, h5, h6, img, div, span, form, fieldset, label, legend { border: 0 none;  font-size: 1em;  margin: 0; padding: 0;}
ol, ul, dl {  margin: 0 0 0 2.5em; padding: 0;}
legend { display: none;}
a:link, a:visited, a:active   { color: #819f68;text-decoration: none;}
a:hover{color: #819f68; text-decoration: underline; }
.clearBoth { clear: both;}
.clearLeft { clear: left;}
.clearRight {  clear: right;}
.alignCenter { text-align: center;}
.alignLeft { text-align: left;}
.alignRight { text-align: right;}
.floatLeft { float: left;}
.floatRight { float: right;}

body { 
	font-family: 'Puritan', sans-serif;
	margin: 0px;
	padding: 0px;
	}

#dmg_layout_wrapper {
	margin: 0px;
	padding: 0px;
	}
	
.floatLeft {
	float: left;
	}
	
.floatRight {
	float: right;
	}
	
.clear {
	clear: both;
	}
	
a:link, a:visited {
	color: #037ace;
	text-decoration: underline;
	}
	
a:hover {
	color: #2e3235;
	}
	
img {
	border: none;
	}
	
/* Banner Styles
=======================================================================*/

#dmg_layout_top {
	background: url(/shared/images/templates/1657/topBorder.gif) repeat-x top;
	text-align: center;
	margin: 0px;
	padding: 0px;
	}
	
#dmg_layout_banner {
	width: 960px;
	margin: auto;
	padding: 0px;
	text-align: left;
	}
	
#dmg_layout_logo {
	border: none;
	margin: 13px 0 0 0; 
	}
	
#dmg_layout_slogan {
	border: none;
	margin: 13px 0 0 0; 
	}
	
#dmg_layout_banner_right {
	width: 710px;
	}
	
/* Homefinder */
	
#dmg_layout_homefinder {
	background: url(/shared/images/templates/1657/homefinderBg.gif) repeat-x #0163a6;
	width: 395px;
	height: 25px;
	position: relative;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	behavior: url('/shared/htc/PIE.php');
	}
	
#dmg_layout_homefinder h1 {
	margin: 0px 20px 0 0;
	padding: 0px 20px;
	font-family: Palatino, Georgia, Serif;
	font-size: .875em;
	color: #ffffff;
	border-right: 1px solid #085c96;
	float: left;
	line-height: 25px;
	vertical-align: middle;
	}
	
#divMPLoginForm {
	color: #ffffff;
	float: left;
	}
	
#dmg_layout_hfLinks {
	background: url(/shared/images/templates/1657/hfDot.gif) no-repeat  72px center;
	list-style-type: none;
	margin: 0px;
	}
	
#dmg_layout_agent_login {
	background: url(/shared/images/templates/1657/agentLoginBg.gif) repeat-x #2c2c2c;
	list-style-type: none;
	padding: 0px 12px;
	margin: 0px;
	height: 25px;
	float: right;
	position: relative;
	-moz-border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
	border-radius: 0 0 4px 0;
	behavior: url('/shared/htc/PIE.php');
	}
	
#dmg_layout_hf_overview {
	float: left;
	margin: 0 0 0 10px;
	}
	
#dmg_layout_hf_overview .nporttwo {
	font-size: .7em;
	text-transform: capitalize;
	margin-right: 7px;
	}
	
#dmg_layout_hf_overview .port {
	font-size: .7em;
	text-transform: uppercase;
	margin-right: 5px;
	}
	
#dmg_layout_agent_login a {
	line-height: 25px;
	vertical-align: middle;
	}
	
#dmg_layout_homefinder a {
	font-family: Arial, Helvetica, sans-serif;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: .75em;
	text-decoration: none;
	line-height: 25px;
	vertical-align: middle;
	}
	
#dmg_layout_homefinder a:hover {
	color: #98ceed;
	}
	
/* Navigation */

#dmg_layout_navigation, #dmg_layout_navigation ul {
	padding: 0;
	margin: 35px 0 0 0;
	list-style: none;
	}

#dmg_layout_navigation a {
	display: block;
	font-family: Palatino, Georgia, Serif;
	font-size: .875em;
	text-decoration: none;
	color: #494949;
	padding: 7px 10px 5px 10px;
	}
	
#dmg_layout_navigation li:hover a {
	color: #ffffff;
	}

#dmg_layout_navigation li {
	float: left;
	background: url(/shared/images/templates/1657/greyBtnBg.gif) #f0f4f3 repeat-x;
	margin: 0 0 0 11px;
	}
	
.shadowLink {
	-moz-box-shadow: 1px 1px 3px #cecece;
	-webkit-box-shadow: 1px 1px 3px #cecece;
	box-shadow: 1px 1px 3px #cecece;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	behavior: url('/shared/htc/PIE.php');
	}
	
#dmg_layout_navigation li ul {
	position: absolute;
	width: 150px;
	left: -999em;
	margin: 0px;
	-moz-box-shadow: 1px 1px 3px #000000;
	-webkit-box-shadow: 1px 1px 3px #000000;
	box-shadow: 1px 1px 3px #000000;
	behavior: url('/shared/htc/PIE.php');
	}
	
#dmg_layout_navigation li li {
	background: #35393c;
	width: 150px;
	border-radius: 0px;
	}
		
#dmg_layout_navigation li ul li:hover {
	background: #31789e;
	}
	
#dmg_layout_navigation li:hover {
	background: url(/shared/images/templates/1657/blueBtnBg.gif) #31789e repeat-x;
	}

#dmg_layout_navigation li:hover ul {
	left: auto;
	}
	
#dmg_layout_navigation li:hover ul, #dmg_layout_navigation li.sfhover ul {
	left: auto;
}

/* Social Icons */

#dmg_layout_social_icons {
	border-left: 1px solid #494949;
	padding: 0 0 0 10px;
	}
	
.socialIcon {
	background: none !important;
	margin: 0 !important;
	padding: 2px 0px 2px 11px !important;
	}
	
.socialIcon a {
	padding: 0px !important;
	}
	
/* Phone Number */

#dmg_layout_phone {
	font-family: Palatino, Georgia, Serif;
	color: #4589b4;
	font-size: 1.125em;
	padding: 15px 0 0 0;
	-moz-text-shadow: 2px 2px 2px #cecece;
	-webkit-text-shadow: 2px 2px 2px #cecece;
	text-shadow: 2px 2px 2px #cecece;
	}
	
/* Agent Sidebar
----------------------------------------------------*/	

#dmg_layout_sidebar {
	width: 172px;
	float: left;
	background: #e1e1e1;
	border: 1px solid #216289;
	padding: 23px;
	margin: 0 10px 0 0;
	min-height: 830px;
	}
	
#dmg_layout_sidebar img {
	padding: 10px;
	background: #ffffff;
	border: 1px solid #216289;
	}
	

#dmg_layout_agentname {
	font-weight: bold;
	font-size: 1.125em;
	}
	
#dmg_layout_agentinfo {
	text-align: center;
	color: #216289;
	text-transform: uppercase;
	font-size: .875em;
	padding: 10px 0px;
	border-bottom: 2px solid #216289;
	}
	
#dmg_layout_side_navigation ul {
	list-style-type: none;
	margin: 10px 0px;
	padding: 0px;
	}
	
#dmg_layout_side_navigation a {
	font-size: .875em;
	color: #216289;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.5em;
	}
	
#dmg_layout_side_navigation a:hover {
	color: #000000;
	}
	
/* Center Styles
=======================================================================*/

#dmg_layout_center {
	background: url(/shared/images/templates/1657/bottomGrad.gif) repeat-x bottom;
	text-align: center;
	margin: 0px;
	padding: 0px;
	}
	
#dmg_layout_content {
	width: 920px;
	margin: auto;
	padding: 20px 20px 55px 20px;
	text-align: left;
	min-height: 481px;
	-moz-box-shadow: 0px 0px 8px #cecece;
	-webkit-box-shadow: 0px 0px 8px #cecece;
	box-shadow: 0px 0px 8px #cecece;
	behavior: url('/shared/htc/PIE.php');
	position: relative;
	border: 1px solid #d1d1d1;
	background-color: #ffffff;
	}
	
#dmg_layout_gbar {
	border-top: 1px solid #8b8d8f;
	border-bottom: 1px sold #ffffff;
	}
	
#dmg_layout_rightbar {
	float: right;
	width: 650px;
	padding: 0px 20px;
	}
	
/* Interior Content Styles
=======================================================================*/

.dmg_layout_interior_content h1 {
	font-family: Palatino, Georgia, Serif;
	color: #4589b4;
	font-size: 2em;
	border-bottom: 1px solid #d1d1d1;
	}
	
.dmg_layout_interior_content h2 {
	font-size: 1.25em;
	font-weight: bold;
	color: #4589b4;
	}
	
.dmg_layout_interior_content h3 {
	font-size: 1em;
	color: #404345;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
	}
	
.dmg_layout_interior_content p {
	font-size: .875em;
	color: #404345;
	line-height: 1.5em;
	margin: 0 0 20px 0;
	}
	
.dmg_layout_interior_content ul {
	margin-right: 30px;
	}
	
.dmg_layout_interior_content ol li {
	display: block;
	font-size: .875em;
	padding: 0 0 10px 0;
	list-style-type: decimal;
	}
	
.dmg_layout_interior_content li {
	line-height: 1.75em;
	font-size: .875em;
	}
	
.dmg_layout_interior_content li li {
	font-size: 1em;
	}
	

	
.dmg_layout_interior_center {
	padding: 20px 0 50px 0;
	}
	
.photoRight {
	-moz-box-shadow: 0px 0px 4px #cecece;
	-webkit-box-shadow: 0px 0px 4px #cecece;
	box-shadow: 0px 0px 4px #cecece;
	behavior: url('/shared/htc/PIE.php');
	border: 1px solid #d1d1d1;
	background: #ffffff;
	float: right;
	margin: 0px 0px 20px 20px;
	padding: 7px;
	}
	
.dmg_contact_item {
	clear: both;
	padding: 0 0 20px 0;
	height: 130px;
	}
	

	
/* Footer Styles
=======================================================================*/

#dmg_layout_bottom {
	text-align: center;
	background: #ededed;
	}
	
#dmg_layout_footer {
	width: 950px;
	margin: auto;
	padding: 25px 0px;
	text-align: left;
	}
	
#dmg_layout_footer a:link, #dmg_layout_footer a:visited {
	color: #4383b1;
	}

#dmg_layout_footer a:hover {	
	color: #2e3235;
	}
	
#dmg_layout_footer_links {
	width: 380px;
	}

#dmg_layout_footer h1 {	
	font-family: Palatino, Georgia, Serif;
	color: #4589b4;
	font-size: 1.125em;
	padding: 15px 0 0 0;
	text-shadow: 2px 2px 2px #cecece;
	margin:  0 0 15px 0;
	padding: 0px;
	}
	
#dmg_layout_footer ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}
