/* COLORS -
primary = #25215f
secondary = #da1a31
tertiary = #EAE3D4
*/

/* CSS Reset Changes */

/* html {background: url('/images/layout/site-bg.jpg') repeat-x} */

body {font-size: 100%; margin: 0 auto; font-family: 'Source Sans Pro', 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 */

h1, h2, h3, h4, h5, h6 {}

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


/* == Header ==================== */
#dmg_layout_header {height: 100px; background: url(/images/layout10/white-trans.png) repeat;}
.dmg_layout_header_fixed {width: 100%; position: fixed; top: 0; left: 0; z-index: 10;}

#dmg_layout_logo {width: 220px; height: 72px; margin-top: 14px; border: 0; float: left;}
#dmg_top_work {width: 45px; height: 85px; margin: 7px 0 0 15px; border: 0; float: right;}


#dmg_internal_header_bg {height: 300px; 
	background: url("/images/layout10/homeslide-bg.jpg") no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: relative;	
}

#dmg_internal_header_bg.dmg_office_header {height: 480px; 
	background: url("/images/layout10/office-header-bg.jpg") no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: relative;
}

#dmg_header_title_bg {width: 100%; height: 60px; background: url(/images/layout10/qsearch-bg.png) repeat; position: absolute; bottom: 0}
.dmg_office_header #dmg_header_title_bg {height: 88px;}
.dmg_office_header #dmg_layout_qsearch {margin: 60px auto 0;}
#dmg_office_info {color: #FFFFFF; font-size: 18px; font-weight: normal; position: absolute; width: 960px; left: 50%; margin: 0 0 0 -480px; top: 397px;}
#dmg_layout_internal #dmg_office_info h2 {font-size: 36px; color: #FFFFFF; font-weight: 600;}
#dmg_office_info i {display: none;}

#dmg_office_info a:link, #dmg_office_info a:visited, #dmg_office_info a:active {color: #FFFFFF; text-decoration: none;} 
#dmg_office_info a:hover {color: #da1a31;}

/* == Homefinder ==================== */
#dmg_layout_mhf {height: 24px; padding: 0 0 0 6px; background: url(/images/layout10/mhf-bg.png) repeat-x; margin-top: 20px; line-height: 24px; vertical-align: middle; font-size: .875em; color: #4f4f4f; float: right;}
#dmg_header_phone {margin-left: 6px; padding: 0 6px; background: url(/images/layout10/phone-bg.png) repeat-x; color: #eaeaea; display: inline-block; float: right;}
#divMPLoginForm {float: left;}
#dmg_layout_mhf a:link, #dmg_layout_mhf a:visited, #dmg_layout_mhf a:active {font-size: 15px; font-weight: 600; color: #8d0034; text-decoration: none;}
#dmg_layout_mhf a:hover {color: #FFFFFF;}
.dmg_homefinder_middlecontent {margin: 0 6px 0 0; display: inline-block;}
#dmg_mhf_overview {min-width: 500px; float: left;}



/* == Navigation ==================== */
#dmg_layout_nav {margin: 22px 0 0 0; float: right;}
#dmg_nav_top {list-style: none; margin: 0; padding: 0; float: right;}
#dmg_nav_top li {float: left; overflow: hidden;}
#dmg_nav_top > li + li:before {content: "/"; color: #a0a0a0;}
#dmg_layout_nav a:link, #dmg_layout_nav a:visited, #dmg_layout_nav a:active{padding: 4px 6px; font-size: 14px; font-weight: 600; color: #25215f; text-decoration: none; display: inline-block;}
#dmg_layout_nav a:hover {color: #da1a31;} 
#dmg_nav_top > li:hover a {color: #da1a31;}


