@charset "utf-8";
/* CSS Document */
/*
	author: hong
	email: huanghong@hotmail.com
	homepage: design-hong.com	*/

/* basic */
* {
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
}
body {
	min-width: 970px;
	font: 12px/1.5 Microsoft YaHei, Arial, Helvetica, Tahoma, \5b8b\4f53, sans-serif;
	color: #333;
}
ul li {
	list-style: none;
}
a {
	color: #4fa3da;
	outline: none;
}
a:hover {
	text-decoration: none;
}
img {
	vertical-align: middle;
	border: none;
}
input.text, textarea, select {
	padding: 3px;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	border: 1px solid #ccc;
	border-right-color: #e6e6e6;
	border-bottom-color: #e6e6e6;
}
label, input.btn, button {
	cursor: pointer;
}
.box:after {
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	content: ".";
}

/* header */
#header {
	background-color: #d0e0e3;
}
.logo, ul.nav, ul.nav li {
	float: left;
}
.logo {
	margin-left: 100px;
	padding-left: 9px;
	background-image: url(../images/bg_1.gif);
	background-position: left -38px;
}
.logo a, ul.nav li a, ul.nav a span, .progress span, .comment li p.link a {
	display: block;
}
.logo a, .info h2 span, .progress span, .comment li p.link a {
	text-indent: -9999px;
}
.logo a {
	width: 220px;
	height: 38px;
	background-image: url(../images/logo.gif);
}
ul.nav {
	padding-right: 9px;
	background-image: url(../images/bg_1.gif);
	background-position: right top;
}
ul.nav li {
	border-right: 1px solid #fff;
}
ul.nav li a {
	line-height: 38px;
	padding-left: 9px;
	font-size: 14px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	background-color: #d0e0e3;
	background-image: url(../images/bg_1.gif);
}
ul.nav li a:hover {
	text-decoration: underline;
}
ul.nav a span {
	padding: 0 25px 0 16px;
	background-image: url(../images/bg_1.gif);
	background-position: right -38px;
}
ul.nav li.current a {
	background-color: #e3ecee;
	background-position: left -76px;
}
ul.nav li.current a span {
	background-position: right -114px;
}

/* main */
#main {
	position: relative;
	margin: 50px;
	padding-right: 350px;
}
h1.title {
	width: 650px;
	line-height: normal;
	font-size: 500%;
	font-weight: normal;
	letter-spacing: 10px;
	color: #d0e0e3;
	text-indent: -9999px;
	background-image: url(../images/title_2.gif);
}
h1.title sup {
	position: absolute;
	width: 48px;
	height: 34px;
	padding-top: 8px;
	font-size: 12px;
	letter-spacing: normal;
	color: #fff;
	text-align: center;
	background-image: url(../images/icon_3.gif);
}
p.en {
	margin: 0 0 30px 50px;
	font-size: 200%;
	color: #e6e6e6;
}
p.person {
	position: absolute;
	top: -30px;
	right: 10px;
}
/* content */
.content, .sidebar {
	float: left;
}
.content {
	width: 100%;
}
.content h2, .sidebar h2 {
	font-size: 14px;
	letter-spacing: 1px;
}
.info {
	margin-bottom: 30px;
	padding: 1px;
	background-color: #f5f5f5;
}
.info h2 {
	line-height: 2;
	padding-left: 50px;
	background-color: #fff;
}
.info h2 span {
	position: absolute;
	width: 37px;
	height: 38px;
	margin: -10px 0 0 -40px;
	background-image: url(../images/title_1.gif);
}
.info h2 span.i2 {
	background-position: -37px top;
}
.info h2 span.i3 {
	background-position: -74px top;
}
.info h2 span.i4 {
	background-position: -111px top;
}
.info p, .info ul, .info h3, .info ol {
	margin: 15px;
	font-size: 14px;
}
.info ol {
	margin-right: 38px;
	margin-left: 38px;
}
.info h3, .info ul {
	font-size: 12px;
}
.info li, .rules li {
	margin: 5px 0;
}
.info code, .rules code {
	margin: 0 3px;
	font-family: "Courier New", Courier, monospace;
	color: #00f;
}
.introduce p, .intro p {
	text-indent: 2em;
}
/* sidebar */
.sidebar {
	width: 335px;
	margin: 0 -350px 0 15px;
}
form.login, .data, .comment, .thanks, .intro, .rules, .prize, .reg, .view, .edit, .about, .welcome {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #f5f5f5;
}
form.login p {
	margin: 5px 15px;
}
form.login label {
	display: block;
	float: left;
	width: 50px;
	margin-right: 10px;
	font-size: 14px;
	text-align: right;
}
form.login input.text {
	width: 150px;
}
form.login input.btn {
	margin-left: 59px;
}
.data h2, .detail h2 {
	border-bottom: 1px solid #666;
}
table {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}
table tbody tr:hover {
	background-color: #f2f2f2;
}
table tr.more:hover {
	background: none;
}
table tr.more td {
	border: none;
}
table th, table td {
	padding: 2px 5px;
}
table th {
	line-height: 2;
	background-color: #f8f8f8;
}
table th.current a {
	padding-right: 10px;
	background-image: url(../images/icon_1.gif);
	background-position: right center;
}
table a, .comment li a, .thanks a {
	color: #333;
	text-decoration: none;
}
table a:hover, .comment li a:hover, .thanks a:hover {
	text-decoration: underline;
}
table td {
	font-size: 10px;
	color: #666;
	border-bottom: 1px dashed #f5f5f5;
}
table td img, .reg p.icon img, .view p.icon img, .edit p.icon img, .comment p.icon img {
	padding: 1px;
	border: 1px solid #7fd13b;
}
table td img {
	width: 16px;
	height: 16px;
}
table td img.upload, .view p.icon img.upload, .comment p.icon img.upload {
	border-color: #00addc;
}
table td a, .comment li a, .thanks a {
	color: #666;
}
table td a {
	font-size: 12px;
}
.data p {
	margin: 10px 0 0 5px;
}
.progress {
	line-height: 5px;
	border: 1px solid #ccc;
}
.progress span {
	background-color: #ccc;
}
.comment h2, .thanks h2, .intro h2 {
	margin-bottom: 5px;
}
.comment ul {
	margin-bottom: 5px;
}
.comment li, .thanks li, .intro p {
	line-height: 1.8;
}
.thanks li {
	padding-left: 18px;
	background-image: url(../images/icon_4.gif);
	background-position: 3px center;
}

