/*
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('/shared/images/templates/1666/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('/shared/images/templates/1666/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_logo_bg .phone {
    font-size: 18px;
}


#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_agent_info {margin-bottom: 12px; color: #333; text-align: center;}
#dmg_layout_agent_info img  {padding: 4px; margin-bottom: 5px; background: #FFF; border: 1px solid #E8E7C8;}

/*== 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('/shared/images/templates/1666/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('/shared/images/templates/1666/nav-bg-hov.jpg') repeat-x;}
.dmg_layout_nav_bottom {border-bottom: 1px solid #e8e7c8;}


/* == Homefinder ==================== */
#dmg_layout_mhf {width: 170px; height: 90px; margin: 15px 10px; padding-left: 50px; background: url('/shared/images/templates/1666/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; color: #022c78;}
#dmg_layout_mhf a:hover {color: #333333;}
.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;}


/* == 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;}


/* == Footer ==================== */
#dmg_layout_footer {padding: 20px 0; background: #dbdbba; color: #333333; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: .812em; font-weight: bold;}


/* == 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;}