/*
 * Start Bootstrap - Landing Page (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body,
html {
    width: 100%;
    height: 100%;
    color: #606060;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 99998;
    background-color: rgba(0, 0, 0, .3);
    display: grid;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    font-weight: normal;
}
.modal_box {
    max-width: 400px;
    padding-top: 20px;
    padding-bottom: 30px;
    padding-left: 35px;
    padding-right: 35px;
    z-index: 1;
    margin: 30px 15px;
    background-color: white;
    transition: opacity .4s, visibility .4s;
}
.modal_box .form-control {
    margin-top: 25px;
    margin-bottom: 5px;
}

.modal_box input  {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    border-radius: 0;
}
.modal_box .one-line input {
    width: 150px;
    font-size: 13px;
    margin-top: 18px;
}
.modal_box p {
    text-align: center;
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 10px;
}
.modal_box h1 {
    text-align: center;
}
.modal.open {
    visibility: visible;
    opacity: 1;
}
.one-line {
    display:flex;
    justify-content: space-between
}
.modal_box a {
    margin-left: 100px;
}
.modal_box .error {
    border: 1px solid red;
}
.modal_box .err-message {
    color: red;
    margin-left: 10px;
}
input#email_input.form-control.error::placeholder {
    color: red;
}
.modal-container {
    float: right;
    padding-bottom: 15px;
    margin-top: -15px;
    font-weight: normal;
}
.btn-cancel {
    color: #337ab7;
}
.btn_small {
    font-size: 16px;
    color: #fff;
    background-color: #3e5819;
    width: 100%;
    float: left;
    text-align: center;
    padding: 7px;
    font-weight: normal;
    transition: background-color 0.5s ease;
}
.btn_small:hover {
    text-decoration: none;
    background-color: #597f23;
    cursor: pointer;
    color: #fff;
}
.btn_small:focus {
    color: #fff;
}

.lo-header-image {
	position: relative;
}

.lo-photo {
	position: absolute;
	left: -60px;
	top: 5px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.phone_us_lo {
	padding-right: 35px;
	padding-top: 12px;
}

* {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
font-smoothing: antialiased;

text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}


body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

/*.navbar */

.topnav {
    font-size: 14px; 
    background-color: #fff;
    text-align: center;
    height: 107px;
    border-bottom:1px #f9f9f7 solid;
}

.bottomnav {
background-color: #fff;
    text-align: center;
    height: 60px;
    width: 100%;
    box-sizing: none;
}

.pin {
    margin-top: 30px;
}

.navbar {
    margin-bottom: 0px;
}

.navbar-default {
    background-color: #fff;
}

.navbar-toggle {
    margin-top:35px;
}

.navbar-collapse {
    background-color: #fff;
    border:0px;
    z-index: 9999;
    position: relative;
}


.logo {
    margin: 20px auto 5px auto;
}

.navigation {
     margin: 20px auto 5px auto;
     width: auto;
}

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
}

.navbar-header {
    width: 100%;

}

.navbar-default .navbar-nav>li>a {
    font-size: 15px;
    color: #979797;
    text-transform: uppercase;
    font-weight: 400;
    padding: 20px 30px;
}

/******** Form quote ************/

.quote {
    margin-bottom: 30px;
    background: #f9f9f7;
    padding-top: 40px;
}

.form_box2 {
     background-color: #fff;
    padding: 0px 0px 40px 0px;
    margin-left: 40px;
    margin-bottom: 40px;
}

.form_box2 {
    background-color: #e6eef1;
    padding: 0px 0px 40px 0px;
    margin-left: 40px;
    margin-bottom: 40px;
}

.form_box2 h3 {
    font-size: 18px;
    color: #363636;
    margin: -30px 0px 20px 0px;
    padding: 0px;
    font-weight:normal;
}

.form_box2 img {
    width: 100%;
    height: auto;
}

.form_box2 .form-inline {
    width: 100%;
    padding: 0px 40px 0px 40px;
}

.form_box2 h3{
    padding-top: 55px;
}

.form_box2 .form-group input {
width: 100% !important;
border-radius: 0px;
margin-bottom:20px;
-webkit-box-shadow: none;
font-size: 15px;
color: #7b7b7b;
padding: 8px 12px;
font-weight:normal;

}