#dmg_layout_nav li ul {min-width: 180px; display: block; margin: 0; padding: 0; background: #25215f; position: absolute; left: -999em; box-shadow: 3px 3px 4px #333333; z-index: 10; clear: both;}
#dmg_layout_nav li ul ul { margin: -38px 0 0 180px; border-left: 1px solid #595959;}
#dmg_layout_nav li ul li  { background: #25215f; float: none; color: #FFFFFF; display: block;} /*Menu background*/
#dmg_layout_nav li ul li a:link, #dmg_layout_nav li ul li a:visited, #dmg_layout_nav li ul li a:active {padding: 0 5px; color: #FFFFFF; display: block; line-height: 32px; box-shadow: inset 0 0 6px #1e1a4c; }
#dmg_layout_nav li ul li a:hover {background: #3b3598; box-shadow: none;}
#dmg_layout_nav li ul li:hover {background: #3b3598; color: #FFFFFF; } /*Hover color of text link in menus*/

#dmg_layout_nav li:hover ul ul { left: -999em; }
#dmg_layout_nav li:hover ul, nav li li:hover ul { left: auto;}

#dmg_layout_nav ul li ul li:first-child {border-bottom: 1px solid #1e1a4c;}
#dmg_layout_nav ul li ul li + li {border-top: 1px solid #2c2872; border-bottom: 1px solid #1e1a4c;}
#dmg_layout_nav ul li ul li:last-child {border-bottom: 0;}



/* == Qsearch ==================== */
#dmg_layout_qsearch {width: 780px; height: 221px; margin: 0 auto; padding: 15px 40px 25px; background: url(/images/layout10/qsearch-bg.png) repeat; box-sizing: border-box; position: relative;}
#dmg_layout_qsearch h1, #dmg_internal_header_bg #dmg_layout_qsearch h1 {font-size: 44px; color: #FFFFFF; font-weight: normal; text-shadow: 0 0 6px #000000; line-height: 1em; text-align: center; position: relative; top: 0;clear: both;}


#dmg_layout_qsearch_term {width: 518px; height: 32px; padding: 0 0 0 5px; margin: 10px 0 0 0; color: #25215f; float: left; border: 0; box-sizing: border-box;}
#dmg_layout_qsearch button {width: 181px; height: 32px; border: 0; padding: 0; margin: 10px 0 0 0; background-image: url(/images/layout10/search-sprite.png); background-repeat: no-repeat; background-position: 0 0;}
#dmg_layout_qsearch button:hover {background-position: 0 -32px}


#dmg_layout_qsearch span {display: block;
color: #FFFFFF;
font-size: 32px;
text-align: center;
width: 100%;
margin: 0 0 38px 0;
color: #FFFFFF;
}

#dmg_layout_qsearch span em {color: #da1a31; font-style:normal;}
#dmg_layout_qsearch span i {font-style: normal;}


/* == Featured ==================== */
#dmg_layout_featured_bg {width: 100%; height: 225px; background: url(/images/layout10/qsearch-bg.png) repeat;}
#dmg_layout_featured {width: 940px; height: 165px; margin: 0 auto; padding-top: 30px;}
#dmg_layout_featured div {width: 220px; height: 165px; box-sizing:border-box;float:left;}
#dmg_layout_featured div + div {margin: 0 0 0 20px;}
#dmg_layout_featured img {width: 215px; height: 159px; border: 2px solid #FFFFFF;}
#dmg_layout_featured a {font-size: 12px; color: #FFFFFF; text-decoration: none;}
#dmg_layout_featured span {width: 215px; height: 26px; margin: -28px 0 0 2px; line-height: 26px; vertical-align: middle; text-align: center; background: url(/images/layout10/qsearch-bg.png) repeat; display: inline-block; }


