/**
 *	General
 */
html, body {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: #F0F0F0;
}
html, body, table, form, button, input {
	color: #666666;
	font-family: verdana, sans-serif;
	font-size: 11px;
}
a, a:visited, a:active, a:link {
	color: #FF8F00;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img { 
	border: 0px;
}
form {
	margin: 0px;
	padding: 0px;
}
p {
	margin: 10px 0px;
	padding: 0px;
}
#helpitem {
	color: #333333;
	border-bottom: 1px dotted #FF8F00;
	cursor: help;
	text-decoration: none;
}

/**
 *	Pages
 */
#container {
	position: relative;
	width: 100%;
	min-height: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
}
#main {
	position: relative;
	top: 0px;
	width: 780px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	margin: 0px auto;
	background: #FFFFFF url(../pic/ndl.png) no-repeat center top;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
}
#content {
	position: relative;
	padding: 152px 20px 20px 20px;
}
#htl {
	border: 1px solid #CCCCCC;
}
#header {
	position: relative;
	padding: 5px 5px 5px 5px;
	background: #FF8F00;
	border: 1px solid #FFFFFF;
	color: #FFFFFF;
}
#item {
	position: relative;
	padding: 10px;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	background: #F0F0F0;
}
#sublnk {
	border: 1px solid #FFFFFF;
	height: 18px;
	line-height: 18px;
	margin: 0px;
	background: #CCCCCC;
	color: #FFFFFF;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
}
#sublnk_n {
	border: 1px solid #FFFFFF;
	height: 18px;
	line-height: 18px;
	margin: 0px;
	background: #E0E0E0;
	color: #CCCCCC;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
}
#menu {
	position: absolute;
	top: 50px;
	left: 0px;
	min-width: 780px;
	width: 100%;
	height: 80px;
	background: #DDE5D9;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	text-align: center;
}
#menu ul {
	position: relative;
	top: 14px;
	padding: 0px;
	margin: 0px auto;
	width: 504px;
	list-style-type: none;
	text-align: center;
}
#menu ul li {
	display: inline;
	float: left;
}
#menu ul li img {
	position: relative;
	top: 5px;
}
#menu ul li a {
	display: block;
	width: 58px;
	height: 46px;
	border: 1px solid #CCCCCC;
	padding: 2px;
	background-color: #EFEFEF;
	margin: 0px 10px;
}
#menu ul li a:hover {
	border: 2px solid #FF8F00;
	padding: 1px;
}
#counter {
	position: absolute;
	z-index: 10;
	bottom: 4px;
	left: 3px;
}
#footer {
	position: relative;
	height: 20px;
	line-height: 20px;
	margin-top: -20px;
	bottom: 0px;
	text-align: center;
}
/** News - releases */
#news_header { margin: 13px 3px 3px 3px; color: #FF8F00; font-size: 10px; font-weight: bold; padding: 0px 5px; }
#new_rls { position: relative; border: 1px solid #FF8F00; background: #EAEAEA; }
#rls_header { position: relative; border: 1px solid #FFFFFF; background: #DDE5D9;padding: 5px; font-size: 11px; font-weight: bold; color: #666666; font-variant: small-caps; }
#rls_body { position: relative; width: 695px; height: 214px; padding: 10px; }
#rls_box { position: relative; float: left; width: 232px; height: 212px; border: 1px solid #CCCCCC; background-color: #FFFFFF; background-position: center; background-repeat: no-repeat; }
#rls_info { position: relative; float: right; font-size: 10px;  margin-left: 10px; width: 451px; height: 214px; }
#rls_info_inset { margin-top: 2px; padding: 1px; border: 1px solid #CCCCCC; height: 17px; background: #F0F0F0; }
#rls_fh { float: left; background: #DDDDDD; color: #999999; padding: 2px 5px; width: 95px; height: 13px; }
#rls_fi { float: left; font-size: 10px; font-weight: bold; color: #999999; padding: 2px 5px; }
#rls_screens { float: left; background: #DDDDDD; font-size: 10px; font-weight: bold; }
#rls_ss { cursor: pointer; float: left; text-align: center; background: #F0F0F0; width: 85px; height: 17px; margin-left: 1px; line-height: 17px; }
#rls_links { padding: 1px; border: 1px solid #CCCCCC; height: 40px; margin-top: 11px; margin-left: 0px; background: #F0F0F0; width: 392px; color: #666666; font-weight: bold; }
#rls_links_inset { float: left; width: 392px; background: #DDDDDD; }
#rls_link { cursor: pointer; float: left; padding: 2px 0px; background: #F0F0F0; width: 131px; height: 15px; line-height: 15px; text-align: center; }
#rls_dll { cursor: pointer; float: left; padding: 2px 0px; background: #F0F0F0; width: 100%; line-height: 16px; font-size: 12px; font-variant: small-caps; margin-top: 1px; height: 16px; text-align: center; }
#rls_icon {position: absolute; bottom: 0px; right: 0px; width: 42px; height: 42px; border: 1px solid #CCCCCC; background-color: #FFFFFF; background-position: center; background-repeat: no-repeat; }

