/* CSS Reset Changes */
body {font-size: 100%; background: #F1E9BA url('../images/templates/1594/site-bg.png') repeat-x; margin-top: 0;}

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

/* Font Conversions to ems */
/* 1.375em = 22px */
/* 1.25em = 20px */
/* 1.125em = 18px */
/* 1em = 16px */
/* .875em = 14px */
/* .75em = 12px */
/* .687em = 11px */
/* .625em = 10px */

#dmg_layout_wrapper {width: 962px; margin: 0 auto; padding-bottom: 50px; font-family: Verdana, Geneva, sans-serif;}

/* Header Formating */
#dmg_layout_header {height: 120px; margin-bottom: 5px; color: #000;}
#dmg_layout_logo {float: left;}
#dmg_layout_city {float:right; font-family:"Palatino Linotype","Book Antiqua",Palatino,serif; font-size:2em; font-style:italic;
font-weight: bold; text-align:center; width:480px; height: 30px; line-height: 30px; color: #e5dfbb;}
#dmg_layout_city span {font-size: .65em; font-weight: normal}

/* Homefinder Formating */
#dmg_layout_homefinder {height: 55px; width: 285px; background: url('../images/templates/1594/homefinder-bg.png') no-repeat; float: right; font-size: .687em;}
#dmg_layout_homefinder p {width: 275px; margin-left: 8px; margin-top: 4px;}
#dmg_layout_homefinder span {margin-top: 3px; margin-right: 8px; display: block; text-align: right;}
#dmg_layout_homefinder a {color: #7195D3}
#dmg_layout_homefinder a:hover {color: #164593}

#dmg_layout_homefinder .dmg_layout_homefinder_user {width: 120px; display: block; float: right;}
#dmg_layout_homefinder .dmg_layout_homefinder_user a {color: #333; font-size: 1.125em;}
#dmg_layout_homefinder .dmg_layout_homefinder_user a:hover {color: #7195D3}

#dmg_layout_homefinder .dmg_layout_homefinder_admin {margin: 32px 0 0 5px; display: block; float: left;}

#dmg_layout_login_modal {display: none;}

/* Body Formating */
#dmg_layout_body {background: #FFF; padding-bottom: 5px; float: left;}


/* Search Formating */
#dmg_layout_home_search {width: 460px; height: 286px; margin: 5px; background: url('../images/templates/1594/home-search-bg.png') repeat-x; float: right;}
#dmg_home_search_left {width: 460px; height: 286px; background: url('http://www.prudentialhomesale.com/shared/images/templates/1594/home-search-left.png') top left no-repeat;}
#dmg_home_search_right {width: 420px; height: 256px; background: url('../images/templates/1594/home-search-right.png') top right no-repeat; padding: 15px 20px;}

#dmg_layout_search_term {width: 400px; height: 23px; line-height: 30px; font-size: 1.125em; color: #cfc9c9; padding-left: 12px; padding-top: 3px; background: url('../images/templates/1594/search-input-bg.gif') top left no-repeat; border: 1px solid #cfc9a9; margin: 8px 0;}

#dmg_home_search_right label {font-size: .75em; margin-bottom: 3px; color: #333; float: left; clear: left;}
#dmg_home_search_right select {float: left; clear: left; margin-bottom: 8px;}
#dmg_home_search_right div {width: 49%; margin: 5px auto 10px auto; float: left;}
#dmg_home_search_right input.dmg_search_submit {margin: 0 25px;}


/* Internal Search Formating */
#dmg_layout_internal_search {width: 912px; height: 32px; padding: 0 0 0 40px;; margin: 5px; background: url('http://www.prudentialhomesale.com/shared/images/templates/1594/internal-search-bg.jpg') bottom repeat-x; border: 1px solid #e5dfbb; float: left; }
#dmg_layout_internal_search img {float: left;}
#dmg_layout_internal_search form {float: left; height: 30px; }
#dmg_layout_internal_search #dmg_layout_search_term {margin: 2px 10px; float: left; }
#dmg_layout_internal_search .dmg_search_submit {float: left; margin-top: 3px; margin-right: 10px;} 
#dmg_layout_internal_search .dmg_search_advanced {float: left; margin-top: 3px;} 


/* Side Formating */
#dmg_layout_side_nav {width: 200px; padding-bottom: 100px; margin-top: 3px; margin-left: 5px; background: url('../images/templates/1594/side-nav-bg.gif') repeat-y; float: left; border: 1px solid #e5dfbb; clear: left;}
#dmg_layout_side_nav ul {list-style: none; margin: 0; padding: 0;}
#dmg_layout_side_nav li a {width: 185px; height: 34px; line-height: 34px; vertical-align: middle; font-size: .75em; text-decoration: none; padding-left: 15px; background: url('../images/templates/1594/nav-bg.gif') no-repeat; display: block; overflow: hidden;}
#dmg_layout_side_nav li a:hover {background: #003366; color: #FFF;}

/* Agent Formating */
#dmg_layout_agent_info {width: 96%; margin: 80px auto; padding: 8px 0; font-size: .75em; text-align: center; color: #154295; background: #EFEAD1; border: 1px solid #e5dfbb;}
#dmg_layout_agent_info img {padding: 10px; background: #FFF; margin-bottom: 5px; border: 1px solid #F4F1EC;}
#dmg_layout_agent_info strong {font-size: 1.125em;}
#dmg_layout_agent_info em {margin: 2px 0; font-size: .875em; color: #333; display: block;}
#dmg_layout_agent_info span {width: 70px; color: #333; float: left; display: block; text-align: right; padding-right: .25em;}

/* Content Formating */
#dmg_layout_content {width: 740px; margin-top: 3px; margin-right: 5px; float: right; font-size: .75em; color: #333333;}
#dmg_layout_content h1 {color:#003366; font-family:Georgia,"Times New Roman",Times,serif; font-size: 1.5em; 
margin-bottom:5px;}
#dmg_layout_content h2 {color:#BF3E1E; font-family:Georgia,"Times New Roman",Times,serif;}
#dmg_layout_content p {margin: 5px 0;}
#dmg_layout_content p img {margin: 5px;} 
#dmg_layout_content form td {text-align: left;}

