html[xmlns^="http"] {
	overflow-y: scroll;
}

html {
	margin: 0;
	padding:0;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #aac3d9;
	background-image: url('images/wave.svg');
	background-size: 100px;
	background-repeat: repeat;
	color: #004b8d;
	font-family: 'TeXGyreAdventor', tahoma, arial, sans-serif;
	font-size: 20px;
	line-height: 1.25em;
	font-weight: 400;
}

h1 {
	line-height: 1.25em;
	margin-top: 0;
	margin-bottom: 0;
}

h2 {
	color: #004b8d;
	line-height: 1.25em;
}

h3 {
	color: #004b8d;
	line-height: 1.25em;
}

a {
	color: #004b8d;
	text-decoration: underline;
}

div.container {
	position: relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

div.content {
	max-width: 970px;
	margin: 0 auto;
	padding: 12px;
	background: rgba(255, 255, 255, 0.75);
}

div.content-wide {
	width: 100%;
	padding: 12px 0;
}

span.h1 {
	font-size: 1.25em;
	font-weight: 700;
}

div.content-menu {
	padding: 0 12px;
}

div.content-menu div {
	line-height: 2em;
	color: #004b8d;
	border-width: 1px 0 1px 0;
	border-style: solid;
	border-color: #004b8d;
}

div.content-menu div a {
	text-decoration: none;
	padding-right: 1em;
	display: inline-block;
}

div.content-menu div a.active {
	font-weight: 700;
}

div.footer-space {
	padding-bottom: 111px;
}

div.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 111px;
	background-color: #004b8d;
	color: #aac3d9;
}

div.footer div.content {
	background: transparent;
}

div.footer div.content a {
	color: #aac3d9;
	text-decoration: none;
}

div.grey > * {
	opacity: 0.5;
}

div.grey p {
	margin-bottom: 0;
}

div.flex-parent {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: stretch;
	margin: -12px -12px;
}

div.flex-child {
	box-sizing: border-box;
	flex-shrink: 1;
	flex-grow: 1;
	padding: 12px;
}

div.flex-child-2 {
	width: 50%;
}

div.flex-child-3 {
	width: 33%;
}

div.flex-child-3-2 {
	width: 67%;
}

div.flex-child-4 {
	width: 25%;
}

div.flex-parent div.right {
	text-align: right
}

@media (max-width: 720px) {
	div.flex-parent div.right.soft {
		text-align: left;
	}
	
	div.content-menu div a {
		display: block;
	}

	div.footer-space {
		display: none;
	}

	div.footer {
		position: static;
		height: auto;
	}
	
	div.flex-child-2,
	div.flex-child-3,
	div.flex-child-2-3 {
		width: 100%;
	}

	div.flex-child-4 {
		width: 50%;
	}
}
