body {
	background-color: #3f4446;
	height: 100%;
	margin: 0;
}

html {
	height: 100%;
}

img {
	border: 0;
}

#outer {
	height: 100%; 
	overflow: visible; 
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 350px;
}

#outer[id] {
	display: table; 
	position: static;
}

#middle {
	position: absolute; 
	top: 50%;
}

#middle[id] {
	display: table-cell; 
	vertical-align: middle; 
	position: static;
}

#inner {
	position: relative; 
	top: -50%;
}
