/**
 * for qa system
 * @version $Id: qa.css 225 2012-12-19 05:42:12Z liqt $
 */
/*通用anchor样式>>*/

hr {
	border-color: #DA5BA4;
	color:#DA5BA4;
	background: #DA5BA4;
}

a
{
	color: #36c;
	text-decoration: none;
}

a:hover
{
	color: #ffffff;
	text-decoration: none;
	background-color: #003399;
}
/*<<通用anchor样式*/
a.button_pink {
	float:left;
	line-height:22px;
	margin-right:6px;
	padding-right: 20px;
	display: block;
	background-image: url(../images/button_pink_right.png);
	background-repeat: no-repeat;
	background-position: 100% 0px;
	color:#333;
	font-size:1.3em;
	font-weight:bold;
}

a.button_pink:hover {
	background-position: 100% -36px;
	color:#222;
}

a.button_pink:active {
	background-position: 100% -72px;
}

a.button_pink span {
	display:block;
	line-height:22px;
	padding: 7px 4px 7px 24px;
	background-image: url(../images/button_pink_left.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

a.button_pink:hover span {
	background-position: 0px -36px;
}

a.button_pink:active span {
	background-position: 0px -72px;
}
/*<<按钮样式*/

/*信息显示颜色设定>>*/
.color-score
{
	color: green;
}

.color-answer
{
	color: #6959CD;
}

.color-concerned
{
	color: #A52A2A;
}

.color-views
{
	color: #8FBC8F;
}

.color-tag
{
	color: #282;
}
/*<<信息显示样式设定*/

/*顶部导航栏>>*/
#site-nav
{
	background:#EEE;
	border-bottom: 1px solid #DDD;
	padding: 0;
	width: auto;
	min-width: 950px;
}

#site-nav-bd
{
	background-color: transparent;
	height: 26px;
	line-height: 26px;
	padding: 0;
	color: #000;
	z-index: 10000;
}

#site-nav a:link, .#site-nav a:visited, #site-nav a:hover, #site-nav a:active
{
	color: #566d5e;
}

#site-nav a:hover
{
	background-color: transparent;
	color: #36c;
	font-weight: bold;
}

#site-nav .login-info
{

}

#site-nav .login-info a
{
	margin-right: 8px;
}
/*<<顶部导航栏*/

/*header>>*/
#header
{
	height: auto;
}

#header table
{
	width: 100%;
	height: 100%;
	margin-bottom: 0;
}

td#logo a:hover
{
	background-color: transparent;
}

td#logo
{
	width: 160px;
	padding: 0 0 0 0;
}

td#main-menu
{
	height: auto;
}

td#main-menu a, td#main-menu span
{
	display:block;
	float:left;
	padding:3px 12px;
	font-size: 1.1em;
	border:solid #4FACE1;
	border-width: 0px 0px 1px 0px;
	margin-top:5px;
	color:#DA5BA4;
}

td#main-menu span.blank
{
	padding:3px 3px;
}

#main-menu .active
{
	font-size: 1.1em;
	font-weight: bold;
	color: #DA5BA4;
	border:solid #4FACE1;
	border-width: 1px 1px 0 1px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background: #FFF;
	margin-top:0px;
	padding:7px 12px 4px 12px;
}

#main-menu a.active:hover, #main-menu a:hover
{
	margin-left:-1px;
	margin-right:-1px;
	margin-top:4px;
	padding:3px 12px 3px 12px;
	border:solid #4FACE1;
	border-width: 1px 1px 0px 1px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background: #FFF;
	color: #DA5BA4;
}

#search {
	margin-top:0px;
	float:left;
	background: url(../images/search.png) top left no-repeat;
	width:430px;
	height: auto;
}
input.search-input
{
	width: 165px;
	border:0;
	background: transparent;
	padding-left:6px;
	font-size: 16px;
	line-height: 16px;
	margin-top:6px;
	float:left;
}
input#submit_search {
	border:0;
	background: transparent;
	display:block;
	height:36px;
	width: 96px;
	text-indent:-9999px;
	float:left;
	cursor: pointer;
}

.ask-question
{
	display:block;
	float:left;
	margin-left:10px;
	width:80px;
	text-align:center;
	background-color: #DA5BA4;
    border: 1px solid #DA5BA4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff!important;
    cursor: pointer;
    font: bold 1.2em/2em Helvetica,Arial,sans-serif;
    padding: 0 1.5em;
    overflow: visible;
}

.ask-question:hover {
    background-color: #DA5BA4;
}

.ask-question:active {
}
/*<<header*/

/*问题索引相关样式>>*/
#sub-menu
{
	padding-left: 5px;
}

#sub-menu a, #sub-menu span
{
	margin: 10px 12px 10px 0;
	font-size: 1em;
	display: block;
	float:left;
	padding: 2px 4px;
}

#sub-menu .active
{
	margin: 10px 12px 10px 0;
	font-size: 1em;
	font-weight: bold;
	color: #FFF;
	background: #E7B;
	border-radius: 3px;
}

#sub-menu a.active:hover
{
	color: #fff;
}

#sub-menu a:hover {
	border-radius: 3px;
	background: #FAD;
}

div.question-stats
{
	padding-left:6px;
}

div.question-stats .item
{
	padding-left:9px;
}

.question-main {
	padding-right:6px;
}

.question-main .title
{
	font-size: 1.3em;
	font-weight: bold;
}

.question-main .content
{
	font-size: 1.1em;
}

.question-main .tags
{
	color: #282;
}