/** Emulators and roms page */
#queryinfo { padding: 3px; background: #DDE5D9; border: 1px solid #CCCCCC; }
#queryinfo #qnfo { color: #333333; font-size: 10px; font-weight: bold; font-variant: small-caps; }
#rnfo { font-weight: bold; }
#result_header { margin-top: 5px; padding: 0px 5px; }
#result_header a:hover { text-decoration: underline; }
#result_header table { width: 708px; border: 0px; font-size: 10px; font-weight: bold; }
#results { padding: 3px; background: #F0F0F0; border: 1px solid #FF8F00; }
#results table { width: 710px; border: 0px; }
#results table tr { color: #FF8F00; cursor: pointer; }
#pages { padding: 0px 5px; text-align: center; }
#pages input { margin-top: 5px; padding: 0px 5px; background: #CCCCCC; border: 1px solid #EFEFEF; font-size: 10px; color: #FFFFFF; cursor: pointer; }
#pages input#current_page { background: #F0F0F0; border: 1px solid #FF8F00; color: #FF8F00; }
#pages input:hover { background: #FF8F00; color: #FFFFFF; }

/** NDS Roms page */
#roms_nds #icon { width: 35px; }
#roms_nds #rom { width: auto; }
#roms_nds #region { width: 60px; text-align: center; }
#roms_nds #rnumber { width: 60px; text-align: center; }
#roms_nds #size { width: 75px; text-align: right; }
#roms_nds #romsize { width: 65px; text-align: right; }
#roms_nds .boxart { position: relative; top: 0px; left: 0px; margin-top: -40px; display: none; background: #EAEAEA; border-bottom: 3px solid #F0F0F0; border-top: 3px solid #F0F0F0; }
#roms_nds .boxart_gba { position: relative; top: 0px; left: 0px; margin-top: -32px; display: none; background: #EAEAEA; border-bottom: 3px solid #F0F0F0; border-top: 3px solid #F0F0F0; }
#roms_nds #romframe { border: 0px; width: 710px; height: 204px; }
#roms_nds #romframe_gba { border: 0px; width: 710px; }
#roms_nds .jpn_rom iframe { height: 164px; }
#roms_nds .non_jpn_rom iframe { height: 254px; }
#roms_nds #results table tr { color: #666666; cursor: pointer; }
#roms_nds #results a:hover { text-decoration: underline; }
#roms_nds #results #inactive:hover { text-decoration: line-through; color: #CC0000; }
#roms_nds #results #inactive { color: #CCCCCC; }
#roms_nds #results #inactive_tmp:hover { text-decoration: underline; color: #FF8F00; }
#roms_nds #results #inactive_tmp { color: #FF8F00; }

/** Search page */
#roms_nds #quicksearch { margin-bottom: 3px; padding: 0px; background: #EAEAEA; border: 1px solid #CCCCCC; }
#roms_nds #searchwrap { position: relative; padding: 3px; }
#roms_nds #searchfield { position: absolute; top: 0px; left: 110px; border: 1px solid #EFEFEF; background: #EFEFEF; height: 17px; line-height: 17px; }
#roms_nds #searchfield #sq { width: 395px; padding: 1px 2px !important; padding: 0px 2px; background: none; border: 0px; color: #000000; font-size: 10px; font-weight: bold; }
#roms_nds #searchbutton { position: absolute; left: 510px; top: 0px; height: 17px; line-height: 17px; padding: 0px 5px; background: #CCCCCC; border: 1px solid #EFEFEF; font-size: 10px; color: #FFFFFF; cursor: pointer; }
#roms_nds #searchbutton:hover { background: #FF8F00; }
#roms_nds #advsearch { position: absolute; left: 561px; top: 0px; padding: 3px; }
#roms_nds #advsearch a { font-size: 10px; font-weight: bold; color: #CCCCCC; }
#roms_nds #advsearch a:hover { text-decoration: line-through; color: #CC0000; }
#roms_nds a#hl { border-bottom: 1px dotted #FF8F00; color: #FF8F00; }