/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #323336;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    background: url("../images/bg-bot-border.jpg") no-repeat;
    display: block;
    height: 3px;
    border: 0;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h2{
    color: #2d4172;
    font-size: 1.063em;
    font-family: Arial, Helvetica, sans-serif;
}

.home-heading{
	color: #2d4172;
    font-size: 1.063em;
    font-family: Arial, Helvetica, sans-serif;
	font-weight:bold;
	}

a:link{
    color:#2d4172;
    font-family: Verdana, sans-serif;
    text-decoration: none;
}

a:visited{
    color:#2d4172;
}

a:hover{
    color:#323336;
}


#wrapper{
    background: #fff; /* Old browsers */
    min-width:990px;
    width:100%;
}

#primary-header{
    min-height: 380px;
    min-width:990px;
    width: 100%;
    z-index:20;
}

#user-utility{
    background: #dfdfdf;
    font-family: Verdana, sans-serif;
    font-size:11px;
    font-weight: bold;
    min-height: 30px;
    text-transform: uppercase;
    width:100%;
}

#user-utility ul{
    margin: 0 auto;
    padding: 0;
    text-align: right;
    width:984px;
}

#user-utility li{
    display: inline-block;
    line-height: 30px;
    padding: 0 7px;
}

#user-utility a:link{color: #484949;}
#user-utility a:visited{color: #484949;}
#user-utility a:hover{color: #182c5e;}

#user-utility .phone-number{
    background:url("../images/icon-phone.png") 0 7px no-repeat transparent;
    padding-left:23px;
}
#user-utility .login{
    background:url("../images/icon-lock.png") 0 7px no-repeat transparent;
    padding-left:23px;
}

#header-inner{
    min-height: 380px;
    margin: 0 auto;
    position: relative;
    width: 984px;
    padding:0;
}

#logo{
    float: left;
    height: 55px;
    margin: 15px 0 0 0;
    overflow: hidden;
    width: 255px;
}

#logo a{
    background:url("../images/logo.png") no-repeat transparent;
    color: #FFF;
    display: block;
    line-height:60px;
    text-indent:-200%;
    text-decoration:none;
}

#header-promos{
    float: right;
    height: 55px;
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
    overflow: hidden;
    text-align: right;
    width: 700px;
}

#header-promos li{
    background: #ececec url("../images/icon-arrow-circle.png") 98% 50% no-repeat;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    line-height: 12px;
    text-align: left;
    padding: 8px 30px 8px 10px;
    margin-left: 10px;
}

#header-promos li span{
    color: #323336;
    font-size: 10px;
}

#header-image{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -moz-box-shadow:    0px 1px 3px 3px #CCCCCC;
    -webkit-box-shadow: 0px 1px 3px 3px #CCCCCC;
    box-shadow:         0px 1px 3px 3px #CCCCCC;
    float: right;
    height: 260px;
    margin: 20px 0 0 ;
    width:720px;

}

#header-image img{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}


/* 
Start #primary-nav styles
*/

#primary-nav{
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -moz-box-shadow:    0px 1px 3px 3px #CCCCCC;
    -webkit-box-shadow: 0px 1px 3px 3px #CCCCCC;
    box-shadow:         0px 1px 3px 3px #CCCCCC;
    background: #273b6c;
    float: left;
    margin:20px 0;
    padding:20px 0;
    width:250px;
	display: block !important;
}

#primary-nav ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

#primary-nav ul.nav li:first-child{
    display: none;
}

#primary-nav li{
  position: relative;
  height: 20px;
  margin: 0;
  padding: 0 20px;
}

#primary-nav .nav-item:first-child{
  margin: 0;
}

#primary-nav li.nav-selected,
#primary-nav li.nav-path-selected{
    background: #e0e3ea;
    border-top: 1px solid #7885a5;
    border-bottom: 1px solid #99a3ba;
    color:#324676;
    height: 34px;
}

#primary-nav li.nav-selected a,
#primary-nav li.nav-path-selected a{
    color:#324676 !important;
}

#primary-nav li > a:link{
  color: #fff;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 20px;
  text-decoration: none;
}

#primary-nav li > a:visited{
  color: #fff;
}

#primary-nav li:hover{
  background: #e0e3ea;
    border-top: 1px solid #7885a5;
    border-bottom: 1px solid #99a3ba;
    height: 34px;
}

#primary-nav li:hover a{ color: #324676;}

/* 
Start Global Structure Styles
*/

#container{
    margin: 0 auto ;
    min-height:640px;
    width: 990px;
    padding:0;
}

#container.internal-page{
    margin: 50px auto 150px;
}

#sidebar{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px; 
    background: #ecedec;
    float: left;
    min-height: 500px;
    margin:0;
    padding:20px;
    width:210px;
}

#sidebar p{
    font-size: 10px;
    font-style: italic;
    font-weight: bold;
}

#sidebar h3{
    color: #323336;
    border-bottom: 1px solid #162a5d; 
    font-size: 0.938em;
    margin:0;
    padding-bottom: 3px;
}

