/* CSS Reset Changes */
body {
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: url('/images/layout5/site-bg.jpg') repeat-x;
    margin-top: 0;
}

p, h1, h2, h3, h4, h5, h6, img, div, span, ol, ul, li, form, fieldset, label, 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: 960px;
    height: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Header Formating */
#dmg_layout_header {
    height: 158px;
    color: #000;
    background: url('/images/layout5/header-bg.jpg') bottom right no-repeat;
}

#dmg_layout_logo {
    width: 104px;
    height: 154px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 57px;
    float: left;
}

#dmg_layout_leadingre {
    width: 216px;
    height: 28px;
    clear: left;
    float: left;
}

#dmg_layout_slogan {
    width: 680px;
    height: 148px;
    padding-top: 10px;
    padding-left: 20px;
    float: right;
	position: relative;
}

#dmg_layout_social {
	position: absolute;
	top: 20px;
	right: 20px;
}

#dmg_layout_slogan_header {
    font-size: 1.375em;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: normal;
}

#dmg_layout_slogan_header span {
    color: #dba728;
    font-style: normal;
    font-family: Tahoma, Geneva, sans-serif;
}

.dmg_layout_office {
    width: 250px;
    height: 70px;
    margin-left: 25px;
    margin-top: 45px;
    font-size: .687em;
    color: #787777;
    float: right;
}

.dmg_layout_office div {
    padding-left: 85px;
}

/* Navigation Formating */
#dmg_layout_scenery {
    width: 240px;
    height: 595px;
    margin-top: 2px;
    background: url('/images/layout5/nav-bg.jpg') no-repeat;
    float: left;
}

#dmg_layout_scenery ul {
    list-style: none;
    padding: 25px 20px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#dmg_layout_scenery li {
    
    color: #FFF;
    margin-bottom: 11px;
}

#dmg_layout_scenery li a {
	font-size: 1.25em;
	font-family: Georgia, serif;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase
}

#dmg_layout_scenery li a:hover {
    color: #DBA626;
    text-decoration: underline;
}

/* Search Formating */
#dmg_layout_search {
    width: 495px;
    height: 515px;
    margin-top: 2px;
    margin-left: 18px;
    background: url('/images/layout5/search-bg.jpg') 0px 84px no-repeat;
    float: left;
	position: relative;
}

#dmg_layout_search ol {
	list-style: none;
}

#dmg_layout_search li {
	margin: 0 0 8px 0;
}

#dmg_layout_search input[type=text] {
	background: #fff;
	border: 1px solid #999;
	-moz-box-shadow: inset 2px 2px 3px #999;
	-webkit-box-shadow: inset 2px 2px 3px #999;
	box-shadow: inset 2px 2px 3px #999;
    margin-top:30px;
}

#dmg_layout_search input[type=submit] {
	background: #DBA626;
	border: 5px solid;
	border-top-color: #e1b651;
	border-bottom-color:#c6922b;
	border-left-color:#ba862d;
	border-right-color:#e8c778;
	outline: solid #963 medium;
	font-family: Georgia, serif;
	color: #fff;
	text-shadow: -2px 2px #963;
	text-transform: uppercase;
	font-size: 1.25em;
	font-weight: 900;
	margin: 3px
}

#dmg_layout_search legend {
	display: inline;
	font-family: Georgia, serif;
	font-weight: 900;
	font-size: 1.125em;
    width: 140px;
    float: left;
    position: absolute;
    left: 0;
}

#dmg_layout_search h2 {
    margin-left: 10px;
    margin-top: 40px;
    color: #FFF;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 2em;
    font-style: italic;
}

#dmg_layout_search_top {
    margin: 15px 10px;
    font-size: .875em;
}

#dmg_layout_search_top span {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.25em;
    font-weight: bold;
}

#dmg_layout_search_middle {
    margin: 15px 10px;
    font-size: .875em;
}

#dmg_layout_search_middle span {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.25em;
    font-weight: bold;
}

#dmg_layout_search_detail {
	position: absolute;
	top: 95px;
	left: 10px;
}

form#quickSearch {
    position: absolute;
    top: 95px;
    left: 10px;
    width: 480px;
}

form#quickSearch fieldset {
    margin: 0 0 15px 0;
}

form#quickSearch ol {
    float: left;
    width: 320px;
    padding: 0 10px;
    position:absolute;
    right:0;
}

