/*
  The original cnphpbbice Theme for phpBB version 2+
  Created by 26DE design
  http://www.cnphpbb.com
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	margin: 0;
	background-color: #529A97;
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color:  #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}

/* General font families for common tags */
th,td,p { font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun; font-size: 9pt;}
/*a:link,a:active,a:visited { color : #333333; }
a:hover		{ text-decoration: underline; color : #333333; }
*/
a:link,a:active { text-decoration: none; color : 003399; }
a:hover		{ text-decoration: underline; color : #CC3300; }
a:visited { color:	#993300;	text-decoration: none} 

hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}

.linkbutton:visited {color:003399;}
.linkbutton:hover {color : #CC3300;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #e7eef0; border: 1px #C1C3D2 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #ffffff;border: 1px #dddddd solid; }

.popup	{ background-color: #eeeeee;border: 2px #dddddd solid; }

td.topnav {
	background-color:#529A97;
	color:#FFFFFF;
}

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #DEECFB; }
td.row2	{ background-color: #DEECFB; }
td.row3	{ background-color: #DEECFB; }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFFFFF;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #ffffff; font-size: 9pt; font-weight : bold;
	background-color: #529A97; height: 22px;
}

.fakedth {
	color: #ffffff; font-size: 9pt; font-weight : bold;
	background-color: #77ACD9; height: 22px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			);
			background-color:#A8DEBE; border: #333333; border-style: solid; height: 20px;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 20px;
	border-width: 1px 1px 1px 1px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 22px; }
td.row3Right,td.spaceRow {
	background-color: #DEECFB; border: #333333; border-style: solid; }

th.thHead,td.catHead { font-size: 9pt; border-width: 0px 0px 0px 0px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 0px; }
th.thBottom,td.catBottom  { border-width: 0px 0px 0px 0px; }
th.thTop	 { border-width: 0px 0px 0px 0px; }
th.thCornerL { border-width: 0px 0px 0px 0px; }
th.thCornerR { border-width: 0px 0px 0px 0px; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 16pt; font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun;
			text-decoration: none; color : #000000;
}


/* General text */
.gen { font-size: 9pt; }
.genmed { font-size: 9pt; }
.gensmall { font-size: 9pt; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #003399; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: ##CC3300; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size: 9pt; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #000000;  }
a.mainmenu:link 		{ text-decoration: none; color : #000000;  }
a.mainmenu:visited		{ text-decoration: none; color : #000000;  }
a.mainmenu:hover{  color : #ff9900; }


/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 9pt; letter-spacing: 1px; color : #333333}
a.cattitle		{ text-decoration: none; color : #333333; }
a.cattitle:hover{ text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 16px; color : #33333; }
a.forumlink 	{ text-decoration: none;  }
a.forumlink:hover{ text-decoration: underline;  }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 9pt; color : #333333;}
a.nav			{ text-decoration: none; color : #003399; }
a.nav:hover		{ text-decoration: underline; }

.bnav			{ font-weight: bold; font-size: 9pt; color : #ffffff;}
a.bnav			{ text-decoration: none; color : #ffffff; }
a.bnav:visited	{ text-decoration: none; color : #ffffff; }
a.bnav:hover		{ text-decoration: none;color : #ffffff; }

/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-size: 14px;}
/*
.topictitle			{ font-size: 9pt; color : #333333; }
a.topictitle:link   { text-decoration: none; color : #333333; }
a.topictitle:visited { text-decoration: none; color : #333333; }
a.topictitle:hover	{ text-decoration: underline; color : #333333; }
*/
a.topictitle:link   { text-decoration: none; color : #003399; font-weitgh:bold;}
a.topictitle:visited { text-decoration: none;   }
a.topictitle:hover	{ text-decoration: underline; color: #CC3300;}


/* added by crazytang for treeview */
.topictitle2			{ font-size: 16px; line-height: 25px; }
.topictitle3			{ font-size: 14px; line-height: 25px; }
.topictitle4			{ font-size: 14px; line-height: 25px; font-weight: bold;}
.topictitle5			{ font-size: 14px; line-height: 25px; color:black; }
a.topictitle5:link			{ font-size: 14px; line-height: 25px; color:black;font-weight:bold;}
a.topictitle5:visited			{ font-size: 14px; line-height: 25px; color:black;font-weight:bold;}
a.topictitle5:hover	{ text-decoration: underline; color: #CC3300;}


/*a.topictitle2:link   { text-decoration: underline;  } 
a.topictitle2:visited { text-decoration: underline; }
a.topictitle2:hover	{ text-decoration: underline; } */
.postbody2 { font-size: 11pt; line-height: 15pt;}
.postdetails2 { font-size: 11pt; color : #000000; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size: 9pt; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size: 9pt; color : #000000; }


/* The content of the posts (body of text) */
.postbody { font-size: 9pt;}
a.postlink:link	{ text-decoration: none; color : #333333 }
a.postlink:visited { text-decoration: none; color : #333333; }
a.postlink:hover { text-decoration: underline; color : #333333}



/* Quote & Code blocks */
.code {
	font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun; font-size: 11px; color: #333333;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright		{ font-size: 9pt; font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun; color: #666666;}
a.copyright:link { color: #666666; }
a.copyright:visited { color: #666666; }
a.copyright:hover { color: #666666; text-decoration: underline;}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 9pt Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 1px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 9pt; font-family: Tahoma, Arial, Georgia, Courier, Times New Roman, Serif, Simsun;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }
/* xHTML compliant, define border in CSS */
img, .forumline img	{
border: none;
}
.treerow {background-color : #DEE3E7;}

TD.fh3a {
	BORDER-TOP: #b2d9ff 1px solid; FONT-SIZE: 0.71em; BORDER-LEFT: #b2d9ff 1px solid; BACKGROUND-COLOR: #f6fbff
}

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");

/* 下拉菜单css */

#nav {
	 line-height: 24px;  list-style-type: none; background:#666; 
}

#nav a {
	display: block; width: 100px; text-align:center; font-size:12px;
}

#nav a:link  {
	color:#666; text-decoration:none;
}
#nav a:visited  {
	color:#666;text-decoration:none;
}
#nav a:hover  {
	color:#FFF;text-decoration:none;font-weight:bold;
}

#nav li {
	float: left; width: 80px; background:#DEECFB; 
}
#nav li a:hover{
	background:#999;
}
#nav li ul {
	line-height: 20px;  list-style-type: none;text-align:left;
	left: -999em; width: 180px; position: absolute; 
	margin:0;padding:0;border:0;
}
#nav li ul li{
	float: left; width: 180px;
	background: #F6F6F6;  
}


#nav li ul a{
	display: block; width: 180px;text-align:left;padding-left:24px;
}

#nav li ul a:link  {
	color:#666; text-decoration:none;
}
#nav li ul a:visited  {
	color:#666;text-decoration:none;
}
#nav li ul a:hover  {
	color:#F3F3F3;text-decoration:none;font-weight:normal;
	background:#04B3E6;width: auto;
}

#nav li:hover ul {
	left: auto;
}
#nav li.sfhover ul {
	left: auto;
}
#content {
	clear: left; 
}