#sidebar div{
    color: #323336;
    border-bottom: 1px solid #162a5d; 
    font-size: 0.938em;
    margin:0;
    padding-bottom: 3px;
	font-weight:bold;
}

#primary-footer{
    background: #162b5d;
    height: 145px;
    width:100%;
}

#inner-footer{
    background: url('../images/logo-ehl.png') 99% 25px no-repeat;
    color: #fff;
    font-size: 11px;
    margin:0 auto;
    padding-top: 25px;
    width: 990px;
    font-weight: bold;
}
#inner-footer a{
    color: #fff;
    text-decoration: underline;
    font-weight: normal;
}

.footer-links{
    margin-top: 30px;
    font-weight: normal;
}

.primary-content{
    min-height: 300px;
    margin: 0 0 0 265px ;
    padding:15px;
    width:660px;
}

.no-sidebar .primary-content{
    min-height: 600px;
    margin: 0 ;
    padding:15px;
    width:960px;
}

.primary-content iframe{
    border:none;
}

.primary-content a,
.primary-content p,
.primary-content ul{
    font-size: 0.813em;
}
.primary-content small{
    display: block;
    font-size: .625em;
    margin-bottom: 1em;
}

.email a {
    color:#323336;
    text-decoration: underline;
    text-transform: lowercase;
}

.col-half{
    display:inline-block;
    vertical-align: top;
}

.title-link{
    display: inline-block;
    background: url("../images/icon-arrow-circle.png") 100% 0 no-repeat;
    font-size: 1.077em;
    font-weight: bold;
    height: 22px;
    line-height: 22px;
    padding:0 25px 0 0;
}
.title-link span{
    font-weight: normal;
}

.title-apply{
    background: url("../images/icon-computer.png") 0 0 no-repeat;
    color:#323336;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding-left: 37px;
}

.info-title{
    color: #2d4172;
    font-weight: bold;
}

/* Home Page */

.content-home .refinance-col{
    padding:0 30px 0 0;
    width:290px;
}

.content-home .re-center-col{
    padding:0 0 0 30px;
    width:290px;
}

.content-home .re-center-col a{
    font-size:1em;
    text-decoration: underline;
}

.content-home .refinance-col h2,
.content-home .re-center-col h2{
    margin:0 0 3px 0;
}

.content-home .refinance-col p,
.content-home .refinance-col ul,
.content-home .re-center-col p,
.content-home .re-center-col ul{
    font-size: 0.750em;
    margin:3px 0;
}

.content-home .refinance-col ul{
    font-style: italic;
}


/* Company Directory Page */

.company-info{
    list-style: none;
    padding:0;
}
.company-info li{
    border-left: 1px solid #323336;
    display: inline-block;
    padding: 0 25px;
}

.company-info li:first-child{
    border: none;
    display: inline-block;
    padding: 0 25px 0 0;
}

.directory-entry{
    background: #f6f6f5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: inline-block;
    list-style: none;
    padding:10px 0 14px 18px;
    margin: 0 20px 20px 0;
    vertical-align: top;
    width:289px;
}

.directory-entry.full{
    margin: 0;
    padding: 10px 18px 14px;
    width: 670px;
}

.directory-entry .full-name{
    color: #2d4172;
    font-size: 1.308em;
    font-weight: bold;
}

.directory-entry .position{
    color: #323336;
    font-size: 0.923em;
    font-style: italic;
    font-weight: bold;
}

.directory-entry .bio{
    color: #323336;
    font-size: 0.923em;
    margin-top: 15px;
}

/* About Us */

.appraisal-item{
    padding-left: 15px;
}

/* Mortgage Glossary */
#resource-list{

}

#resource-list dt{
    display: list-item;
    list-style-type: disc;
    color: #2d4172;
    cursor: pointer;
    text-decoration: underline;
    font-style: italic;
    margin-left: 20px;
    width:300px;
}
#resource-list dd{
    font-size: 0.875em;
    height:0;
    overflow: hidden;
}

#resource-list dd.show{
    height:auto;
    margin-bottom: 5px;
}

.form-item{
    display: inline-block;
    min-height: 50px
}

.form-item.gap{
    margin-right: 16px;
}

label{
    font-size: 0.750em;
    font-weight: bold;
    line-height: 0.813em;
}

input[type="text"],
input[type="email"],
input[type="tel"]{
    color: #323336;
    border:1px solid #b9b9b9;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding-left: 3px;
}

#sidebar form td{
    display: block;
    float: left;
    min-width: 200px;
}

.notice{ font-size:0.688em; }

.sml-input{ width: 90px;}
.med-input{ width: 205px;}

.formBlockSubmitButton{
    background: #223768;
    border:none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    font-weight: normal;
    padding:7px 30px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* MISC STYLES & SHORTCUTS */
div.code {border: 1px solid #ddd; background: #eee; padding: 10px}
div.spacer,div.ccm-spacer{ clear:both; font-size:1px; line-height:1px }
.noTopSpace{margin-top:0px; padding-top:0px}
div.pageSection { margin-bottom: 10px; }

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}