/* CSS Reset Changes */
body {font-size: 100%; font-family: Helvetica, Arial, sans-serif; margin-top: 0px;}

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 */

div {border: 0px solid #FF0;}

#dmg_layout_wrapper {width: 960px; margin: 0 auto; padding-bottom: 50px; background: url('/images/layout/content-bg.jpg') repeat-x 0px 130px; font-family: Arial, Helvetica, sans-serif}

/* Header Formating */
#dmg_layout_header {height: 128px; margin-bottom: 2px; background: url('/images/layout/header-bg.jpg') no-repeat right;}
#dmg_layout_logo {margin-left: 10px; margin-top: 50px; width: 224px; height: 71px; float: left;}
#dmg_layout_addthis {margin: 10px; float: right;}
#dmg_layout_slogan {font-size: 1.625em; font-weight: bold; margin-right: 15px; margin-top: 50px; color: #333; float: right; clear: right; text-align:right; width:650px;}
#dmg_layout_slogan h1, #dmg_layout_slogan span {display: inline; color: #125ba4;} 


/* Menu Formating */
#dmg_layout_menu_wrapper {width: 200px; padding: 10px 0; background: url('/images/layout/left-nav-bg.jpg') repeat-y; float: left; }
#dmg_layout_menu {list-style: none; width: 190px;}
#dmg_layout_menu li {width: 188px; height: 32px; margin-bottom: 3px; background: #FFF; border: 0px solid #125ba4;}

#dmg_layout_menu li a:link, #dmg_layout_menu li a:active, #dmg_layout_menu li a:visited {width: 165px; height: 28px; line-height: 28px; vertical-align: middle; font-size: .75em; font-weight: bold; margin: 2px; padding-left: 20px; background: #FFFFFF; display: block; color: #125ba4; text-decoration: none;}
#dmg_layout_menu li a:hover {color: #f38c14; text-decoration: underline;}

/* Homefinder Formating */
#dmg_layout_homefinder {width: 191px; height: 241px; margin-top: 18px; background: url('/images/layout/homefinder-bg.gif') no-repeat; float: left; }
#dmg_layout_homefinder h3 {color: #6699cc; font-size: 1.25em; margin-top: 16px; text-transform: uppercase; text-align: center;}
#dmg_layout_homefinder span {color: #125ba4; font-size: .75em; font-weight: bold; margin-top: 24px; text-align: center; display: block;}
#dmg_layout_homefinder label {width: 8em; margin-top: 8px; height: 17px; line-height: 17px; vertical-align: middle; margin-left: 5px; font-size: .625em; font-weight: bold; float: left;}
#dmg_layout_homefinder input {width: 84px; margin-top: 8px; background: url('/images/layout/input-bg.gif') no-repeat top right; border: 1px solid #000; float: left; }
#dmg_layout_homefinder input.homefinder_submit {width: 160px; height: 44px; margin-left: 15px; margin-top: 15px; border: 0;}
#dmg_layout_homefinder a {font-size: .75em; padding: 4px 0; display: block; text-align: center;}
#dmg_layout_homefinder a.dmg_layout_mhfadmin {color: #f38c14; display: inline;}

/* Resource Formating */
#dmg_layout_resource_links {width: 185px; margin-top: 20px; padding-left: 15px; background: url('/images/layout/large-state-bg.jpg') no-repeat 95% 95%; display: block; float: left;}
#dmg_layout_resource_links h2 {color: #125ba4; font-size: 1.125em; font-weight: normal; text-transform: uppercase;}
#dmg_layout_resource_links ul {list-style-image: url(/images/layout/resource-bullet.gif); margin-bottom: 30px;}
#dmg_layout_resource_links li {margin-bottom: 5px;}
#dmg_layout_resource_links a:link, #dmg_layout_resource_links a:active, #dmg_layout_resource_links a:visited {font-size: .687em; color: #666666; text-decoration: none;}
#dmg_layout_resource_links a:hover {color: #125ba4; text-decoration: underline;}

/* Content Formating */
#dmg_layout_content {width: 760px; color: #333; padding-top: 10px; float: right;}
.dmg_layout_content_column {width: 330px; margin-top: 32px; float: left;}
.dmg_layout_content_column h3 {font-size: .875em;}
.dmg_layout_content_column p {font-size: .75em; margin-bottom: 20px;}
.dmg_layout_left_margin {margin: 32px 20px 0 50px;}

#dmg_layout_content_blog {width: 256px; height: 200px; padding: 24px 32px; background: url('/images/layout/blog-bg.jpg') no-repeat;}
#dmg_layout_content_blog h3 {color: #f38c14; font-size: 1.25em; text-transform: uppercase;}


/* Content Internal Formating */
#dmg_layout_content_internal {width: 740px; background: #FFF; color: #333; font-size: .875em; margin-top: 10px; padding: 10px; float: right;}
#dmg_layout_content_internal h1 {color:#125BA4; font-size:1.25em; margin-bottom: 12px; text-transform:uppercase;
}
#dmg_layout_content_internal h2 {color:#f38c14; font-size:1em;}
#dmg_layout_content_internal p {margin-bottom: 12px;}
#dmg_layout_content_internal ul, #dmg_layout_content_internal ol {margin: 12px; padding-left: 10px;}
#dmg_layout_content_internal .pdfbullet {list-style: none;}
#dmg_layout_content_internal .dotline, #dmg_layout_content_internal .dotline2, #dmg_layout_content_internal .dotline3 {border: 0px;}
#detailSocialShare + table {font-size: .875em;}
style + table {font-size: .812em;}

