﻿@charset "utf-8";

/* 标签重写 */

div, form, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
}
ul, ol {
	list-style-type: none;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-size: 12px;
}
img {
	border: none;
}
/* 链接颜色 */
a {
	text-decoration: none;
}
a:link {
	color: #1e50a2;
}
a:visited {
	color: #1e50a2;
}
a:hover {
	color: #ba2626;
	text-decoration: underline;
}
a:active {
	color: #ba2626;
}


/* 最外围容器 */
#header, #srcArticle, #footer, div.wrapper {
	width: 960px;
	margin: 0 auto;
}
#header, #srcArticle, #footer, div.wrapper, div.win, .clearFix {
	zoom: 1;
	overflow: hidden;
}


/* 页头 */
#header {
	background: #fff;
	height: 49px;
	margin-top: 10px;
	border-bottom: 3px solid #000;
	text-align: right;
}
	#header a:link {
		color: #000;
	}
	#header a:visited {
		color: #000;
	}
	#header a:hover {
		color: #ba2626;
	}
	#header a:active {
		color: #ba2626;
	}
	#header div.inner {
		padding: 0 1px;
		height: 44px;
		line-height: 44px;
	}
		#header h2 {
			float: left;
		}
		#header div.position {
			float: left;
			padding-left: 17px;
		}
		#header div.topNav {
			float: right;
		}
		

/* 广告 */
#topAd {
	font-size: 14px;
	background: #fbfaf5;
	border: 1px solid #ccc;
	height: 33px;
	line-height: 33px;
	overflow: hidden;
	text-align: center;
	margin-top: 5px;
	color: #494b4e;
}
	#topAd a {
		color: #494b4e;
	}
	#topAd a:visited {
		color: #494b4e;
	}
	#topAd a:hover {
		color: #ba2626;
	}
	#topAd a:active {
		color: #ba2626;
	}


/* 大标题 */
#srcArticle {
	text-align: left;
	padding: 10px 0;
}
	#srcArticle h1 {
		color: #1f3a87;
		display: inline;
		font-weight: bold;
		font-size: 25px;
		height: 40px;
		line-height: 42px;
	}
		#srcArticle h1 a:link {
			color: #1f3a87;
		}
		#srcArticle h1 a:visited {
			color: #1f3a87;
		}
		#srcArticle h1 a:hover {
			color: #ba2626;
		}
		#srcArticle h1 a:active {
			color: #ba2626;
		}
	#srcArticle p {
		color: #666;
		line-height: 1.7em;
		font-size: 14px;
		clear: both;
		padding: 0 3px;
		text-align: justify;
		text-justify: inter-ideograph;
	}
#viewSrc {
	color: #ba2626;
}


/* 页码 */
ul.pages {
	height: 20px;
	overflow: hidden;
	float: right;
}
	ul.pages li {
		line-height: 12px;
		margin-left: 7px;
		float: left;
		width: auto !important;
		width: 10px;	/* hack for ie6  */
		white-space: nowrap;
		overflow-x: visible;
	}
	ul.pages li.dotted {
		color: #1f3a87;
		font-weight: bold;
	}
		ul.pages .beginEnd {
			padding: 0 1em;
		}
		ul.pages a, ul.pages span {
			padding: 0 0.4em;
			height: 18px;
			line-height: 18px;
			display: block;
			background: #fff;
			border: 1px solid #ccc;
		}
		ul.pages a {
			color: #1f3a87;
			text-decoration: none;
		}
		ul.pages a:visited {
			color: #1f3a87;
		}
		ul.pages a:hover, ul.pages span.current {
			color: #fff;
			background: #1f3a87;
			text-decoration: none;
		}
		ul.pages span.current {
			font-weight: bold;
			line-height: 16px;
		}
		ul.pages span {
			color: #ccc;
		}


