﻿* {
	padding: 0;
	margin: 0;
}
body {
	background: url('../imgs/header-bkg.png') top left repeat-x;
}
body, input {
	font-family: verdana, Arial, Helvetica, Sans-serif;	
	line-height: 1.1em;
}
.clear {
	clear: both;
	padding: 0 !important;
	margin: 0 !important;
}
.floatLeft {
	float: left;
}
.floatRight {
	float: right;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}

img {
	border: 0;
}
input[type="submit"], input[type="button"] {
	padding: 1px 4px;
}
ul {
	list-style: none;
}

#container {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	height: 70px;
	margin-bottom: 50px;
	position: relative;
}
#header h1 {
	position: absolute;
	top: 25px;
	left: 20px;
	font-family: 宋体,"Times New Roman",serif;
	color: #D14836;
}

#typePart {
	overflow: hidden; /* 使阴影能够覆盖 */
}
#typePart * {
	margin: 0 15px;
}
#typePart * * {
	margin: 0;
}

#typeList {
	float: left;
}
#typeList li {
	float: left;
}
#typeList li a {
	float: left;
	display: block;
	height: 20px;
	line-height: 20px;
	margin-top: 8px;
	padding: 6px 9px;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	color: #666666;
	background: url('../imgs/split.png') right bottom no-repeat;
	border-radius: 2px 2px 0 0;
}
#typeList li a:hover {
	color: #D14836;
	background: #cccccc;
}
#typeList li a, #typeList li a:hover {
	-moz-transition-property: background-color;
	-moz-transition-duration: 0.3s;
	-webkit-transition-property: background-color;
	-webkit-transition-duration: 0.3s;
	-o-transition-property: background-color;
	-o-transition-duration:0.3s;
	-ms-transition-property: background-color;
	-ms-transition-duration: 0.3s;
}
#typeList li.selected {
	margin: 0 4px;
}
#typeList li.selected a, #typeList li.selected a:hover {
	background: #4D90FE;
	color: white;
	text-decoration: none;
	border: 0;
	box-shadow: 0 0 3px #666666;
}

#mainPart, #footer {
	border-radius: 4px;
}

#mainPart {
	font-size: 14px;
	z-index: 999;
	min-height: 300px;
	border: 1px solid #4D90FE;
	box-shadow: 0 0 3px #999999;
}
#mainPart * {
	padding: 15px 0 20px 22px;
}
#mainPart * * {
	padding: 0;
}

#mainPart .labelLine {
	height: 26px;
	line-height: 26px;
	width: 60px;
}

#inputContainer {
	float: left;
	position: relative;
	padding-right: 30px;
	border: 1px solid #666666;
	border-radius: 2px;
	box-shadow: 2px 2px 2px #cccccc inset;
}
#inputContainer input {
	height: 30px;
	line-height: 30px;
	font-size: 20px;
	width: 210px;
	text-indent: 4px;
	border: 0;
	background: transparent;
	outline:none
}

#inputContainer #buttonClear {
	width: 24px;
	height: 24px;
	background: transparent url('../imgs/clear.png') center center no-repeat;
	position: absolute;
	right: 4px;
	top: 5px;
	cursor: pointer;
	display: none;
}

#divImg {
	margin-top: 26px;
}

#unitList, #resultList {
	cursor: pointer;
	border: 1px solid #666666;
	border-radius: 3px;
}
#unitList li, #resultList li {
	padding: 0 10px;
	border-bottom: 1px solid #cccccc;
}
#unitList li, #resultList li {
	line-height: 32px;
	text-decoration: none;
	color: #666666;
}
#unitList li:hover {
	background-color: #4D90FE;
	color: white;
}
#unitList li.selected, #unitList li.selected:hover {
	background-color: #4D90FE;
	box-shadow: 3px 3px 3px #357AE8 inset;
	color: white;
	font-weight: bold;
}
#unitList li, #resultList li, #unitList li.selected, #unitList li.selected:hover {
	-moz-transition-property: background, color;
	-moz-transition-duration: 0.3s;
	-webkit-transition-property: background, color;
	-webkit-transition-duration: 0.3s;
	-o-transition-property: background, color;
	-o-transition-duration:0.3s;
	-ms-transition-property: background, color;
	-ms-transition-duration: 0.3s;
}

#resultList li {
	color: #D14836;
	width: 250px;
}
#resultList .unit {
	color: #666666;
}

#buttonGo {
	display: none;
}

#footer {
	margin-top: 20px;
	color: #666666;
	text-align: right;
	font-size: 10px;
	border: 1px solid #dedede;
	box-shadow: 0 0 3px #dedede;
}
#footer * {
	padding: 8px 15px;
}
#footer * * {
	padding: 0;
}
#footer a {
	color: #666666;
}
#footer a:hover {
	color: #D14836;
}
#footer #detail {
	display: none;
}
