/* ONLY for header and footer by yubo  */

#header .logo,
#header .quick-menu li,
#header .nav-mytaobao a,
#header .nav-cart a,
#header .nav-help a,
#header .nav-more p,
#header .search-form,
#header .search-main span,
#header .keyword,
#header .search-main button,
#header .header-lite .nav-mytaobao a {
    background: url(http://a.tbcdn.cn/sys/common/img/header_bg.png) no-repeat;
}

/* header */
#header:after {
    content: '\0020';
    display: block;
    height: 0;
    clear: both;
}

#header .header-top {
	position: relative;
	z-index: 10;
	height: 58px;
	margin: 10px auto 8px;
}

#header .logo {
	float: left;
	width: 250px;
	height: 40px;
	background-position: 100px 100px;
}

#header .quick-link {
	position: absolute;
	left: 0;
	top: 43px;
}

#header .quick-link li {
	float: left;
	margin: 0 6px 0 0;
    color: #5a5a5a;
}

#header .quick-link a:link {
	color: #5a5a5a;
}

#header .quick-menu {
	height: 14px;
}

#header .quick-menu ul {
	float:right;
	margin-top: -2px;
}

#header .quick-menu li {
	float: left;
    display: inline;
    line-height: 15px;
    height: 15px;
	margin: 0 0 0 9px;
	padding: 0 0 0 10px;
	background-position: -62px -71px;
}

#header .quick-menu li a {
	display: block;
	color: #0040d8!important;
}

#header .quick-menu .nav-buy {
	margin: 0;
	padding: 0;
}

#header .quick-menu .nav-buy,
#header .quick-menu .nav-more {
	background-image: none;
}

#header .quick-menu .nav-mytaobao a {
    padding-left: 15px;
    background-position: -288px -59px;
}
#header .quick-menu .nav-cart a {
    padding-left: 15px;
    background-position: -288px -78px;
}
#header .quick-menu .nav-help a {
	padding-left: 15px;
	background-position: -288px -98px;
}

#header .quick-menu .nav-more {
	z-index: 99;
	display: inline;
	width: 62px;
	margin: -3px -1px 0 4px;
	padding: 2px 5px 0;
	border: solid 1px #fff;
	border-bottom: none;
	cursor: pointer;
}

#header .quick-menu .nav-more p {
	height: 14px;
	margin: 0;
	padding-right: 14px;
	background-position: -240px -118px;
	color: #0040d8!important;
}

#header .quick-menu li.hover {
	border-color: #d0d0d0;
}

#header .quick-menu li.hover .nav-more-menu {
	display: block;
}

#header .nav-more-menu {
	display: none;
	position: absolute;
	z-index: 999;
	right: -1px;
	top: 14px;
	width: 72px;
	padding: 3px 0 0;
	border: solid 1px #d0d0d0;
	border-top: none;
	background-color: #fff;
}

#header .nav-more-menu li {
	width: 72px;
	height: 20px;
	margin: 0;
	padding: 0;
	line-height: 20px;
	background-image: none;
}

#header .nav-more-menu li a {
	padding: 0 0 0 5px;
}

#header .search-main {
	position: relative;
	float: right;
	margin: 10px 0 6px;
	height: 32px;
}

#header .search-main select {
	border: 0;
}

#header .search-form {
	float: left;
	height: 27px;
	padding: 3px 3px 0 0;
	border: solid 1px #d3d3d3;
	border-bottom-color: #dadada;
	background-position: 1px 1px;
	background-repeat: repeat-x;
}

#header .select-type,
#header .select-cat {
	float: left;
	width: 69px;
	height: 21px;
	margin: 0 6px 0 3px;
	padding: 1px 1px 0 1px;
	border: solid 1px #8a8a8a;
	border-bottom-color: #cdcdcd;
	background-position: -229px -29px;
}

#header .select-type span,
#header .select-cat span {
	display: block;
	width: 68px;
	height: 19px;
	margin: 1px 0 0;
	overflow: hidden;
	background-image: none;
}

#header .select-type select {
	width: 70px;
	margin: -1px 0 0 -1px;
}

#header .search-form .keyword {
	float: left;
	width: 205px;
	height: 19px;
	margin: 0 5px 0 0;
	padding: 3px 0 0 2px;
	border: solid 1px #8a8a8a;
	border-bottom-color: #cdcdcd;
	background-position: 0 -51px;
}

#header .select-cat {
	width: 226px;
	margin: 0;
	background-position: 0 -29px;
}

#header .select-cat span {
	width: 224px;
}

#header .select-cat select {
	width: 226px;
	margin: -1px 0 0 -1px;
}

#header .select-cat .S {
	background-color: #ebefff;
}

#header .search-main button {
	float: left;
	width: 57px;
	height: 32px;
	margin: 0 5px;
	border: 0;
	cursor: pointer;
	text-indent: -18817px;
	background-position: 0 -73px;
}

#header .search-more {
	float: left;
	width: 50px;
	line-height: 16px;
}

#header .search-more a:link,.search-more a:visited {
	color: #595959;
}

/* footer */
#footer {
	border-top: 1px solid #D1D7DC;
	clear: both;
	margin: 10px auto;
	text-align: center;
    padding-top: 10px;
}

#footer .foot-nav {
	display: block;
	height: 20px;
	margin: 0 auto 0;
}

#footer ul li {
	display: block;
	float: left;
	margin: 0 7px;
}

#footer .foot-nav {
    width: 735px;
}

#footer .ali-group {
    display: block;
    clear: both;
    width: 685px;
    margin: 5px auto;
}

#footer .ali-group h6 {
    float: left;
    font-weight: normal;
}

#footer .ali-group ul {
    overflow: hidden;
}

#footer .copyright {
    clear: both;
	margin: 15px auto 0;
}

#server-num {
	color: #FFF;
	font-size: 11px;
}

/* simple header */
#header .header-lite {
    height: 32px !important;
}
#header .header-lite .quick-link {
    left: auto;
	right: 0;
	top: -5px;
}
#header .header-lite .quick-link a:link {
    color: #3366CC;
}
#header .header-lite .nav-mytaobao a {
    padding-left: 14px;
    background-position: -288px -59px;
}

/* sub logo */
#header .sub-logo {
    background: url(http://a.tbcdn.cn/sys/common/logo/sub_logo.png) no-repeat;
    width: 120px;
    display: inline-block;
    height: 22px;
    margin: 0 0 3px 5px;
    visibility: hidden; /* hidden by default */
}

/* misc */
#SystemAnnouce{width:948px; margin:2px auto 10px;line-height:18px;padding:8px 0;border:1px solid #EEE;background-color:#F6F6F6;text-align:center;font-weight:bold;color:#F30;}
#AdDetector { visibility: hidden; }
.SmartSiteTracker { font-size:0; height:0; line-height:0pt; margin-bottom:-2px; visibility:hidden; }

/* hacks */
#header { zoom: 1; }
#header .quick-menu { _float: right; }
#header .quick-menu li { *background-position: -62px -73px; }
#header .quick-menu .nav-mytaobao a { _background-position: -288px -58px; }
#header .quick-menu .nav-cart a { *background-position: -288px -79px; _background-position: -288px -78px; }
#header .quick-menu .nav-help a { *background-position: -288px -100px; _background-position: -288px -98px; }
#header .quick-menu .nav-more { _position: relative; }

#header .header-lite { _margin-bottom: 0 !important; }
#header .header-lite .nav-mytaobao a { *background-position: -288px -60px; _background-position: -288px -59px; }

@media all and (min-width: 0){select { height:20px;}}
