/*

* Vertical centering with inline-block + generated-content
* Julien Cabanès
* based on http://css-tricks.com/centering-in-the-unknown/
* Modified by Philip Taylor to cope with undersized windows
* Colours and design adjusted for Etheridge

*/
 
html, body {height: 100%}
body 
	{
		display: inline-block;
		margin: 0;
		padding: 0;
		width: 99.9%;
		text-align: center;
		overflow: auto;
		white-space:nowrap
	}

body:before 
	{
		display: inline-block;
		content: '';
		height: 99.9%;
		vertical-align: middle
	}
 
div.MainContent
	{
		display: inline-block;
		vertical-align: middle;
		padding: 0em 0em;
		/* Fallback to look decent w/out Flexbox */
		/* max-width: 10em; */
		/* Make it pretty */
		background: #441111;
		text-align: center;
		border-radius: 0.2em;
		color: #444411
	}