body {
	background: black;
	font-size: 12px;
}


@media only screen and (min-width: 640px), only screen and (min-device-width: 640px) {
	body {
		font-size: 12px;
	}
}


@media only screen and (min-width: 720px), only screen and (min-device-width: 720px) {
	body {
		font-size: 14px;
	}
}


@media only screen and (min-width: 1280px), only screen and (min-device-width: 1280px) {
	body {
		font-size: 16px;
	}
}


@media only screen and (max-width: 639px), only screen and (max-device-width: 639px) {
	body {
		font-size: 12px;
	}
}

@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
	body {
		font-size: 10px;
	}
}


@media only screen and (min-width: 640px), only screen and (min-device-width: 640px) {
	#menuLogo {
		position: absolute;
		top: 0.5em;
		left: 0.5em;
		width: 100px;
	}


	#menuInner {
		position: absolute;
		top: 0;
		left: 120px;
		right: 0;
		height: auto;

		vertical-align: top;
		
		font-size: 1.25em;
	}
}


@media only screen and (orientation: portrait), only screen and (max-width: 639px), only screen and (max-device-width: 639px) {
	#menuLogo {
		display: none;
	}

	#menuInner {
		position: absolute;
		top: 0;
		left: 0.5em;
		right: 0.5em;
		height: auto;

		vertical-align: top;
		
		font-size: 1.25em;
	}
}



div.logo {
	background: url(../img/fapsm.png) no-repeat center;
	height: 161px;
	display: block;
}


#header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	height: 5em;

	background: #303;
	background: linear-gradient(180deg, #a38, #808, #605, #303);

	color: #fff;
	border-bottom: 0.2em solid #606;
	z-index: 15;
}


#menu {
}


#menuInner a {
	margin-top: 2px;
}

#extra {
	height: 2.5em;
	border-top: 0.2em solid #000;
	border-bottom: 0.2em solid #000;

	background: #202;
}

#extra > div {
	margin: 0;
	padding: 0.5em;
	padding-bottom: 0em;
}

#extra div.scenesat {
	display: inline-block;
	background: url(../img/scenesatsm.png) no-repeat center;
	width: 80px;
	height: 20px;
}

#extra div.demozoo {
	display: inline-block;
	background: url(../img/demozoosm.png) no-repeat center;
	width: 80px;
	height: 16px;
}

#infobox {
	display: none;
}

#header div.date {
	display: none;
}

#mainContent {
	z-index: 0;
	background: #101;
	color: white;
}

#mainContentWrap {
	padding-top: 1em;
}

#mainContent * div.date {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	color: white;
	background: #202;
	text-align: center;
}

#mainContent * div.date span {
	margin: 0.5em;
}


table.attendees .regtime {
	display: none;
}


#messageBox > div {
	position: absolute;
	z-index: 62;
	padding: 0;
	border-radius: 0.5em;
}

#messageBox div.messageBoxInner {
	top: 0;
	left: 0;
	min-width: 50%;
	height: auto;
	background: #080;
	border: 2px solid black;
	color: white;
}

#messageBox div.imageBoxInner {
	top: 0em;
	left: 0em;
	background: #444;
	border: 2px solid black;
}
