﻿html,
body {
	background-color: #eee;
	font-family: Arial;
	font-size: 18px;
	line-height: 24px;
	height: 100%;
	margin: 0;
}

.box {
	display: flex;
	flex-flow: column;
	height: 100%;
}

.box .header {
	background-color: #FFFFFF;
	flex: 0 1 100px;
}

.box .content {
	background-color: #EEEEEE;
	flex: 1 1 auto;
}

.box .footer {
	background-color: #00008F;
	flex: 0 1 100px;
	padding-top: 10px;
}

.headerContent {
	position: relative;
	width: 70%;
	color: #00008F;
	margin: 0 auto;
}

.headerContent img{
	width: 400px;
}

.pageContent {
	position: relative;
	width: 70%;
	padding-top: 10px;
	margin: 0 auto;
}

.footerContent {
	position: relative;
	width: 70%;
	color: #FFFFFF;
	margin: 0 auto;
	font-size: 16px;
	text-align: center;
}

nav {
	position: absolute;
	top: 8px;
	right: 6px;
	width: 200px;
	float: right;
	z-index:100;
}

.menuIcon {
	position: relative;
	padding: 3px;
	float: right;
	cursor: pointer;
}

	.menuIcon i {
		font-size: 2em;
	}

.menu {
	display: none;
	width: 200px;
	background-color: #efefef;
	font-size: 16px;
	position: relative;
	float: right;
}

.menuItem{
	padding: 5px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.menuItem:hover{
	background-color:aliceblue;
	font-weight:bold;
}

	.menuItem a {
		color: #00008F;
		text-decoration: none;
	}

h1, h2 {
	color: #00008F;
}

.contentImage img {
	width: 100%;
	opacity: 0.4;
}

.partBlocks {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
}

.partBlock {
	position: relative;
	float: left;
	width: 270px;
	height: 345px;
	border: 0px solid grey;
	margin-top: 0px;
	margin-bottom: 20px;
	margin-left: 15px;
	margin-right: 15px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.1);
}

.partBlockContent {
	padding: 10px;
}

.partBlockContentText{
	min-height: 220px;
}
.partBlock img {
	width: 100%;
	opacity: 0.4;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

	.partBlock h2 {
		font-size: 18px;
	}

.readMore {
	color: #00008F;
	text-decoration: none;
	font-size: 14px;
}

.formBox {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
}

input[type=text] {
	width: 300px;
	height: 20px;
	font-size: 16px;
}

	input[type="submit"] {
		width: 150px;
		height: 24px;
		font-size: 16px;
		background-color: #00008F;
		color: #FFFFFF;
		cursor: pointer;
	}

.formRow {
	width: 100%;
	height: 30px;
	margin-bottom: 20px;
}

.formCellLabel {
	width: 200px;
	float: left;
	vertical-align: top;
}

.formCellValue {
	width: 400px;
	float: left;
	vertical-align: top;
}

.mandatory {
	color: red;
	padding-left: 5px;
	font-size: 13px;
}

.mandatoryLabel {
	color: red;
	font-size: 13px;
}

@media (max-width: 500px) {
	body { 
		line-height: 18px;
		font-size: 14px; 
	}

	.box .footer {
		flex: 0 1 150px;
	}

	.headerContent {
		width: 100%
	}
	.pageContent {
		width: 90%
	}
	.footerContent {
		width: 90%
	}

	h1 { font-size: 14px; }
	h2 { font-size: 12px; }

	.formBox {
		width: 80%;
	}
	.formRow {
		width: 100%;
		height: 40px;
	}

	.formCellLabel {
		width: 200px;
	}

	.formCellValue {
		width: 350px;
	}
}