/* 主体内容 */
div.main {
	border-top: 1px solid #dcdddd;
	border-bottom: 1px solid #dcdddd;
	padding: 0 1px;
	background: url(images/main_bg.png) repeat-y;
	overflow: hidden;
	zoom: 1;
}

	/* 跟帖主体(左侧) */
	div.main div.replyData {
		width: 749px;
		float: left;
		overflow: hidden;
	}
	
		/* 网友推荐、最高楼回帖 */
		#wonderfulReply {
			width: 708px;
			margin: 18px auto;
			border: 1px solid #dcdddd;
			text-align: left;
			background: #fff;
		}
			#wonderfulReply div.title {
				font-family: "黑体";
				font-size: 18px;
				color: #fff;
				border-bottom: 1px solid #dcdddd;
				background: #1e50a2;
				height: 33px;
				line-height: 36px;
				overflow: hidden;
				text-indent: 0.7em;
			}
			#wonderfulReply div.replies {
				padding-left: 14px;
				padding-right: 14px;
			}
			#wonderfulReply div.reply {
				border: none;
			}
		/* 标题 */
		div.repliesWrapper div.title, div.repliesWrapper div.subTitle {
			border-bottom: 1px solid #dcdddd;
			overflow: hidden;
			margin: 0 20px 0 19px;
			clear: both;
		}
		/* 普通标题 */
		div.repliesWrapper div.title {
			padding: 0 1px;
			height: 43px;
			line-height: 45px;
		}
			div.repliesWrapper div.title div.text {
				float: left;
			}
				div.repliesWrapper div.title div.text span {
					font-size: 18px;
					font-family: "黑体";
				}
				div.repliesWrapper div.title div.text strong {
					color: #ba2636;
				}
				div.repliesWrapper div.title ul.pages {
					margin-top: 14px;
				}
		/* 下级标题 */
		div.repliesWrapper div.subTitle {
			height: 36px;
			line-height: 38px;
			font-size: 14px;
			font-weight: bold;
			text-align: left;
			padding: 0 3px;
		}
		/* 蓝色底标题 */
		div.repliesWrapper div.blue {
			height: 36px;
			line-height: 38px;
			background: #f0f7fd;
			border-top: 1px solid #dcdddd;
			border-bottom: 1px solid #dcdddd;
			padding: 0 0 0 28px;
			margin: 0;
		}
			div.repliesWrapper div.blue ul.pages {
				display: none;
			}
		/* 热门跟贴 */
		#hotReplies {
			margin-bottom: 12px;
		}
		/* 主要跟贴 */
		#mainReplies {
			zoom: 1;
			overflow: hidden;
		}
			/* 跟贴列表 */
			div.replies {
				padding: 0 20px 0 19px;
			}
				div.replies p.tips {
					margin: 1.5em;
					font-size: 14px;
					padding: 1.8em 0;
					text-align: center;
				}
			#mainReplies div.replies {
				padding-bottom: 20px;
			}
			#mainReplies ul.pages {
				padding-right: 20px;
				padding-left: 19px;
			}
				#mainReplies div.title ul.pages {
					padding-right: 0;
				}


