﻿*{ margin:0px; padding:0px; border:0px;}
body { font-size:12px; font-family:"宋体"; text-align:center; background-color:White;}

/*隔断*/
.clear{ clear:both;}


/*设置伪类*/
a:link{ color:Black;text-decoration: none ; }
a:visited{ color:Black;text-decoration: none ; }
a:hover{ color:#BA2636; text-decoration:underline; }
a:active{ color:#366;text-decoration: none ; }

/*总体宽度980px*/
#box{ margin:0 auto; text-align:left; width:990px; }
/*最顶部 background-color:#6cb8e9;background-color:#AA1010;*/
#top{ width:990px;  margin-top:-150px; position:absolute; line-height:25px; height:25px;}
#top ul{list-style-type:none; height:100%;}
#top li{ line-height:28px; height:28px; float:right; padding-right:10px; color:White; list-style-type:none; margin-left:5px; font-weight:bold;}
#top li a{ display:block; text-decoration:none; color:White;}
#top li a:hover{text-decoration:underline; }

/*banner部分*/
#banner{ width:100%; background-image:url("image/banner.jpg"); height:150px;}
/*主体部分*/
#main{ width:100%; background-image:url("image/mainbg.jpg"); background-repeat:repeat-x;}
/*主体上部分*/
#mainTop{ width:100%;}
/*main左侧部分*/
#main_left_top{ margin-left:2px; margin-top:0px; float:left;width:685px; background-color:White;}
/*第一个左侧小栏目,因为id的权重比class大，故利用这个特点来设置第一个栏目*/
#first_left{ margin-left:1px; width:110px;}

/*小标题，例如说--常用数据库*/
.xiaobiaoti{ height:272px; float:left; margin-top:2px; border-color:#DCDDDD; border-width:1px; border-style:solid; margin-left:3px; width:137px;  background-repeat:repeat-x repeat-y;}
.xiaobiaoti span{ color:White; background-color:#AA1010; font-weight:bold;  display:block; width:100%; text-indent:25px; line-height:24px; height:24px;}

/*小标题下面的ul以及li*/
.xiaobiaoti ul{ list-style-type:none; text-indent:25px; margin:0px; padding:0px;}
/*方式1： list-style-image:url(image/star.gif); list-style-position:inside; */
/*方式2： background-image:url(image/star.gif); background-repeat:no-repeat; background-position:5px center;*/
.xiaobiaoti li{ line-height:27px; color:Black; height:27px; background-image:url(image/nav.gif); background-repeat:no-repeat; background-position:5px 0px;}

#zzfwxiaobiaoti li{background-position:15px 0px; text-indent:35px;}


/*图书二级菜单*/
.erjiziyuan{ display:none; background-color:#6cb8e9; position:absolute; width:220px; text-align:left;}
.ejbg{ background-color:#6cb8e9;}
/*原来有display:block;*/
.zyjs a{  color:Black;}

/*广告显示区域*/
#Showad{ clear:both; margin-top:10px; margin-bottom:5px; margin-right:4px; height:100px; background-image:url("");}
#Showad img{ width:100%; height:100px;}
/*主体上部分右侧*/
#mainTop_right{ width:270px; float:right; margin-left:4px; margin-right:4px; background-color:#fefefe; height:338px;}

/*主体上部分右侧顶部*/
#mainTop_right_top{ background-image:url("image/main_right_topbg.jpg"); height:35px; background-repeat:no-repeat;}


/*main右侧部分*/
#main_right{ width:280px;  float:left; margin-left:6px; margin-right:3px;}
#main_right_top{ margin-top:2px; background-image:url(image/main_right_top_bg.gif); background-repeat:repeat-x repeat-y; background-position:5 0; width:100%;}
#main_right_picshow{ padding-top:2px;}
#main_right_foot,#xkgy,#lyb,#jialiu,#zxsyzy{ text-indent:20px; margin-top:3px;}

#main_right_foot #trydo ul, #xkgy ul,#lyb ul,#jialiu ul,#zxsyzy ul
{ list-style-type:none;}

/*如果搭配不好background-position，则会出现list前面的图片出现不全的问题*/
/*下面的css中overflow:hiden，很重要！没有则显示效果很差劲哦。*/
#main_right_foot #trydo li, #xkgy li,#lyb li,#jialiu li,#zxsyzy li
{ text-overflow:ellipsis; white-space:nowrap; overflow:hidden; display:block; padding-right:1px;  line-height:24px; height:24px; background-image:url(image/nav.gif); background-repeat:no-repeat; background-position:2px 0px;}

/*加宽度则不行，不能显示省略号*/
#xkgy li a,#lyb li a,#jialiu li a,#zxsyzy li a,#trydo li a
{float:left; }

#xkgy,#lyb,#jialiu,#zxsyzy{ margin-top:0px;}

/*加宽度则不行，不能显示省略号*/
#trydo li p,.info #xkgy li p,.info #lyb li p,.info #jialiu li p,.info #zxsyzy li p,#main_right .top #zxsyzy li p
{ padding-left:1px; width:50px; display:block; float:right; color:Gray}

/*下方的信息框部分*/
.info{ width:238px; float:left; margin-top:2px; border:solid 1px #DCDDDD; margin-left:4px; background-color:White;}
/*学科馆员下面的span*/
/*原来的颜色background-color:#DCDDDD;*/
.info span{font-weight:bold; color:Black; text-indent:10px; font-weight:bold; background-image:url("image/infobg.jpg"); background-repeat:repeat-x; width:100%; display:block; height:22px; line-height:22px;}
.top .span1{ background-color:#AA1010;font-weight:bold; color:White; line-height:23px; height:23px;}


#main_right_foot #trydo img{ margin-right:3px; }
#main_right_foot #trydo {float:left; width:280px; }
.more{ float:right; text-indent:2em;}

/*图片部分*/
#mainTop_right_img ul{ list-style-type:none;}
#mainTop_right_img ul li{ list-style-type:none;}
#mainTop_right_img ul li img{ float:left;  margin-left:50px; margin-top:4px; width:170px; height:130px;}
#mainTop_right_img ul li span{ clear:both; float:left; text-indent:30px; width:100%; display:block; margin-top:3px;}

/*网页尾*/
#foot{ line-height:20px; height:30px; color:Black; text-align:center; margin-top:2px; padding-top:2px; border-top-width:2px; border-top-style:solid; border-top-color:#EEEEFF; clear:both;}



/*main左侧下方链接*/
#main_left_foot{ text-indent:5px; color:Black; margin-top:4px; margin-bottom:4px; text-indent:10px; width:100%; background-color:#DCDDDD}
#main_left_foot ul{ list-style-type:none;}
#main_left_foot li{ float:left; padding-left:4px; line-height:23px; height:23px;}
#main_left_foot li a{ display:block; color:Black; }

#duxiu{ width:230px; height:82px; float:left; padding-left:30px;}
#duxiu img{ width:190px; height:50px; margin:14px 24px 10px 14px;}

/*下方的两个小图片部分*/
.duzheliuyanxuekeguanyuan_pic { width:80px; height:137px; float:left; margin-top:2px; border:0px;}
.duzheliuyanxuekeguanyuan_pic img{ width:70px; height:57px; padding:1px; border:solid 1px black;}
.duzheliuyanxuekeguanyuan_pic .pic1{ width:100%; height:55px; margin-top:5px;}
.duzheliuyanxuekeguanyuan_pic .pic2{ width:100%; height:55px; margin-top:20px; }
.duzheliuyanxuekeguanyuan_pic .pic3{ width:100%; height:55px; margin-top:5px;}
.duzheliuyanxuekeguanyuan_pic .pic4{ width:100%; height:55px; margin-top:20px; }


#main_right_foot .span1{background-color:#E5772F; color:White; width:100%; display:block; line-height:22px;  text-indent:10px;}

/*右侧上方*/
#main_right_foot .top{ width:100%;float:left; }
#main_right_foot .top .span1 a{ color:White;}
#main_right_foot .top .span1 a:hover{ color:#2B2B2B;}

.top{border:solid 1px #FF6600;}