/*  
Theme Name: 存诚2009
Version: 1.0
Description: <a href="http://www.cuncheng2009.com">存诚</a>.
UIL: http://www.cuncheng2009.com
*/

html, body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 0;
	color: #565656;
}

body, img, p, h1, h2, h3, h4, h5, ul, ol, li, form, blockquote {
	margin: 0;
	padding: 0;
}

p {
	line-height: 20px;
	padding: 10px 0;
}

h1, h2, h3, h4, h5 {
	padding: 10px 0;
	font-family: Georgia;
}

ul, ol {
	list-style: none;
	padding: 10px 0;
}

small {
	font-size: 11px;
}

code {
	background: #FFFFC1;
}

a {
	color: #7b683e;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

blockquote p {
	padding: 5px 0;
}

/* Align */

.aligncenter {
	margin: 10px auto 20px auto;
	display: block;
}

.alignleft {
	margin: 10px 20px 8px 0;
	float: left;
}

.alignright {
	margin: 10px 0px 8px 20px;
	float: right;
}

.col-left {
	float: left;
}

.col-right {
	float: right;
}

/* Wrap */

/* Top */
#login{
	background-color:#990000;
	color: #FFF;
}
#top-out {
	width: 100%;
	background: url('images/bg_top_gradient.gif') repeat-x 0 0;
}

#top {
	width: 939px;
	margin: 0 auto;
}

/* Page Navigation */

#page_navi {
	width: 939px;
	height: 27px;
	margin:0 auto;

}

#page_navi a {
	color: #FFF;
}

#page_navi a:hover {
	text-decoration: underline;
}

#page_navi ul {
	padding: 0;
}

/* Page Navigation (rss) */

#page_navi ul.rss {
	background: url('images/bg_rss.gif') no-repeat 0 5px;
	padding: 6px 0 2px 15px;
}

#page_navi ul.rss li {
	color:#FFFFFF;
	padding: 0 10px;
	display: inline;
	background: url('images/bg_separator.gif') no-repeat right 4px;
}

#page_navi ul.rss li.last {
	background: none;
}

/* Header */

#header {
	width: 100%;
	height: 107px;
	padding-top: 0px;
	padding-bottom:22px;
	_padding-bottom:3px; /* IE6 value */
	background: url('images/bg_top_gradient.gif') no-repeat 60px 0;
	clear: both;
	position: relative;
}

#header img.title {
	margin-top: 0px;
	margin-left: 0px;
}

#header h1 {
	display: none;
}

#header .advert {
	position: absolute;
	left: 470px;
	top:25px;
}

/* Category Navigation */

#cat_navi {
	width: 100%;
	font-size:14px;
	font-family:arial,verdana,sans-serif;
	font-weight:bold;
}

#cat_navi li a span {
	font-weight: normal;
}



/* Middle */

#middle-out-top { /* Background - Middle Top */
	width: 100%;
	background: rgb(232,232,225) url('images/bg_middle_out_top.gif') repeat-x 0 0;
}

#middle-out-bottom { /* Background - Middle Bottom Gradient */
	width: 100%;
	background: url('images/bg_middle_out_bottom.gif') repeat-x left bottom;
}

#middle-out-bottom .single { /* Background - Content - Single Page */
	background: url('images/bg_middle_content_single.gif') repeat-y;
}

#middle-content { /* Background - Content */
	width: 939px;
	margin: 0 auto;
	background: url('images/bg_middle_content.gif') repeat-y;
}

#middle-content-bottom { /* Background - Content Bottom */
	width: 100%;
	background: url('images/bg_middle_content_bottom.gif') no-repeat 0 bottom;
}

/* Page Nav */

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none; 
	line-height: 1;
	z-index: 100;
}

#nav a {
	display: block;
	line-height: 27px;
	padding: 0 10px;
	z-index: 100;
}

#nav li {
	float: left;
	background: url('images/bg_separator.gif') no-repeat right 10px;
}

/* Style drop down list */

#nav li ul {
	position: absolute;
	width: 203px;
	left: -999em;
}

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

