@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');

/*LOAN APP*/
#LoanApplication {
width: 100%;
position: relative;
}
#LoanApplication fieldset {
	background: white;
	box-sizing: border-box;
	width: 100%;
	/*stacking fieldsets above each other*/
}
/*Hide all except first fieldset*/
#LoanApplication fieldset:not(:first-of-type) {
	display: none;
}

#LoanApplication .row{
	margin-bottom:30px;
}

#LoanApplication input.invalid{
	background-color:#ffdddd;
}

#LoanApplication input.invalid:before{
	content:"Please double check your answer";
	color:red;
}

#LoanApplication input.valid{
	background-color:#ddffe0;
}

#LoanApplication h3{
	color:#fff !important;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step .active {
  opacity: 1;
  background-color:#06c;
}

/* Mark the steps that are finished and valid: */
.step .finish {
  background-color: #4CAF50;
}

#loanapp body{
	background: #f9f9f9;
}

a:hover{
	text-decoration: underline;
}

body {
    font-size: 18px;
    font-family: 'Roboto slab' ,sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-image:url('img/dots.jpg');
    background-size:cover;
    background-attachment: fixed;
}

h3{
	color:#ff9000;
}

.bg-blue{
	background-color: #6283d4;
	color:#fff;
}

.bg-gradient{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5e7b8d+0,2c526a+100 */
	background: #5e7b8d; /* Old browsers */
	background: -moz-linear-gradient(top, #5e7b8d 0%, #2c526a 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #5e7b8d 0%,#2c526a 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #5e7b8d 0%,#2c526a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5e7b8d', endColorstr='#2c526a',GradientType=0 ); /* IE6-9 */
	color:#fff;
}

.bg-img{
	background-attachment: fixed;
	color:#fff;
	background-position: center;
	background-size:cover;
}

.bg-white{
	background-color: #fff;
}

.btn-primary, .btn-primary:active{
	background-color: #ff9000;
	color:#fff !important;
	border-color:#ff9000;
	transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover{
	background-color:#fff;
	color:#ff9000 !important;
	border-color:#ff9000;
}

.btn-outline-primary{
	color:#ff9000;
	border-color:#ff9000;
	transition: background-color 0.2s ease-in-out;
}

.btn-outline-primary:hover{
	background-color: #ff9000;
	border-color:#ff9000;
}

.box-shadow{
	/*box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);*/
	transition: box-shadow 0.2s ease-in-out;
}

.box-shadow-active{
	box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);;
}

.box-shadow:hover{
	box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);;
}

button:hover{
	cursor:pointer;
}

.carousel-caption{
	top:50%;
	transform: translateY(-50%);
	bottom:auto;
}

.carousel-control.right{
	background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(136,23,25,.5) 100%);
	background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(136,23,25,.5) 100%);
	background-image: -webkit-gradient(linear,left top,right top,from(rgba(136,23,25,.0001)),to(rgba(0,0,0,.5)));
	background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(136,23,25,.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
	background-repeat: repeat-x;
}

.carousel-control.left{
	background-image: -webkit-linear-gradient(left,rgba(136,23,25,.5) 0,rgba(0,0,0,.0001) 100%);
	background-image: -o-linear-gradient(left,rgba(136,23,25,.5) 0,rgba(0,0,0,.0001) 100%);
	background-image: -webkit-gradient(linear,left top,right top,from(rgba(136,23,25,.5)),to(rgba(0,0,0,.0001)));
	background-image: linear-gradient(to right,rgba(136,23,25,.5) 0,rgba(0,0,0,.0001) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
	background-repeat: repeat-x;
}

.calculator{
	padding:20px;
}

.form-title{
    color: #fff;
    padding: 15px;
    margin: -20px -30px 10px;
    background-color: #2266ae;
}

footer{
	color:#fff;
}

footer img{
	margin:auto;
}

footer a{
	color:#fff;
	text-decoration:underline;
}

footer a:hover{
	color:#dddddd;
}

.header-content{
	height:75vh;
	background-position: center;
	background-size:cover;
	background-attachment: fixed;
}

.hide-hb{
	position: relative;
	padding:15px;
}

.homepage-bottom{
	position:absolute;
	margin-top:-145px;
	width:100%;
}

.homepage-bottom h2, .homepage-bottom .btn{
	display:inline;
}

.icon{
	font-size:72px;
	color:#6283d4;
}
.image-darken{
	position: absolute;
    left: 0;
    height: 0;
    background: #000;
    opacity: .25;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.image-darken:hover{
	position: absolute;
    left: 0;
    height: 0;
    background: #000;
    opacity: .05;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.info-row{
	padding:10px 0px;
}

.info-row p, .info-row .fa, .info-row a{
	color:#fff;
}

.info-row p{
	display:inline;
}

.info-row a{
	text-decoration: underline;
}

.info-row .fa{
	margin:0 5px 0 10px;
}

.lead{
	font-size:1.5em;
}

#msform label{
	display:block;
}

#msform {
width: 100%;
margin-bottom:100px;
position: relative;
}
#msform fieldset {
	background: white;
	border: 0 none;
	border-radius: 0px;
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
	padding: 20px 30px;
	box-sizing: border-box;
	width: 100%;
	margin: 0px 0 100px 0;
	
	/*stacking fieldsets above each other*/
	/*position: absolute;*/
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}

.navbar{
	border-bottom:1px solid #ddd;
}

.navbar-brand{
	font-size:1.5em;
	font-weight:500;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
	color:#fff;
	background-color:#ff9000;
	width:100%;
}

.nav-pills .nav-item{
	width:100%;
}

.nav-pills .nav-link{
	color:#777;
}

.orange{
	color:#ff9000;
}

/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
	text-align:center;
}
#progressbar li {
	list-style-type: none;
	color: #2266ae;
	text-transform: uppercase;
	font-size: 9px;
	width: 25%;
	float: left;
	position: relative;
	left:-2%;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 10px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: #2266ae;
	color: white;
}
.padding{
	padding:50px 0;
}
.show-fa .fa{
	display:none;
}

.sub-header{
	background:url('img/bldg.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	background-attachment: fixed;
	height:300px;
}

.sub-header h1, .sub-header p.lead{
	color:#fff;
	top:125px;
	bottom:0;
	position:relative;
}

@media(max-width:1024px){
	.carousel-item{
		height:400px;
	}
}

@media(max-width:768px){
	.carousel-item{
		height:auto;
	}
	.header-content{
		background-attachment: scroll;
	}
	.hide-hb{
		display:none;
	}
	.info-row p{
		display: block;
	}
	.last-call-out{
		text-align: center;
	}
}

@media(max-width:414px){
	.header-content{
		height:400px;
	}
	.carousel-caption h1{
		font-size:1.5em;
	}
	.navbar-brand{
		font-size:1.25em;
	}
	.navbar-brand img{
		width:200px;
	}
	.padding{
		padding:25px 0;
	}
}
@media(max-width:375px)
{
	.navbar-brand{
		font-size:1em;
	}
}

@media(max-width:320px)
{
	.navbar-brand{
		font-size:1em;
		font-weight:300;
	}
}