/* detail */
.detail .data, .detail .comment, .rules, .prize, .reg, .view, .edit, .about {
	padding: 15px;
}
.detail h2 {
	font-size: 16px;
}
/* rules */
.rules ol {
	margin: 10px 20px;
}
/* prize */
.prize h3 {
	margin: 20px 0 10px;
	font-size: 14px;
}
.prize ul {
	padding-bottom: 20px;
	border-bottom: 1px dotted #e6e6e6;
}
.prize ul.pass {
	border: none;
}
.prize li {
	float: left;
	width: 152px;
	margin-right: 10px;
}
.prize p {
	color: #999;
}
.prize p a {
	font-weight: bold;
}
.prize p.pic a {
	display: block;
	margin-bottom: 15px;
	border: 1px solid #e6e6e6;
}
.prize p.pic a:hover {
	border-color: #4fa3da;
}
/* reg */
.reg h2, .view h2, .edit h2 {
	margin-bottom: 20px;
}
.reg p.icon, .edit p.icon {
	float: left;
	margin-right: 14px;
}
.reg p.icon img, .view p.icon img, .edit p.icon img, .comment p.icon img {
	width: 50px;
	height: 50px;
	margin-bottom: 3px;
	border-width: 2px;
}
.reg form, .edit form {
	float: left;
}
.reg form label span, .comment form label span, .edit form label span {
	color: #f65077;
}
.reg form input.text, .reg form textarea, .edit form input.text, .edit form textarea, .comment form textarea, .comment input.text {
	margin: 3px 0 10px;
}
.reg form textarea, .edit form textarea, .comment form textarea {
	display: block;
	width: 300px;
	height: 100px;
}
.reg form input.text, .reg form textarea, .edit form input.text, .edit form textarea, .comment input.text {
	display: block;
}
.reg form input#regName, .reg form input#regPassword, .edit form input#editName, .edit form input#editPassword, input#rndCode {
	width: 120px;
}
.reg form input#regEmail, .reg form input#regBlog, .reg form input#regIcon, .edit form input#editBlog, .edit form input#editIcon {
	width: 300px;
}
/* data */
.detail table .pass {
	padding-left: 10px;
	border-left: 1px solid #f2f2f2;
}
.detail table .pass, table .score, table .rank {
	text-align: center;
}
.detail .data p {
	color: #999;
}
/* view */
.view {
	position: relative;
}
.view p.icon, .view dl.rank {
	position: absolute;
}
.view dl.score {
	float: left;
	line-height: 1.8;
	margin: 0 70px 20px;
}
.view dl.rank {
	float: right;
	width: 50px;
	top: 80px;
	right: 30px;
}
.view dl dt, .view dl dd {
	float: left;
}
.view dl dt {
	margin-right: 5px;
	font-weight: bold;
}
.view dl.score dt.p, .view dl.score dd.progress {
	clear: both;
	float: none;
}
.view dl.score dt.p {
	padding-top: 5px;
	font-size: 16px;
	color: #999;
}
.view dl.score dd {
	margin-right: 10px;
}
.view dl.rank dd {
	margin-right: 10px;
}
.view dl.rank dd strong {
	position: absolute;
	margin-top: -45px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 500%;
	font-style: italic;
	font-weight: normal;
	color: #7fd13b;
}
.view blockquote, .detail .comment p {
	margin-left: 70px;
}
.view blockquote {
	clear: both;
	padding: 15px 30px;
	background-image: url(../images/quote_gray_lt.gif);
}
.view blockquote p {
	display: inline;
	padding: 0 30px 20px 0;
	font-size: 16px;
	color: #666;
	background-image: url(../images/quote_gray_rt.gif);
	background-position: right bottom;
}
.view p.link {
	margin: 15px 0 10px 100px;
}
.view p.link strong {
	font-size: 16px;
}
.view p.link a.blog {
	margin-left: 10px;
	padding-right: 10px;
	color: #ccc;
	background-image: url(../images/icon_6.gif);
	background-position: right 6px;
}
/* edit */
.edit form fieldset {
	border: none;
}
.edit form fieldset legend {
	margin-bottom: 10px;
	font-size: 14px;
	color: #999;
}
.edit form fieldset.d p {
	float: left;
	width: 70px;
}
.edit form fieldset.d input {
	width: 60px;
	padding: 1px;
}
.edit form fieldset.d input[readonly] {
	background-color: #ece9d8;
}
/* comment */
.comment p.no {
	margin-top: 30px;
	margin-bottom: 30px;
	font-size: 14px;
}
.detail .comment li {
	margin: 20px 0;
	padding-bottom: 10px;
	border-bottom: 1px dotted #e6e6e6;
}
.comment p.all {
	float: right;
	margin-top: -25px;
}
.comment p.all a {
	text-decoration: none;
}
.comment p.all a:hover {
	text-decoration: underline;
}
.comment p.icon {
	float: left;
	width: 56px;
	line-height: normal;
	margin: 0;
	color: #666;
	text-align: center;
}
.comment p.to, .comment p.to a {
	color: #4fa3da;
}
.comment p.to span {
	display: inline-block;
	overflow: hidden;
	height: 16px;
	line-height: 38px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 300%;
}
.comment li p.link {
	display: none;
	float: right;
	margin: 0;
}
.comment li:hover p.link {
	display: block;
}
.comment li p.link a {
	width: 27px;
	height: 23px;
	background-image: url(../images/icon_7.gif);
}
.comment li p.link a:hover {
	background-position: left -23px;
}
.comment p.message {
	margin-bottom: 10px;
	font-size: 14px;
}
.comment p.message a.reply {
	color: #7fd13b;
}
.comment p.message a.replyupload {
	color: #4fa3da;
}
.comment p.time {
	font-size: 10px;
	color: #999;
}
.comment form label {
	font-size: 14px;
}
.comment form p.face {
	position: absolute;
	width: 100px;
	margin: -120px 0 0 385px;
}
.comment form button {
	width: 30px;
	margin-bottom: 1px;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
	color: #666;
	text-align: center;
	border: none;
	background-color: #f2f2f2;
}
.comment form button:hover {
	color: #fff;
	background-color: #4fa3da;
}
/* about */
.about h3 {
	margin: 20px 0 10px;
}
.about p, .about ul {
	line-height: 1.8;
}
/* welcome */
.welcome p {
	margin: 15px 0;
}
/* error */
.error {
	line-height: normal;
	margin: 80px 0 0 30px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #f0f;
}
.error h1, p.braces {
	display: inline;
}
.error h1 {
	margin-right: 10px;
	font-size: 14px;
}
.error p {
	margin: 5px 0;
	text-indent: 2em;
}
.error p.braces {
	font-size: 150%;
}
.error span.property {
	color: #009;
}
.error span.value {
	margin: 0 3px;
	color: #00f;
}

/* footer */
#footer, #footer a {
	color: #727272;
}
#footer {
	font-family: Tahoma, Geneva, sans-serif;
	padding: 10px;
	background-color: #f1f2ec;
}
#footer p.copyright, #footer p.author {
	font-size: 10px;
	text-align: right;
}
#footer p.copyright {
	margin-top: -18px;
}