#nav li ul li a {
	background: #3a3a3a;
	border-bottom: 1px solid #333333;
}



#nav li ul ul {
	margin: -35px 0 0 204px;
}

#nav li ul ul li a {
	line-height: 36px;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

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

/* IE7 Fix */

#nav li:hover, #nav li.hover {  
	position: static;
}


/* Content */

#content {
	width: 924px;
	min-height: 550px;
	padding: 34px 7px 50px 8px;
	background: url('images/bg_middle_top.gif') no-repeat 0 0;
}

* html #content {
	height: 550px;
}

/* Main Content */

#main-content {
	width: 555px;
	margin: 24px 0 0 30px;
}

.single #main-content {
	background: #fff;
	width: 553px;
	margin: 24px 0 0 0;
	padding: 0 32px 35px 31px;
}

#comments {
	background: rgb(247,246,246)  url('images/bg_comments.gif') repeat-x 0 top;
	width: 616px;
}

#flashslide{
float:left;
width:353px;
background: url('images/border_ad_rotator.gif') no-repeat 0 top;
padding:7px 0 0 7px;

}
#quote{
float:left;
width:131px;
height:172px;
line-height:25px;
font-size:14px;
padding:25px 20px 10px 15px;
margin-right:25px;
background: url('images/bg_quote.gif') no-repeat 0 top;
}


/* Main Content (style) */

#main-content a {
	text-decoration: underline;
}

#main-content a:hover {
	text-decoration: none;
}

#main-content h2, #main-content h3 {
	font-weight: normal;
}

#main-content h2 {
	font-size: 24px;
}

#main-content h3 {
	font-size: 18px;
}

#main-content h4 {
	font-size: 12px;
}

#main-content ol, #main-content ul {
	line-height: 18px;
}

#main-content ul {
	padding-left: 50px;
}

#main-content ul li {
	list-style: circle;
	padding: 3px 0;
}

#main-content ol {
	padding-left: 57px;
}

#main-content ol li {
	list-style: decimal;
	padding: 3px 0;
}

#main-content blockquote {
	border-left:2px solid #777777;
	color:#777777;
	font-style:italic;
	margin:5px auto 15px;
	padding:0px 10px;
	width:85%;
}

/* Main Content (post) */

#main-content .post-title {
	width: 100%;
	position: relative;
}

#main-content .post-title h2, #main-content .post-title p.post-details, #main-content .post-title h3 {
	padding-right: 50px;
}

#main-content h2 a, #main-content h3 a {
	color: #2A2A2A;
	text-decoration: none;
}

#main-content h2 a:hover, #main-content h3 a:hover {
	text-decoration: underline;
}

#main-content p.post-details {
	line-height: 18px;
	margin-top: -10px;
	position: relative;
}

#main-content p.post-details a {
	text-decoration: none;
}

#main-content p.post-details a:hover {
	text-decoration: underline;
}

#main-content p.post-details {
	color: #767676;
	font-size: 11px;
	padding: 0 50px 0 1px
}

#main-content .comment-cloud {
	display: block;
	position: absolute;
	right: 0;
	top: 15px;
}

#main-content .comment-cloud a {
	width: 31px;
	height: 26px;
	padding-top: 4px;
	background: url('images/bg_comment_cloud.gif') no-repeat 0 0;
	text-align: center;
	font-family: Georgia;
	font-size: 11px;
	color: #5D5D5D;
	display: block;
	text-decoration: none;
}

#main-content .comment-cloud a:hover {
	text-decoration: underline;
}

#main-content .post h4 {
	margin-top: 1px;
	clear: both;
	width: 100%;
}

#main-content .post span.continue a {
	color: #d55f5f;
	text-decoration:underline;
}

#main-content .post span.continue a:hover {
	text-decoration:none;
}

#main-content .post h4.continue a {
	color: #d55f5f;
	text-decoration:underline;
}

#main-content .post h4.continue a:hover {
	text-decoration:none;
}

#main-content .post img.thumbnail {
	border: #D8D8D1 6px solid;
}

#main-content .post img.gallery {
	margin:0 7px 7px 0;
}

