/*
dark blue #020169
beige #f0efd8
*/

/* CSS Reset Changes */
body {font-size: 100%; margin: 0 auto; font-family: 'Tinos', serif; border-top: 7px solid #020169; background: #f0efd8;}

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_site_bg {width: 1200px; margin: 0 auto; background: url('/images/layout/site-bg.jpg') top right no-repeat; overflow: hidden;}

.dmg_layout_wrapper {width: 970px; padding-bottom: 30px; margin: 0 auto; overflow: hidden;}


/* == Header ==================== */
#dmg_layout_header {margin-bottom: -42px; z-index: 10; position: relative; overflow: hidden;}
.dmg_layout_company {margin-top: 8px; font-size: 1.5em; color:#020169; font-style: italic; font-weight: normal; float: right;}
#dmg_logo_bg {width: 228px; height: 147px; margin: 8px 0 0 10px; padding-top: 15px; background: url('/images/layout/logo-bg.png') no-repeat; font-size: 1.5em; color: #020169; text-align: center; float: left;}
#dmg_logo_bg img {width: 190px; height: 68px; border: 0; margin: 0 19px 10px 19px; padding-bottom: 10px; border-bottom: 1px solid #e2e2da;}
#dmg_logo_bg span {margin: 0 auto; font-size: .5em; display: block; text-align: center;}

#dmg_layout_qsearch {width: 560px; margin: 15px 0 0 0; padding: 0; float: right;}
#dmg_layout_qsearch ul {margin: 0; padding: 0; list-style: none; float: right;}
#dmg_layout_qsearch li {float: right;}
#dmg_layout_intelligent {width: 536px; height: 30px; margin-right: 10px; padding-left: 4px; margin-bottom: 10px; line-height: 30px; background: #beced7;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
behavior: url('/shared/htc/PIE.php');
position: relative;
float: right;
}
#dmg_layout_qsearch_term {width: 385px; height: 18px; padding: 0 0 0 5px; margin: 5px 5px 0 0; float: right; background: #FFF; color: #4d4d4d; font-style: italic; border: 1px solid #868c91}

#dmg_layout_intelligent span {width: 120px; color: #020166; font-size: 1.125em; display: block; float: left;}
#dmg_layout_qsearch select {margin-right: 15px; color: #4d4d4d; font-size: .75em; font-family: Arial, Helvetica, san-serif;}
.dmg_layout_qsearch_submit {width: 110px; margin-right: 10px; font-family: Arial, Helvetica, san-serif; font-size: .812em; font-weight: bold; padding: 3px 6px; color: #F0EFD8; text-align: center; text-decoration: none; background: #9db8d7;
border: 1px solid #81a0c4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
behavior: url('/shared/htc/PIE.php');
}

.dmg_layout_qsearch_submit:hover {color: #647c99;  border: 1px solid #647c99;}

#dmg_layout_body_wrapper {width: 960px; margin: 0 auto; height: 596px; background: #FFF;
-moz-box-shadow: 0 0 3px 3px #999;
-webkit-box-shadow: 0 0 3px 3px #999;
box-shadow: 0 0 3px 3px #999;
behavior: url('/shared/htc/PIE.php');
position: relative;
}

#dmg_layout_internal_wrapper {width: 960px; margin: 0 auto; background: #FFF;
-moz-box-shadow: 0 0 3px 3px #999;
-webkit-box-shadow: 0 0 3px 3px #999;
box-shadow: 0 0 3px 3px #999;
behavior: url('/shared/htc/PIE.php');
position: relative;
overflow:hidden;
border-bottom: 7px solid #020169;
}


/*== Menu ===================== */
#dmg_layout_menu {width: 240px; height: 547px; padding-top: 42px; border-bottom: 7px solid #4a498b; background: #fafaf3; border-right: 1px solid #f0efd8; float: left;}
#dmg_layout_menu.dmg_menu_internal {height: auto; margin-bottom: -2000px; padding-bottom: 2000px;}
#dmg_layout_social {width: 240px; height: 31px; margin-bottom: 15px; text-align: center; float: left;}
#dmg_layout_social a {width: 31px; height: 31px; border: 0; margin-right: 8px; margin-top: 10px; background-image: url('/images/layout/sprites.jpg'); background-repeat: no-repeat; display: block; float: left;}
a.dmg_social_facebook:link, a.dmg_social_facebook:visited, a.dmg_social_facebook:active {background-position: 0px 0px; margin-left: 34px;}
a.dmg_social_twitter:link, a.dmg_social_twitter:visited, a.dmg_social_twitter:active {background-position: -47px 0px}
a.dmg_social_linkedin:link, a.dmg_social_linkedin:visited, a.dmg_social_linkedin:active {background-position: -94px 0px}
a.dmg_social_blog:link, a.dmg_social_blog:visited, a.dmg_social_blog:active {background-position: -140px 0px}
a.dmg_social_facebook:hover {background-position: 0px -31px}
a.dmg_social_twitter:hover {background-position: -47px -31px}
a.dmg_social_linkedin:hover {background-position: -94px -31px}
a.dmg_social_blog:hover {background-position: -140px -31px}


