html
body {
	background: rgb(242,242,242);	
	margin: 0;
	padding: 0;
	overflow-y: scroll;
}

a {
    color: inherit;
    outline: medium none;
    text-decoration: none;
}


div.container {
/*	max-width: 1280px;	
	width: 80vw;
	min-width: 1024px;	*/
	width: 810px;
	margin: auto;
	margin-bottom: 3em;
}

div.header {
	padding: 2em 0.5em 0 0.5em;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;  
}

div.footer {
	position: relative;
	height: 4em;
	left: 0;
	right: 0;
	bottom: 0;
	background: #696a6d;
	clear: both;
}

div.footer p {
	width: 1100px;
	margin: auto;
	padding: 0.5em;
	padding-top: 1.6em;
	color: #FFF;
	font-size: 0.9em;
}


div.menu {
	float: left;
	width: 12em;
	padding: 0em 0.5em;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;  
}
div.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

div.menu > ul > li span { 
	display: none;
}

div.content {
	width: auto;
	padding: 0em 0.5em;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;  
}
div.contentbody,
div.contentheader {
	float: left;	
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;  
}
div.contentbody {
	margin-bottom: 2em;
}
div.sidebar {
	width: 34%;
	float: right;
	padding: 0em 0.5em;
	padding-left: 1em;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;  	
}

div.noborder {
	border: none !important;
	margin-bottom: 0px !important;
	padding-bottom: 0px;
}

/* Tablets */

@media only screen and (max-width: 768px) { /* and (max-device-width: 480px) */
	div.contentbody,
	div.contentheader,	
	div.sidebar {
		width: auto;
		float: none;
		display: block;
		padding: 0;
		margin: 0;
	}
	div.container {
		width: auto;
		min-width: 480px;
		max-width: none;		
	}
	div.menu {
		width: 11em;
	}
	div.content {
		width: auto;	
	}
	div.contentbody {
		margin-bottom: 1em;
	}
	div.footer p {
		width: auto;
		min-width: 0;
		max-width: none;	
	}	
	
}

/* Phone */

@media only screen and (max-width: 610px) { /* and (max-device-width: 480px) */
	div.content,
	div.menu {
		width: auto;
		margin-left: 0;
	}
	div.menu {
		float: none;
		width: 100%;
	}	
	div.menu > ul ul { 
		display: none; 
	}
	div.menu > ul > li span { 
		display: block; 
		width: 100%;
		border-bottom: 1px solid;
		padding-bottom: 0.5em;
		margin-top: -0.1em;
		margin-bottom: 0.7em;		
	}

	div.menu > ul > li:hover span { 
		margin-bottom: 0em;		
	}
	div.menu > ul > li:hover ul { 
		display: block; 
		margin-bottom: 0.7em;		
	}
	div.menu > ul > li:hover ul li { 
		border-bottom: 1px solid;
		padding: 0.5em 0;
	}	
	
	div.container {
		width: auto;
		min-width: 0;
		max-width: none;		
	}	
	div.footer p {
		width: auto;
		min-width: 0;
		max-width: none;	
	}	
}