html {
	height: 100%;
	background-color: #001;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat:no-repeat;
	background-image: -webkit-linear-gradient( to left top, #003366, #000);
    background-image: -moz-linear-gradient( to left top, #003366, #000);
    background-image: -ms-linear-gradient( to left top, #003366, #000);
    background-image: -o-linear-gradient( to left top, #003366, #000);
    background-image: linear-gradient( to left top, #003366, #000);
}
body {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Comic Sans MS", "Comic Sans", "Yosemite Sans", "Comic Neue", Chilanka;
	font-size: 13pt;
}
h1 {
	text-align: center;
}

table {border-collapse: collapse}
a {
	color: #ccc;
	text-decoration: none;
}
a:hover {color: yellow;}
img {border: 0 none}
table.full {
	width: 100%;
}
table.full td {vertical-align: top;}
.centered {
	text-align: center;
}
.centered table, table.centered {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.centerleft {
	width: fit-content;
	block-size: fit-content;
	margin-left: auto;
	margin-right: auto;
}
.right {
	text-align: right;
}
.left {
	text-align: left;
}
.hiddenTitle {display: none;}
.tableofcontents {
	text-align: left;
	width: fit-content;
	block-size: fit-content;
	margin-left: auto;
	margin-right: auto;
}
hr {
	margin-top: 25px;
	margin-bottom: 25px;
	border-color: #013;
}


.social a {
	display: inline-block;
	margin-right: 10px;
}

.social img {
	width: 40px;
	height: 40px;
}

.social img:hover {
	filter: brightness(115%);
}

/* Menu */
#menubar {
	position: fixed;
	top:0;
	left:0;
	bottom:0;
	width:170px;
	border-right: 4px ridge #013;
	text-align: center;
	overflow-y: auto;
	overflow-x: hidden;
}
#menu {
	/*display: block;*/
	display: flex;
	flex-direction: column;
	z-index: 9999;
}
#menu a {
	display: block;
	padding: 10px;
	margin: 15px 8px 15px 8px;
	background-color: #2c6da0;
	border: none;
	color: #fff;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	text-shadow: 1px 1px #666;
	text-decoration:none;
	font-weight: bold;
	font-size: 12pt;
	font-family: Arial, "Liberation Sans", "Helvetica Neue", Helvetica, "Adelle Sans", Aileron, "Supria Sans";
	text-align: center;
}
#menu a:hover {
	background-color: #427caa;
}
#menu a.active {
	background-color: #2c6db0;
	color: #ff0;
}
#menuBox {
	display: none;
	color: #000;
	background-color: #ddd;
	cursor: pointer;
	padding-right: 20px;
}
#menuBtn {
	height: 64px;
	width: 64px;
	vertical-align: middle;
}
#menutoggle {
	display: none;
}
#menutoggle:checked + #menu {
	display: block;
	position: absolute;
}

/**  mail */
#menu #mail {
  display: block;
  margin-top: auto;
  margin-bottom: 10px;
  background-color: transparent;
}

#mail img {
	width: 90px;
	height: 90px;
}

#mail:hover img {
	filter: brightness(110%);
}

#mail span {
	display: none;
}

.submenu {
	display: flex;
	justify-content: space-between;
	padding: 10px;
	margin-top: 10px;
	border-top: 2px solid #ccc;
}

/* sisu */
#sisu {
	display: block;
	position: fixed;
	top:0;
	left:171px;
	right:0;
	bottom:0;
	padding: 15px;
	font-size: 13pt;
	overflow: auto;
}

@media (orientation: portrait) {
	body, #sisu {
		font-size: 12pt;
	}
	#menuBox {
		display: inline-block;
	}
	#menubar {
		text-align: left;
		top: 0;
		right: 0;
		height: 64px;
		width: auto;
		position: static;
	}
	#menu {
		display: none;
		background-color:#ddd;
	}
	#mail span {
		display: inline;
	}
	#menu #mail {
		background-color: #2c6da0;
	}
	#menu #mail:hover {
		background-color: #427caa;
	}
	#mail img {
		display: none;
	}
	#sisu {
		top: 65px;
		left: 0;
		padding: 0;
		margin: 0;
	}
}
