﻿/*
 * 功能：网站布局
 * 作者：Gavin
 * 创建时间：2008-10-27
 * 最后一次修改时间：2009-1-14 
---------------------------------*/

/*外部容器
---------------------------------*/
#container {
width:1002px;
margin:0 auto;
}
/*页头
---------------------------------*/
/* banner */
#banner {
height:111px;
overflow:hidden;
margin-bottom:20px;
}
/*主要内容区
---------------------------------*/
#main {
overflow: hidden;
}
/* sideBar */
#sideBar {
float:left;
width:196px;
margin:0 29px;
display:inline;
background:url(sideBg.gif) repeat-y 0 0;
text-align:center;
}
#sideBar .wrapper01 {
background:url(sideBgBottom.jpg) no-repeat 0 bottom;
}
#sideBar .wrapper02 {
background:url(sideBgTop.jpg) no-repeat 0 0;
padding:89px 0;
}
/* content */
#content {
float:right;
width:748px;
}
/*页脚
---------------------------------*/
#footer {
background:#F4F8FB;
border-top:1px solid #ccc;
margin-top:30px;
}
#footer .copyright {
line-height:20px;
padding:10px 0;
}
/*首页模块
---------------------------------*/
/*侧栏-三级菜单*/
#subNav {
width:178px;
margin:0 auto;
}
#subNav ul li {
font-size:12px;
width:100%;
border-bottom:1px solid #1F63B0;
}
#subNav ul li li {
border-bottom:1px solid #ddd;
}
#subNav ul li li li {
border-bottom:none;
border-top:1px dashed #ddd;
}
#subNav ul li a {
display:block;
width:128px;
padding-left:50px;
background:url(subMenuBg.jpg) no-repeat 0 -27px;
color:#fff;
font:bold 13px Arial, Helvetica, sans-serif;
line-height:27px;
}
#subNav ul li a:hover {
background-position:0 0;
}
#subNav ul li.current a {
background-position:0 0;
}
#subNav ul li li a, #subNav ul li.current li a {
background:url(listIcon01.gif) no-repeat 40px 6px;
padding-left:50px;
width:128px;
color:#333;
font-size:12px;
line-height:20px;
}
#subNav ul li li a:hover, #subNav ul li li.current a {
background-position:40px 6px;
color:#F60;
}
#subNav ul li.current li.current li a {
font-weight:normal;
line-height:20px;
background:url(listIcon02.gif) no-repeat 20px 6px;
padding-left:35px;
width:143px;
color:#333;
}
#subNav ul li.current li.current li a:hover, #subNav ul li.current li.current li.current a {
background-position:20px 6px;
background-color:#f8f8f8;
color:#F60;
}
#contact {
padding:10px;
text-align:left;
line-height:20px;
}
/*内页内容区
---------------------------------*/
#crumbs {
text-align:right;
text-transform:uppercase;
line-height:22px;
}
#searchBar {
background:url(searchBarBg.gif) repeat-x left top;
overflow:hidden;
height:36px;
}
#search {
background:url(searchBarBgLeft.gif) no-repeat left top;
padding:0 0 4px 30px;
}
#search li {
float:left;
line-height:22px;
padding-top:4px;
color:#fff;
display:inline;
font-weight:bold;
font-size:13px;
margin-right:10px;
}
#search li input {
font-size:12px;
padding:1px;
font-family:Arial, Helvetica, sans-serif;
}
#search li input.btnSearch {
padding:0;
}
.title {
margin-top:16px;
background:#efefef;
border-bottom:#cdcdcd 1px solid;
height:21px;
position:relative;
}
.title h2 {
color:#000;
font-size:14px;
line-height:21px;
text-align:left;
padding-left:20px;
position:absolute;
left:0;
}
.title span {
position:absolute;
right:20px;
line-height:21px;
}
#profile .content, #function {
padding:16px;
text-align:left;
}
#profile .content img {
float:left;
margin:0 20px 20px 0;
}
/*--- 产品列表 ---*/
.productList {
text-align:center;
padding-top:20px;
}
.productList li {
width:25%;
margin:10px 0;
float:left;
text-align:center;
}
.productList li img {
border:#999 1px solid;
height:116px;
width:116px;
padding:1px;
}
.productList li a:hover img {
border-color:#ccc;
}
.productList li a span {
text-align:center;
}
.productList li a:hover span {
color:#333;
text-decoration:underline;
}
.productList span {
display:block;
cursor:pointer;
width:116px;
margin:6px auto 0;
line-height:18px;
height:36px;
overflow:hidden;
}
/*--- 内页新闻列表 ---*/
.newsList {
margin:0 auto;
}
.newsList ul {
padding-top:16px;
}
.newsList li {
text-align:left;
padding:8px 0;
background:url(newsDiv.gif) repeat-x bottom;
position:relative;
width:100%;
}
.newsList li a {
padding-left:30px;
background:url(listIcon02.gif) no-repeat 15px 50%;
}
.newsList li span {
color:#A0A0A0;
position:absolute;
right:10px;
}
/*--- 分页 ---*/
.pages {
text-align:center;
line-height:24px;
height:24px;
padding:30px 0;
}
/*--- 提问功能、招聘功能 ---*/
.questionList dt, .jobList dt {
font-weight:normal;
margin-top:10px;
}
.questionList dt span, .jobList dt span {
cursor:pointer;
font-weight:bold;
margin:0 4px;
}
.questionList dd, .jobList dd {
border:#ccc 1px solid;
padding:6px 10px;
}
/*--- 视频列表 ---*/
td.videoList a {
background:#fff url(videoIcon.jpg) no-repeat left 50%;
padding-left:25px;
}
div.videoShow {
text-align:center;
background:#fff;
border:solid 1px #eee;
width:80%;
padding:10px;
margin:0 auto;
}
div.videoShow h4 {
width:80%;
margin:0 auto;
background:url(videoIcon.jpg) no-repeat left 50%;
text-align:left;
padding-left:25px;
font-size:14px;
height:50px;
line-height:50px;
}
#mainContentSearch {
margin:30px;
}
.searchTitle {
border:1px solid #ddd;
border-width:1px 0;
padding:0 10px;
line-height:22px;
background:#f8f8f8;
}
.searchTitle a {
background:url(listImg.gif) no-repeat right 50%;
padding-right:10px;
}
#mainContentSearch strong {
padding-left:2em;
}
.resultTopicTitle {
}
#mainContentSearch .newsList {
width:100%;
}
/*网站地图*/
.map {
margin-bottom:10px;
}
.map ul {
margin-left:20px;
background:url(ulBg.gif) repeat-y;
}
.map ul li {
background:url(liBg01.gif) no-repeat left top;
font-size:12px;
line-height:24px;
padding-left:15px;
}
.map ul li.lastChild {
background-image:url(liBg02.gif);
}
/*--- 新闻详细页 ---*/
.article h3 {
border-bottom:1px solid #ddd;
font-size:14px;
height:30px;
line-height:30px;
margin:0 1em;
text-align:center;
}
.article .newsDate {
line-height:22px;
margin-bottom:16px;
text-align:center;
}
.pageNav {
margin:20px auto;
width:300px;
}
.pageNav li {
float:left;
margin-right:20px;
}
.pageNav li a {
background:#ddd;
border:#666 1px solid;
float:left;
padding:4px 8px;
}
.pageNav li a:hover {
background:#eee;
border-color:#999;
}
.relatedNews {
padding:10px;
}
.relatedNews h3 {
font-size:14px;
margin-bottom:8px;
}
.relatedNews a {
background:url(listIcon06.gif) no-repeat 0 50%;
line-height:22px;
padding-left:12px;
}
/*--- 产品详细页 ---*/
#productImages {
text-align:center;
}
#productImages h3 {
line-height:60px;
height:60px;
font-size:16px;
}
.large {
padding-bottom:20px;
}
.large img {
border:1px solid #ddd;
padding:1px;
}
.thumbnail li {
float:left;
display:inline;
padding-bottom:20px;
width:25%;
text-align:center;
}
.thumbnail span {
text-align:center;
display:block;
}
.thumbnail li a img {
border:1px solid #ddd;
padding:1px;
height:120px;
}
.thumbnail li a:hover img {
border-color:#666;
}
#productFeatures {
border-top:1px solid #ddd;
padding:15px 0;
}
/*--- 表单：左标签等宽右对齐 ---*/
#demoForm {
background:red;
margin:0 auto;
}
fieldset {
border:none;
}
fieldset legend {
font-weight:700;
padding:20px 0 20px 160px;
}
fieldset ol {
list-style: none;
}
fieldset li {
display:inline;
float: left;
padding-bottom: 1em;
width: 100%;
}
fieldset li label {
float: left;
line-height:22px;
margin-right:10px;
text-align: right;
width: 150px;
}
fieldset li span {
display:inline;
float:left;
line-height:18px;
margin-left:10px;
width:120px;
}
fieldset input.text, fieldset textarea {
border:1px solid #999;
display:inline;
float:left;
font:12px Arial, Helvetica, sans-serif;
padding:1px;
width:300px;
}
fieldset textarea {
height:8em;
}
.btnSubmit {
background:#ddd;
border:#666 1px solid;
cursor:pointer;
font-size:12px;
line-height:14px;
padding:2px 6px;
}
div.submit a {
margin-right:8px;
}
div.submit, div.submit2 {
padding-left:160px;
text-align:left;
}
/*会员功能
 *登录
 *注册
 *找回密码
 *修改资料
 *用户信息
---------------------------------*/
.memberLogin, .register, .fetchPassword, .passwordModify, .userInfo {
}
.memberLogin .text, .passwordModify .text {
width:180px;
}
/*会员功能工具条
---------------------------------*/
.toolbar {
border:1px solid #999;
}
.toolbar a {
float:left;
display:block;
padding:4px 10px;
background:#ddd;
border-right:1px solid #999;
}
.toolbar a:hover {
background:#eee;
}