#main-content h2.arh {
	border-bottom: #EBEBEB 1px solid;
	margin-top: -10px;
	margin-bottom: 10px;
	position: relative;
	text-align:center;
}

/* Main Content (advert 468x60) */

#main-content .advert_468x60 {
	border-left: #EDEDED 42px solid;
	border-right: #EDEDED 42px solid;
	border-top: #EDEDED 12px solid;
	border-bottom: #EDEDED 12px solid;
	margin: 0 0 25px 0;
}

#main-content .latest .advert_468x60 {
	margin-left:33px;
}

/* Post (featured) */

#main-content .latest .featured, #main-content .archives .featured{
	position: relative;
	margin-bottom: 15px;
	clear: both;
}
#main-content .latest .featured {
	margin-left:33px;
}

#main-content .featured h4 {
	margin-bottom: 15px;
}

/* Post (latest) */

#main-content .latest {
	width: 586px;
	margin-left: -33px;
	position: relative;
}

#main-content .latest .block {
	width: 259px;
	float: left;
	margin-left: 33px;
	margin-bottom: 28px;
	display: inline;
}

#main-content .latest h3 {
	padding-top: 7px;
}

#main-content .latest .comment-cloud {
	top: 10px !important;
}

#main-content .latest p.post-details {
	padding-top: 5px;
}

#main-content .latest h4 {
	margin-top: -3px;
	position: relative;
}

/* Post (archives) */

#main-content .archives .block {
	position: relative;
	margin-bottom: 15px;
	clear: both;
}

#main-content .archives h2 {
	padding-right: 50px;
}

#main-content .archives p.post-details {
	padding-right: 50px;
}

#main-content .archives img.alignleft {
	margin: 15px 15px 0 0;
}

/* Main Content (post>single) */

#main-content p.tags {
	width: 100%;
	clear: both;
}

.single #main-content .advert_468x60 {
	margin: 15px 0 0px 0;
}

#main-content .page h2 {
	padding-top: 5px;
}

/* Comments */

#comments h2 {
	font-size: 20px;
	font-weight: normal;
	padding: 10px 0 20px 0;
}

/* Comments (comment) */

#comments_wrap {
	width: 553px;
	padding: 15px 32px 75px 31px;
	background: url('images/bg_comments.gif') repeat-x 0 bottom;
	margin-bottom: -52px;
	position: relative;
}

#comments .comment a {
	text-decoration: underline;
}

#comments .comment p {
	padding:0;	
}

#comments .comment a:hover {
	text-decoration: none;
}

#comments .comment small {
	font-size: 10px;
	margin-top: -2px;
}

#comments .comment {
	margin-bottom: 14px;
	width: 100%;
}

#comments .comment .col-left {
	width: 110px;
}

#comments .comment .col-left img {
	border: #EDEDED 5px solid;
}

#comments .comment .col-left .inside {
	background: url('images/bg_comment_element.gif') no-repeat right 27px;
	width: 110px;
	float: right;
	margin-right: -17px;
	position: relative;
	overflow: hidden;
	padding-right: 7px;
}

#comments .comment .col-left p {
	padding: 0 0 0 2px;
	line-height: 19px;
}

#comments .comment .col-right {
	width: 381px;
	min-height: 88px;
	background: #fff;
	padding: 10px 20px;
	border: #EDEDED 5px solid;
}

* html #comments .comment .col-right {
	height: 100px;
}

/* Comments (form) */

#form_wrap {
	border-bottom: 1px solid #E6E6E6;	
	width: 553px;
	padding: 15px 32px 30px 31px;
	position: relative;
}

#form_wrap h2 {
	padding-bottom: 28px;
	position: relative;
}

#form_wrap .col-left {
	width: 170px;
}

#form_wrap .col-right {
	width: 361px;
}

#form_wrap textarea, #form_wrap .col-left input {
	border: 1px solid;
	border-top-color: #C5C3C3;
	border-left-color: #C5C3C3;
	border-right-color: #EDEDED;
	border-bottom-color: #EDEDED;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #676563;
	padding: 7px 10px;
}

