@charset "utf-8";

#portrait {
	width: 200px;
	height: 228px;
	padding: 8px 10px;
	background: url('./gfx/portrait_back.png') center no-repeat;
	margin: 20px;
	margin-right: 0;
	float: right;
	}

.scala {
	padding-top: 40px;
	padding-bottom: 50px;
	padding-left: 16px;
	background: url('./gfx/stat_back.png') center no-repeat;
	clear: both;
	font: normal 14px 'Trebuchet MS', Arial, Sans-serif;
	}
	
.scala.dynamic {
	position: relative;
	top: 0;
	left: 0;
	padding-left: 0;
	padding-bottom: 0;
	background: url('./gfx/stat_back_center.png') center top repeat-x;
	margin: 0 53px;
	float: left;
	clear: none;
	}

.scala.dynamic hr {
	position: absolute;
	top: 0px;
	left: -53px;
	height: 282px;
	width: 53px;
	background: url('./gfx/stat_back_left.png') top right no-repeat;
	margin: 0;
	border: none;
	}

.scala.dynamic hr.right {
	left: auto;
	right: -35px;
	width: 35px;
	background-image: url('./gfx/stat_back_right.png');
	}

.scala ul {
	position: relative;
	top: 0;
	left: 0;
	width: 480px;
	height: 200px;
	padding: 0 5px;
	border-bottom: 1px solid #888;
	margin: 0 auto;
	clear: both;
	}

.scala.dynamic ul,
.scala.dynamic ol {
	width: auto;
	padding: 0 5px;
	margin: 0;
	}

.scala.dynamic ol {
	height: 50px;
	margin-left: -.2em;
	}

.scala li {
	width: 2em;
	margin: 0 6px;
	float: left;
	list-style: none;
	}
	
.scala.dynamic li {
	margin-left: .8em;
	margin-right: 0;
	}
	
.scala ol li {
	overflow: hidden;
	line-height: 12px;
	text-align: center;
	}
	
.scala ol span {
	color: #aaa;
	font-size: 12px;
	}
	
.scala ul li {
	position: relative;
	top: 0;
	left: 0;
	height: 200px;
	background: none;
	border-bottom: 1px solid #fff;
	color: #507;
	}

.scala ul li.ruler {
	position: absolute;
	top: 0;
	left: -5px;
	z-index: 75 !important;
	width: 100%;
	height: 0;
	border-bottom: 1px solid #888;
	float: none;
	color: #888;
	}

.scala ul li.ruler dfn {
	position: absolute;
	bottom: -9px;
	left: -25px;
	width: 20px;
	font-size: 12px;
	font-style: normal;
	text-align: right;
	}

.scala ul li span {
	position: absolute;
	bottom: -1px;
	left: 0;
	z-index: 80;
	width: 2em;
	background: #a6a6a6 url('./gfx/bar_gradient.png') bottom repeat-x;
	border: 1px solid #6a6a6a;
	border-bottom: none;
	display: block;
	text-align: center;
	opacity: .7;
	}
	
.scala ul li.current span {
	background-color: #f70;
	color: #f70;
	}

.scala ul li span dfn {
	position: relative;
	top: -1.25em;
	left: 0;
	visibility: hidden;
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	}

.scala ol li dfn {
	color: #000;
	font-style: normal;
	}

.scala.dynamic ul li:hover span dfn,	
.scala ul.hover li:hover span dfn,
.scala ul.caption li span dfn {
	visibility: visible;
	}

#diagram {
	width: auto;
	padding: 0;
	padding-left: 30px;
	margin: 0 auto;
	display: inline-block;
	clear: both;
	}

#diagram .select {
	width: 350px;
	padding: 0;
	background: url('./gfx/table_2nd.png') right repeat-y;
	margin: 0;
	margin-right: -200px;
	float: left;
	text-align: left;
	list-style: none;
	}

#diagram .select li {
	padding: 2px;
	background: #fff;
	color: #507;
	}

#diagram .select li:nth-child(odd) {
	background: none;
	}

#diagram .select label.hit,
#diagram .select label:hover {
	color: #f70;
	cursor: pointer;
	}

#diagram .select input {
	margin-right: 5px;
	}
	
#diagram .select input:focus {
	outline: 5px solid #eef;
	}