h1 {}
header img {border: none;}
div.pageTitle h2 {margin-top: 10px; margin-bottom: 10px;}
.pageTitleColour {color: green}
header hr {margin: 0px;}
body {font-family: arial, calibri; text-align: justify; line-height: 1.5; margin-top: 0px; overflow-x: hidden;}
article {background-color: #D3D3D3; border-radius: 5px; padding: 5px;}
article p {margin-top: 0px;}
article h2 {margin-top: 0px;}
section {border: solid black 1px;}
section {background-color: whitesmoke; border-radius: 5px; padding: 5px 5px 5px 5px;}
section p {padding: 0 5px 0 5px; margin-top: 5px;}
img {border-radius: 5px;}
img.TextHeightx3 {height: 4.3em;}
footer {text-align: center; background-color: #555555; border-radius: 5px; color: white}
nav.horiz {overflow: hidden; width: 100%; background-color: #555555; display: flex; border-radius: 5px;}
nav.horiz ul {margin: 0px; padding: 0px;}
nav.horiz ul li {float: left; padding: 3px 10px 3px 10px;  border-radius: 5px; border-right: solid white 1px; border-left: solid white 1px; list-style: none;}
nav.horiz a:link {color: #eee; text-shadow: 0px 0px 10px #ddd;}
nav.horiz a:hover {color: white; font-weight: bold;}
nav.horiz a:visited {color: #eee}
nav.horiz .current a{color: red; font-weight: bold; text-shadow: 0px 0px 15px red;}
div.wrapper {max-width: 960px; margin-left: auto; margin-right: auto;}
img.middle-align {vertical-align: middle}
img.logoAndTitle {display: block; margin-left: auto; margin-right: auto; max-width: 100%;}
img.how-Works {float: left; vertical-align: top; margin-right: 10px; margin-top: 5px; margin-left: 5px; border: none; max-width: 35%; height: 4.5em;}
img.left-align {float: left; vertical-align: top; margin-right: 10px; margin-top: 5px; margin-left: 5px;}
.open-slide a {padding: 3px 10px 3px 10px;}

.clear{clear:both;}

.side-nav{
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #111;
	opacity: 0.9;
	overflow-x: hidden;
	padding-top: 60px;
	transition: 0.5s;
}

.side-nav a{
	padding: 10px 10px 10px 30px;
	text-decoration: none;
	font-size: 22px;
	color: #ccc;
	display: block;
	transition: 0.3s;
}

.side-nav a:hover{
	color: #fff;
}

.side-nav .btn-close{
	position: absolute;
	top:0;
	right: 22px;
	font-size: 36px;
	margin-left: 50px;
}

#main{
	transition: margin-left 0.5s;
	padding-top: 10px;
	overflow: hidden;
	width: 100%;
}

.button-box{
	float: left;
	margin: 5px;
	padding: 0px 10px 0px 10px;
	color: green;
	background: #555555;
	border:2px solid  darkgray;
	border-radius: 10px;
}
.button-box h2 a:hover {color: white; font-weight: bold;}
.button-box h2 {line-height: 1; text-align: center;}
.button-box a:visited {color: #eee; text-shadow: 0px 0px 30px #ddd;}
.button-box a:link {color: #eee; text-shadow: 0px 0px 10px #ddd;}

.sub-article{border: solid black 1px; background-color: whitesmoke; border-radius: 5px;  padding: 5px; overflow: auto;}
.sub-article h3{margin-top: 0px;}
.sub {margin: 5px;}

/*FORM STUFF*/

div.field {
	line-height: 1.4em;
	margin: 0.8em 0 0;
	text-align: justify;
	background-color: #f1948a;
	padding: 3px;
	border-radius: 3px;
}

div.amber-fields {background-color: #f8c471;}
div.green-fields {background-color: #82e0aa; overflow: hidden}

form label {
	width: 45%;
	display: inline-block;
	vertical-align: top;
}

form input {border-radius: 3px;}
form textarea {border-radius: 3px;}
form button {border-radius: 3px;}
form legend {font-weight: bold;}

form {
	padding: 20px;
}

form fieldset {
	/*margin: 1em 0;*/
	padding-top: 0px;
	/*border: 1px solid #999;*/
	border-radius: 4px;
}

/*Media query*/
@media(max-width: 659px){
	.horiz-nav{display: none}
	body h1 {padding-top: 0px; padding-bottom: 0px;}
	body h1 {margin-top: 0px; margin-bottom: 0px;}
	h2 {line-height: 1.2;}
	div.pageTitle h2 {padding-top: 0px; padding-bottom: 0px;}
	div.pageTitle h2 {margin-top: 5px; margin-bottom: 5px;}
	div.button-box {text-align: center;}
	img.left-align {max-width: 45%;}
	ul li {padding: 10px; text-align: left;}
	h3 {text-align: left;}
	body h2 {text-align: left;}
	form label {text-align: left; width: 100%;} 
	video {max-width: 100%;}
	.sub {margin-left: 0; margin-right: 0;}
}

@media(min-width: 660px){
	.open-slide{display: none}	
}