#form_wrap textarea {
	width: 340px;
	margin-bottom: 18px;
}

#form_wrap .col-left input {
	width: 147px;
	display: block;
	margin-bottom: 10px;
}

#form_wrap input.sb {
	clear: left;
	display: block;
}

#form_wrap p.lc_logged {
	margin-top: -20px;
	position: relative;
}

/* PageNavi */

.more_entries {
	width: 100%;
	font-family: georgia;
	font-size: 12px;
	font-weight: bold;
	border-top: #EBEBEB 1px solid;
	padding: 26px 0;
}

.Nav {
	float: right;
}

.Nav a {
	text-decoration: none !important;
}

.Nav .on, .Nav a:hover {
	background: #ff9600 !important;
}

.Nav a, .Nav .on {
	background: #d8d8d8;
	color: #fff;
	display: block;
	float: left;
	padding: 5px 9px;
	margin-left: 4px;
}

/* Sidebar */

#sidebar {
	width: 307px;
	overflow: hidden;
}

#sidebar h2 {
	font-size: 12px;
	background: #767676;
	color: #fff;
	padding: 8px 14px;
	float: left;
	margin: 0 0 10px 1px;
	display: inline;
}

#sidebar ul {
	clear: both;
}


#sidebar a {
	color: #636363;
}

#sidebar a:hover {
	color: #000;
	text-decoration: underline;
}

/* Sidebar (block) */

#sidebar .block {
	width: 280px;
	padding: 21px 25px 21px 14px;
	background: url('images/bg_sidebar_separator.gif') repeat-x 0 bottom;
}

/* Sidebar (block > inside)*/

#sidebar .block .inside {
	/* border: #D5D4D4 5px solid;
	background: #EDEDED; */
	padding-bottom: 5px; 
}

#sidebar .block .inside ul {
	padding: 0;
}

#sidebar .block .inside li {
	padding: 8px 15px 8px 10px;
	line-height: 18px;
	background: url('images/bg_footer_list.gif') repeat-x 0 bottom;
}

#sidebar .block .inside li img.thumbnail {
	border: #A4A4A4 2px solid;
	float: left;
	margin-right: 10px;
}
#wallcomments img.thumbnail{
	border: #A4A4A4 2px solid;
	float: left;
	margin-right: 10px;
}

#tag_cloud h2, #footer #tag_cloud h2 {
	display: block;
	float: none;
}

.textwidget {
	clear: both;
	padding: 5px 2px;
	line-height:20px;
}

#wp-calendar {
	width: 95%;
	padding: 0 0 0px 0;
	margin-bottom: 15px;
	clear: both;
}

#wp-calendar caption {
	padding: 10px;
}

#wp-calendar th {
	color: #fff;
}

#wp-calendar th, #wp-calendar td {
	padding: 5px;
	text-align: center;
	background: #E7E7E7;
	color: #9E9E9E;
}

#wp-calendar td {
	background: transparent;
}

#wp-calendar td, table#wp-calendar th {
	padding: 3px 0;
}

#wp-calendar a {
	text-decoration: underline;
}

#wp-calendar a:hover {
	text-decoration: none;
}


/* Sidebar (Search)*/

#sidebar #search_main form div {
	position: relative;
	width: 260px;
	height: 33px;
	background: url('images/bg_search_field.gif') no-repeat 0 0;
}

#sidebar #search_main input.field {
	width: 163px;
	position: absolute;
	left: 12px;
	top: 7px;
	padding-top: 2px;
	outline: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #fff;
	border: 0;
	background: transparent;
	z-index: 1;
}

#sidebar #search_main input.submit {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

/* Sidebar (advert 125x125) */

#advert_125x125 {
	width: 270px !important;
	margin-left: -10px;
	padding-top: 10px !important;
	padding-bottom: 25px !important;
	overflow: hidden;
}

#advert_125x125 img {
	display: block;
	float: left;
	margin: 9px 0 0 10px;
	display: inline;
}

/* Tabs */

ul#idTabs {
	width: 100%;
	padding: 0 0 7px 0;
}

