/* 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 {
    margin: 0 auto; 
    width: 1013px;
    font-size: 100%;
    background: url(/shared/images/templates/1616/key-bg.jpg);
    
}

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;
}    

/* 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: #39BCE1; text-decoration:none;}
a:visited {color: #39BCE1;}
a:hover {color: #F5E295;}
a:active {color: #022c78;}

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

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

#dmg_layout_contPageMainDiv {
    overflow: hidden;
    width: 984px;
    min-height: 750px; 
    margin: 0 auto; 
}

.dmg_layout_OverFlow{ overflow: hidden;}
.dropShadowLeft {
    background: url("/shared/images/templates/1616/dropShadow.png") repeat-y scroll 0 0 transparent;
    float: left;
    margin-bottom: -5500px;
    padding-bottom: 5500px;
    width: 14px;
}
.dropShadowRight {
    background: url("/shared/images/templates/1616/dropShadowRight.png") repeat-y scroll 0 0 transparent;
    float: right;
    margin-bottom: -5500px;
    padding-bottom: 5500px;
    width: 18px;
}

/* start wrapper*/
#dmg_layout_content{
    font-family: Arial, Helvetica, sans-serif;
    margin:0 auto;
    width:966px;
    background: #A99076;
    float: left;
    
}

#dmg_layout_banner{
    
}

.dmg_layout_logo{
    background: url(/shared/images/templates/1616/headerBg.gif) top right repeat-y #23497e; width:966px; height: 140px;}

.dmg_layout_title{margin: 0 0 43px 50px;}

/* ======= left side============*/

#dmg_layout_leftSide{float: left; width: 200px; }
.dmg_layout_QuickSearch p{color: #4D3822; font-size: 2em; margin: 11px 0 0 14px; font-family: 'Tinos', arial, serif;}
.dmg_layout_QuickSearch input{color: #8B8B8B; width: 160px; background: url(/shared/images/templates/1616/inputBg.gif) repeat-x #fff;}
.dmg_layout_QuickSearch ol li{ list-style: none; padding: 2px; margin: 5px 0;}
.dmg_layout_QuickSearch ol{margin: 0 0 0 14px;}
#dmg_layout_leftSide .dmg_layout_QuickSearchSubmit{color: black; width: 50px; background:silver; margin: 0 0 10px 14px;}

    /*==== top nav =======*/
    .dmg_layout_mainNav{background: url(/shared/images/templates/1616/navBg.gif) repeat-x #4d3822; font-family: 'Tinos', arial, serif; }
    .dmg_layout_mainNav ul{ list-style:none;  margin: 0; padding-bottom: 6px;}
    .dmg_layout_mainNav ul li{padding: 5px 0 5px 9px;}
    .dmg_layout_mainNav ul li:hover{padding: 5px 0 5px 9px; background: #A99076; }
    .dmg_layout_mainNav ul li a{font-size: 1.8em; color: #fff; margin: 0; text-decoration: none; padding: 0 10px;}
    
    /* ==== MHF====*/
    .dmg_layout_MHF p{ font-family: 'Tinos', arial, serif;  font-size: 1.15em; color:#4a3214; line-height: 1.5em; padding: 10px 0 10px 10px;}
    .dmg_layout_MHF div{font-size: 1.2em; padding-top: 42px; padding-left: 14px;}
    .dmg_layout_MHF div a{ text-decoration: none; color: black;}
    .dmg_layout_MHF div a:hover{ text-decoration: underline; }
    
    .dmg_layout_MHF{ }
    #divMPLoginForm{background: url(/shared/images/templates/1616/myHomeFinderAgent.gif) no-repeat top; height: 24px; }
    
    /* === agent info === */
    .dmg_layout_agentInfo{ text-align: center;  margin: 13px 11px 11px 11px ; font-family: 'Tinos', arial, serif;}
    .dmg_layout_agentInfo img{border: 3px solid #4D3822;}
    .dmg_layout_agentInfo h3{font-size: 1.8em; padding: 5px 0;}
    .dmg_layout_agentInfo p{font-size: 1.3em; padding: 1px 0 0 0;}
    
/*=== right Side==== */
#dmg_layout_body_content {float: left; width: 746px; background: #fff; padding: 23px 10px 10px 10px; min-height: 631px; min-height: 826px;}

#dmg_layout_body_content h1{
    color: #23497E;
    font-family: optima, arial, sans-serif;
    font-weight: bold;
    font-size: 30px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #CCCCCC;
    }
    
#dmg_layout_body_content h2 {
    font-family: arial, sans-serif;
    font-weight: bold;
    font-size: 21px;
    }
    
#dmg_layout_body_content h3 {
    font-family: arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    }
    
#dmg_layout_body_content p {
    margin: 0 0 15px 0;
    padding: 0px;
    font-size: 13px;
    line-height: 16px;
    padding: 5px 0 0;
    }
    
#dmg_layout_intRight ul, #dmg_layout_intRight ol {
    padding: 0 0 0 30px;
    }
    
#dmg_layout_intRight li {
    margin: 0 0 5px 0px;
    padding: 0px;
    font-size: 13px;
    list-style-type: disc;
    }
    
#dmg_layout_intRight ul {
    margin: 0 0 15px 0;
    }


.imgBorder {
    border: 1px solid #CCCCCC;
    float: right;
    margin: 0 0 10px 20px;
    padding: 5px;
}


#dmg_layout_body_content #dmg_advanced_search_wrapper ul {line-height: normal;}
#dmg_layout_body_content #dmg_results_wrapper {font-size: 14px;}
#dmg_layout_body_content #dmg_results_refineResults select {margin-bottom: 8px;}

#dmg_layout_body_content #dmg_detail_detail_one {font-size: 1.375em;}
#dmg_layout_body_content #dmg_advanced_display_options input[type="text"] {width:20px}



#dmg_layout_finderFields{margin: 0 3px;}
/*************start disclaimer*************/

#dmg_layout_footer{
      padding: 20px 6px;
    color:#020202;
    line-height:1.5em;
    background: black;
    color: #CCCCCC;
    border-top: 1px solid #22487d;
     width: 955px;
}

#dmg_layout_disclaimer a{
    font-size:.75em;
    color:#3a3a3a;
    font-weight:bold;
    text-decoration:none;
}
#dmg_layout_disclaimer spane{margin-bottom: 10px;}
.dmg_layout_officeInfo{padding-left: 272px; font-size: 1.3em;}
/* ===== 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: #A99076;
    width: 190px; /* default width for menu */
    font-weight:normal;
}

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

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

.anylinkcss a:hover{ /*hover background color*/
    background: #4d3822;
    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: 130px;
    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;
}