#dmg_layout_disclaimer {color: #666; margin-top: 5px; background: #EFEAD1; padding: 10px; border: 1px solid #e5dfbb; float: left;}

/* General Formating */
a:link, a:active, a:visited {color: #022c78;}
a:hover {color: #990033; text-decoration:none;}

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

.alignCenter {text-align: center;}
.alignLeft {text-align: left;}
.alignRight {text-align: right;}

.colorOne {color: #164593} /* Dark Blue */
.colorTwo {color: #7195D3} /* Light Blue */
.colorThree {color: #e5dfbb} /* Dark Beige */
.colorFour {color: #f1e9ba} /* Light Beige */

/* Top Tabs Formating 
-------------------------------------------------------------------------------------------------------*/

.dmg_layout_top_tabs {
	margin-top: 42px;
	list-style: none;
	clear: right;
	float: right;
	min-width: 730px;
	margin-bottom: 10px;
}

.dmg_layout_top_tabs li {
	height: 23px;
	float: left;
	display: inline; /*For ignore double margin in IE6*/
	margin: 0 10px;
}

.dmg_layout_top_tabs li a {
	text-decoration: none;
	float:left;
	color: #FFF;
	cursor: pointer;
	font: 700 14px/22px "Arial", Helvetica, sans-serif;
}

.dmg_layout_top_tabs li a span {
	margin: 0 14px 0 -14px;
	padding: 1px 8px 5px 18px;
	position: relative; /*To fix IE6 problem (not displaying)*/
	float:left;
	color: #FFF;
	cursor: pointer;
	font: 700 14px/22px "Arial", Helvetica, sans-serif;
}

ul.dmg_layout_top_tabs li a {
	background: url(http://www.prudentialhomesale.com/shared/images/templates/1594/top-tab.jpg) no-repeat top right;
 	color: #0d5f83;
}

ul.dmg_layout_top_tabs li a:hover {
	background: url(../images/templates/1594/top-tab-hover.jpg) no-repeat top right;
 	color: #0d5f83;
}

ul.dmg_layout_top_tabs li a span {
	background: url(http://www.prudentialhomesale.com/shared/images/templates/1594/top-tab.jpg) no-repeat top left;
}

ul.dmg_layout_top_tabs li a:hover span {
	background: url(../images/templates/1594/top-tab-hover.jpg) no-repeat top left;
}

/* Slideshow Formating 
-------------------------------------------------------------------------------------------------------*/
#dmg_layout_slideshow {width: 490px; height: 296px; float: left;}
#dmg_layout_slideshow_images{
    position:relative;
    display:block;
    margin:0px;
    padding:0px;
    width:490px;
    height:296px;
    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{
    display:block;
    background-color:#FFFFFF;
	padding: 5px;
	border: 1px solid #e5dfbb;
	margin: 5px;
	width: 470px;
	height: 276px;
   
}

/* CONTACT FORM
----------------------------------------------------------------------------------------*/
#contactform fieldset {
	float: left;
	clear: left;
	width: 100%;
	margin: 0 0 1.5em 0;
}

#contactform label.required_field,#showingform label.required_field {
	color: blue;
}

#contactform legend {
	font-size: 1.4em;
	margin: 10px 0 5px 10px;
}

#contactform fieldset ol {
	padding: 1em 1em 0 1em;
	zoom: 1;
}

#contactform fieldset li {
	float: left;
	clear: left;
	width: 100%;
	list-style: none;
	padding: 4px 0;
}

#contactform fieldset p {
	padding: 4px 10px;
	clear: both;
}

#contactform textarea {
	width: 400px;
}

#contactform img {
	clear: right;
}

#contactform h4 {
	color: #333333;
}

#contactform label {
	float: left;
	width: 170px;
	margin-right: 10px;
	text-align: left;
}

#contactform label.required {
	color: red;
}

#contactform label#listing {
	float: none;
	display: block;
	margin-bottom: 5px;
}

#contactform input#zipcode {
	width: 100px;
}

#contactform input#state {
	width: 40px;
}

#contactform label#customer_copy {
	width: 170px;
}

#contactform fieldset#submit {
	float: none;
	width: auto;
	border-style: none;
	background-color: transparent;
	background-image: none;
}