/**
 * 主体宽度 1080
 */
body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: 'microsoft yahei','微软雅黑', Tahoma, Arial, Verdana;
    background-color: #FFFFFF;
}

ul, li, dl, dt, dd {
    margin:0;
    padding:0;
    list-style:none
}
img {
    border:0;
}
form {
    margin:0;
    padding:0
}
a {
    outline:none;
    color:#333;
    text-decoration:none
}
a:hover {
    color:#d54255;
    text-decoration:underline
}

.bold {
    font-weight: bold
}
.center {
    text-align: center;
}

/**
 * 分页 
*/
.pagination {
    font-size: 14px;
}
.pagination>li>span,
.pagination>li>span:hover {
    background-color: #FFF;
    color: #333
}

/**
 * input placeholder color reset
*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #999;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #999;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999;
}

.btn-black,
.btn-black.focus,
.btn-black:focus,
.btn-black.hover,
.btn-black:hover {
    color: #fff;
    background-color: #333;
    border-color: #222;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}

/**
 * 重写样式
*/
.panel-default {
    border-color: #e0e0e0;
}
.panel-default>.panel-heading {
    font-size: 16px;
    background: url(images/panel.bg.png) #f6f6f6 repeat;
    border-color: #e0e0e0;
}

/**
 * 图标
 */
 .icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    text-indent: -9999px;
    overflow: hidden;
    content: '.';
    background-size: 20px 20px;
    background-position: 0 0;
    background-repeat: no-repeat;
}
.icon-alipay {
    background-image: url(images/alipay.svg);
}
.icon-alipay-white {
    background-image: url(images/alipay.white.svg);
}
.icon-balance {
    background-image: url(images/balance.svg);
}
.icon-qq {
    background-image: url(images/qq.svg);
    background-position: 0 -2px;
}
.icon-qq-white {
    background-image: url(images/qq.white.png);
}
.icon-phone {
    background-image: url(images/phone.svg);
}
.icon-score {
    background-image: url(images/score.svg);
    background-size: 19px 19px;
}
.icon-email {
    background-image: url(images/email.svg);
    background-size: 19px 19px
}


/**
 * 提示框 449d44
 */
.bgBox {
    padding:15px;
    border-radius:4px;
}

.delimiter {
    height: 4px;
    line-height: 0px;
    overflow: hidden;
    background-color:#eee;
    margin-bottom: 3rem;
}


.container {
    width: 1330px;
    margin: 0 auto;
    padding: 0 10px;
}

/**
 * 顶部导航
*/
.headerbanner {
    border-bottom: 4px solid #eee;
    margin-bottom: 30px;
    background-color: #f6f6f6
}
.headerbanner > .header {
    padding: 12px 0;
}

.header-logo {
    padding-top: 2px;
    width: 180px;
}
.header-side {
    font-size: 0;
}
.header-side a:hover {
    text-decoration: none
}

.header-box {
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: 36px;
    width: 36px;
    border-radius: 4px;
    margin-right: 5px;
    text-indent: -9999px;
}
.header-box:hover {
    background-color: #dee1e6;
    border-color: #bcc1c8 #bababa #adb2bb #bababa;
}
.header-box:last-child {
    margin-right: 0px;
}

/**
 * 头部条
 */
.topbanner {
    height: 0px;
    line-height: 0;
    font-size: 0;
    border-top: 0px solid #d54255
}

.footer {
    margin-top: 30px;
}
.footer>.container {
    padding: 15px 10px;
    border-top: 1px solid #efefef;
}
.footer-cnzz {
    height: 0;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}
.footer-navs>li {
    float: left;
    padding:0 0.8em;
    height: 19px;
    line-height: 19px;
    background: url(images/textline.jpg) right center no-repeat;
}
.footer-navs>li:first-child {
    padding-left: 0;
}
.footer-navs>li:last-child {
    background: none;
}

/**
 * 隐藏的导航
*/
.header-hidenavs {
    display: none;
}