/* 每一条回复 */
div.reply {
	text-align: left;
	padding: 16px 0 18px 0;
	border-bottom: 1px dotted #afafb0;
}
div.reply div.inner {
	padding: 0 2px;
	zoom: 1;
	overflow: hidden;
}
	div.reply span.author {
		float: left;
		display: block;
		color: #1e50a2;
	}
		div.reply span.author span.from {
			color: #1e50a2;
		}
		div.reply span.author span.ip {
			color: #666;
		}
		div.reply span.author a.name {
			font-weight: bold;
		}
	div.reply span.postTime {
		color: #666;
		float: right;
		display: block;
	}
	div.reply div.body {
		font-size: 14px;
		padding: 12px 0;
		clear: both;
	}
	div.reply div.body p.hideTips {
		padding: 0 0 7px 7px;
		font-size: 12px;
		color: #666;
		cursor: pointer;
	}
		div.reply div.body p.hideTips span {
			color: #ba2636;
		}
	div.reply ul.operations {
		color: #1e50a2;
		float: right;
	}
		div.reply ul.operations li {
			float: left;
			padding-left: 1.2em;
		}
			div.reply ul.operations a {
				color: #1e50a2;
			}
			div.reply ul.operations li.support a, div.reply ul.operations li.support span.visited {
				color: #ba2636;
			}
			div.reply ul.operations li.support a:visited {
				color: #ba2636;
			}
			div.reply ul.operations a:hover {
				color: #ba2626;
			}
	div.reply div.commentBox {
		padding: 3px;
		background: #ffffee;
		border: 1px solid #999;
		overflow: hidden;
		margin-bottom: 12px;
		word-wrap: break-word;
	}
		div.reply div.commentBox div.commentInfo {
			line-height: 20px;
			height: 20px;
			overflow: hidden;
			position: relative;
			font-size: 12px;
			margin: 0 3px;
		}
			div.reply div.commentBox span.floorCount {
				color: #666;
				position: absolute;
				right: 3px;
				top: 0;
			}
			div.reply div.commentBox span.author {
				color: #1e50a2;
				padding: 5px 3px 0 0;
			}
		div.reply p.content {
			margin: 9px 3px;
			line-height: 20px;
			color: #000;
			clear: both;
			font-size: 14px;
		}


/* 登录、回复区 */
div.userPanel {
	text-align: left;
	margin-top: 20px;
	padding: 6px 25px 0 25px;
	border-top: 1px solid #dcdddd;
}
	div.userPanel .tips {
		color: #ad2d3b;
	}
	form.login, div.logon {
		padding: 11px 0;
	}
		form.login * {
			vertical-align: middle;
		}
		form.login span, div.logon {
			color: #1e50a2;
		}
		form.login span.gray {
			color: #666;
		}
		form.login a, div.logon a {
			color: #1e50a2;
		}
		form.login a:hover, div.logon a:hover {
			color: #ba2626;
		}
		form.login a:active, div.logon a:active {
			color: #ba2626;
		}
	div.logon {
		display: none;
	}
	form.reply {
		position: relative;
	}
		form.reply textarea {
			width: 526px;
			height: 120px;
			font-size: 14px;
			line-height: 1.5em;
			padding: 5px;
			background: #fff url(images/backgrounds.png) no-repeat 206px -155px;
			border: 1px solid #dbdcdc;
			color: #666;
		}
		form.reply div {
			position: absolute;
			right: 42px;
			bottom: 7px;
		}
			form.reply div * {
				vertical-align: middle;
			}
	div.userPanel p.declaration {
		padding: 16px 0;
		line-height: 1.5em;
	}
	
		
	/* 跟帖导航(右侧) */
	div.main div.nav {
		width: 209px;
		padding-bottom: 20px;
		float: right;
		font-size: 14px;
		overflow: hidden;
	}
		div.main div.nav ul.categories {
			text-align: left;
		}
			div.main div.nav ul.categories li {
				height: 43px;
				line-height: 43px;
				overflow: hidden;
				border-bottom: 1px solid #dcdddd;
			}
				div.main div.nav ul.categories a, div.main div.nav ul.categories span.current {
					padding-left: 31px;
					height: 100%;
					display: block;
					font-weight: bold;
					background: url(images/backgrounds.png) no-repeat 20px -4px;
				}
				div.main div.nav ul.categories a:hover, div.main div.nav ul.categories span.current {
					color: #000;
					background-color: #f8fcff;
					background-position: 16px -31px;
					text-decoration: none;
					font-weight: normal;
				}
		div.main div.nav ul.relatedLinks {
			width: 186px;
			text-align: left;
			margin: 11px auto 0 auto !important;
			>margin-left /*Hack for IE5.5*/: 2px; 
			border: 1px solid #ccc;
			background: #f0f7fd;
			padding: 6px 0 4px 0;
		}
			div.main div.nav ul.relatedLinks li {
				padding: 0 14px;
				line-height: 28px;
				height: 28px;
				overflow: hidden;
			}
			
			
