
/* Notes for this theme:
For Metro Properties 3 and Metro Mortgage 3
Use Expansion and Base
Primary Shade: #9E0F0B #9E0F0B
Secondary Shade: #8E0C09 #8E0C09 (recommend 1 shade darker than primary shade)
Link Color: #CE4240 #CE4240 (recommend lighter than primary shade)
Complimentary Grey: #333  
Header Font: Lora
Body Font: Open Sans */


@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,700);
@import url(https://fonts.googleapis.com/css?family=Niconne);
@import url(https://fonts.googleapis.com/css?family=Lora);


html {
    font-size: 62.5%;
}
/* Body Elements */
body {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #222;
    font-weight: 400;
}

.xs-body {
    background-image: url(http://americasfirstchoicemortgage.mortgagexsites.com/xSites/Mortgage/AmericasFirstChoiceMortgage/Content/UploadedFiles/tweed.png);
}
.carousel-inner {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Spacing for search box */
.searchwell {
    margin-top: 8px;
    padding: 1em;
}

/* Lead capture form fixer */
.xs-lead-form-viewer {
    margin: 1em auto;
    max-width: 800px;
}
.xs-primary-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1em;
    background-color: #EFE5D2;
}
legend {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 18px;
    color: #8E0C09;
}
/* Link Styles */ 
a {
    color: #CE4240;
    text-decoration: none;
}
a:hover,
a:focus {
    color: #CE4240;
    text-decoration: underline;
}
a.bounce {
    display:block; 
    padding-top: 5px; 
    padding-bottom: 0px; 
    float: left; 
    margin: 0 2px;
}

a:hover.bounce {
    display:block; 
    padding-top: 0px; 
    padding-bottom: 5px; 
    float: left; 
    margin: 0 2px;
}
/* Menu Styles */
/* Required Styles For Floating Nav - These usually won't need changing unless you are taking a Site 3 base and changing the layout to fullscreen, in which case, remove this section all together. */
header {
    position: relative;
}

/* Move logo to the right */
.xs-header {
    z-index: 99999;
    position: absolute;
    right: 5px;
}
/* Move logo to left side on mobile view */
@media only screen and (max-width:767px) {
    .xs-header {
        left: 5px;
        width: 180px;
    }
}

/*Adjust line height of navigation items to set height of navbar; takes the taller of the two between this and the height of navbar-brand. Media query in place so that the this height does not affect mobile view.*/
@media only screen and (min-width: 768px) {
    .navbar-default .navbar-nav > li > a {
        line-height: 30px;
    }
}

/***************** Branding *****************/
/* Constrain height of image to navbar height; edit as needed along with the line-height of the navigation */
.xs-header img {
     height: 50px;
     margin: 10px;
}
@media(max-width: 768px){
    .xs-header img {
     height: 45px;
     margin: 5px;
}
}
/* Remove this if using company name instead of logo */
.navbar-brand.xs-company-name {
    display: none;
}

.navbar-brand.xs-company-name {
    margin: 5px 0;
}

/* Use this if not using logo */
/*.xs-header {
    display: none;   
}*/

@media only screen and (max-width : 769px) {
    .navbar-brand {
        padding: 0px;
        height: 50px;
    }
    img.xs-company-logo {
        height: 70px;
        vertical-align: baseline;
        margin-top: 5px;
    }

}
@media only screen and (min-width : 769px) {
    .navbar-brand {
        padding: 0px;
        height: 85px;
    }
    img.xs-company-logo {
        height: 85px;
        margin: 0px;
        padding-right: 20px;
        margin-top: -2px;
    }
}
.navbar-default {
    border: 0;
    border-radius: 2px;
/*    box-shadow: 3px 2px 4px 1px #222;*/
    background: none;
    background-color: #9E0F0B;
    border: 1px solid #720908;
    background-image: none;
    height: 84px;
}
.navbar-default .dropdown-menu {
    background-color: #333;
}
.dropdown-menu>li>a {
    color: #fff;
     font-size: 14px;
}
.navbar-default .dropdown-menu > li > a:hover, .navbar-default .dropdown-menu > .active > a, .navbar-default .dropdown-menu > .active > a:hover {
    background-color: #9E0F0B;
    color: #fff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #8E0C09;
}
.navbar-default .dropdown-menu > li > a:hover, .navbar-default .dropdown-menu > .active > a, .navbar-default .dropdown-menu > .active > a:hover {
    background-color: #9E0F0B;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #8E0C09;
  color: #fff;
}
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #8E0C09;
  }
.navbar-default .navbar-nav > li > a {
    font-size: 18px;
    color: #fff;
    line-height: 51px;
    font-family: 'Alegreya Sans SC', sans-serif;
}
@media(max-width:768px) {
.navbar-default .navbar-nav > li > a {
    color: #fff;
    height: 50px;
    line-height: 25px;
}
.navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #333;
    border: 0;
    box-shadow: none;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: transparent;
    background: #333;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #333;
    color: #fff;
}
.navbar-default .navbar-toggle {
    border-color: #fff;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #333;
}
.navbar-toggle {
    border-radius: 2px;
}
}

/* Main menu items styles */
.navbar-right a {
     font-size: 16px;
}
.navbar-right {
    font-size: 16px;
}
a.navbar-brand.visible-xs.xs-company-name {   
    display: none !important;  
}

a.navbar-brand.hidden-xs.xs-company-name.xs-company-logo {
font-size: 0px;
margin: 0px;
line-height: 65px;
}
a.xs-company-name {
    font-size: 0px;
}

/* Header Styles */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 300;
}