.question-main .tags a
{
	font-size: 1em;
	color: #282;
	margin: 0 1px;
}

.question-main .tags a:hover
{
	color: #fff;
}

.question-thumbnails img
{
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    margin-right: 4px;
    height: 24px;
}

.question-thumbnails a:hover
{
	background: transparent;
}

.account-info
{
	text-align: right;
	color: #666;
	padding-right:6px;
}

.pages
{
	float: left;
}

.pages .page_number
{
	font-size: 1.2em;
	margin-right: 8px;
}

.pages .current
{
	font-weight: bold;
	color: #000;
}

.steps
{
	float: right;
}

.steps .step_number
{
	font-size: 1.2em;
	margin-right: 8px;
}

.steps .current
{
	font-weight: bold;
	color: #000;
}

.steps .current:hover
{
	color: #fff;
}

div#sidebar {
	padding:10px 0px;
}

div#sidebar .module
{
	margin-bottom: 10px;
	padding:0 6px;
}

div#sidebar ul
{
	list-style: none outside none;
	margin: 0 auto;
	padding-left: 6px;
}

div#sidebar ul li
{
    margin: 0;
    overflow: hidden;
    padding: 2px 0;
    word-wrap: break-word;
}

div#sidebar h5
{
	margin-bottom: 3px;
}

div#sidebar #count
{
	color: #4FACEE;
	margin-bottom: 10px;
	margin-top: -20px;
}

div#sidebar #tags a
{
	color: #282;
}

div#sidebar #tags a:hover
{
	color: #fff;
}

div#sidebar #tags a.active
{
	font-weight: bold;
	font-size: 1.5em;
	color: #CC0000;/*暗红*/
}

.module h5 {
	background: #4FACE1;
	color: #FFF;
	border-radius: 5px;
	border-top-left-radius: 5px;	
	border-top-right-radius: 5px;
	padding: 2px 6px;	
}

/*问题色块*/
.question-main .mark 
{
	display:inline-block;
	width:4px;
	height: 16px;
	border:0px;
}

/*待回答问题色块*/
.question-main .mark-to-answer 
{
	background-color:#EA11EB;
}

/*有回答问题色块*/
.question-main .mark-have-answer 
{
	background-color:#7FAF1B;
}

/*今日有回答问题色块*/
.question-main .mark-have-answer-today 
{
	background-color:#C3FF68;
}
/*<<问题索引相关样式*/

/*问题查看相关样式>>*/
#question-title
{
	border-bottom: 1px solid #da5ba4;
	margin-bottom: 8px;
	margin-top: 20px;
}

#question-title h3
{
	margin-bottom: 5px;
	font-size: 2.2em;
}

#question-main {
	padding: 0 6px;
}

#question-main #top-info
{
	margin: 0 0 15px 0;
}

#question-main #content
{
	padding:1em;
	margin-bottom:1em;
	background:#F2F1D7;
	font-size: 1.2em;
}

/*设置问题内容最大图像宽度*/
#question-main #content img
{
	max-width: 600px;
    width: expression(this.width > 600 ? 600: true);/*for ie6*/
}

#question-main #tags
{
	margin-bottom: 15px;
}

#question-main #tags a
{
	font-size: 1em;
	font-weight: bold;
	color: #282;
	margin: 0 1px;
}

#question-main #tags a:hover
{
	color: #fff;
}

#question-main #answer-header
{
	clear: both;
	height: 22px;
	border-bottom: 1px solid #da5ba4;
	margin-bottom: 8px;
	margin-top: 40px;
}

#question-main #answer-header h3
{
	float: left;
}

#question-main #answer-header #answer-sort
{
	float: right;
}

#answer-sort .active
{
	font-weight: bold;
	color: #000;
}

#answer-index
{
	clear: both;
}

.answer-item
{
	margin-bottom: 16px;
	border-radius: 8px;
	background: #E9EEF2;
	padding: 8px 12px;
	border:1px solid #E1E6EA;
}

.answer-item.odd
{
	background: #FFF6ED;
	border:1px solid #F7EDE5;
}

.answer-item .answer-score
{
	font-size: 1.5em;
	font-weight: bold;
}

.answer-item .content
{
	padding:12px;
	margin-bottom:12px;
	font-size: 1.2em;
	overflow: hidden;
}

/*设置答案列表最大图像宽度*/
.answer-item .content img
{
	max-width: 600px;
    width: expression(this.width > 600 ? 600: true);/*for ie6*/
}

#post-answer
{
	clear: both;
}

#sidebar .item
{
	font-size: 1.1em;
	color:#666;
}
/*<<问题查看相关样式*/

/*footer相关样式>>*/
#footer
{
	border-top: 1px solid #da5ba4;
	padding: 30px 0px 15px 0px;
}

#footer a
{
	margin-right: 8px;
}

/*<<footer相关样式*/

form#form_ask {
	padding:0 6px;
}

/*作者样式：提问者，回答者*/
.author
{
	font-weight: bold;
	font-size: 1em;
}

.concern-question, .unconcern-question, .link-answer, .vote_answer {
	padding:2px 4px;
	line-height:17px;
	background: #DA5BA4;
	color:#FFF;
}
.concern-question span, .unconcern-question span, .link-answer span, .vote_answer span {
	font-family: arial;
	font-size:17px;
	font-weight:bold;
	padding-right:2px;
}
.concern-question:hover, .unconcern-question:hover, .link-answer:hover, .vote_answer:hover {
	background: #4FACE1;
}