.first-content{
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 625px;
	border-bottom: 0.25em solid #2a3890;
}
.first-title{
	position: relative;
	top: 100px;
	left: 0;
	width: 100%;
}
.first-title h1{
	color: white;
	text-shadow: 2px 2px 4px rgba(0,0,0,1);
	font-size: 12vw;
	font-weight: 600;
	text-align: center;
	width: 100%;
	line-height: 1;
}
.first-title .button{
	position: absolute;
	left: 50%;
	transform: translate(-50%,0);
}







.second-content{
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: -245px auto 0 auto;
	max-width: 1440px;
}
.second-content a{
	width: 33%;
	margin: 0 15px;
	background-color:#aaa;
	box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
}
.second-content a .pic{
	background-repeat: no-repeat;
	height: 175px;
	background-position: center;
	background-size: cover;
}
.second-content a h2,
.second-content a p{
	text-align: center;
	color: #101438;
	transition: color 250ms ease-in-out,
	background-color 250ms ease-in-out;
}
.second-content a h2{
	padding: 12.5px 15px;
	font-size: 2em;
}
.second-content a p{
	padding: 0 15px 12.5px 15px;
}



.second-content a:nth-child(1):hover h2, 
.second-content a:nth-child(2):hover h2, 
.second-content a:nth-child(3):hover h2{
	color: #fbae42;
}
.second-content a:nth-child(1):hover,
.second-content a:nth-child(2):hover,
.second-content a:nth-child(3):hover{
	background-color: #2a3890;
}
.second-content a:nth-child(1):hover p,
.second-content a:nth-child(2):hover p,
.second-content a:nth-child(3):hover p{
	color: white;
}





.third-content{
	padding: 25px 5% 35px 5%;
	
}
.third-content h1,
.endPics-header{
	text-align: center;
	color: #1c204d;
	font-size: 4vw;
	font-weight: 700;
	padding-bottom: 10px;
}
.third-content p{
	text-align: left;
	color: black;
}




.fourth-content{
	display: flex;
	flex-direction: row;
	width: 100%;
	color: white;
}
.fourth-content .right-half{
	box-sizing: border-box;
	width: 50%;
	background-color:#252f77;
	box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
	padding: 50px;
}
.fourth-content .left-pic{
	width: 50%;
	background-image: url("images/financing-banner.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.fourth-content h2{
	font-size: 3em;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 33px;
}
.fourth-content p{
	margin-bottom: 33px;
}
.fourth-content .fourthButtonContainer{
    display: flex;
    width: 100%;
    align-items: stretch;
}
.fourth-content .fourthButtonContainer a{
    flex: 1;
    display: flex;
    width: 50%;
}
.fourth-content .button{
	text-align: center;
	font-size: 1.25vw;
	white-space: initial;
	display: flex;
	align-items: center;
	width: 100%;
}


.beforeAfter-container{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 55px;
}
.beforeAfter-container .container{
	height: 500px;
	width: calc(50% - 30px);
	margin: 15px;
	font-weight: 700;
	text-align: center;
	font-size: 2em;
}
.beforeAfter-container .container div{
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	width: 100%;
	height: calc(100% - 30px);
}
.beforeAfter-container p{
	font-size: 40px;
	margin-bottom: 4px;
}




.misc-container{
	display: flex;
	flex-direction: column;
	padding: 50px 5% 20px 5%;
}


.misc-container .faq{
	background-color: #e6e6e6;
	margin-bottom: 15px;
}
.misc-container .faq div{
	background-color: #1c204d;
	color: white;
}
.misc-container .faq p,
.misc-container .faq div{
	padding: 10px 20px;
}
.misc-container .testimonials{
	background-color: #e6e6e6;
	padding: 20px 10px 20px 50px;
	margin-bottom: 25px;
}
.misc-container .testimonials p{
	line-height: 25px;
	margin-bottom: 15px;
}
.misc-container .testimonials .quoter{
	font-size: 1.25em;
	font-weight: 700;
	color: #05081e;
}






















form {
  max-width: 600px;
  margin: 0 auto;
}

label {
  display: block;
  margin-top: 15px;
}

input[type="text"],
input[type="email"],
textarea,
#content {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #e6e6e6;
}
#content{
	height: 117px;
	margin: 0;
}























@media only screen and (min-width: 1050px){
	.first-title h1{
		font-size: 127px;
		top: 50px;
	}
}
@media only screen and (max-width: 1028px){
    .fourthButtonContainer{
        flex-direction: column;
    }
    .fourth-content .fourthButtonContainer a{
        width: 100%;
    	margin: 0 0 20px 0;
    	display: block;
    }
    .fourth-content .button{
        display: block;
        font-size: 2vw;
        padding: .97em 0;
    }
}
@media only screen and (max-width: 790px){
	.fourth-content .right-half{
		padding: 30px;
	}
	.second-content{
		flex-direction: column;
	}
	.second-content a{
		width: calc(100% - 100px);
		margin: 10px 50px;
	}
	.fourth-content .button{
		font-size: 3vw;
	}




	.third-content h1{
		font-size: 3em;
		font-weight: 700;
	}
	.third-content p{
		font-size: 1em;
		line-height: 1em;
	}
	.beforeAfter-container .container{
		height: 300px;
	}
	.beforeAfter-container p{
		font-size: 30px;
		margin-bottom: 2px;
	}
}




@media only screen and (max-width: 600px){
	.fourth-content .left-pic{
		display: none;
	}
	.fourth-content .right-half{
		width: 100%;
	}
	.beforeAfter-container .container{
		height: 200px;
		width: calc(50% - 30px);
		margin: 10px;		
	}
	.beforeAfter-container p{
		font-size: 20px;
		margin-bottom: 0;
	}
	.fourth-content .button{
		font-size: 4vw;
	}
}


@media only screen and (max-width: 500px){
	.first-title h1{
		font-size: 45px;
		top: 50px;
	}
	.second-content a{
		width: calc(100% - 10px);
		margin: 5px;
	}
	.third-content h1{
		font-size: 2em;
		font-weight: 700;
	}
}




