html, body{
	margin:0;
	padding:0;
	width:100% !important;
	height:100% !important;
}

footer{
	background:#FFEEDD;
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	min-height:100px;
}
td{
	text-align:left;
}

@media screen and (max-width : 480px){
	body{
		background:#000;
		overflow-x:hidden;
	}

	div.panel{
		position:absolute;
		top:0;
		left:0;
		bottom:0;
		height:100% !important;
		display:inline-block;
	}

	div.content{
		width:100% !important;
		background: white;
		box-shadow: 0 0 1em black;
		min-height: 100%; 
		height: auto !important; /*Cause footer to stick to bottom in IE 6*/
		height: 100%; 
		margin: 0 auto -100px; /*Allow for footer height*/
		vertical-align:bottom;
	}

	nav.menu{
		width:450px;
		background:#000;
		-webkit-transition:width 0.75s ease;
		-moz-transition:width 0.75s ease;
		-ms-transition:width 0.75s ease;
		-o-transition:width 0.75s ease;
		transition:width 0.75s ease;
	}
	a{
	text-decoration: none;
	}
	nav.menu > a{
		display:block;
		text-decoration:none;
		color:#a9a9a9;
		text-shadow: 0 1px 0px black, 0 -1px 0px white;
		height:48px;
		line-height: 48px;
		border-bottom: 1px dashed black;
		padding:0 1.5em;
	}

	nav.menu > a:hover{
		box-shadow: inset 0 0 15px black;
	}

	header > h1{
		color:orange;
		font-family: "Trebuchet MS", Arial, sans-serif;
		font-weight: lighter;
		font-size: 3em;
		text-shadow: 0 1px 1px black, 0 -1px 1px white;
		padding:0.1em;
		margin:0;
	}

	header > *{
		display:inline-block;
	}

	header{
		background: #ffffff; /* Old browsers */
		/* IE9 SVG, needs conditional override of 'filter' to 'none' */
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
		background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-8 */
		width:100% !important;
		display:block;
		border-bottom: 1px solid #000;
		padding:0;
		position: relative;
	}

	button.menu-button{
		display:inline-block;
		background: transparent;
		border:none;
		border-right:1px solid #000;
		font-size: 3em;
		position:relative;
		width:50px;
		height:50px;
		margin-bottom:0.3em;
	}

	div#main{
		background:white;
		padding:0.5em;
	}

	div.content > *{
		margin:0;
	}
}

@media screen and (min-width : 481px) and (max-width : 960px){
	body{
		background:black;
	}
}


@media screen and (min-width : 961px){
	body{
		background:black;
	}
}