/**
 * 活力橙模板包皮肤基础样式
 * 包括头部和底部
 *
 * vim: set et sw=4 ts=4 sts=4 fdm=marker ffs=dos,unix fenc=gbk nobomb:
 * @author changzhi wlsy <changzhi@taobao.com>
 * @link 
 * @version: 1.0
 * @license GPL
 */

/*-----=Global: ----------------------------------------------{{{1*/
#header,#content{
    width: 990px;
	margin-left: auto;
	margin-right: auto;
}

#site-nav #site-nav-bd {
    width:990px;
}

/*--------------------------------------------------------END-}}}1*/
/*-----=Header: ----------------------------------------------{{{1*/
#header {
	margin-bottom: 10px;
	_zoom: 1;
}
#header:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    visibility: hidden;
}

/**
 * logo 
 */
#logo {
	display: inline;
	float: left;
	width: 320px;
	overflow: hidden;
	padding: 16px 0 4px 0;
}
#logo a:hover {
	text-decoration: none;
}
#logo .sub-logo {
	position: relative;
	display: inline-block;
	width: 120px;
	height: 35px;
	margin-left: -5px;
	vertical-align: top;
	outline: none;
}
/* logo END */

/**
 * wrap-box 
 */
#header .wrap-box {
	display: inline;
	float: right;
	margin-top: 0;
}
/* wrap-box END */

/**
 * site search 
 * modify by changzhi 2011-02-22
 */
#header .ts-tab .ts-selected,
#header .ts-panel button,
#header .ts-search-icon,
#msearch .msopt .selected,
#header .ts-area span {
	background-image: url(http://img01.taobaocdn.com/tps/i1/T1HQR1XjxxXXXXXXXX-103-90.png);
    background-color:#fff;
    background-repeat:no-repeat;
}

#header .ts {
	width: 590px;
	margin-top: 12px;
}
#header .ts a:hover {
	text-decoration: none;
}

/* ts-tab */
#header .ts-tab {
	position: relative;
	width: 100%;
	height: 20px;
	z-index: 201;
}
#header .ts-tab li {
	display: inline;
	float: left;
	width: 56px;
	height: 20px;
	margin-right: 2px;
	text-align: center;
	line-height: 20px;
}
#header .ts-tab li a {
	display: block;
	color: #3f3f3f;
	text-decoration: none;
	outline: none;
}
#header .ts-tab li a:hover {
    color:#f60;
    text-decoration:underline;
}
#header .ts-tab .ts-selected {
	position: relative;
	top: 0px;
    background-position:0 0;
}
#header .ts-tab .ts-selected a,
#header .ts-tab .ts-selected a:hover {
	color: #fff;
	font-weight: bold;
    text-decoration:none;
}