form#quickSearch select {
    width: 198px;
}

form#quickSearch ol li > label{
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #999;
    font-weight: bold;
    font-size: 1em;
    width: 117px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

form#quickSearch #dmg_layout_minprice, form#quickSearch #dmg_layout_maxprice, form#quickSearch #dmg_layout_qsbeds, form#quickSearch #dmg_layout_qsbaths {
    width: 97px;
}

form#quickSearch #dmg_layout_sw {
    float: right;
    text-align:left;
    width:335px;
}

form#quickSearch #dmg_layout_cw {
    float: right;
    width: 200px;
}

form#quickSearch #dmg_layout_cw label {
   width: 75px;
   display: inline-block;
   zoom: 1;
   *display: inline;
}

form#quickSearch label {
    font-size: 0.75em;
    font-weight:900;
}

form#quickSearch a {
    font-size: 0.75em;
    font-weight:900;
    text-transform: lowercase;
    padding-left: 20px;
}

form#quickSearch input[type=submit] {
    float: right;
}

#dmg_layout_search form[name="qsearch"] {
	position: absolute;
	left: 10px;
	bottom: 10px;
}

#dmg_layout_hs_term {
	width: 225px;
}

#dmg_layout_integrity {
    margin-left: 18px;
    float: left;
}

#dmg_layout_right {
    width: 200px;
    float: right;
    border: 0px solid #F00;
    margin-top: 0px;
    margin-right: 6px;
}

#dmg_layout_research {
    width: 156px;
    height: 229px;
    margin-top: 85px;
    padding: 20px;
    border: 2px solid #336699;
    background: url('/images/layout5/re-search-bg.jpg') repeat-x;
}

#dmg_layout_research h2 {
    color: #FFF;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: .875em;
}

#dmg_layout_research img {
    margin: 8px 0
}

#dmg_layout_research p {
    color: #FFF;
    font-size: .687em;
}

#dmg_layout_research .dmg_layout_re_search {
    margin: 6px 0;
    height: 16px;
    background: url('/images/layout5/re-input-bg.gif') no-repeat;
    border: 1px solid #333333;
}

.dmg_layout_mobile {
    width: 167px;
    height: 227px;
    margin-left: 20px;
    margin-top: 13px;
}

.dmg_layout_divider {
    width: 98%;
    height: 0;
    margin: 10px auto;
    border-bottom: 1px solid #cccccc;
    clear: both;
    float: left;
}

/* Homefinder Formating */
#dmg_layout_homefinder {
    height: 173px;
    margin-top: 35px;
    padding: 10px;
}

#dmg_layout_homefinder span {
    display: block;
    color: #FFF;
    margin-bottom: 5px;
    font-size: 1.25em;
    font-weight: bold;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#dmg_layout_homefinder form {
    margin-top: 10px;
}

#dmg_layout_homefinder li {
	text-align: right;
	list-style: none;
}

#dmg_layout_homefinder label {
    width: 90px;
    height: 20px;
    margin: 6px 0;
    line-height: 20px;
    vertical-align: middle;
    font-size: .687em;
    font-weight: bold;
    color: #FFF;
    display: block;
    float: left;
    clear: left;
}

#dmg_layout_homefinder input {
    width: 95px;
    margin: 6px 0;
    background: url('/images/layout5/mhf-input-bg.gif') left no-repeat;
    float: left;
    border: 1px solid #000;
}

#dmg_layout_homefinder a:hover {
    color: #FFF;
}

#dmg_layout_atlas_desc {
	width: 165px;
	height: 105px;
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 10px;
	color: #000;
}

#dmg_layout_atlas_desc h2 {
	font-size: 1.5em;
	color: #000;
	margin: 0;
	font-style: normal;
	text-align: right;
}

#dmg_layout_atlas_desc h2 em{
	font-weight: 100;
	font-style: italic;
}

#dmg_layout_atlas_desc p {
	font-size: 0.75em;
}

/* Content Formating */
#dmg_layout_content {
}



/* Internal Formating */
#dmg_layout_internal {
    width: 700px;
	min-height: 350px;
    margin-top: 22px;
    padding: 10px;
    float: left;
    background: #FFF;
}

#dmg_layout_internal li {
	list-style-position: inside;
    padding-left: 2em;
}

