body,html{
    margin:0;
    padding:0;
    font-family: sans-serif;
    height: 100%;
    width: 100%;
}

body {
	background: linear-gradient(to bottom, white -250%, #00850d 100%);
	background-repeat: no-repeat;
	background-color: #00850d;
	margin:0;
	padding:0;
}
div.body {
	background-color:white;
}

div#content a{
    color: #00850d;
    text-decoration: none;
}
div#content a:hover{
    text-decoration: underline;
}
h1,h2,h3,h4,h5{
    color: #00850d;
    margin: 0.3em;
    margin-left: 0;
}
h1{font-size: 18pt;}
h2{font-size: 16pt;}
h3{font-size: 14pt;}
h4{font-size: 12pt;}
h5{font-size: 10pt;}

div#content > div{
    transition: margin-left 0.5s ease-in, opacity 0.5s ease-in;
    padding: 0.3em;
    overflow:auto;
    height: 100%;
    margin-left: 2em;
    display:none;
    opacity: 0;
}
div#content{
    font-size: 12pt;
    position:relative;
}
div#leftmenu > span, div#leftmenu > a{
    display:block;
    font-size: 11pt;
    color: rgba(0,0,0,0.8);
    padding: 0.3em;
    padding-left: 1em;
    text-decoration: none;
}
div#leftmenu > span{
    font-size: 13pt;
    padding-left: 0.7em;
}
div#leftmenu > a.active{
    background-color: #BBB;
    pointer-events: none;
}
div#leftmenu > a:hover{
    background-color: #DDD;
}

div#content a.tile{
    width: 260px;
    height: 260px;
    display:inline-block;
    margin: 5px;
    background-color: #666;
    color: white;
    vertical-align:top;
    text-decoration:none;
}
div#content a.tile > span{
    width: 250px;
    height: 250px;
    padding: 5px;
    background-color: rgba(0,0,0,0);
    display:block;
    transition: background-color 0.2s ease-out;
}
div#content span.headertile{
    max-width: 700px;
    height: 275px;
    display: block;
    margin-bottom: 5px;
    background-color: #666;
    color: white;
    vertical-align:top;
}
div#content span.headertile span{
    display:block;
    vertical-align:middle;
    padding-left: 4px;
    background-color: rgba(0,0,0, 0.4);
}
div#content span.headertile span:first-child{
    height: 30px;
    font-size: 22px;
    line-height: 30px;
}
div#content span.headertile span:last-child{
    height: 20px;
    font-size: 15px;
    line-height:20px;
}
div#content a.tile:hover > span{
    background-color: rgba(0,0,0,0.5);
}
div#content a.tile:hover > span > span{
    visibility: visible;
    color:white;
    text-shadow: 0 0 3px black;
}
div#content a.tile > span > span{
    display:block;
    visibility: hidden;
    font-size: 10pt;
}
div#content a.tile > span > span:first-child{
    visibility: visible;
    margin-bottom: 0.2em;
    font-size: 12pt;
}
div#content div.article{
    display: inline-block;
    margin: 5px;
    margin-bottom: 25px;
    vertical-align: top;
}
div#content table.stripe tr:nth-child(2n) td{
    background-color: #EEE;
}
div#content table.stripe tr.average td{
    font-style:italic;
}

#headerwrapper canvas {
	position: absolute;
	left:0;
	
	top:0;
	width:100%;
	height:100%;
}
#headerwrapper {
	height: 100px;
	position:relative;
	background-image: url("bg.png");
	background-size: cover;
	background-position: center;
	background-color: #00850d;
}
div.cvblock {
	display:flex;
	margin-bottom: 1em;
}
div.cvblock > div {
	display:inline-block;
	width: calc(100% - 100px - 1em);
}
div.cvblock > div:first-child {
	width: 100px;
	margin-right:1em;
}
div.cvblock > div > div {
	margin-bottom: 0.5em;
}

@media all and (max-width: 700px) {
	div#contentwrapper{
		
	}
	div#leftmenu{
		background-color: #EEE;
	}
	div#leftmenu > span {
		display:none;
	}
	div#leftmenu > a{
		display:inline-block;
		padding: 0.7em;
		font-size: 16pt;
	}
	div#content span.headertile{
		width: 100%;
	}
}
@media all and (min-width: 701px) {
	div.body {
		max-width: 1000px;
		box-shadow: 0 0 15px rgba(0,0,0,0.5);
		border: 1px solid #005107;
		border-top:none;
		margin-left: auto;
		margin-right: auto;
	}
	div#contentwrapper{
		display:flex;  
	}
	div#leftmenu{
		width: 150px;
		flex-shrink: 0;
		background-color: #EEE;
	}
}