/*
Theme Name: Green-company-wptemplate
Theme URI: http://wang-shu.cn
Description: Theme designed by <a href="http://www.cong7.com/">鸿兴</a>.
Version: 1.2
Author: 鸿兴
Author URI: http://www.cong7.com
Tags: green,white,two columns,widgets
*/

/* global css */
body{ margin:0 auto; background:#FFF url(images/top.png) repeat-x center top; color:#333; font-size:12px; font-family:'宋体',Arial,Verdana,Sans-Serif;}
div,form,ul,ol,li,span,p{margin:0 auto; padding:0; border:0;}
img,a img{margin:0; padding:0; border:none;}
ul,ol,li{list-style:none;}
table,td,input{font-size:12px;}
h1,h2,h3,h4,h5,h6{ margin:0 auto;}
h1 {font-size:28px;}
h2 {font-size:22px;}
h3 {font-size:16px;}
h4 {font-size:14px;}
h5 {font-size:14px;}
h6 {font-size:14px;}

.clear{clear:both;font-size:1px;width:1px;height:0;visibility:hidden;margin-top:0px!important;*margin-top:-1px;line-height:0}

/* default link style */
a:link, a:visited{outline-style:none; color:#1E1E1E;text-decoration:none}
a:hover{color:#335509; text-decoration:underline;}

/* Wrapper */
.wrapper{ margin:0 auto; padding:0 0; width:960px; }

/* Header */
.header{ margin:0 auto; padding:0 0; width:960px; }

/* Logo */
.logo{ float:left; padding:30px 0px 10px; font-size:32px; text-indent:-9999px; }
.logo a:link, .logo a:visited, .logo a:hover{ width:380px; height:60px; background:url(images/logo.gif) no-repeat 0 0; display:block; }

/* Header Right */
.headerR{ float:right; padding:15px 0px; width:450px;}

/* Mini Function */
.mini_func{ float:right; padding:0px 5px 20px;}
.flag{ padding:0px 5px;}
.homepage, .favicon{ padding:3px 0px 2px 16px;}
.homepage{ padding-right:10px; background:url(images/icon.gif) no-repeat 0 3px;}
.favicon{ background:url(images/icon.gif) no-repeat 0 -17px;}

/* Search */
.search{ float:right; margin:5px 0px 12px; width:255px; position:relative;}
.searchInput{ padding:3px 0px 1px 5px; width:195px; height:16px; line-height:16px; border:1px solid #A0A0A0; background-color:#FFF; position:absolute; top:0px; left:0px;}
.searchBtn{ width:48px; height:22px; line-height:22px; border:none; text-align:center; background:url(images/bg.png) no-repeat right -48px; position:absolute; top:0px; right:0px; cursor:pointer;}

/* Main Menu */
.navigation{ float:left; margin:5px 0px 0px; width:960px; height:36px; background:url(images/bg.png) no-repeat 0 0px; overflow:visible;}
.menu{ float:left; width:940px; height:34px; padding:1px 10px; overflow:hidden;}
.menu li{ float:left; margin:0px 0; padding:0px 8px; font-size:14px; font-weight:bold; text-align:center; white-space:nowrap; background:url(images/bg.png) no-repeat left -43px;}
.menu li.homepage{ background:none;}
.menu li a:link, .menu li a:visited{ margin:0px 0px; padding:10px 10px 9px 14px; color:#FFF; text-decoration:none; display:block;}
.menu li a:hover{ color:#FF0; text-decoration:underline;}
.menu li.current_page_item a:link, .menu li.current_page_item a:visited, .menu li.current_page_item a:hover{ color:#FF0; }
.menu li.current-cat a:link, .menu li.current-cat a:visited, .menu li.current-cat a:hover{ color:#FF0; }

/* Banner */
.banner{ float:left; margin:10px auto; width:960px; height:200px; overflow:hidden;}
.banner img{ width:960px; height:200px;}

/* Slideshow */
.slideshow{ float:left; margin:15px auto 20px; width:958px;height:332px; border:1px solid #CCC;  position:relative;}
#showimg{ width:382px; height:330px;float:left;}
#showimg img{ width:380px; height:330px; border:0;}
.operate{ width:560px;height:330px;float:left;padding-left:6px;border-left:1px solid #CCC;}
.operate h2{margin:4px 0 6px 5px;}
.operate p{margin:0 0 6px 5px;line-height:20px;}
.operate a,.operate a:visited{color:#0000FF;}

/* Featured */
.featured{ margin:0 auto; padding:0 0; width:960px; overflow:hidden;}
.featured h2{ margin:0 0 15px 0; padding:6px 0px; width:300px; text-indent:5px; font-size:14px; border-bottom:1px solid #CACACA; overflow:hidden;}
.featured h3{ margin:16px 0 6px 0; padding:6px 0px; width:300px; text-indent:5px; font-size:14px; border-bottom:1px solid #CACACA; overflow:hidden;}

.featured h2 b{ border-bottom:2px solid #43700C;padding-bottom:4px;*padding-bottom:6px;_padding-bottom:4px;margin:0; }
.featured h2 span{ float:right; *margin-top:-10px; _margin-top:-14px; padding-right:10px; font-size:12px; font-weight:normal;}
.featured h2 a:link, .featured h2 a:visited{ color:#43700C; text-decoration:none;}
.featured h2 a:hover{ color:#335509;}
.featured h2 span a:link, .featured h2 span a:visited{ color:#7F7F7F; text-decoration:none;}
.featured h2 span a:hover{ color:#335509; text-decoration:underline;}

.news{ float:left; width:330px; overflow:hidden;}
.news ul{ margin-top:8px;}
.news ul li{ float:left; margin:6px 0px 4px; padding:0px 5px 0px 10px; width:315px; height:14px; line-height:14px; background:url(images/spot.gif) no-repeat 0 5px; overflow:hidden;}
.news ul li a{ float:left; width:280px; overflow:hidden;}
.news ul li span{ float:right; width:60px; color:#666;}

.products{ float:left; margin:0px 10px; width:330px; overflow:hidden;}
.products ul{ margin:0px 0px;}
.products ul li{ float:left; margin-bottom:8px; width:140px; height:140px; padding:0px 2px 0px 6px; overflow:hidden;}
.products ul li img{ padding:1px 1px; width:150px; height:110px; border:1px solid #E4E4E4;}
.products ul li .product_name{ width:150px; height:15px; line-height:15px; text-align:center; display:block; overflow:hidden;}

.profile{ float:right; width:280px; overflow:hidden;}
.about-us{ padding:2px 0px 2px 8px;  text-indent:12px; line-height:18px; overflow:hidden; _display:inline;}
.about-us p{margin-bottom:8px;}

/* breadcrumb */
.breadcrumb{ padding:0px 0px 4px 5px; font-size:12px; color:#666; border-bottom:1px solid #DDD;}
.breadcrumb a:link, .breadcrumb a:visited{ color:#666; text-decoration:none;}
.breadcrumb a:hover{ color:#333; text-decoration:underline;}

/* Container */
.container{ margin:0 auto; padding:0 0; width:960px; overflow:hidden;}
.containerTop{ width:960px; height:20px; background:url(images/container.png) no-repeat center top; }
.containerContent{ float:left; padding:0px 10px 10px; width:938px; border:1px solid #DDD; border-top:none; background:url(images/line_sidebar.png) no-repeat 265px top;}

/* Content */
.content{ float:right; width:670px; overflow:hidden;}
.posts{ padding:0px 10px; width:655px; line-height:22px; overflow:hidden;}
.posts .articlelist li{ padding-left:12px; line-height:32px; border-bottom:1px dashed #DDD; background:url(images/arrow.gif) no-repeat 0px 14px;}
.posts .articlelist li h2{ font-size:14px;}
.posts .articlelist li .contxt{ font-size:12px;line-height:22px;}
.posts .articlelist li a.morelink,.posts .articlelist li a.morelink:visited{color:#0000FF;}
.posts .articlelist li a.morelink:hover{color:#00791F;}
.posts p{ margin-bottom:10px;}

/* Single */
.single{ padding:0px 15px; width:645px;}
.single a:link{color:#0000B7;}
.single a:visited{color:#800040;}
.single a:hover{color:#4E8B07;}
.single h1{ margin:20px 0px 15px; font-size:18px; text-align:center; color:#222;}
.single h2,.single h3{margin-left:0;font-size:14px;}
.single .postbg p{margin:10px 0;}
.single .postbg img {margin:0 auto; text-align:center;display:block; }
.single .postbg img.de {margin:0; text-align:left;display:inline; }

/* News */
.postlist{ margin:15px 0px 0px;}
.postlist li{ float:left; padding-left:12px; width:640px; height:32px; line-height:32px; border-bottom:1px dashed #DDD; background:url(images/arrow.gif) no-repeat 0px 14px;}
.postlist li h3{ float:left; width:500px; font-size:12px; font-weight:normal;}
.postlist li span{ float:right; width:80px; text-align:right; color:#666;}

/* Products */
.productlist{margin-top:20px;}
.productlist li{ float:left; margin:5px 0px 10px; padding:0px 6px; width:205px; height:190px; overflow:hidden;}
.productlist li img{ padding:2px 2px; width:200px; height:160px; border:1px solid #E4E4E4;}
.productlist li .product_name{ width:200px; height:15px; line-height:15px; text-align:center; display:block; overflow:hidden;}

/* Sidebar */
.sidebar{ float:left; width:250px; overflow:hidden;}
.sidebar h3{ float:left; padding:8px 5px 6px 10px; width:230px; font-size:14px; color:#FFF; background:url(images/bg.png) no-repeat 0 -131px; }
.sidebar ul{ float:left; width:250px;}
.sidebar ul li{ float:left; margin-bottom:20px;}
.sidebar ul li.widget_text{ padding:0px 0px;}
.sidebar ul li.widget div{ padding:15px 10px 0px; line-height:20px; clear:both;}
.sidebar ul li ul{ float:left; margin-top:15px;}
.sidebar ul li ul li{ width:230px; margin:6px 4px 5px; padding-left:10px; background:url(images/spot.gif) no-repeat 0px 6px; overflow:hidden;}
.sidebar ul li ul li ul{ border:none;}
.sidebar ul li ul.sub li{ padding-left:0px; background:none;}
.sidebar ul li ul.sub li a:link, .sidebar ul li ul.sub li a:visited{ padding:2px 5px 10px 22px; width:210px; color:#333; font-weight:bold; text-decoration:none; background:url(images/arrow.gif) no-repeat 10px 7px; border-bottom:1px solid #E6E6E6; display:block;}
.sidebar ul li ul.sub li a:hover{ color:#0B3779; background:url(images/arrow_hover.gif) no-repeat 10px 7px; border-bottom:1px solid #CCC;}
.sidebar ul li ul.sub .current_page_item{ background:url(images/arrow_hover.gif) no-repeat 10px 7px; border-bottom:1px solid #CCC;}
.sidebar ul li ul.sub .current_page_item a:link, .sidebar ul li ul.sub .current_page_item a:visited, .sidebar ul li ul.sub .current_page_item a:hover{ color:#0B3779; font-weight:bold; background:none;}

/* page navi */
.pageNavi{ width:98%; margin:10px auto 0px; padding:10px 0px 25px; text-align:center; border-top:1px solid #DDD; }
.wp-pagenavi{ margin:0 auto; padding-top:15px;}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited{ padding:4px 8px !important; margin: 2px; text-decoration:none !important; color: #333 !important; border:1px solid #CCC !important; }
.wp-pagenavi a:hover {color:#0B3779 !important; background-color:#EEE !important; font-weight:bold !important;}
.wp-pagenavi a:active {padding:2px 2px; margin:2px; text-decoration: none; border:1px solid #CCC !important;}
.wp-pagenavi span.pages, .wp-pagenavi span.extend { padding:4px 8px !important; margin:2px; color: #454545 !important; border:1px solid #CCC !important;}
.wp-pagenavi span.current { padding:4px 8px !important; margin:2px; color:#000 !important; background-color:#EEE !important; border:1px solid #AAA !important;}

.siglepage{width:100%;background:#CACACA;padding:8px 0px;margin:0 0 8px 0;}
.pageleft, .pageright{ width:300px; white-space:nowrap;overflow:hidden;}
.pageleft{ float:left; margin-left:10px; text-align:left;}
.pageright{float:right; margin-right:10px; text-align:right;}
.pageleft a,.pageright a,.pageleft a:visited,.pageright a:visited{color:#0000FF;}
.pageleft a:hover,.pageright a:hover{color:#4E8B07;}


/* Comments*/
.post-comment{ margin:5px 0px 25px 0px;}
.commentlist{ padding:10px 0px;}
.commentlist a:link,.commentlist a:visited{color:#8B8B8B;}
.commentlist a:hover{color:#8B8B8B;}
.post-comment h3{ margin:15px 0px 0px; padding:5px 0px; font-size:14px;}
.commentlist li{ float:left; margin:5px auto; width:98%; padding:5px 5px; color:#363636;border:1px solid #DDDDDD;}
.commentlist li.comment-author-admin{background:#C4DEFF; border:1px solid #12B1E4;}
.commentlist li .comment-author{ float:left; width:60px; margin:0px 2px 5px 0px; padding:1px 1px; text-align:center; }
.avatar{  width:40px; height:40px;  border:1px solid #C7C7C7;}
.fn{ font-style:normal;display:block;clear:both; }
.commentlist .says{display:none;}
.commentlist li .commentmetadata{ color:#999999;font-size:10px;}
.commentlist li p{margin:8px 0 0 8px; text-indent:0px;}
.commentlist .reply{ float:right;}
.commentlist .reply a,.commentlist .reply a:visited{color: #0266FD;}
.commentlist .reply a:hover{color:#017CA5}
#cancel-comment-reply-link{ font-size:12px;margin-left:10px;color:#0266FD;}
.author_description{ float:left; padding:10px; line-height:20px; color:#1D97CC;}
.comment-timer{ color:#999;}
.comment-timer a:link, .comment-timer a:visited{ font-size:11px; color:#999; text-decoration:none;}
.cmtop{ color:#999;}
.moderation{ color:#666;}
.loggedin{ padding-bottom:5px; color:#CC0167;}
#respond h3{clear:both;}
#respond form a:link,#respond form a:visited{color:#8B8B8B;}
#respond form a:hover{color:#8B8B8B;}
/* Comment Form */

.form-comment{ padding:0px 0px 10px;}
.form-comment li{ margin:5px 0px; border:none; background:none;}
#author, #email, #url, #comment{ padding:5px 5px 4px; width:240px; border:1px solid #CCC; color:#333; background-color:#F5F5F5;}
#comment{ width:98%;}
#submit{ padding:4px 15px; font-size:14px; }
.mouseover{ padding:5px 5px 4px !important; border:1px solid #BBC5CC !important; background-color:#FFF !important; }
.form-comment label{ color:#454545;}
.comment-author{ float:left;}
.vote-plugin{ float:right;}
#but_submit{ margin:8px 0px;}
/* Footer */
#footer{ margin:0 auto;  color:#666; text-align:center;line-height:22px;}
#footer .copyright{width:1000px;margin:0 auto;padding:8px 0;background:#F0F8D3;border-top:1px solid #D9D9D9;}
#footer .counter{display:none;}

/*-----*/

.error a,.error a:visited{color:#0000FF;}
.error h2{margin:10px 0px 10px 200px;}
.error p{margin:0px 0px 5px 208px;}