/* == Boxes ==================== */
#dmg_box_wrapper {width: 940px;}
#dmg_box_wrapper a:link, #dmg_box_wrapper a:visited, #dmg_box_wrapper a:active {width: 300px; height: 325px; background: #FFFFFF; color: #333333; text-decoration: none; position: relative; display: block; float: left;}
#dmg_box_wrapper a:hover {background: #F2F2F2;}
#dmg_box_wrapper a + a {margin: 0 0 0 20px}
#dmg_box_wrapper img {width: 300px; height: 160px; margin: 0 0 20px 0; border: 0;}
#dmg_box_wrapper strong {width: 280px; margin: 0 auto 5px; font-size: 18px; font-weight: normal; color: #25215f; display: block;}
.dmg_box_text {width: 280px; margin: 0 auto; font-size: 14px; display: block;}
.dmg_box_link {width: 300px; height: 32px; position: absolute; bottom: 0; background-image: url(/images/layout10/box-sprite.png); background-repeat: no-repeat;}
.dmg_box_security {background-position: 0 0;}
.dmg_box_join {background-position: -300px 0;}
.dmg_box_relocation {background-position: -600px 0;}
#dmg_box_wrapper a:hover .dmg_box_security {background-position: 0 -32px;}
#dmg_box_wrapper a:hover  .dmg_box_join {background-position: -300px -32px;}
#dmg_box_wrapper a:hover .dmg_box_relocation {background-position: -600px -32px;}


#dmg_layout_affiliates {height: 115px; width: 960px; margin: 0 auto; padding-top: 35px; text-align: center;}
#dmg_layout_affiliates img {margin: 0 15px; display: inline-block; vertical-align: middle;}


#dmg_contact_map {width: auto; height: 380px; border: 0; float: left; box-shadow: 0 0 8px #333333;}

#dmg_disclaimer_offices {width: 380px; margin: 0 0 0 40px; float: left;}
#dmg_disclaimer_offices h2 {font-size: 30px; color: #FFFFFF; margin: 0 0 38px 0; font-weight: normal;}
#dmg_disclaimer_offices div {width: 190px; margin: 0 0 15px 0; font-size: 14px; color: #FFF; float: left;}



/* == Internal ==================== */
#dmg_layout_internal_bg {background: #f2f2f2; overflow: hidden;}
#dmg_layout_internal {width: 944px; min-height: 400px; padding: 15px 7px 40px; margin: 0 auto; background: #FFFFFF; color: #333333; font-size: .875em; overflow: hidden;}
#dmg_layout_internal h1 {color: #FFFFFF; margin-bottom: 10px; font-size: 30px; font-weight: normal;}

#dmg_internal_body h1:nth-of-type(1) {width: 960px; color: #FFFFFF; margin: 0 0 10px -480px; font-size: 30px; font-weight: normal; position: absolute; top: 255px; left: 50%;}

#dmg_layout_internal h2 {margin: 0 0 6px 0; color: #da1a31; font-size: 1.5em; }
#dmg_layout_internal h3 {color: #333333; font-size: 1.125em; }

#dmg_internal_content p {padding-bottom: 8px; line-height: 1.5em; }
#dmg_internal_content li {margin-bottom: 6px;}

.dmg_layout_internal_photo {padding: 5px; border: 1px solid #25215f; float: right;}
#dmg_layout_internal form table td {text-align: left;}

#dmg_layout_internal .InteriorPhoto {margin: 0 0 15px 15px; padding: 4px; border: 1px solid #E5E5E5; float: right;}
#dmg_layout_internal .InteriorPhotoNoBorder {float: right; margin-left: 15px;}

.dmg_internal_content_narrow {width: 535px; padding-left: 5px;}

.dmg_internal_content_wide {width: 660px; padding-left: 20px;}


#dmg_internal_content {float: left; }

.dmg_internal_menu_narrow {width: 235px; padding-left: 5px;}

.dmg_internal_menu_wide {width: 360px; padding-left: 20px;}

#dmg_internal_menu {min-height: 580px;  border-left: 1px solid #e5e5e5; float: right;}
#dmg_internal_menu ul {list-style: none; margin: 0; padding: 0;}
#dmg_internal_menu a:link, #dmg_internal_menu a:visited, #dmg_internal_menu a:active {padding: 5px 5px 5px 20px; color: #333333; text-transform: uppercase; text-decoration: none; display: block;}
#dmg_internal_menu a:hover {background: #f2f2f2; color: #25215f;}
#dmg_internal_menu a.dmg_sidenav_active {background: #f2f2f2 url(/images/layout10/active-nav-arrow.png) 5px center no-repeat; color: #25215f;}

#dmg_internal_menu .buysell-pop-list {
	width: 340px;
}