/* Education Form */
#dmg_layout_education_form ul {list-style: none; margin: 0; padding: 0; margin-left: 25px;}
#dmg_layout_education_form ul li {margin-bottom: 12px; float: left; clear: left;}
#dmg_layout_education_form label {width: 90px; padding-right: 8px; color: #333; font-size: .875em; font-weight: bold; line-height: 20px; vertical-align: middle; text-align: right; display: block; float: left;}
#dmg_layout_education_form input {float: left;}

#dmg_layout_education_form .recaptchatable #recaptcha_response_field {position: relative ! important; top: 0; float: left;}
#dmg_layout_education_submit {width: 160px; height: 45px; margin-left: 70px; margin-top: 8px; background: url('/images/layout/submit-form.jpg') no-repeat; display: block;}
#dmg_layout_education_submit:hover {background: url('/images/layout/submit-form-hover.jpg') no-repeat;}

#dmg_layout_mobile {width: 320px; height: 230px; border: 0;}
#dmg_layout_continuing {width: 320px; height: 90px; margin-top: 12px; border: 0;}


/* Search Formating */
#dmg_layout_search {width: 220px; height: 299px;  margin-left: 40px; margin-right: 20px; background: url('/images/layout/quick-search-bg.gif') no-repeat; float: left;}
#dmg_layout_search h2 {color: #f38c14; font-size: 1.25em; margin-top: 16px; text-transform: uppercase; text-align: center;}
#dmg_layout_search h3 {color: #cc6600; font-size: .75em; margin-top: 24px; text-align: center;}
#dmg_layout_search form {margin-left: 30px;}
#dmg_layout_search .dmg_layout_search_term {width: 158px; height: 14px; line-height: 18px; padding-top: 4px; margin-top: 8px;font-size: .625em; background: url('/images/layout/input-bg.gif') no-repeat top right; border: 1px solid #000;}
#dmg_layout_search select {margin-top: 8px; width: 118px; font-size: .75em;}
#dmg_layout_search select.dmg_layout_small_select {width: 60px; margin-top: 8px; margin-right: 25px; float: left;}
#dmg_layout_search .dmg_layout_search_submit {margin-top: 12px;} 

/* Featured Top Formating */
#dmg_layout_featured_top {width: 220px; height: 299px; margin-right: 20px; text-align: center; background: url('/images/layout/featured-home-bg.gif') no-repeat; float: left; color: #333;}
#dmg_layout_featured_top h2 {color: #125ba4; font-size: 1.25em; margin-top: 16px; text-transform: uppercase;}
#dmg_layout_featured_top img {width: 165px; height: 120px; margin: 0px 23px 5px 23px; padding: 3px; border: 1px solid #d6d6d6; }
#dmg_layout_featured_top span {line-height: 22px; font-size: 1.125em;}
.dmg_layout_featured_small {font-size: .687em;}
#dmg_layout_featured_top a {font-size: .687em; }

/* Atlas Formating */
#dmg_layout_atlas {width: 220px; height: 299px;  background: url('/images/layout/atlas-search-bg.jpg') no-repeat; float: left;}
#dmg_layout_atlas h2 {color: #6699cc; font-size: 1.25em; margin-top: 16px; text-transform: uppercase; text-align: center;}
#dmg_layout_atlas h3 {color: #125ba4; font-size: .75em; margin-top: 24px; text-align: center;}
#dmg_layout_atlas p {width: 180px; margin-left: 20px; margin-top: 10px; color: #333; font-size: .75em;}
#dmg_layout_atlas a {margin-top: 8px; display:block}

