/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
	.ui-tabs-hide {
		display: none;
	}
}

/* Hide useless elements in print layouts... */
@media print {
	.ui-tabs-nav {
		display: none;
	}
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
}
.ui-tabs-nav {
	list-style: none;
	width: 140px;
	padding: 18px 0 0 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
	display: block;
	clear: both;
	content: " ";
}
.ui-tabs-nav li {
}
.ui-tabs-nav a, .ui-tabs-nav a span {
 	line-height: 1.1;
	display: block;
}

.ui-tabs-nav a span.ookami {
	background: url(../chara/images/ookami/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.ryoshi {
	background: url(../chara/images/ryoshi/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.ringo {
	background: url(../chara/images/ringo/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.rist {
	background: url(../chara/images/rist/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.alice {
	background: url(../chara/images/alice/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.otsu {
	background: url(../chara/images/otsu/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.taro {
	background: url(../chara/images/taro/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.otohime {
	background: url(../chara/images/otohime/button.jpg) no-repeat;
	padding: 10px 0 0 50px;
	height: 33px;
}
.ui-tabs-nav a span.majolica {
	background: url(../chara/images/majolica/button.jpg) no-repeat;
	padding: 2px 0 8px 50px;
	height: 33px;
}
* html .ui-tabs-nav a span.ookami,
* html .ui-tabs-nav a span.ryoshi,
* html .ui-tabs-nav a span.ringo,
* html .ui-tabs-nav a span.list,
* html .ui-tabs-nav a span.alice,
* html .ui-tabs-nav a span.otsu,
* html .ui-tabs-nav a span.taro,
* html .ui-tabs-nav a span.otohime {
	height: 23px;
}
* html .ui-tabs-nav a span.majolica {
	height: 31px;
}

.ui-tabs-nav a {
	/*margin: 1px 0 0;  position: relative makes opacity fail for disabled tab in IE */
	padding-left: 0;
	color: #03c;
	font-weight: bold;
	line-height: 1;
	text-align: left;
	white-space: nowrap; /* required in IE 6 */	
	outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav a:hover {
	color:#8893b4;
}
.ui-tabs-nav a:active {
	color:#6d2ea2;
}
.ui-tabs-nav .ui-tabs-selected a {
	position: relative;
	margin-top: 0;
	color: #8a93ae;
	text-decoration: none;
}
.ui-tabs-nav a span {
	padding-top: 4px;
	padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
	width: auto;
	height: auto;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
	cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
	cursor: pointer;
}
.ui-tabs-disabled {
	opacity: .4;
	filter: alpha(opacity=40);
}

#chara {
	position: relative;
	height: 645px;
}
#chara h1 {
	width: 542px;
}
#chara h1 .kana {
	font-size: 60%;
	font-weight: normal;
	margin: 0 0 0 10px;
}


.ui-tabs-panel {
   background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
	position: absolute;
	top: 0;
	left: 150px;
}
img.charaImg {
	position: absolute;
	top: 50px;
	left: 0;
}
.profile {
	position: absolute;
	top: 460px;
	left: 0;
}
#otsu .profile,
#majolica .profile {
	top: 410px;
}
p {
	margin: 0 0 0.5em 0;
}
.photo {
	display: inline;
}
* html .photo {
	margin: 0 5px 0 0;
}
*:first-child+html .photo {
	margin: 0 5px 0 0;
}
.photo a:link img {
	border: 1px solid #ccc;
	width: 100px;
	height: 56px;
}
.photo a:hover img {
	border: 1px solid #8893b4;
}
.photo a:active img {
	border: 1px solid #6d2ea2;
}
* html .photo img {
	border: 1px solid #ccc;
}

.ui-tabs-loading em {
	padding: 0 0 0 20px;
	background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
	display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
	display: inline-block;
}