#dmg_layout_internal #dmg_contact_wrapper {font-size: 1.125em;}


/* == Agents & Offices ==================== */
#dmg_agents_left {width: 458px; margin: 0 15px 0 0; float: left;}
#dmg_agents_left img {width: 450px; height: auto; padding: 3px; margin: 0 0 10px 0; backgorund: #FFFFFF; border: 1px solid #e5e5e5;}
#dmg_agents_left h2 {font-weight: normal;}
#dmg_agents_search {padding: 10px 0 0 0; border-top: 1px solid #e5e5e5;}

#dmg_agents_search ul {list-style: none; margin: 0; padding: 0;}
#dmg_agents_search li {width: 225px; margin: 0 0 10px 0; float: left;}
#dmg_agents_search label {margin-bottom: 3px; display: block;}
#dmg_agents_search input {width: 210px; height: 32px; padding: 0 0 0 4px; border: 1px solid #e5e5e5;}
#dmg_agents_search select {width: 210px; height: 32px;}
#dmg_agent_search_submit {width: 220px; height: 32px; border: 0; padding: 0; margin: 6px 0 0 0; background-image: url(/images/layout10/agent-sprite.png); background-repeat: no-repeat;}
#dmg_agent_search_submit:hover {background-position: 0 -32px;} 

#dmg_agents_right {width: 390px; padding: 30px 0 0 0; float: left;}
#dmg_agents_right div {margin-bottom: 16px; font-size: 14px; overflow: hidden;}
#dmg_agents_right img {width: 170px; height: 103px; margin: 0 10px 0 0; border: 0; float: left;}
#dmg_agents_right p {float: left;}
#dmg_agents_right strong {color: #25215f; font-size: 18px; font-weight: 600;}



/* == Footer ==================== */
#dmg_homepage_disclaimer_bg {width: 100%; height: 160px; background: #171543; color: #FFFFFF; position: absolute; bottom: 0;}
#dmg_internal_disclaimer_bg {width: 100%; padding: 25px 0; background: #171543; color: #FFFFFF; clear: both; overflow: hidden;}

#dmg_disclaimer_contact {width: 960px; margin: 20px auto 0; padding: 0 0 20px 0; border-bottom: 1px solid #454469;}

#dmg_layout_social {float: right}
#dmg_layout_social img {width: 26px; height: 26px; border: 0;}


#dmg_layout_disclaimer {width: 960px; margin: 0 auto; padding: 15px 0 0 0; font-size: 14px;}
#dmg_layout_associations {width: 62px; height: 30px; margin-right: 10px; background: url('/images/layout10/associations.jpg') no-repeat; float: left;}
#dmg_layout_associations a {width: 31px; height: 30px;display: block; float: left;}
#dmg_layout_disclaimer a:hover {color: #FFFFFF;}
#dmg_layout_disclaimer ul {margin: 0; padding: 0; list-style: none;}
#dmg_layout_disclaimer li {float: left; margin-right: 15px;}


.dmg_disclaimer_left {width: 760px; margin: 6px 0 0 70px; clear: both; float:left}
.dmg_disclaimer_center {width: 710px; margin: 6px auto; clear: both;}

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