/*== Nav ===================== */
#dmg_layout_nav {margin-top: 10px; float: left; clear: left;}
#dmg_layout_nav a {width: 220px; height: 39px; line-height: 39px; vertical-align: middle; padding-right: 20px; background: url('/images/layout/nav-bg.jpg') repeat-x; border-top: 1px solid #e8e7c8; font-size: 1.125em; text-align: right; text-decoration: none; display: block;}
#dmg_layout_nav a:hover {background: url('/images/layout/nav-bg-hov.jpg') repeat-x;}
.dmg_layout_nav_bottom {border-bottom: 1px solid #e8e7c8;}


/* == Drop Menus ========== */
#dmg_layout_site_bg a.selectedanchor {background: url('/images/layout/nav-bg-hov.jpg') repeat-x;}
.anylinkcss{width: 180px; line-height: 39px; background: #fbfaf5 url('/images/layout/nav-bg-hov.jpg') repeat-x; border: 1px solid #e8e7c8; position: absolute; left: 0; top: 0; visibility: hidden; z-index: 100;}
.anylinkcss ul{list-style: none; margin: 0; padding: 0;}
.anylinkcss ul li a{width: 100%; padding: 1px 0; color: #022C78; font-size: 1em; text-decoration: none; text-indent: 5px; display: block; border-top: 1px solid #e8e7c8;}
.anylinkcss a:hover{background: #f0f0d8; color: #333;}
.anylinkshadow{background: black; position: absolute; left: 0; top: 0; z-index: 99; visibility: hidden;}


/*== Body Content ===================== */
#dmg_layout_body_content {width: 699px; height: 569px; padding: 10px; border-bottom: 7px solid #020169; background: url('/images/layout/atlas-bg.jpg') bottom right no-repeat; float: left;}


/*== Homepage ===================== */
#dmg_layout_buttons {width: 230px; height: 342px; margin-left: 10px; background: url('/images/layout/button-bg.jpg') no-repeat; float: left;}
#dmg_layout_buttons ul {width: 170px; margin: 0 15px; padding: 0; list-style: none;}
#dmg_layout_buttons li {height: 102px; padding-top: 12px;}
#dmg_layout_buttons .virtual_tours {height: 100px;}
#dmg_layout_buttons h2 {margin: 0 0 5px 0; font-size: 1.125em; color: #020169; font-weight: normal;} 
#dmg_layout_buttons p {width: 160px; margin: 0; font-family: Arial, Helvetica, san-serif; font-size: .687em; line-height: 1.75em; color: #333333;}

#dmg_layout_atlas {margin-left: 15px;}
#dmg_layout_atlas h2 {margin: 0px; font-size: 2.25em; color: #020169; font-weight: normal;}
#dmg_layout_atlas img {width: 53px; height: 44px; border: 0; float: left;}
#dmg_layout_atlas p {width: 375px; margin-top: 10px; font-family: Arial, Helvetica, san-serif; line-height: 2em; font-size: .812em; color: #404040; clear: left;}
.dmg_layout_atlas_search {width: 250px; height: 32px; line-height: 32px; vertical-align: middle; margin-top: 10px; font-family: Arial, Helvetica, san-serif; font-size: 1em; font-weight: bold; padding: 0 4px; text-align: left; color: #F0EFD8; text-decoration: none; background: #9db8d7;
border: 3px solid #537ba8;
-webkit-box-shadow: #666 2px 2px 2px;
-moz-box-shadow: #666 2px 2px 2px;
box-shadow: #666 2px 2px 2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
behavior: url('/shared/htc/PIE.php');
float: right;
position: relative;
}
.dmg_layout_atlas_search strong {display: block; float: left;}
.dmg_layout_atlas_search span{width: 45px; color: #cedceb; font-size: 2em; display: block; float: right;}
.dmg_layout_atlas_search:hover {color: #EFEFEF;}

/* == Welcome ==================== */
#dmg_layout_welcome_wrapper {margin-top: 40px; font-family: 'Puritan', sans-serif; color: #333;}
#dmg_layout_welcome {width: 560px; font-size: .875em; line-height: 1.75em; float: left;}
#dmg_layout_site_bg #dmg_layout_welcome h2 {margin-bottom: 6px; font-size: 1.5em; font-family: 'Tinos', sans-serif; color: #020166; font-weight: normal;}
#dmg_layout_welcome p {margin-bottom: 6px;}


/* == Calendar ==================== */
#dmg_layout_calendar {width: 300px; float: right; overflow: hidden;}
#dmg_layout_calendar iframe {margin: 15px 0;}
#dmg_layout_calendar h2 {width: 215px; height: 67px; margin: 0; padding-left: 85px; background: url('/images/layout/events-header-bg.png') no-repeat; line-height: 40px; vertical-align: middle; color: #FFF; font-size: 1.375em; font-family: 'Tinos', sans-serif; font-weight: normal;}
#dmg_layout_calendar_body {margin: 0; padding: 0; list-style: none; height: 90px; background: #fbfaf3;}
#dmg_layout_calendar_body h3 {color: #020166; margin-bottom: 8px;}
#dmg_layout_calendar_body li {margin: 0 20px; padding: 8px 0 12px 0; border-bottom: 1px solid #c9c8c2;}
#dmg_layout_calendar_body p {font-size: .75em; line-height: 1.5em;}
#dmg_layout_calendar_body a:link, #dmg_layout_calendar_body a:active, #dmg_layout_calendar_body a:visited {color: #ec1f13;}
#dmg_layout_calendar_body a:hover {color: #022c78; text-decoration:none;}
#dmg_layout_calendar_body li.no_border {border: 0;}
#dmg_layout_calendar_footer {width: 285px; height: 30px; padding-right: 15px; background: url('/images/layout/events-footer-bg.png') no-repeat; line-height: 30px; vertical-align: middle; font-family: 'Tinos', sans-serif; text-align: right; text-decoration: none;}


/* == Homefinder ==================== */
#dmg_layout_mhf {width: 170px; height: 90px; margin: 15px 10px; padding-left: 50px; background: url('/images/layout/mhf-bg.png') no-repeat; float: left; clear: left;}
#dmg_homefinder_title {margin: 6px 0 3px 0; font-size: 1em; color: #020169; display: block;}
#dmg_layout_mhf .dmg_homefinder_middlecontent {margin-bottom: 4px; font-family: Arial, Helvetica, san-serif; font-size: .687em; color: #999999; display: block;}
#dmg_layout_mhf a {font-size: .812em;}
.myHomeFinderLinksCreateAccount {width: 55px; margin-left: 50px; display: inline-block; text-align: right;}


/*== MHF Modal ===================== */
#login_title {color: #273691; 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: #E31937; color: #FFFFFF; margin: 0 5px;}


/*== Slideshow   ================ */
#dmg_layout_slideshow {width: 449px; height: 314px; border: 5px solid #e8e7cd; float: left;}
#dmg_layout_slideshow_images {position:relative; display:block; margin:0px; padding:0px; width: 449px; height: 314px; 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;}


/* == Internal  ==================== */
#dmg_layout_internal_content {width: 699px; padding: 10px; background: #FFF; float: left; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: .875em; color: #333;}
#dmg_layout_internal_content h1 {color: #020169; margin-bottom: 10px; font-size: 1.75em; font-family: 'Tinos', serif;}
#dmg_layout_internal_content h2 {color: #ec1f13; font-size: 1.5em; font-family: 'Tinos', serif;}
#dmg_layout_internal_content p {padding-bottom: 8px;}
.dmg_layout_internal_photo {padding: 5px; border: 1px solid #CCCCCC; float: right;}
#dmg_layout_internal_content form table td {text-align: left;}

#dmg_layout_internal_content ul {font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;}
#dmg_layout_internal_content li {margin-bottom: 4px;}

#AgentList {display: none;}

/* == Footer ==================== */
#dmg_layout_footer {height: 160px; padding: 20px 0; background: #dbdbba;}
.dmg_footer_logo {width: 190px; height: 68px; border: 0; padding-right: 25px; border-right: 1px solid #cdcda6; float: left; display: block;}
.dmg_footer_links {width: 285px; float: right}
.dmg_footer_links h3 {margin-bottom: 10px; font-size: 1.125em; font-weight: normal; color: #020166;}
.dmg_footer_links ul {width: 130px; margin: 0; padding: 0; list-style: none; float: left;}
.dmg_footer_links li {margin-bottom: 6px;}
#dmg_layout_footer .dmg_footer_links a {font-family: 'Puritan', sans-serif; font-size: .812em; color: #ec1f13; text-decoration: none;}
#dmg_layout_footer .dmg_footer_links a:hover {color: #022c78; text-decoration: underline;}
.dmg_footer_address {color: #333; font-size: .812em; line-height: 1.5em; padding-left: 25px; padding-top: 10px; float: left; }
.dmg_footer_address a {font-size: 1.375em; text-decoration: none;}

.dmg_footer_affiliates_clear {clear: left}
.dmg_footer_affiliates {margin-top: 20px; margin-right: 20px; float: left;}

#dmg_layout_disclaimer {height: 125px; padding-top: 25px; font-family: 'Puritan', sans-serif; font-size: .812em; font-weight: bold; color: #333;}
#dmg_layout_disclaimer img {width: 54px; height: 28px; margin-right: 12px; float: left;}

#dmg_shared_links {width: 360px; margin: 0; padding: 0; list-style: none;}
#dmg_shared_links li {margin: 0 2px; padding-right: 4px; border-right: 1px solid #000000; overflow: hidden; float: left;}
#dmg_shared_links a {display: block; float: left;}
#dmg_shared_links .dmg_shared_links_terms {border: 0;}

#mobileLink, #mobileLink + br {display: none;}  


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

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

.floatRight {float: right;}

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

/* Example 2 ---------------------------------- */

.carousel {
    overflow: hidden;
}

#dmg_layout_carousel_title {color: #020169; font-size: 1.375em; font-weight: normal; margin: 15px 0 4px 25px;}

.carousel .dmg_layout_carousel_inner {
	width: 2500px;
	padding-left: 5px;
}

.carousel .dmg_layout_carousel_middle {
    overflow: hidden;
}

#dmg_layout_featured_carousel {
	width: 947px;
    height: 140px;
    margin-top: 15px;
    margin-left: 10px;
}

#dmg_layout_featured_carousel .dmg_layout_carousel_middle {
    width: 820px;
    height: 150px;
    padding-left: 5px;
    margin-left: 22px;
    float: left;
    overflow: hidden;
}

#dmg_layout_featured_carousel .dmg_layout_carousel_inner div {
	width: 128px;
	margin-right: 40px;
    float: left;
    text-align: center;
    color: #333;
    font-size: .875em;
    line-height: 1.25;
    font-weight: bold;
}

#dmg_layout_featured_carousel .dmg_layout_carousel_inner div a {
	width: 128px;
	color: #333;
	text-decoration: none;
	display: block;	
}

#dmg_layout_featured_carousel .dmg_layout_carousel_inner div a:hover {
	background: #FFFEEF;
	color: #022c78;	
}

#dmg_layout_featured_carousel .dmg_layout_carousel_inner img {width: 110px; height: 71px;
background: url('/images/layout/carousel-img-bg.png') no-repeat;
margin: 5px 0 6px 0;
padding: 9px;
display: block;
}

#dmg_layout_featured_carousel a.carousel-control {
    float: left;
    width: 41px;
    height: 29px;
    margin-top: 50px;
}

#dmg_layout_featured_carousel a.next {
    float: right;
}

#dmg_layout_featured_carousel a:hover {
    color: #000;
}

#dmg_layout_featured_carousel .hide_control {visibility: hidden;}

#dmg_layout_featured_carousel .carousel-control {width: 45px; height: 29px; background-image: url('/images/layout/arrow-sprite.jpg'); background-repeat: no-repeat; display: block;}

#dmg_layout_featured_carousel .carousel-control.next {background-position: -45px 0;}
#dmg_layout_featured_carousel .carousel-control.next:hover {background-position: -45px -29px;}
#dmg_layout_featured_carousel .carousel-control.prev:hover {background-position: 0 -29px;}


