#control-options, #footer-stats
{
	float: left;
}

 #control-options
 {
 	margin-top: 3px;
 	width: 140px;
 }

 #footer-stats
 {
 	margin-left: 10px;
 	font-size: 12px;
 }

#footer
{
	margin-top: 5px;	
}

div.ajax_stats
{
	padding-top: 10px;
}

.stats_button
{
	font-size: 150%;
	font-weight: bold;
	margin-left: 10px;
}

table.resultbox
{
	border: none;
	border-spacing: 5px;
}

table.resultbox td.kyuu
{
	padding-right: 6px;
	width: 360px;
	border-right: 2px solid black;
}

div.result_bar
{
	margin: 6px 3px 3px 5px;
}

div.result_bar p
{
	padding: 0px;
	margin: 5px 3px 3px 0px;
	font-weight: bold;
	font-size: 14px;
}


div.result_bar div
{
	float: left;
	height: 15px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	text-align: center;
	font-size: 12px;
	padding-top: 2px;
}


div.result_bar .verygood
{
	border-left: 1px solid black;
	border-right: 1px solid black;
	background-color: #0F0;
}

div.result_bar .good
{
	border-left: 1px solid black;
	background-color: #5A5;
}

div.result_bar .unknown
{
	border-left: 1px solid black;
	background-color: #EEE;
}

div.result_bar .neutral
{
	border-left: 1px solid black;
	background-color: #CCC;
}

div.result_bar .bad
{
	border-left: 1px solid black;
	background-color: orange;
}

div.result_bar .verybad
{
	border-left: 1px solid black;
	background-color: #F00;
}

#kb fieldset.stats legend
{
	font-size: 150%;
	font-weight: bold;
}

#kb fieldset.stats
{
	margin-top: 20px;
}

p.summary
{
	font-size: 13px;
}

p.details
{
	font-style:italic;
}

fieldset.profile-box
{
	margin: 20px 0 8px 0;
}

fieldset.profile-box legend
{
	font-size: 14px;
	font-weight: bold;
}

fieldset.profile-box img.rank-icon
{
	float: left;
	margin: 2px 4px 2px 2px;
	width: 50px;
}

#kbtab p
{
    font-size: 150%;
}

#kbtab .ranking, #kbtab .highscore
{
    font-size: 200%;
}

#kbtab fieldset.profile-box img.rank-icon
{
	margin: 2px 10px 2px 2px;
	width: 100px;
}

table.rankstats
{
	width: 50%;
	margin: 10px 0 10px 0;
	border-collapse: collapse;
}

table.rankstats caption
{
	font-size: 120%;
}

table.rankstats th
{
	font-weight: bold;
	text-align: right;
}

table.rankstats td
{
	text-align: center;
	width: 60px;
	height: 20px;
	border: 1px solid black;
	border-left: 2px solid black;
}

table.rankstats tr.header th
{
	text-align: left;
}