#dmg_layout_internal form[name="GetVMA"] div[align="center"] table {
	text-align: left;
}

#dmg_layout_bottom_nav {
    width: 845px;
    margin: 0 auto;
    list-style: none;
}

#dmg_layout_bottom_nav li {
    float: left;
    border-right: 1px solid #daa527;
}

#dmg_layout_bottom_nav a {
    font-size: .75em;
    color: #000;
    text-decoration: none;
    display: block;
    float: left;
    padding: 4px 10px;
}

#dmg_layout_bottom_nav a:hover {
    color: #daa527;
}

#dmg_layout_bottom_nav .noBorder {
    border-right: 0px;
}

#dmg_layout_disclaimer {
    color: #C0C0C0;
    clear: both;
    font-size: .825em;
}

/* General Formating */
a:link, a:active, a:visited {
    color: #daa527;
}

a:hover {
    color: #000000;
    text-decoration: none;
}

.clearBoth {
    clear: both
}

.clearLeft {
    clear: left
}

.clearRight {
    clear: right
}

.alignCenter {
    text-align: center;
}

.alignLeft {
    text-align: left;
}

.alignRight {
    text-align: right;
}

.selectedanchor { /*CSS class that gets added to the currently selected anchor link (assuming it's a text link)*/
    background: none;
}

/*          Drop Down Formating
 ----------------------------------------------------------------------------------------*/
.dropdownmenu {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid #E8C572;
    border-bottom-width: 0;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #FFF;
    width: 250px; /* default width for menu 200px*/
    font-size: .875em;
}

.dropdownmenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.dropdownmenu ul li {
    width: 100%;
    text-indent: 3px;
    border-bottom: 1px solid #E8C572;
    font-weight: bold;
    text-decoration: none;
    text-indent: 5px;
}

.dropdownmenu ul li a {
    width: 100%;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-indent: 3px;
    border-bottom: 0px solid #494949;
    padding: 5px 0;
    text-decoration: none;
    text-indent: 5px;
    color: #434032;
}

.dropdownmenu a:hover { /*hover background color*/
    background: #E8C572;
    color: #000;
}

/* ######### 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: black;
    visibility: hidden;
}

/*          Homepage Optimize Formating
 ----------------------------------------------------------------------------------------*/
/* Browse Markets Formating */
#dmg_optimize_markets {
    width: 210px;
    float: left;
}

#dmg_optimize_markets_column {
	width: 470px;
	border: 1px solid #e5e5e5;
	float: left;
}

#dmg_optimize_markets h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1em;
    color: #000000;
}

#dmg_optimize_markets ul {
    list-style: none;
    margin-bottom: 15px;;
    padding: 0;
}

#dmg_optimize_markets li {
    margin-bottom: 3px;
}

#dmg_optimize_markets li a {
    font-size: .825em;
}

/* Featured Home Formating */
#dmg_optimize_featured {
    width: 670px;
    padding-left: 20px;
    float: right;
}

#dmg_optimize_featured h2 {
    font-size: 1em;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
}

#dmg_optimize_featured .home {
    float: left;
    color: #333;
    width: 180px;
    height: 190px;
    margin: 0 20px;
    font-size: .825em;
}

#dmg_optimize_featured .home img {
    background: #FFF;
    width: 140px;
    height: 105px;
    padding: 5px;
    border: 1px solid #999966;
}

#dmg_optimize_featured strong {
    display: block;
    font-size: 1.25em;
    
}

/* Calendar Formating */
.newListingsCalendar {
    background: #FFF;
    width: 180px;
    font-family: sans-serif;
    font-size: .875em;
    border: 1px solid #CCCCCC;
    text-align: center;
    color: #333333;
}

.newListingsCalendar thead td {
    font-weight: bold;
}
 /* Calendar Title (Month Year) */
.newListingsCalendar thead th {
    font-size: 8pt;
    color: #333;
}
 /* Day Headers */
.newListingsCalendar tbody td {
    background: #FFF;
    color: #000;
    border: 1px solid #CCCCCC
}
 /* Calendar Day Cells */
.newListingsCalendar tbody a {
    font-size: .875em;
    text-decoration: none;
}
 /* Linked Days */
.newListingsCalendar caption {
    font-weight: bold;
    color: #000;
    padding-bottom: 5px;
    margin-top: 15px;
}
 /* Caption */
