html, body, * { margin: 0; padding: 0; color: #111111; }
html { background: #DEDEDD; font-size: 12pt; height:100%;}
body { background: #FEFEFD url('../graphics/page_bg.png') no-repeat; min-height:98%; max-width: 1200px; margin: 10px 10px 0; position: relative; font: 400 0.8em verdana, arial, sans-serif; }
p { padding: 0.2em; margin: 0.3em; }
dl { margin: 0.2em; }
ul { margin: 0.2em 0.5em; }
dt { font-weight: bold; font-size: 1.1em; margin-top: 0.2em; margin-left: 0.2em; color: #260C09; }
dd { margin-left: 0.4em; border-left: 4px solid #EDF2F8; padding-left: 0.4em; }
h2 { font-size: 1.5em; padding: 0.15em 0; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
#content h3 { color: #7BBB3D; border-bottom:1px solid #D9D9D9; clear: both; }
hr { border: 0; border-bottom:1px solid #D9D9D9; margin: 0.4em 0.1em; clear: both; }
a { color: #0164DC !important; }
a:hover { color: #994A46 !important; }
ul { list-style-position: inside; }
a img { border: 0; }

#header { height: 71px; }
#header h1 { color: #2C2C2C; padding-top: 0.2em; margin-left: 60px; text-shadow: #FFFFFF 0 0 2px; z-index: 1;}
#header strong { color: #F8F8F8; margin-left: 60px; z-index: 10; position: relative; }
#header a { color: white !important; }

#menu {
	clear: both;
	font-weight: bold;
}

#menu #logo {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 300px;
	margin: 0.2em;
	height: 54px;
	background: url('../graphics/logo_dpad_sized.png') no-repeat;
	text-align: left;
	z-index: 2; 
}

#menu #logo a {
	visibility: hidden;
	display: block;
	color: white !important;
	padding-top: 40px;
	width: 300px;
	height: 14px;
}

#menu #logo a:hover {
	background: none !important;
	border: 0 !important;
}
#menu #logo:hover a {
	visibility: visible;
	display: block;
}

#menu a {
	padding: 0.2em 0.4em;
	color: #313131 !important;
}
#menu a:hover {
	background: #DD1114 !important;
	color: white !important;
	border-top: #A40D11 3px solid !important;
}

#menu form { margin-top: -1.0em; float: right; display: block; }
#menu input { border: 1px solid #CECECC; background-color: #FAFAF9; }
#menu button { border: 1px solid #BEBEBB; background-color: #CECECC; }

#mokoi_about #link_about,
#mokoi_docs #link_docs,
#mokoi_forum #link_forum,
#mokoi_support #link_support,
#mokoi_games #link_games,
#mokoi_packages #link_packages {
	background: #FDF5C1;
	color: black;
	border-top: #F5D80A 3px solid;
}

#content { 
	padding: 0.3em;
}
/*
#information {
	background: url('../graphics/information_bg.png') no-repeat top right;
}

#information p {
	padding-right: 380px;
}
*/
h4.screenshots {
	background: url('../graphics/head_screenshots.png') no-repeat top right;
}
#screenscast {
	overflow: auto;
	white-space: nowrap;
}
#screenscast img {
	display: inline;
	height: 75px;
	width: 100px;
}
#screenscast img.media-title {
	display: block;
	width: 181px;
	height: 20px;
}

#download {
	position: absolute;
	top: 0;
	right: 0;
	height: 68px;
	width: 234px;
	background: url('../graphics/headerdownload_bg.png') no-repeat right top;
	padding: 0 2px 0 56px;
}

#download h2 {
	margin-top: 0.2em;
}
#facts { margin-left: 36%;	width: 62%;	text-align: left; }
#support { clear: both; }
#support .section h3 { text-align: center; }
.share_bg *, .create_bg * { display: block; color: #4F4F4F !important; }
.share_bg, .create_bg { margin: 0.4em; min-height: 4em;	padding: 0.4em;	padding-left: 90px;	border: 2px solid #DEDEDD;	background: #EEEEED no-repeat 0 100%; }
.share_bg { background-image: url('../graphics/play_bg.png'); }
.create_bg { background-image: url('../graphics/create_bg.png'); }


#gamefeed img {
	float: left;
	margin: 0.2em;
	width: 32px;
	height: 32px;
}
#gamefeed p
{
	clear: both;
}

.sidenote {
	border: 1px solid #9f9f9f;
	-moz-border-radius: 0.6em;
	-webkit-border-radius: 0.6em;
	border-radius: 0.6em;
	width: 16em;
	font-size: 0.76em;
	background: white url("../graphics/section_bg.png") repeat-x 1px 0;
	min-height: 5em;
	clear: both;
	margin: 0.2em;
}

#footer {
	border-top: 1px solid #9f9f9f;
	background: url("../graphics/section_bg.png") repeat-x 1px 0;
	min-height: 5em;
	text-align:center;
	clear: both;
}
#hosted img {
	display:block;
}

.section {
	width: 31%;
	float: left;
	padding: 0.4%;
	margin: 0.4%;
}

.tabbar {
	display: block;
	border-left: 2em solid #EDF2F8;
	padding: 0.2em;
	margin: 0.2em;
}

.tabbar li {
	display: inline;
}
.progress { margin: 0 auto; text-align: center;}
.progress img { margin: 0 auto; display: block;}

.largetext { font-size: 1.1em; }
.smalltext { font-size: 0.80em; }
.block { display: block; }
.hide { display: none; }
.inline { display: inline; }
.fright { float: right; }
.fleft { float: left  }
.center { text-align: center; }
img.center { margin: auto; }
.left { text-align: left; }
.right { text-align: right; }
.clear { clear: both; }

div.attention {
	padding: 24px 8px 24px 64px;
	border: 1px solid #A76262;
	background: #FFD1D1 url('../graphics/dialog-warning.png') no-repeat 8px 8px;
	color: black;
	margin: 8px 0 8px 0;
}
div.attention a {
	color: #68312C;
	padding: 2px 2px 2px 21px;
	display: block;
	background-repeat: no-repeat;
	background-position: 1px 2px;
}
div.information, div.notice, div.warning {
	padding: 0.4em;
	border: 1px solid goldenrod;
	background-color: #fafad2;
	margin-bottom: 8px;
}
div.notice {
	background-color: #F7F8F9;
	border-color: #BABDB6;
}
div.warning {
	background-color: #FFD1D1;
	border-color: #A76262;
}

pre.bbcode {
	border: 1px solid #C4C6A2;
	background-color: #FEFFEC;
	padding: 0.8em;
}

@media all and (max-width: 760px) {
	.section {
		float: none;
		width: 100% !important;
		height: auto;
		margin: 0.2em 0 !important;
	}
	#information { font-size: 1.1em; padding: 180px 0 0 0; background-position: top center; }
	#information p { padding: 0; } 
	#information .fleft { float: none; }
}

@media all and (max-width: 600px) {
	body { font-size: 10px; }
	#download, #menu #logo, #menu #logo a {
		position: static;
		height: auto;
		width: auto;
		background: none;
		padding: 0;
	}
	#menu #logo, #menu #logo a {
		display: inline !important;
		visibility: visible;
		padding: 0.2em 0.4em;
		color: #313131 !important;
	}
	#menu #logo a:hover {
		background: #DD1114 !important;
		border-top: #A40D11 3px solid !important;
	}
	#download { text-align: center }
	#information p { padding: 0; } 
	#header h1, #header strong { margin: 2px 6px; padding-left: 0px; text-shadow: none; }
	#header h1 { font-size: 2.2em; }
	#information .fleft { float: none; }
}