ul#idTabs li {
	display: inline;
	font-family: Georgia;
}

ul#idTabs li a {
	line-height: 20px;
	/* background: #767676; */
	background: url('images/sidemenu_grey_s.gif') no-repeat 0 0;
	width:60px;
	height:24px;
	color: #fff !important;
	display: block;
	float: left;
	text-align:center;
	padding: 0 12px;
	margin-right:4px;
}

ul#idTabs li a.selected, ul#idTabs li a:hover {
	/* background: #c21b01; */
	background: url('images/sidemenu_orange_s.gif') no-repeat 0 0;
	text-decoration:none;
}

#tagcloud {
	padding:10px;
}
/* Sidebar (flickr) */

#flickr h2 span {
	color: #0061D8;
}

#flickr h2 span span {
	color: #FF1183;
}

#flickr .wrap {
	width: 270px;
	margin-left: -5px;
	padding: 0;
	position: relative;
}

#flickr a img {
	float: left;
	margin-left: 5px;
	margin-bottom: 5px;
	display: block;
	padding: 3px;
	background: #fff;
	border: #CECFC6 1px solid;
}

#flickr a:hover img {
	border: #A8AA99 1px solid;
}

/* Footer */

#footer-out {
	width: 100%;
	background: rgb(159,159,159);
}

#footer {
	width: 939px;
	margin: 0 auto;
	background: url('images/bg_footer_gradient.jpg') no-repeat 0 0;
	padding: 23px 0 10px 0;
}

* html #footer {
	height: 275px;
}

#footer .position {
	width: 960px;
	margin-left: -20px;
}

#footer a {
	text-decoration: underline;
	color: #636363;
}

#footer a:hover {
	text-decoration: none;
}

#footer h2.widget_title {
	font-size: 14px;
	background: #2A2A2A;
	color: #fff;
	padding: 10px 15px;
	float: left;
	margin: 0 0 10px 1px;
	display: inline;
}

/* Footer (block) */

#footer .block {
	width: 300px;
	float: left;
	margin-left: 20px;
	display: inline;
}

#footer .block ul, #footer .block .textwidget , #footer .block #calendar_wrap{

	border: #D5D4D4 5px solid;
	background: #EDEDED;
	padding-bottom: 10px;
	clear: both;
	margin:0 0 15px;
}

#footer .block .textwidget {
	padding: 5px 10px;

}

/* Footer (block > list) */

#footer ul {
	padding: 0;
}

#footer li {
	padding: 5px 10px;
	line-height: 20px;
	background: url('images/bg_footer_list.gif') repeat-x 0 bottom;
}

/* Footer (copyright) */

#copyright-out {
	width: 100%;
	background-color:#990000;
	padding: 10px 0 14px 0;
}

#copyright {
	width: 939px;
	margin: 0 auto;
	font-size: 12px;
	color: #CECECE;
}

#copyright .col-right img {
	vertical-align: middle;
}

#copyright .col-right span {
	display: none;
}

/* Fix */

.wrap:after,
#sidebar #widgetized .widget_categories ul:after,
#sidebar #widgetized .widget_archive ul:after,
#sidebar #widgetized .widget_links ul:after {
    content: "."; 
    display: block;
	 height: 0;
    clear: both; 
    visibility: hidden;
}

/*=== Misc. ===*/
.fix{
	clear: both;
	height: 1px;
	margin: -1px 0 0;
	overflow: hidden
}
.fl{
	float: left
}
.fr{
	float: right
}
.ac{
	text-align: center
}
.ar{
	text-align: right
}
img.centered{
display: block;
margin-left: auto;
margin-right: auto;
}


/* Video Widget */

#video p {
	padding:0;
}
#video h2 {
	margin-bottom:7px !important;
}
#video .latest {
	border: #D5D4D4 5px solid;
	background: #EDEDED;
	width:250px;
}
#video .vidtabs ul li {
	background: none !important; 
	border: 0px !important;
	padding: 0px !important;
}
.vidtabs ul#idTabs {
	padding:7px 0 !important;
}
#footer .block .vidtabs ul {
	background:none;
	border:0;
}

