﻿/****** Form Controls Styles ******/
form {
	display: inline;
}
input,textarea,select,button,label {
	font-family: "Microsoft YaHei", Tahoma, Arial, sans-serif;/**/
	color: #333;
	font-size: 12px;
	margin: 0;
	padding: 0;
	display: inline-block;
	vertical-align: middle;
	white-space: pre;
	text-shadow: 1px 1px #fff;
}
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {/*for FF button*/
	border:none;
	padding:0;
}
input[type="checkbox"] {
  width:25px;
  height:23px;
}
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="text"]:disabled {
	color:#999;
}
/*input[type="checkbox"]:disabled+label {
	color:#eee;
	background-color:#fff!important;
}*/
label {
	cursor: pointer;
	line-height:23px;
}
.checkbox, .radio {
	width:13px;
	height:13px;
	cursor: pointer;
}
textarea {
	padding: 3px 3px;
	border: 1px solid #848484;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	background: #fff url(images/input_bg.gif) left top repeat-x;
	overflow-y: scroll;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	word-wrap:break-word;
	word-break:break-all;
	resize:none;
}
textarea.red {
	border: 1px solid #c69;
	border-right: 1px solid #fce;
	border-bottom: 1px solid #fce;
	background: #fff url(images/must.gif) left top no-repeat;
	color: #333;
}
textarea.alert {
	border: 1px solid #c69;
	border-right: 1px solid #fce;
	border-bottom: 1px solid #fce;
	background-color: #fff6fc;
	color: #333;
}
input.text {
	height: 15px;
	line-height: 15px;
	padding: 3px 3px;
	border: 1px solid #848484;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	background: #fff url(images/input_bg.gif) left top repeat-x;
	color: #333;
}
input.alert {
	height: 15px;
	line-height: 15px;
	padding: 3px 3px;
	border: 1px solid #f66;
	border-right: 1px solid #ffbdb9;
	border-bottom: 1px solid #ffbdb9;
	background: #fdf4f4 url(images/input_bg.gif) left top repeat-x;
}
input.light {
	height: 15px;
	line-height: 15px;
	padding: 3px 3px;
	border: 1px solid #69c;
	border-right: 1px solid #cef;
	border-bottom: 1px solid #cef;
	background: #f6fcff url(images/input_bg.gif) left top repeat-x;
}
input.red {
	background: #fff url(images/must.gif) left top no-repeat;
}
input.pcategory {
	background-color: #e5edf2;
	color: #336699;
}
input.button, button {
	height: 23px;
	line-height: 21px;
	height: 23px \9;
	line-height: 16px \9;
	/*text-shadow: 1px 1px 0 #fff;*/
	border:1px solid #235994;
	background: #06c url(images/pn.png) 0 -48px;
	color: #fff;
	cursor: pointer;
	width:auto;
	overflow:visible;
	-moz-box-shadow: 0 1px 0 #e5e5e5;
	-webkit-box-shadow: 0 1px 0 #e5e5e5;
	box-shadow: 0 1px 0 #e5e5e5;
	padding-left: 3px;
	padding-right: 3px;
	text-shadow: 0px 0px #fff;
}
input.button:active, button:active {
	background-position: 0 -71px;
}
input.post {
	height: 26px;
	line-height: 25px;
	height: 26px \9;
	line-height: 16px \9;
	padding-left: 22px;
	padding-right: 22px;
	font-weight: bold;
}
input.gray, button.gray {
	color:#444;
	border:1px solid #999;
	background: #e5e5e5 url(images/pn.png) 0 0;
	text-shadow: 1px 1px #fff;
}
input.gray:active, button.gray:active {
	background-position: 0 -23px;
}
select {
	background: #fff;
}
.pcategory {
	background-color: #e5edf2;
	color: #336699;
}
.ubbs{
	width:100%;
}
.ubbs_fck{
	width:100%;
}
.ubb_btn {
	border: 1px solid #999;
	border-right: 1px solid #ccc;
	border-bottom: none;
	padding:2px 6px 2px 0;
	background:#f1f1f1;
	height:24px;
	line-height:22px;
}
.ubb_btn_fck {
	display: none;
}
.ubb_btn img {
	border:1px solid #f1f1f1;
	display:inline;
	float:left;
}
.ubb_btn a img {
	border:0;
}
.ubb_btn a:link, .ubb_btn a:visited {
	border:1px solid #f1f1f1;
	height:22px;
	line-height:22px;
	display:inline;
	float:left;
	filter: alpha(opacity=70);
	opacity: 0.70;
}
.ubb_btn a:hover {
	background:#fff;
	border:1px solid #316ac5;
	filter: alpha(opacity=100);
	opacity: 1.00;
}
.ubb_message {
	*padding-right:8px;
	_padding-right:8px;
}
.ubb_message textarea {
	_margin-right:-8px;
	vertical-align:top;
	border: 1px solid #848484;
	border-top: 1px solid #999;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.ubb_message_fck {
	*padding-right:0px;
	_padding-right:0px;
}

/* smilies list */
.panel-smilies {
	padding: 6px;
	text-align: center;
	background: #fff;
	border: 1px solid #999;
}
.panel-smilies-title {
	border-bottom: 1px solid #999;
}
.panel-smilies-content {
	padding: 6px 0 0 0;
}
.panel-smilies-content img{
	width: 24px;
	height: 24px;
}

/****** Upload Page ******/
.upload-page{
	margin: 0;
	padding: 0;
	background: #fff;
	background-image: none;
	height: 24px;
}
input.upload-file {
	height: 19px;
	padding: 1px 2px;
}

.upload-error {}
.upload-done {}

/****** Search Panel ******/
.search-field {	
	width: 118px;
}

/****** Misc Styles ******/
.comment-text,
.hidden-note{
	color: #999;
}
.red {
	color: red;
}
.orange {
	color: #f26c4f;
}
.highlight {
	background: #f00;
	font-weight: bold;
	color: #fc0;
}
.meta-button {
	margin: 1px;
}

/****** UBB Code Custom Styles ******/
/* IE fix for ul */
* html .ubb-list { margin:12px 32px;}
.ubb-list li{
	margin: 1px;
	padding: 1px;
}
.code {
	word-break:break-all;
	padding: 12px;
	margin: 12px 32px;
	border: 1px solid #ddd;
	background: #f7f7f7;
	font-size: 12px;
}

.quote {
	margin: 12px 32px;
	border: 1px solid #ddd;
	background: #f7f7f7 url(images/icon_quote_bg.gif) top right no-repeat;
}
.quote-title {
	padding: 12px;
	font-weight: bold;
	border-bottom: 1px dashed #ddd;
}
.quote-content {
	word-break:break-all;
	padding: 12px; 
}

.ubb-obj-div {
	word-break:break-all;
	margin: 12px 32px;
	padding: 12px;
	border: 1px solid #ddd;
	background: #f7f7f7;
}

.label_checkeds, .label_nocheckeds, .label_checked, .label_nochecked, .label_disabled{
	cursor: pointer;
	height: 15px;
	line-height: 15px;
	padding: 4px 7px 4px 21px;
	/*padding: 3px 6px 3px 20px;
	border: 1px solid #848484;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;*/
	background: url(images/input_texts.gif) 0 50% no-repeat;
	display:inline-block;
	vertical-align: middle;
}
.label_checked, .label_nochecked{
	padding: 0;
	height: 21px;
	line-height: 21px;
	width:23px;
}
.label_nochecked, .label_nocheckeds{
	background: url(images/input_texts.gif) -220px 50% no-repeat;
}
.label_disabled{
	background: url(images/input_texts.gif) -440px 50% no-repeat;
}