/* 
CSS Document for Educational Administration Offiece of Southwest Petroleum University .
Update: 2008.3.22
Function：前台整体框架样式
*/

/* 页面总体样式：链接，字体等 */
body {
	margin: 0;
	padding: 0;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#000;
	line-height:120%;
	background-color:#eeeeee;
	}
/*----- base links -----*/
a:link{color: #145BB5;text-decoration:none;}
a:visited{color: #145BB5;text-decoration:none;}
a:hover{color: #FE6902;text-decoration:underline;}
a:active{color: #FE6902;text-decoration:underline;}
a:focus{color: #FE6902; outline:none;text-decoration:underline;}
/*
a {
	text-decoration:none;
	color:  #000;
	outline: none;
	}
a:visited {
	text-decoration:none;
	color:#333;
	}
a:active {
	color:  #000;
	}
a:hover {
	text-decoration: underline;
	}
*/
/* 页头header样式 - 导航菜单*/
#header {
	margin: 0 auto;
	padding: 0;
	height: 118px; /* ie5win fudge begins */
	voice-family: "\"}\"";
	voice-family:inherit;
	height: 118px;
	width: 777px;
}
html>body #header {
	height: 118px; /* ie5win fudge ends */
	}
#header img { border:0;}
#menu {
	margin:0 auto;
	padding: 0px auto;
	height: 40px; /* ie5win fudge begins */
	voice-family: "\"}\"";
	voice-family:inherit;
	height: 40px;
	width: 777px;
	text-align:center;
	background-image:url(../images/menu_bg.gif);
}
#nav {
	margin: 1px auto;
	}
#menu ul {
	/*clear:both;
	text-align:center;*/
	margin: 0px auto;
	padding: 4px;
	border:0;
	list-style-type:none;	
	width:98%;
	overflow:hidden;
} 

#menu ul li {
	float:left;
	margin: 8px auto;
	display: block;
	padding: 0;
	text-align:center;
	margin-left:-1px;
	border-right: 1px solid #666666;
	/*background-image:url(../images/menu_sep.gif);
	background-repeat:no-repeat;*/
}
#menu li li#nosep A { background-image:none;
	background-repeat:no-repeat;} 
#menu li a {
	display:block;
	padding:2px 3px;
	width: 57px;
	font-size: 12px;
	text-align: center;
	color:#2E2F29;
	text-decoration:none;
	
	/*background-image:url(../images/menu_sep.gif);
	background-repeat:no-repeat;*/
}
#menu li a:hover {
	/*background-color:#000;*/
	TOP: 1px;
	color: #1028bd;
	position: relative;
} 

/* 页面主题样式：页面总体布局，首页左-右两栏，按照 右-左 内容顺序显示 */
#wrap {
	width: 777px;
	margin: 0 auto;
	padding: 0px;
	background-color:#FFFFFF;
}

#left{float:left; margin:0; padding:0; width:220px;background-color:#FFFFFF;}
#left2{float:left; margin:0; padding:0; width:220px;background-color:#FFFFFF;}
#right{
	float:right;
	margin:0; padding:0;
	width:550px;
	background-color:#FFFFFF;
}

/* 右侧主题 */
#r_main{
	background-image:url(../images/swpueao_ex.gif);
	background-repeat:no-repeat;
	background-position:bottom right;
}

.clear{
	clear: both;
	height: 8px;
	overflow: hidden;
}
/*二级页面导航，where am I*/
.whereami{margin:0; padding:6; text-indent:2px; height:22px; border-bottom:dotted 1px #6699FF; width:99%;}
/*二级页面右侧主体*/
#category_main
{	margin:0; padding:0;}
.newslist{
	margin:0; padding:4px 2px;
	background-position: right;
	background-repeat:no-repeat;
	width:98%;}
.newslist ul,ul li{
	margin:2px;
	padding:0;
	list-style-type:none;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	}
.newslist ul li{
	border-bottom:dotted 1px #E9E9E9;
	line-height:200%;
	width:96%;
	background-image:url(../images/li_p.gif);
	background-repeat:no-repeat;
	background-position:left;
	text-indent:8px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
#search_category{	/* 二级页面搜索*/
	float:right;	
	margin:15px 6px;
	padding:0;
	background-image:url(../images/searchbg.gif);
	background-repeat:no-repeat;
	background-position:left top;
	height:34px;
	border:none;
}
.searchtip{
	margin:2px;
	padding:0;
	text-align:right;
	height:32px;
}
/* 页脚footer样式 */
#footer{
	clear:both;
	margin:0 auto;
	padding:0;
	height:35px;
	width: 777px;
	text-align:center;
	background-color:#FFFFFF;
}
.f_content{
	margin: 0 1px;
	padding: 0;
	height:35px;
	line-height:160%;
	background-image:url(../images/f_bg.gif);}
.breakline{ margin:0 ; padding:0; height:2px;background:url(../images/breakbg.gif) repeat-x;}
/*分页*/
.dividpage{ margin:4px; padding:2px; height:24px;}

.catelogs
{margin:0; padding:0;}

#guestbook{
	clear:both;
	line-height:140%;
	margin:10px;
	padding:0px;
}
.gt{
	background-color:#F3F6F9;
	padding:4px;
}
.gc{
	padding:4px;
}
.rt{background-color:#F8F8F8;
	padding:4px;}
.rc{color:#FF0000;}
.bl{
	margin:4px;
	padding:0;
	border-bottom: solid 1px #BED9EC;
}
.rules{margin:10px;
	padding:4px;border: solid 1px #B4C7E9;}	
.rulesl{float:left; margin:0; padding:0; width:500px;padding:4px;
	}
.rulesr{
	float:right;
	margin:0; padding:0;
	width:200px;
}