/* Search
-------------------------------------------------------------------*/
#search {
margin:6px 0 0 5px;
float:left;
}

html>body div#search {
	margin:7px 0 0 5px;
}

#search input { border: 0; }

#search #s { 
	width: 148px;
	padding: 4px 0 4px 22px;
	margin-top:-1px;
	vertical-align: top;
	line-height: 0;
	font: normal 12px Verdana;
	vertical-align: top;
	color: #97866c;
	background: url('images/search_field.gif') no-repeat top;
}
#search #searchsubmit { 
	width: 53px; 
	height: 22px;
	margin-left: -4px;
	vertical-align: top;
	background: url('images/search_go.gif') no-repeat top;
}

/* sidebar tab */
.BOX-s_outside{
	clear:both;
	border:1px #e2e1e1 solid;
	background:#fff;
	margin-bottom:10px}

.BOX-s_inside {
	border:3px #f8f8f8 solid; 
	padding:5px 4px 5px 4px;
	position:relative;
	}

.BOX-s_inside h2 span {display:none}

/* 标题 */
.BOX-s_inside h2{}

/* Page Navi */
#secnav, #secnav ul {float:left;width:700px;height:27px;list-style:none;line-height:20px;padding:4px 0 0 0;margin:0;}

#secnav a {display:block;color:#fff;width:130px;height:27px;text-align:center;text-decoration:none;padding:4px 0 0 0;}
#secnav li {float:left;padding:0; border-right:1px solid #fff;}

#secnav ul {position:absolute;left:-999em;height:auto;width:142px;font-weight:normal;margin:8px 0 0 0;line-height:1;}
#secnav li ul {margin:0;padding:0;z-index:100;border-bottom:1px solid #d3cbc2;}
#secnav li li {width:100px;font-weight:normal;font-family:verdana,sans-serif;}
#secnav li li a {padding:0;line-height:30px;width:118px;font-size:12px;color:#b70000;margin-top:-1px;}
#secnav li ul ul {margin:-21px 0 0 150px;}

#secnav li li:hover {background-color:#ffffff;}

#secnav li ul li:hover a, 
#secnav li ul li li:hover a, 
#secnav li ul li li li:hover a, 
#secnav li ul li li li:hover a  {color:#dd6624;}

#secnav li:hover, 
#secnav li.sfhover {background-color:#d6d8b0;color:#a8ab6d;}

#secnav li:hover a, 
#secnav li.sfhover a {background: url('images/bg_secnav_hover.gif') no-repeat;width:131px;height:29px;cursor: pointer;color:#a8ab6d;}

#secnav li:hover li a, 
#secnav li li:hover li a, 
#secnav li li li:hover li a, 
#secnav li li li li:hover li a {float:left;color:#a8ab6d;}

#secnav li:hover ul ul, 
#secnav li:hover ul ul ul, 
#secnav li:hover ul ul ul ul, 
#secnav li.sfhover ul ul, 
#secnav li.sfhover ul ul ul, 
#secnav li.sfhover ul ul ul ul  {left:-999em;}

#secnav li:hover ul, 
#secnav li li:hover ul, 
#secnav li li li:hover ul, 
#secnav li li li li:hover ul, 
#secnav li.sfhover ul, 
#secnav li li.sfhover ul, 
#secnav li li li.sfhover ul, 
#secnav li li li li.sfhover ul  {left:auto;background-color:#ffffff;width:130px;}

/* Sidebar links*/
#sidebar #links {
	padding-left:20px;
}
#sidebar #links ul {
	clear: both;
	padding: 0 20px 8px 0;	
}
#sidebar #links li {
	border-bottom: #CECFC6 1px solid;
	line-height: 20px;
	padding: 5px 0 5px 21px;
	background: url('images/bg_sidebar_circle.gif') no-repeat 5px 12px;
	overflow: hidden;
}

/* login */
#page_navi .col-left {
	margin:2px 0px 0px 6px;
}
#page_navi input.field {
    background-color: #FFFFCC;
    border: solid 1px #996600;
}
#page_navi .bt_login {
	height:19px;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
}