/* 底部导航 */
div.bottomNav {
	text-align: right;
	color: #4d4d4d;
	height: 35px;
	line-height: 37px;
}
	div.bottomNav a {
		color: #4d4d4d;
	}
	div.bottomNav a.toTop {
		padding-right: 17px;
		background: url(images/backgrounds.png) no-repeat 52px -124px;
	}
	div.bottomNav a:visited {
		color: #4d4d4d;
	}
	div.bottomNav a:hover {
		color: #ba2626;
	}
	
	
/* 页脚 */
#footer {
	padding: 5px 0 10px 0;
	line-height: 1.8em;
	color: #4d4d4d;
	border-top: 1px solid;
}
	#footer a {
		color: #4d4d4d;
	}
	#footer a:hover {
		color: #ba2626;
	}
	#footer em {
		font-style: normal;
		color: #ff0000;
	}
	
	
/* 弹窗相关 */
div.win {
	width: 482px;
	position: fixed !important;
	position: absolute;
	border: 1px solid #666;
	background: #fff;
	text-align: left;
	visibility: hidden;
	z-index: 1000;
	top: 0;
	left: 0;
}
div.small {
	width: 280px;
}
	div.win div.title {
		background: #f5f5f5;
		height: 34px;
		line-height: 34px;
		padding: 0 8px 0 16px;
		border-bottom: 1px solid #dcdddd;
		cursor: move;
	}
		div.win div.title span.text {
			float: left;
			color: #000;
			font-size: 14px;
			font-weight: bold;
		}
		div.win div.title a.close {
			margin-top: 6px;
			float: right;
		}
	div.win div.body {
		padding: 0 20px 75px 20px !important;
		padding: 0 20px 15px 20px;
	}
		div.win div.center {
			text-align: center;
		}
		div.win div.body p.tips {
			color: #467902;
			font-size: 14px;
			margin: 22px 0;
			text-align: center;
		}
/* 回复相关 */
div.win form.reply {
	position: static;
}
	div.win form.reply textarea {
		width: 430px;
		background-position: 170px -155px;
	}
	div.win form.reply div {
		position: static;
		text-align: center;
		margin-top: 12px;
	}
		div.win form.reply div input, div.win form.reply div label {
			display: inline;
			margin: 0;
			vertical-align: middle;
		}
/* 复制收藏相关 */
#addToFav p.replyCopy {
	border-top: 1px dotted #afafb0;
	border-bottom: 1px dotted #afafb0;
	line-height: 1.8em;
	padding: 0.8em 0.5em;
	margin-bottom: 16px;
	word-break: break-all;
}
/* 修改昵称相关 */
#myNickname form {
	padding: 15px 0 0 0;
}
	#myNickname form input.text {
		width: 142px;
	}
	#myNickname form label {
		padding-top: 1em;
		display: block;
	}
	#myNickname form label.error {
		color: #ba2636;
	}
	#myNickname form * {
		vertical-align: middle;
	}
	
		
/* 按钮 */
input.toPost, input.toLogin, input.toConfirm {
	border: none;
	cursor: pointer;
}
input.toPost, input.toLogin {
	width: 76px;
	height: 24px;
}
input.toPost {
	background: url(images/backgrounds.png) no-repeat -77px -81px;
}
input.toLogin {
	background: url(images/backgrounds.png) no-repeat left -81px;
}
input.toConfirm {
	width: 65px;
	height: 23px;
	background: url(images/backgrounds.png) no-repeat -153px -81px;
}
input.text {
	width: 76px;
	height: 15px;
	line-height: 15px;
	border: 1px solid #cbcbcb;
	background: #fff;
}


/* 隐藏模板 */
#templates {
	display: none;
}
