/* COLOUR PALETTE 
#0870b0 - FOGCHECK BLUE */

/* GLOBAL PROPERTIES 
----------------------*/

html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	overflow: auto;
	padding: 10px 20px;
}

body {
	font-family: "Roboto", Helvetica, sans-serif;
	background:#f4f4f4;
	margin: 0;	
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;	
}

h1 {
	color: #0870b0;
	font-size: 28px;
	line-height: 1px;
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-weight: 500;
}


/* NAVIGATION 
---------------*/

#topNavigation {
	text-align: center;	
	padding: 30px 0;
	border-bottom: 2px solid #999;
}

.navContainer {
	max-width: 950px;
	margin: 0 auto;
	overflow: none;
	padding: 10px 20px;
}

.navLogoBox {
	float: left;
	width: 30%;
	top: 0;
}

.navLogo {
	width: 240px;
	padding: 5px;
}

.navigationTabs {
	float: right;
	width: 70%;
	text-align: center;
}

.navigationTabs a {
	color: #0870b0;
	padding: 12px 20px;
	font-weight: 700;
}



/* HEADING AND FOOTER 
----------------------*/

.heading {
	text-align: center;
	position: relative;
	background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.5));
	background-size: cover;
	border-bottom: 1px solid #999;
	padding: 1.5em 0 1.5em;
}

.ftcL {
	text-align: center;
	width: 150px;
	padding: 6px;
}

.ftcW {
	text-align: center;
	width: 400px;
}

.heading h2 {
	color: #0870b0;
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-weight: 1000;
}

.welcome {
	background-color: #0870b0;
	padding: 20px 0 20px;
}

.welcome p {
	color: white;
	font-size: 18px;
	font-weight: 100;
}
.welcome h1 {
	color: white;
	font-family: "Roboto", "Segoe UI", sans-serif;
	text-align:center;
	line-height: 7px;
}

#footerPrimary {
	background-color: #222;
	color: white;
}

#footerPrimary h3 {
	background-color: #222;
	color: #0870b0;
	line-height: 0.8em;
}

.footerUL {
	list-style: none;
	padding-left: 8px;
	float:left;
	margin:0;
}

	.footerLI a {
		text-decoration: none;
		color: #0870b0;
	}
	.footerLI a:hover {
		text-decoration: underline;
	}

.ftcLogo {
		width: 200px;
		float:right;
	}

#footerSecondary {
	background-color: #444;
	color: white;
	font-size: 12px;
}

/* SECTIONS 
--------------*/

#badges a {
	text-decoration: none;
	margin: 0;
}

.box {
	text-align:center;
	width:300px;
	margin: 0 auto;
}
#badges p {
	color:#0870B0;
	margin: 5px 3px;
	font-size:14pt;
}

.boxLogo {
	height:128px;padding-bottom:5px;
}

.boxGroup {
	display:flex;
	text-align:center;
	
    width:90%;
    margin: 0 auto;
    height:300px;
}
.boxGroup div {
	padding:2px 5px;
}
.boxGroup .box {
	height:250px;
	width:35%;
	padding: 10px;
	margin:0 auto;
	margin-top:25px;
}
#boxSole div {
	padding:2px 5px;
}

/* MEDIA QUERIES 
----------------------*/

@media all and (max-width: 500px) {
	.ftcW {
		width:200px;
	}
	.welcome h1 {
		line-height:normal;
	}
	.boxLogo {
		height:120px;padding-bottom:5px;
	}
	
	.boxGroup {
		display:inline;
		text-align:center;
		height:1000px;
		width:100%;
		margin: 0 auto;
	}
	.boxGroup div {
		padding:2px 5px;
	}
	.boxGroup .box {
		height:250px;
		width:100%;
		padding: 10px;
		margin:0 auto;
		margin-top:25px;
	}
	#boxSole div {
		padding:2px 5px;
	}
	.box {
		text-align:center;
		width:300px;
		margin: 0 auto;
	}
}