/* == General ==================== */
a:link, a:active, a:visited {color: #da1a31;}
a:hover {color: #000000; 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;}


.section {padding-top: 100px; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; overflow: hidden;}

.dmg_slide_wrap {
	width: 960px;
	height: 100%;
	margin: 0 auto;
	position: relative;
	display: table;
}

.dmg_slide_center {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

#dmg_homeslide {
	background: url("/images/layout10/homeslide-bg.jpg") no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
}

#dmg_homeslide .dmg_slide_wrap {height: 70%}

#dmg_boxesslide {
	background: url("/images/layout10/boxesslide-bg.jpg") no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#dmg_boxesslide .dmg_slide_wrap {height: 78%;}


#dmg_contactslide .dmg_slide_wrap {height: 79%; width: 880px;}
#dmg_contactslide a:hover {color: #FFFFFF;}


/* styles for contact form */
#contactform fieldset { width:640px; margin: 1.5em 0 2em 0; }
 
#contactform label.required_field, #showingform label.required_field { color:blue; }
 
#contactform legend { font-size:1.12em; font-weight:bold; display: block;}
 
#contactform fieldset ol { padding: 1em 1em 0 0; zoom:1; }
 
#contactform fieldset li { float:left; list-style:none; clear:left; width:100%; padding-bottom:5px; }
 
#contactform label { float:left; width:200px; margin-right:8px; text-align:left; }
 
#contactform label#listing { float:none; display:block; margin-bottom:5px; }
 
#contactform input#zipcode { width:60px; } 
 
#contactform input#state { width:40px; }
 
#contactform label#customer_copy { width:150px; }
 
#contactform fieldset#submit { float:none; width:auto; border-style:none; background-color:transparent; background-image:none; }

/* styles for open house listings */
table#oHouseTitle, table#oHouseTitle tr, table#oHouseTitle tr td, table#oHouseNavigation, table#oHouseSearchTable { border-collapse:collapse!important; border:1px solid #9d9d9d!important; background-color:#f2f2f2!important; }
 
table#oHouseTitle td img { border:1px solid #9B9B9B!important; }
 
table#oHouseTitle td img#defaultIDXLogo, table#oHouseTitle td img#defaultCompanyLogo { border:none!important; }
 
table#oHouseTitle td { border-bottom:1px solid black!important; }
 
div#openhouses table tr td  { padding:2px 8px!important; }
 
table#oHouseTitle tr, table#oHouseTitle tr td { border:none!important; }
 
table#oHouseTitle td { color:#2d2d2d!important; background-color:#ffffff!important; }

/* relocation - area employers table */
table.relocation-employerstable { width:100%; padding:0; margin:0; }

table.relocation-employerstable thead tr.top-tableheader th { font-size:1.115em; font-weight:bold; color:#C22026; border-bottom:1px solid #A33A3D; padding-bottom:4px; }

table.relocation-employerstable tr.subhead td { font-weight:bold; margin-top:10px; color:#07062E; }

table.relocation-employerstable tr td { padding:5px 4px; border:1px solid #D9D9D9; border-width:1px 0; }

table.relocation-employerstable tr:hover { background-color:#ABABAB; color:#fff; }

table.relocation-employerstable tr.subhead:hover, table.relocation-employerstable thead tr.top-tableheader:hover { background-color:transparent; }

/* relocation - local schools calendar tables */ 
div.relo-calendarcol { width:50%; float:left; }

div.relo-calendarcol h3 a { text-decoration:none; margin-bottom:8px; display:block; } 

table.relocation-schoolschedule { width:95%; margin-bottom:15px; }

table.relocation-schoolschedule tr td { padding:4px 5px; border:1px solid #D9D9D9; border-width:1px 0; }

table.relocation-schoolschedule tr:hover { background-color:#ABABAB; color:#fff; } 

/* styles for forms used on interior pages */
form ol {list-style: none;}

form.interior-form label { width:150px; float:left; margin-right:10px; }

form.interior-form  ol li { margin-bottom:8px; }

.required {color: red;}

#dmg_detail_detail_one .dmg_detail_header h1 {position: relative; top: 0; left: 0; width: auto;}


