﻿* {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
}

html {
	min-height: 100%;
}

body {
	background-color: #E8E8E8;
}

#wrapper {
	border: solid 0px #000;
	color: #818181;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.125em;
	line-height: 1.4em;
	max-width: 700px;
	margin: 12px auto;
	padding: 0px;
	overflow: hidden;
	text-align: left;
	position: relative;
}

article {
	padding: 25px 25px 1rem 50px;
	background-color: #FFF;
}

header {
	padding: 0px 0px 0px 0px;
}

header img {
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	text-align: right;
}

section {
	padding: 0px 0px 0px 0px;
}

footer {
	padding: 0px 25px 16px 50px;
	background: #FFF;
}

img {
	vertical-align: middle;
}

aside:nth-of-type(1) {
	width: 48%;
	float: left;
}

aside:nth-of-type(2) {
	width: 48%;
	float: right;
}

h1 {
	padding: 5px 20px 5px 20px;
	color: #fff;
	line-height: 1.2em;
	font-size: 1.65em;
	margin: 35px -25px 25px 0px;
	background-color: #aaa;
}

h1 span {
	font-size: 70%;
	font-weight: normal;
}

h2 {
	font-size: 1em;
	line-height: 1.3em;
	margin-bottom: 2px;
}

p {
	margin-bottom: 12px;
	text-align: justify;
}

p:last-child {
	margin-bottom: 0px;
}

a {
	color: #337ab7;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #00386D;
}

p a span {
	background-color: #aaa;
	padding: 3px 35px;
	font-size: 16px;
	display: inline-block;
	color: #fff;
	font-weight: bold;
	border: 1px solid #aaa;
}

p a span:hover {
	background-color: #fff;
	color: #aaa;
}

p a span {
	margin: 5px 0px;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
	margin-top: 10px;
}

ul {
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 0px 0px;
	list-style-image: url();
	list-style: none;
}

ul li {
	background: url(iconlist.jpg) no-repeat 0px 10px;
	padding-left: 16px;
}

.clearfix {
	clear: both;
	font-size: 0px;
	line-height: 0px;
	display: block;
}

article p span a {
	color: #337ab7;
}

article section>ul {
	margin-bottom: 10px;
}

article p span a:hover {
	color: #23527c;
	text-decoration: underline;
}

article h2:last-of-type {
	padding-bottom: 0.7rem;
	margin-top: 0rem;
}

article section:last-of-type {
	margin-top: 0.7em;
}

article section:last-of-type img {
	width: 300px;
}

footer {
	background: #E8E8E8;
	text-align: right;
	padding-top: 10px;
}

footer img {
	padding-left: 20px;
}

@media screen and (max-width:699px) {
	#wrapper {
		width: 100%;
		font-size: 0.95em;
		line-height: 1.3em;
		border: none;
		margin: 0px;
	}

	p {
		margin-bottom: 3%;
		text-align: left;
	}

	h1 {
		margin-top: 15px;
	}

	article {
		padding: 12px;
	}

	footer {
		padding: 0 12px 12px;
	}

	section p:nth-of-type(1) {
		margin-bottom: 14px;
	}

	p a span {
		margin: 10px 0px;
		display: inline-block;
	}

	ul br {
		display: none;
	}

	aside:nth-of-type(1) {
		width: 100%;
		float: none;
	}

	article section>ul li {
		text-align: left;
	}

	article section:last-of-type img {
		width: 220px;
	}

	aside:nth-of-type(2) {
		width: 100%;
		float: none;
	}

	h1 {
		font-size: 1.25em;
	}

}
