/* CSS Reset Changes */

body {
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: url('/shared/images/templates/1596/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_agent { /*page wrapper */
    width: 960px;
    height: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Header Formating */
#dmg_layout_header {
    height: 158px;
    color: #000;
    background: url('/shared/images/templates/1596/header-bg.jpg') bottom right no-repeat;
}

#dmg_layout_logo {
    width: 163px;
    height: 112px;
    margin-top: 15px;
    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;
}

#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: 220px;
    background: #000 url('/shared/images/templates/1596/asidebg.jpg') no-repeat;
    float: left;
	
    padding: 25px 0 25px 20px;
}

#dmg_layout_scenery ul {
    list-style: none;
    font-family: sans-serif;
	margin-top: 30px;
}

#dmg_layout_scenery li {
    
    color: #FFF;
    margin-bottom: 11px;
}

#dmg_layout_scenery li a {
	font-size: .875em;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase
}

#dmg_layout_scenery li a:hover {
    color: #DBA626;
    text-decoration: underline;
}

#dmg_layout_agentinfo img {
	width: 150px;
	height: 220px;
}

#dmg_layout_agentname {
	color: #fff;
	font-family: Georgia, serif;
	font-size: 1.5em;
	margin-top: 20px;
	font-weight: 500;
}

#dmg_layout_agentphone {
	color: #666;
	font-weight: 900;
}
/* Search Formating */
#dmg_layout_search {
    width: 495px;
    height: 515px;
    margin-top: 2px;
    margin-left: 18px;
    background: url('/shared/images/templates/1596/search-bg.jpg') 0px 84px no-repeat;
    float: left;
}

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

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

#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('/shared/images/templates/1596/mhf-input-bg.gif') left no-repeat;
    float: left;
    border: 1px solid #000;
}

#dmg_layout_homefinder a:hover {
    color: #FFF;
}

#dmg_layout_homefinder a {
    text-transform: lowercase;
}

/* Content Formating */
#dmg_layout_content {
	background: #fff;
	padding: 10px;
	width: 700px;
	float: right;
	min-height: 950px;
	border-bottom: 1px solid #999;
}

#dmg_layout_content li {
	list-style-position: inside;
}

#dmg_layout_pagecontents {
	margin-top: 2px;
	margin-bottom: 20px;
	overflow: hidden;
	background: #000;
	width: 960px;
}

/* Internal Formating */

#dmg_layout_internal form[name="GetVMA"] div[align="center"] table {
	text-align: left;
}

#dmg_layout_internal {
    width: 700px;
    margin-top: 22px;
    padding: 5px;
    float: left;
    background: #FFF;
}

#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 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: 230px;
    margin: 0 20px;
    font-size: .825em;
}

#dmg_optimize_featured .home img {
    background: #FFF;
    width: 150px;
    height: 115px;
    padding: 5px;
    border: 1px solid #999966;
}

#dmg_optimize_featured strong {
    display: block;
    font-size: 1.25em;
    text-align: center;
}

/* 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 */
