/* CSS Reset Changes */
html {
        font-family: sans-serif;
        font-size: 62.5%; /*Sets default font size to 10px so that ems can be easily calculated*/
        min-height: 100%; /*So page background will extend to match browser window height if content is not long enough*/
    }
    
body {
    width: 970px;
    min-height: 750px; 
    margin: 0 auto; 
    font-size: 100%; 
    border: 1px solid #4A8ECD;    
}

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

ol, ul, dl {
        margin: 0 0 0 2.5em;
        padding: 0;
    }
    
legend {
    display: none;
}    

.floatright{float: right; border: 2px solid #4C984E; padding: 2px; margin: 10px; }
/* Font sizes - 2.2em=22px | 2em=20px | 1.8em=18px | 1.6em=16px 
                     1.4em=14px | 1.2em=12px | 1em=10px | .8em = 8px */

/* General   ================================================== */
a:link {color: #000; text-decoration:none;}
a:hover {color: #EB071E;}

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

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

body{font-family: "Times New Roman", Times, serif;
    margin:0 auto;
    width:896px;
    background: #fff;
    }
#dmg_layout_callToAction{border-bottom: 1px solid #4A8ECD; background: #4A0001 url(/images/layout/welcomeHome.png) no-repeat center left; float:left;  }    
.dmg_layout_phonenumber{letter-spacing: 0.05em; font-size: 2.5em; color:#fff;  float:left; }
#dmg_layout_callToAction img{float: right; margin: 0 0 0 571px; padding: 0 90px 0 0; width: 234px;}

/* RIGHT SIDE
-------------------------------*/
#dmg_layout_homepageRightSide{float:left; width: 163px;}
#dmg_layout_RightSide{float:left; width: 222px;}
    
/*=== slide show====*/
#dmg_layout_slideshow {width: 733px; height: 425px; float: left; z-index: 1;}
#dmg_layout_slideshow_images{
    position:relative;
    display:block;
    margin:0px;
    padding:0px;
    width:733px;
    height:425px;
    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;
}


/* MAIN NAV
--------------------------------*/
#dmg_layout_mainNav{background: #4A8ECD; width:223px; height: 251px;}
#dmg_layout_mainNav ul{ position: relative; margin: 0; list-style: none; font-size: 1.6em; color: #fff; padding: 5px 0;text-align: right; text-transform: uppercase;}
#dmg_layout_mainNav ul a{color: #fff; text-decoration: none;}
#dmg_layout_mainNav ul a:hover{color: #fff; text-decoration: underline;}
.dmg_layout_nav1{padding: 0 55px 0 0;}
.dmg_layout_nav2{padding: 0 63px 0 0;}
.dmg_layout_nav3{padding: 0 66px 0 0;}
.dmg_layout_nav4{padding: 0 68px 0 0;}
.dmg_layout_nav5{padding: 0 67px 0 0;}
.dmg_layout_nav6{padding: 0 66px 0 0;}
.dmg_layout_nav7{padding: 0 61px 0 0;}
.dmg_layout_nav8{padding: 0 56px 0 0;}
.dmg_layout_nav9{padding: 0 49px 0 0;}
.dmg_layout_nav10{padding: 0 49px 0 0;}
.dmg_layout_nav11{padding: 0 42px 0 0;}
.dmg_layout_nav12{padding: 0 36px 0 0;}
.dmg_layout_nav13{padding: 0 29px 0 0;}

/* FEATURED HOMES
------------------------------------*/ 
#dmg_layout_fh{background: #015DB4; width: 217px; height: 174px;  position: relative; z-index: 25;}
#dmg_layout_intFH{background: #015DB4; width: 223px; height: 177px;}

.dmg_layout_fhONE{ font-size: }
.dmg_layout_fhONE p{font-size: 2.5em; padding: 10px 0 0 12px; font-size: 2.5em}
.dmg_layout_fhONE img{float: left; border: 1px solid black; margin: 15px 0 0 11px; width: 121px;}
.dmg_layout_fhONE ul{ width: 73px; float: left; list-style: none; margin: 0; padding: 17px 0 0 10px; font-size: 1.2em;}

/* MY HOME FINDER
-------------------------------------*/
.dmg_layout_MHF{ 
	/*background: #015DB4; =
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#015DB4', endColorstr='#ffffff'); 
	background: -webkit-gradient(linear, left right, left bottom, from(#015DB4), to(#ffffff)); 
	background: -moz-linear-gradient(left,  #015DB4,  #ffffff); /* for firefox 3.6+ */ 
	
	background:url(/images/layout/mhfBg.png) repeat-y;
	
	height: 39px;
    width: 681px;
    float: left;
    z-index: 25;}
    
.dmg_layout_mhfLogin label{ color:#fff; font-size: 1.3em; padding: 0 5px 0 0;}
.dmg_layout_mhfLogin input{width: 150px; margin-top: 8px;}
.dmg_layout_MHF .dmg_layout_homefinder_login{
	background: #DFEAF5; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DFEAF5', endColorstr='#ffffff'); /* for IE */
	background: -webkit-gradient(linear, left right, left bottom, from(#DFEAF5), to(#ffffff)); /* for webkit browsers */
	background: -moz-linear-gradient(left,  #DFEAF5,  #ffffff); /* for firefox 3.6+ */ 
	
	font-weight: bold; border: 0; color: #015DB4; padding-top: 5px; margin-left: 14px; width: 67px;}
.dmg_layout_mhfLegend{float: left; font-size: 1.6em; color: #fff;  padding: 0 21px 0 42px; }
.dmg_layout_mhfLegend a{font-size: .8em;}

/* LEFT SIDE
-----------------------------------*/
#dmg_layout_topPeople{ z-index:25; margin-top: -201px; float: right; position: relative}

/* BOTTOM BAR HOMEPAGE 
-----------------------------------*/
#dmg_layout_bottomBar{width: 640px; height: 122px; background: url(/images/layout/bottomBar.jpg) no-repeat; margin: 3px 0 0 2px; float: left;  position: relative; }
#dmg_layout_bottomBar div{float: left; padding: 6px 17px 0 13px;  color: #fff;}
#dmg_layout_bottomBar h2{font-family: arial; font-size: 1.8em; font-weight: bold; margin-top: 10px;}
#dmg_layout_bottomBar p{font-family: arial; font-size: 1.1em;}

.dmg_layout_mobile{width: 187px; }
.dmg_layout_mobile p a{margin: 5px 0 0; color:#fff;}
.dmg_layout_atlas{width: 124px; margin: 0 20px; }
.dmg_layout_atlas p a{margin: 5px 0 0; color:#fff;}
#dmg_layout_bottomBar .dmg_layout_buyers{margin-left: 11px; padding: 6px 0 0 17px; width: 187px;}
.dmg_layout_buyers p a{margin: 5px 0 0; color:#fff;}

/* INTERIOR CONTENT
----------------------------------*/
#dmg_layout_content_internal{float: left; width: 654px; padding:10px; min-height: 590px; font-size: 1.5em; }
#dmg_layout_content_internal h1{ margin-bottom:10px; color: #000; background: #B3D0EA; padding: 5px 0 0 5px; border-bottom: 3px solid #D7979A; font-size: 2.2em;}
#dmg_layout_content_internal p{padding: 10px 0px; font-size: 1em;}
#dmg_layout_content_internal h3{margin-top: 5px;}

#dmg_layout_content_internal ul li {
   border: none;
   text-align: left;
}
#dmg_layout_content_internal form table td{text-align:left;}
#dmg_layout_content_internal ul, #dmg_layout_content_internal ol {margin: 12px; padding-left: 10px; }

#dmg_layout_mainNav .dmg_layout_intNav{padding: 5px 10px 10px 10px;}

/* disclaimer
----------------------------------*/
#dmg_layout_disclaimer{text-align: center; font-size: 1.5em; padding: 8px;  clear: both;}



/* ######### Default class for drop down menus ######### */
.anylinkcss{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid black;
    border-bottom-width: 0;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #fff;
    width: 150px; /* default width for menu */
    font-weight:normal;
     margin-top: 5px;
     margin-left: 10px;
}

.anylinkcss ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.anylinkcss ul li a{
    width: 100%;
    display: block;
    text-indent: 3px;
    padding: 1px 0;
    text-decoration: none;
    font-weight: normal;
    text-indent: 5px;
    color: #165EA6;
    font-size:1em;
    border-bottom:1px solid black;
}

.anylinkcss a:hover{ /*hover background color*/
    background: #165EA6;
    color:white;
    font-weight:normal;
}

/* ######### Alternate multi-column class for drop down menus ######### */


.anylinkcsscols{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid black;
    padding: 10px;
    z-index: 100; /*zIndex should be greater than that of shadow's below*/
    background: #ffffff;
}

.anylinkcsscols .column{
    width: 110px;
    float: left;
}

.anylinkcsscols .column ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.anylinkcsscols li{padding-bottom: 3px;}
/* ######### class for shadow DIV ######### */

.anylinkshadow{ /*CSS for shadow. Keep this as is */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99; /*zIndex for shadow*/
    background: black;
    visibility: hidden;
}

#dmg_layout_mainNav a:hover{text-decoration: underline;}


/*=========== SEO Similar Homes Classes ======================*/
.dmg_optimize_ar {
    width: 195px;
    padding: 3px;
    zoom: 1;
   background: #fff;
}

body .dmg_optimize_ar a:link {color: #000;}
.dmg_optimize_shead {
    border-top: 1px solid;
    margin: 25px 0 5px 0;
    padding-top: 5px;
    text-align: center;
    font-size: 1.5em;
}

.dmg_optimize_similarlisting {
    margin: 5px 0;
    position: relative;
    padding: 1.65em 0px 0px 0px;
    font-size: 11px;
    overflow: hidden;
}

.dmg_optimize_simg {
    width: 80px;
    float: left;
}

.dmg_optimize_slist {    
    list-style: none;
    margin: 0;
    padding: 5px;
    display: table-cell;
    zoom: 1;
}

.dmg_optimize_sprice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    border: 1px solid;
    border-width: 1px 0;
    font-weight: bold;
}

.dmg_optimize_sadd a {
    font-size: 11px;
}


#dmg_layout_content_internal #DetailSectionCallToAction1 a.orangeButton, #dmg_layout_content_internal #DetailSectionCallToAction2 a.orangeButton {background-color: #EB071E;}

#dmg_layout_content_internal #DetailSectionCallToAction1 a.orangeButton:hover, #dmg_layout_content_internal #DetailSectionCallToAction2 a.orangeButton:hover {background-color: #4A8ECD;}

.dmg_layout_side_nav div.dmg_optimize_ar a { color: #000; text-decoration: underline; }

#dmg_layout_content_internal .ds_detailAS h1 {height: 22px; font-size: 1.25em;}
