﻿/* ---------------------------------------------------------------------------------
KunNing Micro-electronics Research Institute - Master Stylesheet 
Updated: Wed. 12.31.08 @ 12:00 a.m.
This document validates as CSS level 2.1, Power By Cani.
--------------------------------------------------------------------------------- */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, th, td {
	padding: 0;
	margin: 0;
}

body {
	font: 12px/160% Arial, Helvetica, sans-serif, "宋体";
	color: #999;
	background: #f5f5f5;
}

img { border: 0; }
ul, dl { list-style-type: none; }

a { text-decoration: underline; }
a:link, a:visited { color: #999; }
a:hover { color: #2971a7; text-decoration: none; }

/* ---------------------------------------------------------------------------------
Layout Style
--------------------------------------------------------------------------------- */

#wrap {
	margin: 0 auto;
	padding: 0 15px;
	width: 800px;
	background: #fff url(img/footer.gif) left bottom repeat-x;
}
#header {
	height: 302px;
	overflow: hidden;
	border-bottom: 13px solid #fff;
}
#sidebar {
	width: 160px;
	float: left;
}
#content {
	width: 625px;
	float: right;
}
#footer {
	clear: both;
	height: 30px;
	padding-top: 15px;
	text-align: center;
	border-top: 25px solid #fff;
}

/* ---------------------------------------------------------------------------------
Header Style
--------------------------------------------------------------------------------- */

#top {
	padding-top: 9px;
	height: 20px;
	background: url(img/top.gif) no-repeat;
}
#top a { text-decoration: none; }
#top a:hover { text-decoration: underline; }
#top ul {
	float: right;
	padding-right: 15px;
}
#top ul li {
	float: right;
	padding-left: 21px;
}

#header h1 {
	float: left;
	height: 55px;
	text-indent: -3000px;
}
#header h1 a {
	display: block;
	width: 300px;
	height: 55px;
	background: url(img/logo.gif) left top no-repeat;
}

#globalnav {
	clear: both;
	height: 38px;
	background: url(img/globalnav_bg.jpg) left bottom repeat-x;
}
#globalnav ul { overflow: hidden; }
#globalnav li {
	width: 70px;
	float: right;
	padding-left: 5px;
	line-height: 34px;
	text-align: center;
}
#globalnav a:link, #globalnav a:visited {
	display: block;
	color: #999;
	background: url(img/globalnav_link.jpg) no-repeat;
	text-decoration: none;
}
#globalnav a:link.currently, #globalnav a:visited.currently, #globalnav a:hover {
	display: block;
	overflow: hidden;
	color: #04477c;
	background: url(img/globalnav_hover.jpg) no-repeat;
}

#banner { clear: both; height: 180px; }

/* ---------------------------------------------------------------------------------
Sidebar Style
--------------------------------------------------------------------------------- */

#sidebar h2, #sidebar h3 { 
	font: bold 12px/220% Arial, Helvetica, sans-serif, "宋体";
	color: #2971a7;
	padding-left: 2em;
}
#sidebar h2 { background: url(img/sidebar_h2.gif) left top no-repeat; }
#sidebar h3 { background: url(img/sidebar_h3.gif) left top no-repeat; }


#sidebar img { display: block; }

#sidebar a { text-decoration: none; }
#sidebar a:hover { text-decoration: underline; }

#sidebar .container {
	margin-top: 10px;
	padding: 5px 10px 10px;
	width: 138px;
	line-height: 165%;
	background: url(img/sidebar_bg1.gif) center top no-repeat;
	border: 1px solid #d5d5d5;
}

#sidebar ul { list-style: circle inside; }
#sidebar ul .currently, #sidebar ul .currently a { color: #2971a7; }
#sidebar ul li { border-bottom: 1px solid #d5d5d5; }
#sidebar ul li ul {
	list-style: disc inside;
	text-indent: 1.3em;
	padding-bottom: 5px;
}
#sidebar ul li ul li { border-bottom: none; }


/* ---------------------------------------------------------------------------------
Content Style
--------------------------------------------------------------------------------- */

#content p { text-indent: 2em; }

#content h2 {
	clear: both;
	height: 25px;
	color: #2971a7;
	font: bold 12px/120% Arial, Helvetica, sans-serif, "宋体";
	background: url(img/content_h2.gif) left bottom no-repeat;
	border-bottom: 5px solid #fff;
}
#content h2 span {
	padding-left: 0.5em;
	font-size: 10px;
	color: #999;
}

#content h3, #content h4 {
	font: normal 12px/120% Arial, Helvetica, sans-serif, "宋体";
	color: #2971a7;
	border-bottom: 5px solid #fff;
}
#content h3 a { color: #2971a7; }
#content h4 { border-top: 10px solid #fff; }
#content h5 {
	font: normal 12px/220% Arial, Helvetica, sans-serif, "宋体";
	color: #2971a7;
}