/* ts-panel */
#header .ts-panel {
	position: relative;
	z-index: 200;
	width: 100%;
	height: 28px;
}
#header .ts-panel form {
	position: relative;
	width: 584px;
	height: 22px;
	_z-index: 1; /* fix IE6下，.ts-panel边框穿透form背景的bug */
}
#header .ts-search-icon{
	display: none;
	position: absolute;
	top: 7px;
	left: 8px;
	z-index: 1;
	height: 13px;
    width:13px;
	background-position: -90px 1px;
}
#header .ts-keyword {
	position: absolute;
	top: 0;
	left: 0;
	width: 471px;
	height: 14px;
	padding: 4px 0 4px 4px;
    border:3px solid #f37b0a;
}
#header .ts-panel button {
	position: absolute;
	top: 0;
	right: 0;	
	width: 103px;
	height: 28px;
	overflow: hidden;
	text-indent: -9999px;
	background-position: 0 -32px;
	border: none;
	cursor: pointer;
}
#header .ts-panel .ts-show {
	display: block;
}
/* site search END */
/*--------------------------------------------------------END-}}}1*/
/*-----=Footer: ----------------------------------------------{{{1*/
#footer {
    width:990px;
}
#footer .c2c_column {
    position:relative;
    width:904px;
    margin:0 auto 10px;
    padding:10px 23px 20px 23px;
    text-align:left;
    border-bottom: 1px solid #d1d7dc;
}
#footer .c2c_column .cp_logo {
    position:absolute;
    top:30px;
    left:425px;
    width:85px;
    height:85px;
    overflow:hidden;
}
#footer .c2c_column dt{
    height:20px;
    overflow:hidden;
    background:url(http://img04.taobaocdn.com/tps/i4/T1FqRVXo4JXXXXXXXX.png) no-repeat -90px 0;
}
#footer .c2c_column .newbie dt{
    background-position: -90px -20px;
}
#footer .c2c_column .payment dt{
    background-position: -90px -40px;
}
#footer .c2c_column .recommend dt{
    background-position: -90px -60px;
}
#footer .c2c_column dt em {
    font-size:18px;
    font-weight:bold;
    visibility:hidden;
}
#footer .c2c_column dl {
    float:left;
    display:inline;
    margin-left:125px;
}
#footer .c2c_column dl.ensure {
    width:90px;
    margin-left:0;
}
#footer .c2c_column dl.newbie {
    width:95px;
}
#footer .c2c_column dl.payment {
    width:97px;
    margin-left:245px;
}
#footer .c2c_column dl.recommend {
    width:140px;
    margin-left:107px;
}
#footer .c2c_column dd {
    margin-top:10px;
}
#footer .c2c_column dd li {
    height:22px;
    line-height:1.8;
}
#footer .c2c_column dd a {
    color:#666666;
}
#footer .c2c_column dd a:visited{
    color:#666666;
}
#footer .c2c_column dd a:hover{
    color:#ff6600;
}
#footer .c2c_column dd span {
    color:#999999;
    padding-left:5px;
}

#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 .foot-nav a {
    margin: 0 7px;
}

#footer .ali-group {
    margin: 5px auto;
}

#footer .ali-group a {
    margin: 0 1px;
}

#footer .copyright {
    clear: both;
    margin: 15px auto 0;
}

#server-num {
    color: #fff;
    font-size: 11px;
}

/* footer END */
/*--------------------------------------------------------END-}}}1*/
/*-----=Main-nav: --------------------------------------------{{{1*/

#main-nav .cross,
#main-nav {
    background-image:url(http://img02.taobaocdn.com/tps/i2/T1iKalXbdEXXXXXXXX.png);
}
#main-nav {
	min-width: 990px; /* 由于.wrap的宽度为950px，所以ie6下, #main-nav会自动拥有950px的最小宽度(被.wrap撑大) */
    border-bottom:1px solid #dcdcdc;
    margin-bottom:15px;
    background-position:0 -34px;
    background-repeat:repeat-x;
}
#main-nav .wrap {
	width: 990px;
    height: 32px;
	margin: 0 auto;
    position:relative;
}
#main-nav ul.nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 700px;
	height: 34px;
    line-height: 32px;
}
#main-nav .l1 {
    line-height:31px;
} 
#main-nav li.item {
    display: inline;
    float: left;
    height:32px;
    font-size: 14px;
	position:relative;
    border-right:1px dashed #f3924c;
    zoom:1;
} 
#main-nav li.item:last-child {
    border-right:none;
}
#main-nav li.item a {
    height: 31px;
    margin-top:1px;
	overflow: hidden;
    padding: 0 18px;
    color:#fff;
    display:inline-block;
	white-space: nowrap;
	-webkit-transition: all .2s ease-in-out;
}
#main-nav li.current a,#main-nav li a:hover {
    background:#fff;
    color:#db4b16;
    text-decoration:none;
}
#main-nav li.current {
    font-weight:bold;
}
#main-nav .cross-chl {
	position: absolute;
	top: 0;
	right: 0;
	width: 230px;
	height: 34px;
    line-height: 32px;
}
#main-nav .cross-chl li{
	display: inline;
    float: left;
    margin-left: 10px;
}
#main-nav .cross-chl li a{
    padding:2px 5px 3px 15px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    -o-border-radius:3px;
    border-radius:3px;
}
.sub-menu-popup {
    z-index:9999 !important;
}
#main-nav .cross {
    position:absolute;
    right:0;
    top:0;
    background-position:0 0;
    background-repeat:no-repeat;
    padding-left:50px;
}
#main-nav .cross li {
    float:left;
    margin:0 5px;
    line-height:32px;
}
#main-nav .cross li a {
    padding:5px 10px;
    color:#fff;
}
#main-nav .cross li a:hover {
    background-color:#FD7015;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    -o-border-radius:3px;
    border-radius:3px;
}
/*--------------------------------------------------------END-}}}1*/
/*----=SearchBar: -----------------------------------------------{{{1*/