.header-navs {
    background-image: url(images/nav.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px;
    opacity:.8
}
.header-brand {
    background-image: url(images/brand.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px;
    opacity:.8
}

/**
 * 搜索框
*/

.header-search-box {
    border:1px solid #e0e0e0;
    text-indent: initial;
    overflow: auto;
    margin-left: 0;
    width: auto;
}

.header-search-input {
    width: 300px;
    background: #FFF;
    font-size: 13px;
    height: 34px;
    padding: 6px 10px;
    border: 0;
    outline: none;
    border-radius:4px;
}
.header-search-btn {
    border: 0;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 34px;
    height: 34px;
    overflow: hidden;
    background-image: url(images/search-btn.png);
    background-position: 10px 10px;
    background-color: #FFF;
    background-repeat: no-repeat;
    border-radius: 0 5px 5px 0;
    text-indent: -9999px;
}
.header-search-btn:hover {
    background-position: 10px -40px;
}

/**
 * media 搜素 
*/
.header-search-button {
    display: none;
    background-image: url(images/search.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    opacity:.8
}

/**
 * 购物车
*/
.header-cart {
    position: relative;
    background-image: url(images/cart.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    z-index: 1;
}

.header-cart > span {
    position: absolute;
    left: 20px;
    top: -2px;
    background: #333;
    padding: 0px 6px;
    border-radius: 8px;
    display: block;
    height: 14px;
    line-height: 14px;
    text-align: center;
    text-indent: 0;
    color: #FFF;
    font-size: 12px;
    z-index: 3;
}


/**
 * 用户
*/
.header-user,
.header-user:hover {
    width: 36px;
    border:0;
    border-radius: 4px;
    overflow: hidden;
}
.header-user img{
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 4px;
}

.header-user-login {
    background-image: url(images/loginu.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    opacity:.8
}
.header-user-logout {
    background-image: url(images/logout.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    opacity:.8
}
.header-notice,
.header-notice2,
.header-tbdata,
.header-service,
.header-app {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    opacity:.8;
}
.header-notice:hover,
.header-notice2:hover,
.header-tbdata:hover,
.header-service:hover,
.header-app:hover {
    color: #333;
}
.header-notice,
.header-notice2 {
    background-image: url(images/notice.svg);
}
.header-notice2 {
    width: 36px;
    padding: 0;
    text-indent: -9999px
}
.header-tbdata {
    background-image: url(images/tbdata.svg);
}
.header-app {
    background-image: url(images/app.svg);
}

.header-service-wrap {
    display: inline-block;
}
.header-service {
    background-image: url(images/service.svg);
}
.header-service-dropdown>li>a {
    padding: 3px 15px;
}

/**
 * 主导航
*/

.mainnav {
    background: #FFF;
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 25px;
}
.mainnav>li.mainnav-header {
    display: none;
}
.mainnav>li>a {
    padding:10px 20px;
}
.mainnav>li.brandnav {
    margin-right: 1em;
}
.mainnav>li.brandnav>a,
.mainnav>li.brandnav>a:focus,
.mainnav>li.brandnav>a:hover {
    background-color: #333;
    color:#FFF
}
.mainnav>li.active>a,
.mainnav>li.active>a:focus,
.mainnav>li.active>a:hover {
    background-color: #d54255
}
.mainnav>li.mainnav-brandhide {
    display: none;
}

/**
 *  导航，品牌下拉菜单
*/
.nav-brand {
    font-size: 12px;
    width: 1047px;
    padding: 0 15px;
    overflow: hidden;
    margin-left: -1px;
}
.nav-brand>dl {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    line-height:21px;
}
.nav-brand>dl>dt {
    float:left;
    font-weight:bold;
    color:#333;
}
.nav-brand>dl>dt>a,
.nav-brand>dl>dt>a:hover {
    color:#333
}
.nav-brand>dl>dd {
    float:right;
    width:940px;
}
.nav-brand>dl>dd>ul {
    width:100%;
    overflow:hidden;
}
.nav-brand>dl>dd>ul>li {
    float:left;
    width:20%;
    line-height: 1.8em;
}

/**
 * 登录
*/
.loginBox-qq{
    display:inline-block;
    width:26px;
    height:26px;
    background:url(images/icon-qq.png) 0 0 no-repeat;
    overflow:hidden;
    text-indent:-9999px;
}
.loginBox-alipay{
    display:inline-block;
    width:27px;
    height:26px;
    background:url(images/icon-alipay.png) 0 0 no-repeat;
    overflow:hidden;
    text-indent:-9999px;
}

/**
 *  注册
 */
.btn-captcha {
    height: 34px;
    width: 90px;
    border: 1px solid #ccc;
    border-left: 0;
    vertical-align: top;
    border-radius: 0 3px 3px 0;
}

/**
 * 商品列表单元
 */
.productBox {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.productItem {
    text-align: left;
    width: 250px;
    box-shadow: 0px 1px 2px rgba(0,0,0,.15);
    margin-bottom: 30px;
}
.productItem:hover {
    box-shadow: 0px 1px 2px rgba(0,0,0,.25);
}

.productItem-empty {
    width: 250px;
}

.productItemImage img {
    width: 100%;
    height: 320px;
    display: block;
}
.productItemTitle {
    padding: 5px 10px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.productItemPrice {
    padding: 5px 10px;
    font-size:14px;
    font-weight: bold;
    color: #d54255;
}
.productItemBottom {
    padding: 5px 10px 15px;
}
.productItemBrand {
    padding: 10px 10px 5px;
}
.productItemBrand>a:hover {
    text-decoration-line: none
}
.productItemBrand img {
    width: 25px;
    height: 25px;
    border-radius: 15px;
}
.productItemBrand span{
    padding-left: 5px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.icon-tag {
    background-color: #d54255;
    color: #FFF;
    box-shadow: inset 0 -1px 0 rgba(248, 0, 0, 0.25);
    font-size: 10px;
    border-radius:3px;
}



/**
 * 团购商品列表
 */
 .preorder-product-item {
    position: relative;
    width: 640px;
    min-height: 320px;
    padding-left: 250px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 2px rgba(0,0,0,.15);
}

.preorder-product-item-image {
    position: absolute;
    left: 0;
    top:0;
    width: 250px;
    height: 320px;
}

.preorder-product-item-image img {
    display: block;
    width: 250px;
    height: 320px;
}

.preorder-product-info {
    padding: 0 20px 20px;
}

.preorder-product-desc {
    font-size: 16px;
    line-height: 24px;
    padding: 10px;
    padding-left: 0px;
    color: #767676
}

.preorder_time {
    background-color:#000000;
    padding-top: 8px;
    height: 36px;
    color: #FFF;
    text-align: center;
    font-size: 14px;
}
.preorder_time em {
    font-family: 'Courier New', Courier, monospace;
}

.preorder-product-price {
    font-size: 24px;
}
.preorder-product-number {
    padding: 10px;
    color: #767676;
}

.preorder-product-name {
    font-size: 14px;
    padding: 10px 0;
}

.preorder-product-brand {
    padding: 10px 0;
}
.preorder-product-brand>a:hover {
    text-decoration-line: none
}
.preorder-product-brand img {
    width: 25px;
    height: 25px;
    border-radius: 15px;
}
.preorder-product-brand span{
    padding-left: 5px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #666
}


/**
 * 居中的小框子 register, login, getpwd
 */
.middleBox {
    width: 400px;
    margin:35px auto 15px;
}
.middleBox-title {
    font-size:16px;
    text-align: center;
    padding-bottom: 30px;
}
.middleBox-body {
    padding-bottom: 15px;
}
.middleBox-other {
    border-top: 1px solid #eee;
    padding: 15px 0;
}

/**
 *  formBox 
*/
.formBox {
    width: 600px;
}

/**
 * 消息提示
 */
.messageBox {
    margin:35px auto 15px;
}
.messageBox-title {
    font-size:16px;
    text-align: center;
    padding-bottom: 30px;
}
.messageBox-body {
    padding-bottom: 15px;
}

/**
 * brand 品牌
*/
.brand-info-wrap {
    margin-bottom: 20px
}

/**
 * CartConfirm
 * 新地址
*/
.newAddress {
    display: none;
    margin-left: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px dashed #ddd;
    border-radius: 5px;
}

/**
 * Brand, Category, ...
 * 搜索选项
*/
.search-option-wrap {
    margin-bottom: 30px;
    padding: 1px;
    padding: 0 15px;
    overflow:hidden;
    border-radius: 0;
    border-top-width: 4px;
    border-color: #eee;
    background-color: #f9f9f9;
}

.search-option-item {
    display: table;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px dashed #e3e3e3;
    line-height: 1.8;
    position: relative;
}
.search-option-item:last-child {
    border-bottom: 0
}

.search-option-item a{
    margin-right:1em;
    display:inline-block;
    color: #8a6d3b
}
.search-option-item a.active{
    font-weight:bold;
    color:#ff4c42
}

.search-option-item a,
.search-option-item span{
    vertical-align:middle
}

.search-option-heading {
    width: 6em;
    display: table-cell;
}
.search-option-body {
    display: table-cell;
}
.search-option-page {
    position: absolute;
    right: 0;
    top: 15px;
}

.search-option-body .search-option-select {
    height: 22px;
    font-size: 12px;
    padding: 0px 5px;
}

.search-option-body .search-option-input {
    width: 41px;
    padding: 1px 3px;
    height: 22px;
    vertical-align:middle
}

.search-option-keywords {
    display: none
}

.search-option-btn {
    padding-left:5px;
    padding-right:5px;
}

.icon-arrow {
    display:inline-block;
    width:9px;
    height:7px;
    line-height:0;
    font-size:0;
}
.icon-desc{
    background:url(images/arrow-down.png) right center no-repeat;
}
.icon-asc{
    background:url(images/arrow-up.png) right center no-repeat;
}
.icon-normal{
    background:url(images/arrow-normal.png) right top no-repeat;
}

/**
 * 公告栏 - 内容
*/
.notice-title {
    padding:15px 0;
    font-size: 30px;
    font-weight: 700;
    color: #333
}
.notice-datetime {
    font-size: 12px;
    color: #999;
    text-align: right;
    border-bottom:1px solid #eee;
    padding-bottom: 10px;
}

.notice-body {
    padding: 35px 0;
    width: 700px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8
}


/**
 * 搜索表单
*/
.form-search {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-search-item {
    display: block;
    width: 49.5%;
    margin-right:1%;
}
.form-search-item:nth-child(even) {
    margin-right:0;
}

/**
 * 品牌列表 Brand
 */
.brand-wrap {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
}
.brand-thumb{
    position:relative;
    width: 23%;
    margin-bottom:30px;
}
.brand-thumb img{
    display: block;
    width: 100%;
    border:1px solid #e0e0e0;
    padding:1px;
}
.brand-thumb-title{
    position:absolute;
    line-height:25px;
    padding:0 10px;
    left:2px;
    right:2px;
    bottom:2px;
    background:url(images/black40.png);
}
.brand-thumb-title a,
.brand-thumb-title a:hover{
    color:#FFF;
}

/**
 * 活动列表
 */
.event-wrap {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
}
.event-item {
    position: relative;
    width: 23%;
    margin-bottom:30px;
}
.event-item img{
    width: 100%;
    border: 1px solid #ddd;
    padding: 1px;
    display: block;
}
.event-item-timeout {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}
.event-item .icon-timeout {
    position:absolute; 
    right:15px; 
    bottom:35px; 
    width:77px; 
    height:38px; 
    background:url(images/timeout.png) 0 0 no-repeat
}
.event-time{
    position:absolute; 
    line-height:25px; 
    padding:0 10px; 
    left: 2px; 
    bottom: 2px;
    right: 2px;
    background:url(images/black40.png); color:#FFF;
}

/**
 * 帮助相关 
*/
.service-wrap {
    padding: 0 30px;
}
.service-body {
    padding: 30px 0;
}

#goTop {
    display: none;
    position: fixed;
    cursor: pointer;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size:20px;
    background-color: #F3F3F3;
    text-align: center;
    color:#aaa;
}