/* Featured Optimize Formating */
#dmg_layout_featured {width: 710px; margin-left: 20px; border-top: 1px solid #125ba4; float: left; clear: both;}
#dmg_layout_featured h3 {color: #333; font-size: 1em; margin-top: 16px; text-transform: uppercase;}
#dmg_layout_featured a {font-size: .75em; font-weight: bold;}
#dmg_layout_featured .dmg_layout_featured_home {width: 185px; margin: 20px 25px 10px 25px; font-size: .875em; float: left;}
.dmg_layout_featured_home img {width: 165px; height: 120px; padding:3px; border: 1px solid #d6d6d6; margin-bottom: 5px;}
#dmg_layout_featured .dmg_layout_featured_home a {font-size: .75em; font-weight: normal;}

/* Bottom Nav Formating */
#dmg_layout_bottom_nav {height: 30px; margin-top: 15px; background: #125ba4; border-bottom: 5px solid #cee6ff; text-align: center;}
#dmg_layout_bottom_nav ul {list-style: none;}
#dmg_layout_bottom_nav li {display: inline; float: left;}
#dmg_layout_bottom_nav li a:link, #dmg_layout_bottom_nav li a:active, #dmg_layout_bottom_nav li a:visited {color: #FFF; font-size: .75em; display: block; padding: 6px 10px; text-decoration: none;}
#dmg_layout_bottom_nav li a:hover {background: #cee6ff; color: #125ba4;}

/* Hud Formating */
.dmg_layout_hud_home {width: 210px; margin-right: 30px; margin-bottom: 30px; padding: 8px; background: #efefef; float: left;}
.dmg_layout_hud_home strong {display: block; padding: 3px 0; background: #FFFFFF; text-align: center;}
.dmg_layout_hud_home img {width: 200px; height: 150px; margin: 5px auto; padding: 3px; border: 0; background: #FFFFFF; border: 1px solid #e5e5e5}
.dmg_layout_hud_home a {text-decoration: none;}
div.hud_home_nomargin {margin-right: 0;}


/* Disclaimer Formating */
#dmg_layout_disclaimer {width: 820px; margin: 15px auto; font-size: .687em; color: #666666; text-align: center;}

/* General Formating */
a:link, a:active, a:visited {color: #125ba4;}
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;}

/* Calendar Formating */
.newListingsCalendar {width: 225px; font-family: sans-serif; font-size: .875em; padding: 0; border: 3px solid #666; text-align: center; margin: 20px 40px 0 53px; color: #333; float: left;}
.newListingsCalendar thead td {font-weight: bold;} /* Calendar Title (Month Year) */
.newListingsCalendar thead th {font-size: 8pt;} /* Day Headers */
.newListingsCalendar tbody td {background-color: #FFF; border: 1px solid #e5e5e5; padding: 4px;} /* Calendar Day Cells */
.newListingsCalendar tbody a {font-size: .875em; text-decoration: none; display: block; padding: 4px;} /* Linked Days */
.newListingsCalendar caption {font-size: 1.5em; font-weight: bold; color: #1373bc; padding-bottom: 5px; margin-top: 15px;} /* Caption */

/*===== SEO Similar Homes Styles =====*/
.dmg_optimize_shead {
    margin: 10px 0;
    text-align: center;
    color: #115CA3;
    font-size: 20px;
}
.dmg_optimize_similarlisting {
    font-size: 11px;
    margin: 5px 0;
    overflow: hidden;
    padding: 1.65em 0 0;
    position: relative;
}

.dmg_optimize_simg {
    float: left;
    width: 80px;
    margin: 0 5px 5px 5px;
}

.dmg_optimize_slist {
    display: table-cell;
    list-style: none outside none;
    margin: 0;
    padding: 5px;
}

.dmg_optimize_sprice {
	border-color: #B5CBDF;
    border-style: solid;
    border-width: 1px 0;
    display: block;
    font-weight: bold;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.dmg_optimize_slist {
    list-style: none outside none;
    clear:left;
    padding-top: 0;
}
.ds_detailAS .dmg_optimize_slist li {
    border-bottom: 0;
    height: auto;
    line-height: 1.2em;
}  

.dmg_optimize_slist li.dmg_optimize_sadd a {
    font-size: 11px;
    color: #BF3E1E;
    line-height: 1.2em;
    padding: 0;
    height: auto;
}
.dmg_optimize_slist .dmg_optimize_sadd a:hover {
    font-size: 11px;
    color: #022C78;
}


/* ===== Detail AS ==== */
#dmg_layout_content_internal #DetailSectionCallToAction1 .blueButton, #dmg_layout_content_internal #DetailSectionCallToAction2 .blueButton {background-color: #135DA5;}
#dmg_layout_content_internal #DetailSectionCallToAction1 .blueButton:hover, #dmg_layout_content_internal #DetailSectionCallToAction2 .blueButton:hover {background-color: #cccccc;}

#dmg_layout_content_internal #DetailSectionCallToAction1 .orangeButton, #dmg_layout_content_internal #DetailSectionCallToAction2 .orangeButton {background-color: #F6A84D;}
#dmg_layout_content_internal #DetailSectionCallToAction1 .orangeButton:hover, #dmg_layout_content_internal #DetailSectionCallToAction2 .orangeButton:hover {background-color: #cccccc;}

#dmg_layout_content_internal .DetailSectionHeading {color: #135DA5; font-size: 16px;}

div#DetailSectionFeatures ul.DetailSection {width: 46%}
