/* COLORS -
primary = #0c5228
secondary = #a20101
tertiary = #96adcd
*/

/* CSS Reset Changes */
body {font-size: 100%; margin: 0 auto; background: url('/images/layout2/site-bg.gif') repeat; font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;}

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

/* Fonts -  1.375em = 22px / 1.25em = 20px / 1.125em = 18px / 1em = 16px 
.875em = 14px / .75em = 12px / .687em = 11px / .625em = 10px */

#dmg_layout_wrapper {width: 960px; margin: 0 auto; padding: 0 0 50px 0;}


/* == Header ==================== */
#dmg_layout_header {height: 135px; padding-top: 15px;}
.dmg_layout_logo {width: 289px; height: 121px; border: 0; float: left;}
.dmg_layout_areas {width: 490px; margin-top: 38px; display: inline-block; font-size: .875em; color: #555555; font-weight: bold; text-align: right; float: right;}

/* == Homefinder ==================== */
#dmg_layout_mhf {width: 478px; height: 48px; padding-left: 55px; background: url('/images/layout2/mhf-bg.png') no-repeat; float: right;}
#divMPLoginForm {padding-top: 10px; overflow: hidden;} 
#divMPLoginForm p {font-size: .625em; font-weight: bold;}
#dmg_homefinder_title {width: 122px; height: 15px; margin-right: 5px; display: inline-block; background: url('/images/layout2/mhf-title.png') no-repeat; vertical-align: middle;}
#dmg_layout_mhf a {font-size: .875em; color: #333333; font-weight: bold; text-decoration: none;}
#dmg_layout_mhf a:hover {color: #bc2626; text-decoration: underline;}

#divMPLoginForm #dmg_layout_mhf_overview {padding-top: 0; margin-top: -5px;}
#dmg_layout_mhf_overview {padding-top: 5px; text-align: center}

/* == homepage ==================== */
#dmg_layout_homepage {padding: 7px; min-height: 1100px; background: #FFFFFF; border: 1px solid #b0b0b0;}
#dmg_layout_homepage_body {min-height: 1086px;}
#dmg_layout_subnav {padding-left: 25px; height: 37px; margin-bottom: 10px; background: #798d2c; color: #455213; clear: both}
#dmg_layout_subnav a {line-height: 37px; vertical-align: center; font-size: .75em; color: #FFFFFF; font-weight: bold; text-decoration: none;}
#dmg_layout_subnav a:hover {color: #455213; text-decoration: underline;}
#dmg_layout_subnav div {width: 195px; height: 26px; margin-top: 5px; background: url('/images/layout2/sprite-social.png') no-repeat; float: right; }
#dmg_layout_subnav div a {width: 27px; height: 26px; margin-right: 4px; display: inline-block; float: left;}

#dmg_layout_welcome_wrapper {height: 193px; margin-bottom: 15px;}
#dmg_layout_welcome_wrapper h2 {color: #a4a3a3; font-size: 1.125em; letter-spacing: .1em; float: left;}
#dmg_layout_homepage_contact {font-size: .687em; color: #4d4d4d; font-weight: bold; float: right}

#dmg_layout_welcome_text {width: 290px; margin: 12px 10px 0 0; font-size: .75em; color: #555555; float: left; clear: left;}
#dmg_layout_welcome_text p {margin-bottom: 12px;}
#dmg_layout_welcome_text p strong {font-family: 'Open Sans', san-serif; font-size: 1.125em; font-weight: 800; line-height: 15px; color: #a20101}
#dmg_layout_welcome_text a.dmg_blog_link {color: #000000; text-decoration: none; font-weight: bold;}
#dmg_layout_welcome_text a.dmg_blog_link:hover {color: #a20101}

#dmg_layout_boxes {width: 100%; margin-top: 15px; text-align: center; float: left;}
#dmg_layout_boxes img{width: 200px; height: 132px; padding: 3px 4px; border: 1px solid #a5a5a5;}
#dmg_layout_boxes a {width: 210px; height: 140px; margin: 0 11px; text-decoration: none; display: inline-block;}
#dmg_layout_boxes a:hover {background: #B8C472;}

#dmg_layout_blog_slide {width: 213px; height: 250px; padding: 54px 8px 0 8px; margin: 9px 0 0 41px; font-size: .812em;}
#dmg_layout_blog_slide p {margin-bottom: 10px; padding: 2px;}
#dmg_layout_blog_slide em {font-size: .812em;}
#dmg_layout_blog_slide a {font-weight: bold; text-decoration: none;}


#dmg_market_county_list {width: 135px; list-style: none; margin: 0; padding: 0; float: left;}
#dmg_market_county_list li {margin-bottom: 4px;}
#dmg_layout_market_map {width: 470px; height: 420px; border: 0; float: left;}

/* == Navigation ==================== */
#dmg_layout_nav {height: 29px; line-height: 29px; vertical-align: middle; background: #005e20; text-align: center;}
#dmg_layout_nav a:link, #dmg_layout_nav a:visited, #dmg_layout_nav a:active{height: 29px; padding: 0 15px; font-size: .825em; color: #FFFFFF; font-weight: bold; text-decoration: none; display: inline-block; }
#dmg_layout_nav a:hover {background: #bdc87c; color: #333333;} 
#dmg_layout_nav span{width: 6px; height: 29px; background: url('/images/layout2/nav-divider.png') no-repeat; display: inline-block; vertical-align: middle;}



/*== Qsearch  ===============*/ 
#dmg_layout_qsearch {width: 364px; height: 280px; padding: 20px 15px; background: url('/images/layout/qsearch-bg.jpg') repeat-x; float: left;}
#dmg_layout_qsearch ul {list-style: none; margin: 0; padding: 0;}
#dmg_layout_qsearch li {margin-bottom: 20px; float: left;}
#dmg_layout_qsearch_term {width: 342px; height: 34px; line-height: 34px; vertical-align: middle; margin-top: 10px; margin-bottom: 10px; padding-left: 6px; font-size: 1em; color: #1F1F1F; background: url('/images/layout/qsearch-input-bg.jpg') no-repeat; border: 1px solid #969595;}
#dmg_layout_qsearch label {font-size: .75em; color: #1F1F1F;}
#dmg_layout_qsearch select {margin-right: 12px;}
#dmg_layout_qsearch button.dmg_layout_qsearch_submit {width: 120px; height: 47px; border: 0; background: url('/images/layout/search-submit.jpg') no-repeat; display: block; float: left;}
#dmg_layout_qsearch button.dmg_layout_qsearch_submit:hover {background: url('/images/layout/search-submit-hover.jpg') no-repeat;}
#dmg_layout_qsearch div {width: 165px; font-size: .75em; color: #1F1F1F; margin-left: 45px; margin-top: 8px; float: right;}

#dmg_layout_qsearch .chzn-container {margin-right: 20px; margin-bottom: 15px; font-size: .75em; color: #383838; font-family: Arial, Helvetica, san-serif;}
#dmg_layout_qsearch .chzn-single {height: 25px; padding-left: 3px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border: 1px solid #4e4e4e;}
#dmg_layout_qsearch .chzn-results li {line-height: 100%; margin-bottom: 3px; margin-right: 0; padding: 4px; float: none;}
#dmg_layout_qsearch .chzn-container-single .chzn-search input {position: absolute; left: -9000px;}
#dmg_layout_qsearch .chzn-container-single .chzn-drop {border: 1px solid #4e4e4e; border-top: 0; z-index: 900;}


/* == Internal ==================== */
#dmg_layout_internal {margin: 0 0 20px 0; padding: 7px; min-height: 600px; background: #FFFFFF; border: 1px solid #b0b0b0; color: #333333; font-size: .75em; overflow: hidden;}
#dmg_layout_internal h1, #dmg_layout_internal .header {color: #801517; font-size: 1.5em; margin-bottom: 8px;}
#dmg_layout_internal h2 {color: #333333; font-size: 1.375em; margin-bottom: 4px;}
#dmg_layout_internal h3 {color: #333333; font-size: 1.125em;}
#dmg_layout_internal p {margin-bottom: 12px; }

.dmg_layout_agent_photos img {padding: 3px; border: 2px solid #3B3B3B;}
.dmg_layout_agent_photos a {text-decoration: none;}

.dmg_layout_photo {float: right; width: 200px; margin: 8px; padding: 3px; border: 1px solid #801517;}

.dmg_layout_developments {width: 290px; height: 125px; margin: 13px; float: left;} 

#dmg_layout_internal #dmg_layout_homepage_contact {font-size: .875em;}

.dmg_layout_leadingre {width: 230px; height: 30px; margin-top: 25px; border: 0; float: right;}

#dmg_layout_market_data iframe {margin: 15px auto; display: block;}

#dmg_layout_internal #ds_blog {width: 100%; clear: both; margin-top: 10px; overflow: hidden; float: left;}
#dmg_layout_internal #ds_blog .ds_blog_article_title a, #dmg_layout_internal #ds_blog a {color: #0c5228}
#dmg_layout_internal #ds_blog .ds_blog_article_title a:hover, #dmg_layout_internal #ds_blog a:hover {color: #a20101}
#dmg_layout_internal #ds_blog .ds_blog_tags {border: 1px solid #333333; border-left: 0; border-right: 0;}

/*== Search Results ===============*/
#dmg_layout_internal #dmg_results_wrapper {min-width: 930px;}
#dmg_layout_internal #dmg_results_wrapper .dmg_results_featuredListing {background: none;}
#dmg_layout_internal #dmg_results_wrapper .dmg_results_listingInfo {min-height: 42px;}
#dmg_layout_internal #dmg_results_wrapper .dmg_results_listingCompany {height: 32px; margin-left: 190px;}
#dmg_layout_internal div#divLoading {	background: #82943d url(/shared/search/version-00/images/headerGradient.png) repeat-x bottom;}
#dmg_layout_internal #dmg_results_wrapper.dmg_results_list_view .dmg_results_listingCompany {margin-left: -15px}

/*== Get Agent ===============*/
#dmg_layout_agent_search {margin: 15px auto; width: 585px; clear: left;}
#dmg_layout_agent_search h2 {color: #801517; font-size: 1.6em; margin-bottom: 8px; text-align: center;}
#dmg_layout_agent_search ul {list-style: none outside none;}
#dmg_layout_agent_search li {float: left; margin-right: 15px;}
.dmg_layout_getagent {width: 720px; margin: 0 auto; text-align: center;}
.dmg_layout_getagent a {text-decoration: none;}
.dmg_layout_offices_grid {	width: 230px; margin: 5px 4px; float: left; border: 1px solid #e5e5e5;}
.dmg_layout_offices_grid img {width: 220px; height: 150px; margin: 5px;}


/* == Footer ==================== */
#dmg_layout_footer {margin-top: 20px; color: #4e4e4e;}
#dmg_layout_offices_wrapper {padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #8b8b8b; overflow: hidden;}
#dmg_layout_offices_wrapper div {width: 163px; height: 210px; padding: 20px 15px 15px 125px; margin-right: 15px; border-right: 1px solid #8b8b8b; background: url('/images/layout2/old-colony-logo.png') no-repeat; font-weight: bold; text-align: right; float: left;}
#dmg_layout_offices_wrapper ul {width: 640px; list-style: none; margin: 0; padding: 0; float: left;}
#dmg_layout_offices_wrapper li {width: 320px; margin-bottom: 8px; float: left; font-size: .75em;}
#dmg_layout_offices_wrapper .dmg_layout_office_right {width: 280px; float: right;}

#dmg_layout_offices_wrapper span {width: 156px; height: 26px; margin-top: 90px; background: url('/images/layout2/social-bg.png') no-repeat; display: inline-block;}
#dmg_layout_offices_wrapper span a {width: 27px; height: 26px; margin-right: 7px; display: inline-block;}

#dmg_layout_disclaimer {font-size: .75em;}
#dmg_layout_associations {width: 82px; height: 36px; margin: 0; background: url('/images/layout2/associations.png') no-repeat; float: left;}
#dmg_layout_associations a {width: 26px; height: 36px; margin-right: 2px; display: block; float: left;}
#dmg_layout_disclaimer ul {margin: 0; padding: 0; list-style: none;}
#dmg_layout_disclaimer li {float: left; margin-right: 15px;}
#dmg_layout_disclaimer a:link, #dmg_layout_disclaimer a:visited, #dmg_layout_disclaimer a:active {color: #333333; text-decoration: none;}
#dmg_layout_disclaimer a:hover {color: #51755c; text-decoration: underline;}


/*== MHF Modal ===================== */
#login_title {color: #005e20; font-weight: bold; font-size: 1.5em; margin-bottom: 12px; padding-left: 22px; width: 400px;}
.login_label {width: 160px; margin-bottom: 8px; padding-right: 0.5em; line-height: 20px; vertical-align: middle; text-align: right; display: block; float: left;}
.login_input {margin-bottom: 8px; float: left;}
.alphacube_buttons input {background: #a20101; color: #FFFFFF; margin: 0 5px;}

/*== Dropdown Menu   ================ */
#dmg_layout_nav a.selectedanchor{background: #bdc87c; color: #333333;}
.dropdownmenu {position: absolute; left: 0; top: 0; visibility: hidden; line-height: 18px; z-index: 100; background: #bdc87c; width: 180px;}
.dropdownmenu a:link, .dropdownmenu a:visited, .dropdownmenu a:active{width: 175px; font-size: .75em; font-weight: bold; display: block; padding: 3px 0px 3px 5px; text-decoration: none; color: #333333;}
.dropdownmenu a:hover {background: #FFFFFF; color: #9c3233; }
.anylinkshadow{position: absolute; left: 0; top: 0; z-index: 99; background: black; visibility: hidden;}

/*== Slideshow  ===============*/ 
#dmg_layout_slideshow {width: 550px; height: 320px; background: #efefef url('/images/layout2/frontporch.jpg') no-repeat; float: left;}
#dmg_layout_slideshow_images {width:550px; height:320px; margin:0px; padding:0px; position:relative; display:block; overflow:hidden; float: left;}
#dmg_layout_slideshow_images li {width:550px; height:320px; position:absolute; display:block; list-style-type:none; margin:0px; padding:0px; background-color:#FFFFFF;}
#dmg_layout_slideshow_images li img{width:550px; height:320px; background: #FFFFFF; display:block;}

/* == General ==================== */
a:link, a:active, a:visited {color: #a20101;}
a:hover {color: #333333; text-decoration:none;}

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

.floatRight {float: right;}

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

#dmg_layout_internal #dmg_layout_ohouse_search {padding: 0 0px 12px 68px; border: 0;}
#dmg_layout_internal #dmg_layout_ohouse_search #dmg_layout_search_mytype ul {padding-left:0;}
#dmg_layout_ohouse_search #dmg_layout_qsearch_term {margin: 0; height: 24px;}
#dmg_layout_internal #dmg_layout_ohouse_search li {margin-right: 5px;}
#dmg_layout_internal #dmg_layout_ohouse_search li div {display: block; float: left; width: 90px;}
#dmg_layout_internal #dmg_layout_ohouse_search select {margin-right: 20px;}
#dmg_layout_internal #dmg_layout_ohouse_houses {padding-left: 65px;}
#dmg_layout_internal .dmg_layout_ohouse_paging {padding-left: 150px; background: #4d4d4d; border: 0;}
#dmg_layout_internal .dmg_layout_ohouse_pages span {color: #FFFFFF;}
#dmg_layout_internal .dmg_layout_ohouse_pages a:hover, #dmg_layout_internal .dmg_layout_ohouse_pages .dmg_layout_paging_active {
    background: #801517;
    color: #FFFFFF;
}
#dmg_layout_internal .dmg_layout_ohouse_pages label {color: #FFFFFF;}
#dmg_layout_internal #dmg_layout_ohouse_list li {border: 0; border-bottom: 1px solid #4d4d4d;}
#dmg_layout_internal .dmg_layout_ohouse_details span {background: #809337; color: #FFFFFF;}
#dmg_layout_internal #dmg_layout_ohouse_date {margin-right: 20px;}

#dmg_layout_internal #dmg_layout_ohouse_route .dmg_layout_ohouse_details span {
    font-size: .687em;
    background: 0 0 #809337;
    color: #FFFFFF;
}

.dmg_layout_rss_photos img {width: 30%; height: 30%; margin: 1%; border: 0;}