#content .container {
	clear: both;
	border-top: 10px solid #fff;
}

.album {
	clear: both;
	font-size: 0;
}
.album img {
	margin: 5px 5px 0 0;
	padding: 1px;
	border: 1px solid #d5d5d5;
}
.p_gallery { clear: both; }
.p_gallery ul { overflow: hidden; }
.p_gallery ul li {
	height: 105px;
	border-top: 10px solid #fff;
}
.p_gallery ul li img {
	float: left;
	width: 125px;
	border-right: 15px solid #fff;
}

#content #news {
	clear: both;
	border-top: 5px solid #fff;
	border-bottom: 10px solid #fff;
}
#content #news ul {
	padding-left: 185px;
	list-style-type: circle;
	list-style-position: inside;
	background: url(img/kunning.jpg) left top no-repeat;
}
#content #news ul li {
	padding: 2px 0;
	text-indent: 10px;
	border-bottom: 1px solid #f5f5f5;
}
#content #news ul li span { color: #2971a7; }

#content dt {
	padding: 1px 5px;
	background: #e8f5fe;
	border-bottom: 2px solid #fff;
}
#content dd {
	text-indent: 5px;
	border-bottom: 2px solid #fff;
}

#content .pdf {
	padding-right: 1.5em;
	color: #2971a7;
	background: url(img/pdf.gif) right center no-repeat;
}

#content .system {
	padding-top: 25px;
	background: url(img/sign.gif) left top no-repeat;
}
#content .system img { display: block; }
#content .system p { padding-top: 5px; }


#sitemap { padding-top: 5px; }
#sitemap h5 {
	padding-left: 2em;
	font: bold 12px/200% Arial, Helvetica, sans-serif, "宋体";
	background: url(img/pin.gif) left center no-repeat;
}
#sitemap h5 a { color: #2971a7; }
#sitemap ul {
	text-indent: 2em;
	list-style-type: circle;
	list-style-position: inside;
	line-height: 180%;
}

/* ---------------------------------------------------------------------------------
Column Style
--------------------------------------------------------------------------------- */

.col_left { float: left; width: 49%; }
.col_right { float: right; width: 49%; }

.col_side { float: left; width: 200px; }
.col_main { float: right; width: 420px; }

.col_side img { display: block; border-bottom: 5px solid #fff; }

/* ---------------------------------------------------------------------------------
Breadcrumbs Style
--------------------------------------------------------------------------------- */

#breadcrumbs {
	width: 615px;
	height: 35px;
	padding: 5px 0 0 10px;
	overflow: hidden;
	background: url(img/location.gif) no-repeat; 
}
#breadcrumbs a { text-decoration: none; }
#breadcrumbs a:hover { text-decoration: underline; }
#breadcrumbs li { float: left; }
#breadcrumbs .home {
	padding-left: 15px;
	padding-right: 5px;
	background: url(img/home.gif) left center no-repeat;
}
#breadcrumbs .route {
	padding-left: 10px;
	padding-right: 5px;
	background: url(img/arrow.gif) left center no-repeat;
}
#breadcrumbs .currently {
	padding-left: 10px;
	color: #2971a7;
	background: url(img/arrow.gif) left center no-repeat;
}

/* ---------------------------------------------------------------------------------
Table Style
--------------------------------------------------------------------------------- */

#content table {
	width: 99.5%;
	font: normal 12px/150% Arial, Helvetica, sans-serif, "宋体";
	text-align: center;
}

#content table caption {
	font-weight: bold;
	color: #2971a7;
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
}
#content table th {
	padding: 1px 0;
	color: #fff;
	font-weight: normal;
	border-bottom: 1px #fff solid;
	border-right: 1px #fff solid;
	background: #a9c9e2;
}
#content table td {
	padding: 1px 0;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
#content table td.spec { background: #f7f7f7; }
#content table td.specalt { background: #e8f5fe; }

/* ---------------------------------------------------------------------------------
Scrolldoor Style
--------------------------------------------------------------------------------- */

.scrolldoor { width: 415px; }
.scrolldoor_menu {
	width: 100%;
	height: 25px;
	line-height: 25px;
}
.scrolldoor_menu ul { list-style: none; }
.scrolldoor_menu li {
	float: left;
	display: block;
	width: 90px;
	height: 25px;
	line-height: 25px;
	cursor: pointer;
	text-align: center;
	color: #666;
	background: #e5e5e5;
	border-right: 5px solid #fff;
}
.scrolldoor_menu li.hover {
	height: 25px;
	color: #fff;
	line-height: 25px;
	background: #a9c9e2;
}
.scrolldoor_content {
	clear: both;
	padding-top: 5px;
	border-top: 1px solid #2971a7;
}
.hidden { display: none; }

/* ---------------------------------------------------------------------------------
Other Style
--------------------------------------------------------------------------------- */

.font10px { font-size: 10px; }

.add_space { padding-bottom: 5px; }