/*BABL*/
.logoAndTitle {display: block;
			   margin-left: auto; 
			   margin-right: auto;
			   width: 600px;
			   max-width: 100%;
			   margin-top: 10px; 
			   margin-bottom: 10px;} 
h1.pageTitle {text-align: left;}
h1 {line-height: 1.2;}
h2 {line-height: 1.2;}
h2.clearLeft {clear: left;}
.clearLeft {clear: left;}
hr {clear: left;}
header hr {margin: 0px;}
body {font-family: arial, calibri; line-height: 1.5; margin-top: 0px; overflow-x: hidden;}
article {background-color: silver; border-radius: 5px;  padding: 0px 5px 0px 5px;}
article p {margin-top: 0px;}
section {border: solid black 1px; background-color: whitesmoke; border-radius: 5px;  padding: 0px 5px 5px 5px;}
section p {padding: 0 5px 0 5px;} /*top right bottom left*/
footer {text-align: center; background-color: #555555; border-radius: 5px; color: white}
nav.horiz {overflow: hidden; width: 100%; background-color: black; 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: orange; text-shadow: 0px 0px 10px orange;}
nav.horiz a:visited {color: orange;}
nav.horiz a:hover {color: red; /*font-weight: bold;*/}

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.left-align {float: left; border-radius: 5px; vertical-align: top; margin-right: 10px; margin-top: 5px; margin-left: 0px;}
img.right-align {float: right; border-radius: 5px; vertical-align: text-top; margin-left: 5px; margin-right: 0px; height: 7.5em;}
img.AtPageTitle {height: 4em; border: 1px solid  black; margin-bottom: 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: 0px;
	padding: 2px 5px 1px 5px;
	color: green;
	background: #555555;
	border:2px solid  darkgray;
	border-radius: 5px;
	text-align: center;
	margin-bottom: 5px;
}

/*.button-box a:link {color: orange; text-shadow: 0px 0px 5px orange;}
.button-box a:visited {color: orange;}
.button-box a:hover { text-shadow: 0px 0px 10px orange; color: red; /*font-weight: bold;}
*/

.button-box a:hover {color: lime; font-weight: bold;}
.button-box a:visited {color: #00E516; text-shadow: 0px 0px 30px #00E516;}
.button-box a:link {color: #00E516; text-shadow: 0px 0px 10px #00E516;}

.sub-article{border: solid black 1px; background-color: gainsboro; border-radius: 5px;  padding: 5px; overflow: auto;}
.sub-article h3{margin-top: 0px;}


/*FORM STUFF*/

div.field {
	line-height: 1.4em;
	margin: 0.8em 0 0;
	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: 768px){
	.horiz-nav{display: none}
	h1.pageTitle {margin-top: 5px;}
	div.pageTitle h2 {padding-top: 0px; padding-bottom: 0px;}
	div.pageTitle h2 {margin-top: 0px; margin-bottom: 0px;}
	.button-box {display: block; margin-right: auto; margin-left: auto;}
	section p {padding: 0;}
	img.left-align {max-width: 45%; height: auto;}
	img.AtPageTitle {width: 30%;}
	img.right-align {width: 33%; height: auto;}
	ul li {padding: 10px; text-align: left;}
	h3 {text-align: left;}
	body h2 {text-align: left;}
	body {margin-left: 2px; margin-right: 2px}
	form label {text-align: left; width: 100%;} 
	video {max-width: 100%;}
	iframe {
        max-width: 100%;
	}

}

@media(min-width: 769px){
	.open-slide{display: none}	
}