.quote h2 {
   /*background: url(../i/about.jpg) no-repeat bottom center; */
   background-size: cover;
   width:380px;
   height: 80px;
   font-size: 30px;
   padding: 45px 0px 0px 0px;
   margin:0px 0px 100px 0px;
   text-align: center;
}


.quote .aboutbox {
    padding: 50px 80px 40px 80px;
}

.quote .aboutbox p {
font-size: 15px;
line-height: 22px;
font-weight: normal;
margin-bottom: 30px;
}

.quote .aboutbox a {
    color: #69952b;
    font-size: 15px;
    /*text-decoration: underline;*/
}


/******** ABOUT ************/


.about {
   /*background: url(../i/bg_about.jpg) no-repeat bottom center;*/
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.form_box {
    background-color: #fff;
    padding: 0px 0px 40px 0px;
    margin-left: 40px;
    margin-bottom: 40px;
}

.form_box h3 {
    font-size: 18px;
    color: #363636;
    /*margin: -30px 0px 20px 0px;*/
    padding: 0px;
    font-weight:normal;
}

.form_box img {
    width: 100%;
    height: auto;
}

.form_box .form-inline {
    width: 100%;
    padding: 0px 40px 0px 40px;
}
.form-group {
    width: 100%;
}


.form_box .form-group input, .form_box .form-group textarea {
width: 100% !important;
border-radius: 0px;
margin-bottom:20px;
-webkit-box-shadow: none;
font-size: 15px;
color: #7b7b7b;
padding: 8px 12px;
font-weight:normal;

}

.form_box .form-group textarea {
    resize: vertical;
}

a.btn_small {
font-size: 16px;
color: #fff;
background-color: #3e5819;
width: 100%;
float: left;
text-align: center;
padding: 7px;
font-weight: normal;
 transition: background-color 0.5s ease;
}

a.btn_small:hover {
    text-decoration: none;
    background-color: #597f23;
    cursor: pointer;
}



.about h2 {
  /*background: url(../i/about.jpg) no-repeat bottom center; */
   background-size: cover;
   width:380px;
   height: 80px;
   font-size: 30px;
   padding: 45px 0px 0px 0px;
   margin:0px 0px 140px 0px;
   text-align: center;
}


.aboutbox {
    padding: 0 80px 40px 80px;
}

.aboutbox p {
font-size: 15px;
line-height: 22px;
font-weight: normal;
margin-bottom: 30px;
}

.aboutbox a {
    color: #69952b;
    font-size: 15px;
    /*text-decoration: underline;*/
}

.container.box_grid {
    display: none;
}

.calculator-box{
    width: 100%;
    display: flex;
}

.calculator-box iframe{
    width: 500px;
    margin: 0 auto;
    height: 630px !important;
    position: inherit;
    border: none;
}



/*************** box grid ***************/

a.team_box {
    background: url(../i/bg_join.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 253px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.team_box h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}


a.quote_box {
    background: url(../i/bg_quote.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 253px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.quote_box h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}

.apply-now-link {
    width: 100%;
}

.apply-now-link img {
    width: 100%;
}

a.social_box {
    background: url(../i/bg_social.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 230px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.social_box h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}




a.rates_box {
    background: url(../i/bg_rates.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 500px;
    float: left;
    
    margin-bottom: 20px;
    cursor: pointer;
}
a.rates_box h2 {
    font-size: 30px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}

a.rates_box:hover {
    text-decoration: none;
}


.box_grid .col-md-6, .col-md-12{
    padding: 0px !important;
}

/*************** NEWS ***************/

.newsheading {
    width: 100%;

}

.news h2 {
   background: url(../i/news.jpg) no-repeat bottom center; 
   background-size: cover;
   width:300px;
   height: 80px;
   font-size: 30px;
   padding: 45px 0px 0px 0px;
   margin:30px auto 30px auto;
   text-align: center;
}


.boxnews {
    background-color: #f8f8f6;
    padding: 30px;
    border-right:20px solid #fff;
    margin-bottom: 20px;
    float: left;
}

.boxnews h3 {
    margin: 0px;
    font-size: 18px;
    font-weight: normal;
    line-height: 25px;
    margin-bottom: 15px;
}

.boxnews span {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 20px;
     float: left;
background: url(../i/clock.png) no-repeat top left;
padding-left: 20px;
     
}

.boxnews p {
    font-size: 13px;
     font-weight: normal;
    width: 100%;
    float: left;
}


/******************** promos ****************/


.promos .col-lg-12 {
    padding: 0px;
    margin-bottom: 10px;
}


.promos .col-md-4 {
    padding: 0px;
}


a.afford {
    background: url(../i/bg_afford.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 300px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.afford h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}

a.process {
    background: url(../i/bg_process.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 300px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.process h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}


a.box_mortgage {
    background: url(../i/bg_mortgage_promo.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 300px;
    float: left;
    border-right: 20px #fff solid;
    margin-bottom: 20px;
    cursor: pointer;
}
a.box_mortgage h2 {
    font-size: 18px;
    font-weight: 100;
    color: #080808;
    margin:25px 0px 0px 25px;
    padding: 0px;
}


/************************************************************/
.top-mid2 {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 10px;
    padding-top: 10px;
}

.lo_top-menu2 {
	margin: 0px !important;
	/*top: -42px !important;*/
}

.top-menu2 {
	margin: 0px !important;
}

.top-menu2 li {
	display: inline;
}

.navbar-nav > li > a {
	background: #ffffff;
	color: #979797;
	border: none;
	text-transform: uppercase;
	font-weight: 400;
	padding: 20px 12px;
	font-size: 15px;
}

.dropdown-menu {
	min-width: 200px !important;
	/*text-align: center !important;*/
	top: 90% !important;
}

.navbar-nav .dropdown-item {
	/*width: 100% !important;*/
	/*text-align: center !important;*/
	width: 280px !important;
	text-align: left !important;
}

.navbar-nav  .dropdown-item:hover {
    background: #EEEEEE;
}

.phone_us2 {
	margin: 0 0 0 85px;
	width: 210px;
	color: #247aa4 !important;
	font-size: 20px;
	padding-top: 10px;
}

.phone_us2 li {
	margin-left: 35px;
}

.phone_us2::before {
    content: url(../i/top_phone.png);
    position: absolute;
    float: left;
}

#menu-icon2 {
	float:right;
	display: none;
	width: 40px;
	height: 40px;
	
	position: relative;
	padding: 9px 10px;
	background-color: transparent;
	border: 1px solid grey;
	border-radius: 4px;
}

.menu-icon2-bar {
	height: 2px;
	background-color: grey;
	margin-bottom: 7px;
}

#menu-icon2:hover {

	background-color: #ACB5BE;

}

.lo_top-right2 {
	right: 160px;
	position: absolute;
	top: 10px;
	width: 160px;
}

.lo_top-left2 {
	position: absolute;
	left: 250px;
	top: 10px;
	width: 200px;
}

.lo_header2 {
	position: relative;
	height: 180px;
}

/*******************************************
****************  QUERIES  *****************
*******************************************/

@media only screen and (max-width: 1338px) {

	.navbar-nav button {
		padding: 10px 12px !important;
	}

    .top-mid2 {
        display: flex;
        justify-content: space-evenly;
        padding-bottom: 10px;
    }
	
	.lo_header-top2 {
		position: relative;
		height: 60px;
	}
	
	.dropdown button {
		padding-left: 30px !important;
		background-color: #FFFFFF !important;
	}
	
	.top-left2 {
		left: 5px;
        position: absolute;
        top: 5px;
        width: 200px;
	}

    .top-right2 {
		display: none;
	}

    .top-menu2 {
        display: none;
    }
	
	.header2 {
        position: relative;
		height: 70px;
	}

    .header-top2 {
        position: relative;
        height: 60px;
    }

	.lo_header2 {
		height: 70px;
	}

    .lo_header-top2 {
        position: relative;
        height: 104px;
    }

    .header2 {
        /*position: relative;*/
        /*height: 144px;*/
    }

    .top-left2 {
        position: absolute;
        left: 20px;
        top: -55px;
        width: 200px;
    }

    .top-right2 {
        position: absolute;
        right: 0px;
        top: 10px;
        width: 200px;
    }
	
	#menu-icon2 {
		display:inline-block;
		margin-top: 15px;
		margin-right: 5px;
	}
	
	.phone_us2 {
		display: none;
	}

    .responsive {
        display: block;
        position: absolute !important;
        top: 5px;
        right: 5px;
        width: 500px;
        margin: 0 !important;
        z-index: 150;
        border: 1px solid grey;
        border-radius: 5px;
        padding-top: 1px;
    }

    .top-mid2 {
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        position: relative;
    }

	.responsive li {
		float: none;
		display: block;
		width: 100%;
		background-color: #FFFFFF;
	}

	.responsive li  a{
		display: block;
		text-align: left;
		font-size: 15px !important;
	}
	
	.responsive .dropdown-menu {
		position: relative;
		width: 100%;
		margin: 0px !important;
	}
	
	.responsive button {
		background-color: #FFFFFF !important;
	}
}
/************************************************************/





/************** footer *************/

.footer {
    width: 100%;
    
    background-color: #1a1a1a;
    color: #828280;
    font-size: 13px;
    float: left;
}

.legal {
    float: left;
    padding: 20px;
}
.callus {
    float: right;
    padding: 20px;
}





.lead {
    font-size: 18px;
    font-weight: 400;
}




.about-header {
  padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
    padding-bottom: 50px;
    text-align: center;
    color: #f8f8f8;
    background: url(../i/banner-bg.jpg) no-repeat center center;
    background-size: cover;
    height: 270px;
    /*margin-bottom: 40px;*/
}


.about-header .intro-message {
    position: relative;
    padding-top: 40px;
   
    z-index: 100 !important;
}

.about-header .intro-message h1{
    font-size: 50px;
}

.intro-header {
    padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
    padding-bottom: 50px;
    text-align: center;
    color: #f8f8f8;
    background: url(../i/banner-bg.jpg) no-repeat center center;
    background-size: cover;
    height: 570px;
    margin-bottom: 40px;
}

.intro-message {
    position: relative;
    padding-top: 100px;
   
    z-index: 100 !important;
}

.intro-message  h1 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
}

.intro-divider {
    width: 400px;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.intro-message > h3 {
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
    font-size: 18px;
    margin-bottom: 60px;
}


a.btn_large {
    font-size: 18px;
    border-radius: 4px;
    border: 2px  #fff solid;
    padding: 10px 90px 10px 90px;
    color: #fff;
     transition: background-color 0.5s ease;
}

a.btn_large:hover {
    text-decoration: none;;
    background-color: #fff;
    color: #333;
cursor: pointer;
}



@media(max-width:767px) {
    .intro-message {
        padding-bottom: 15%;
    }

    .intro-message > h1 {
        font-size: 3em;
    }

    ul.intro-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.intro-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    .intro-divider {
        width: 100%;
    }

    .top-menu2{
        width: 100%;
    }
}

.network-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

.content-section-a {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 50px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7e7e7;
}

.banner {
    padding: 100px 0;
    color: #f8f8f8;
    background: url(../i/banner-bg.jpg) no-repeat center center;
    background-size: cover;
}

.banner h2 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
    font-size: 3em;
}

.banner ul {
    margin-bottom: 0;
}

.banner-social-buttons {
    float: right;
    margin-top: 0;
}


@media(max-width:768px) {
    .bottomnav {
       height: 0px;
       overflow: visible;
    }
    .about {
        flex-flow: column;
    }

    .about .form_box:nth-of-type(1) .form-inline{
        padding-left: 0;
    }
    .form_box2 h3 {
        padding-top: 25px;
    }
    .form_box2 .form-inline {
        width: 100%;
        padding: 0px 40px 40px 40px;
    }
    .form_box2{
        margin: 30px 0 0;
    }
    .quote .col-md-7{
        padding: 0;
    }
    .calculator-box {
        margin-top: 20px;
    }
}



@media(max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    .banner h2 {
        margin: 0;
        text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
        font-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
    background-color: #f8f8f8;
}

p.copyright {
    margin: 15px 0 0;
}

.an-input-fix {
	margin-bottom: 20px;
	width: 100%;
}

.navbar-nav button {
	background: #ffffff;
	color: #979797;
	border: none;
	text-transform: uppercase;
	font-weight: 400;
	padding: 20px 30px;
	font-size: 15px;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #555;
    background-color: transparent;
}

.dropdown-menu {
	top: 90% !important;
}

/********************************************************/

/********************************************************/