body {
    background-color: #FFFFFF;
    font-family: 'Open Sans', serif;
}

h1, h2, h3, h4, h5, h6, .button, button {
    font-family: 'Alegreya Sans', serif;
}

h1 {
	font-size: 28px;
}

p, dt, dd, li, label, div {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

th strong {
	font-size: 15px;
}

th em {
	color: #A0A0A0;
}

a:hover {
	color: #f94249;
    transition: all 0.1s ease-in;
}

header {
	background: #d7dadb;
	border-bottom: solid 5px #f94249;
}

header .logo a {
	width: 160px;
	background: transparent url("../images/logo.png") no-repeat center center;
	background-size: 100%;
	display: block;
	height: 120px;
	margin: 0 auto;
}

.smallmenubutton {
	background: transparent url("../images/menubutton.png") no-repeat scroll center 20px;
    color: #ffffff;
    display: block;
    position: absolute;
    right: 20px;
    top: 30px;
    height: 60px;
    line-height: 100px;
    padding: 0 0 0 60px;
    vertical-align: top;
    width: 80px;
    z-index: 2;
}

.smallnav {
	display: none;
	padding: 0 2rem 1rem;
}

.smallnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smallnav h3 {
	color: #2c3e51;
}

.smallnav a {
	color: #2c3e51;
}

.bannerbox {
	background: transparent url("../images/header.png") no-repeat center center;
	margin-bottom: 1.25rem;
	height: 130px;
}

.home .bannerbox {
	height: 350px;
}

.home .bannerbox p {
    font-family: 'Alegreya Sans', serif;
	color: #FFFFFF;
	font-size: 36px;
	float: right;
	text-align: right;
	margin-top: 6rem;
	margin-right: 2rem;
	text-shadow: 1px 1px 2px rgba(64, 64, 64, 1);
}
.row.offers, .row.payoff {
	margin: 0 auto;
}

footer {
	padding: 1rem 0;
	background: #2c3e51;
	color: #FFFFFF;
}

footer a {
	color: #FFFFFF;
}

footer h3 {
	text-transform: uppercase;
	font-size: 16px;
	color: #f94249;
}

footer ul {
	margin: 0;
	padding: 0;
}

footer ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .nav ul li, footer .contact {
	font-size: 12px;
	line-height: 1.6;
}

footer .contact a {
	text-decoration: underline;
}

footer .nav {
	border-right: solid 1px #f94249;
}

.button, button {
	background: #f94249;
	border-radius: 5px;
	padding: 0.5rem 2rem 0.5rem;
}

.button:hover, button:hover {
	background: #2c3e51;
}

.payoff {
	background: #6dbddb;
	color: #FFFFFF;
	padding: 1rem 0;
}
.payoff h2 {
	color: #FFFFFF;
	margin: 0.5rem 0 0 0;
	font-size: 20px;
}

.payoff .button {
	margin: 0.5rem 0.5rem 0 0;
}

.payoff p {
	margin: 0;
}

.page-image {
	padding: 5px;
	border: solid 1px #E0E0E0;
	border-radius: 3px;
	box-shadow: 3px 3px 3px #F0F0F0;
	margin: 0 0 10px 10px;
}

.content .payoff {
	margin-bottom: 1.25rem;
}

.credits p {
	color: #808080;
	font-size: 9px;
	margin: 1rem;
}

@media only screen and (min-width: 40.063em) {
	.smallnav, .smallmenubutton {
		display: none;
	}
	
	
	header nav ul {
		display: inline-block;
		list-style: none;
		width: 100%;
	}

	header nav {
		display: inline-block;
		width: auto;
		height: 120px;
	}

	header .mainnav {
		padding-right: 0;
	}

	header nav ul li {
		font-family: 'Alegreya Sans', serif;
		font-size: 16px;
		line-height: 120px;
		list-style: none;
		display: inline-block;
		padding: 0 0.01rem;
		margin: 0;
		transition: all 0.2s ease-in;
	}

	header nav ul li:hover {
		background: #f94249;
	}


	header nav ul li a {
		color: #2c3e51;
		line-height: 120px;
		display: block;
	}

	header nav ul li:hover a {
		color: #FFFFFF;
	}

}

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	header .logo a {
		width: 148px;
		background-size: 100%;
	}

	header nav ul li {
		padding: 0 0.35rem;
	}
}
@media only screen and (min-width: 64.063em) {
	header .logo a {
		width: 296px;
		height: 120px;
	}

	header nav ul li {
		padding: 0 0.75rem;
	}

	.content #content {
		padding: 0;
	}
}