#main-nav .barc {
	width: 990px;
    height: 35px;
	margin: 0 auto;
}

#fbar {
    margin-top:10px;
    border: 1px solid #F5651A;
    width: 240px;
    height: 19px;
    padding: 2px;
    _padding: 0px;
    margin: 4px 0 4px 0;
    padding-left: 85px;
    position:relative;
    z-index:-1;
}
#fbar .bar-key {
    height: 15px;
    padding: 2px;
    *padding: 1px;
    _padding: 2px;
    border:1px solid #fff;
    width:235px;
}
#fbar .sms {
    background: #F5651A;
    color: white;
    height: 25px;
    padding: 0 8px;
    overflow: visible;
    text-align: center;
    border: none;
    cursor: pointer;
    display:block;
    position:absolute;
    right:0;
    top:-1px;
}

.search-bar .hots {
    float:left;
    margin-left:23px;
    line-height:35px;
}
.search-bar .hots a {
    color:#404040;
    margin-left:10px;
}
.search-bar .barsearch {
    position:relative;
    zoom:1;
    width:329px;
    float:left;
    height:33px;
    z-index:1;
}
.search-bar .deftext {
    position:absolute;
    float:left;
    top:5px;
    left:1px;
    padding: 0 15px 0 12px;
    background: #F9F9F9;
    border-right: 1px solid #E1E1E1;
    width: 58px;
    height: 23px;
    line-height: 23px;
    overflow:hidden;
    cursor:pointer;
    z-index:99;
}
.search-bar .deftext .darea {
    border-color: #f5651a transparent transparent transparent;    
    border-style: solid dashed dashed dashed;
    height: 0;
    width: 0;
    display: inline-block;
    zoom: 1;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    border-width: 4px;
    position: absolute;
    top:10px;
    right: 7px;
}
.search-bar .opt {
    left: 0;
    top: 4px;
    line-height: 25px;
    text-indent: 15px;
    width: 170px;
    position: absolute;
    border: 1px solid #ABB1AF;
    background: white;
    z-index: 999;
}
.search-bar .opt a {
    text-indent: 30px;
    display: block;
    color: #3D3D3D;
    height: 25px;
    overflow: hidden;
}
.search-bar .msopt {
    height: 285px;
    overflow-y: scroll;
}
.search-bar .opt a:hover {
    background-color: #D8D8D8;
    text-decoration:none;
}
.search-bar  .sp{
    font-weight:bold;
    display: block;
    text-indent:15px !important;
}
.search-bar .msopt .selected {
    background-position: -80px -67px;
    background-image: url(http://img01.taobaocdn.com/tps/i1/T1HQR1XjxxXXXXXXXX-103-90.png);
    background-color: white;
    background-repeat: no-repeat;

}
.search-bar .catgorires {
    border-bottom: 1px solid #D8D8D8;
    padding-bottom:5px;
    margin-bottom:5px;
}
/*--------------------------------------------------------END-}}}1*/