/* Panel Styles */
.panel-primary {
  border-color: #8E0C09;
}
.panel-primary > .panel-heading {
  background-color: #8E0C09;
  border-color: #8E0C09;
}
.panel-primary > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #8E0C09;
}
.panel-primary > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #8E0C09;
}
.panel-info {
  border-color: #333;
}
.panel-info > .panel-heading {
    color: #fff;
    border-color: #333;
    background-color: #333;
}
.panel-info > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #333;
}
.panel-info > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #333;
}

/* Well Styles */
.well {
    background: rgba(255,255,255,0.2);
    box-shadow: 2px 2px 2px #C4AE89;
    border-radius: 0;
}
.wellcustom {
    border: 0;
    background: none transparent scroll repeat 0% 0%;  
    color: white; 
    text-align: center; 
    margin: 0px auto; 
    min-height: 180px; 
    width: 80%;
}

/* Button Styles*/
.btn {
    border-radius: 0px;
    padding: 8px;
    font-family: 'Alegreya Sans SC', sans-serif;
}
.btn-primary {
    background-color: #9E0F0B;
    border-color: #8E0C09;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background-color: #8E0C09;
    border-color: #9E0F0B;
}
.btn-info {
    color: #fff;
   background-color: #9E0F0B;
    border-color: #8E0C09;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
   background-color: #8E0C09;
    border-color: #9E0F0B;
}
/* For IDX Listings-- other styles for IDX pull directly from btn styles above */
.btn-link {
    color: #8E0C09;
    cursor: pointer;
}
.btn-link:hover, .btn-link:focus {
    color: #8E0C09;
}

/* Miscellaneous styles */
p {
    margin-left: 1em;
}

img {
    max-width: none;
}

/* Dynamic Content Styles */

.xs-dynamic-widget {
    width: 31.33%;
    margin: 1%;
    display: inline-block;
    float: left;
}

@media only screen and (max-width: 767px) {
    .xs-dynamic-widget {
        display: block;
        margin: 1em auto;
        width: 100%;
        float: none;
    }
}
/*Footer Styles*/
    
.xs-site-footer {
    background: url('http://americasfirstchoicemortgage.mortgagexsites.com/xSites/Mortgage/AmericasFirstChoiceMortgage/Content/UploadedFiles/tweed-dark.png') !important;
    color: #fff;
    font-family: 'Alegreya Sans SC', sans-serif;
}
.footer {
    padding-bottom: 60px;  
    background: url('http://americasfirstchoicemortgage.mortgagexsites.com/xSites/Mortgage/AmericasFirstChoiceMortgage/Content/UploadedFiles/tweed-dark.png') !important;
    color: #fff;
}
#stickyfooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #222;
    background-image: none;
    background-repeat: repeat-x;
    border-top: 1px solid #222;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'Alegreya Sans SC', sans-serif;
    z-index: 999999;
}
.xs-site-footer a {
    color: #CE4240;
    text-decoration: none;
}
.xs-site-footer a:hover {
    color: #CE4240;
    text-decoration: underline;
}

.xs-site-footer-copyright {
color: #fff;
font-size: 11px;
    padding-bottom: 10px;
}
.xs-site-footer hr {
    display: none;
}
#name {
    text-transform: uppercase;
    font-size: 1.5em;
}

