﻿
/*body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
    */
p {
    margin: 0 0 5px;
}

body {
    margin: 0 auto;
    min-width: 320px;
    max-width: 1024px;
    height: 100%;
    background: #FFF;
    font-size: 14px;
    /*font-family: "Microsoft YaHei",微软雅黑,宋体,SimSun,Arial,Verdana;*/
    background-color: #f3f5f7;
}
.goods-search-wrap {
    padding: 5px 10px;
    background-color: white;
}
.home-menu{
    background-color:white;
    margin:5px 0px;
    padding:10px 0px;
}
.home-menu-item {
    width: 25%;
    float: left;
    padding: 5px 0px;
    text-align: center;
}
.home-menu-content {
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: 20px;
   
    padding: 10px 10px;
    font-size: 25px;
    color: white;
    display:block;
}
.home-menu-img {
    border-radius: 20px;
    width: 50px;
    height: 50px;
    padding:10px 10px;
    font-size:25px;
    color:white;
}
video{
    width:100%;
}
.fb-comments {
    position: fixed;
    right:0;
    bottom:0;
    z-index: 101;
    background-color:white;
}
.fb-messenger {
    position: fixed;
    bottom: 100px;
    right: 0;
    background: url(../images/icon_fb_messenger.svg) no-repeat white;
    background-size: 100% 100%;
    border-radius: 20%;
    display: block;
    width: 38px;
    height: 38px;
    z-index: 92;
}
.goto {
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: white;
    color: black;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 20%;
}
.nav-cart {
    position: fixed;
    top: 110px;
    right: 0;
    background-size: 100% 100%;
    border-radius: 20%;
    display: block;
    width: 38px;
    height: 38px;
    background-color: #eee;
    font-size: 20px;
    text-align: center;
    background-color: black;
    color: white;
    opacity: 0.5
}
.nav-cart i{
    line-height: 38px;
}
.custom-service {
    position: fixed;
    top: 45px;
    right: 0;
    background: url(../images/detail-kefu.png) no-repeat white;
    background-size: 100% 100%;
    background-color: #eee;
    border-radius: 50%;
    display: block;
    width: 38px;
    height: 38px;
    z-index: 92;
}
.article-wrap{
    padding-top:44px;
    height:100%;
    background-color:white;
}
.article-content{
    margin: 0 3px;
}
.content-wrap {
    margin-bottom: 50px;
    margin-top: 50px;
    background-color: #f3f5f7;
}
.list-wrap {
    background-color: white;
    padding:5px 15px;
    margin-bottom:10px;
}

.list-title {
    line-height: 35px;
    text-align: center;
    background-color: darkred;
    font-size: 14px;
    color:whitesmoke;
}
.list-item{
    border-bottom:1px solid #eee;
    padding:8px 5px;
    
}
.list-item img{
    width:80px;
    height:80px;
    margin-right:8px;
}
.nav-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index:95;
}
.nav-wrap {
    max-width: 640px;
    margin: 0 auto;
    z-index: 9999;
}
.nav-item-left {
    float: left;
    width: 120px;
    height: 50px;
    background-color: white;
    text-align: center;
    line-height: 50px;
}
.nav-item-main {
    display: block;
    line-height: 50px;
    text-align: center;
    width: 100%;
    height: 50px;
    background-color: white;
    color: black;
}
.nav-item-right {
    float: right;
    width: 130px;
    line-height: 50px;
    text-align: center;
    width: 20%;
    height: 50px;
    background-color: black;
    color: white
}
.nav-item-wrap {
    float: left;
    width: 80px;
    height: 50px;
    background-color: white;
    text-align: center;
    line-height: 25px;
    font-size: 25px;
    padding-top: 5px;
}
.nav-item-title {
    font-size: 12px;
    line-height: 12px
}
.user-login {
    line-height: 45px;
    text-align: center;
    padding-top: 20px;
}
.facebook-login {
    float: left;
    background-color: #314A7E;
    display: block;
    width: 50%;
    color: white;
}
.google-login {
    float: left;
    background-color: darkred;
    display: block;
    width: 50%;
    color: white;
}


.buy-dialog{
    display:none;
    position:fixed;
    top:0;
    bottom:0;
    width:100%;
    height:100%;
    z-index:98;
}
.buy-shade{
    position:absolute;
    max-width:1024px;
    width:100%;
    height:100%;
    background-color:black;
    opacity:0.5;
}
.buy-wrap {
    background-color: white;
    max-width: 640px;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 30px 10px;
    display:none;
}
.buy-wrap-buttom {
    background-color: white;
    max-width: 1024px;
    width: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 100;
}
.buy-header {
    padding:8px 15px;
    border-bottom: 1px solid #eee;
    text-align:left;
}
.buy-title {
    font-weight:bold;
    overflow:hidden;
}
.buy-discount {
    float: right;
    font-weight: bold;
}
.buy-info {
    color: darkgray;
    padding: 5px 0;
}
.buy-price {
    text-decoration: line-through;
    color: darkgray;

}
.buy-coupon{
    float:right;
    color:red;
}
.buy-amount {
    color: #f23030;
    line-height: 30px;
    font-size: 18px;
    text-align: right;
}
.buy-header img {
    float: left;
    width: 120px;
    height: 120px;
    margin-right: 10px;
    margin-top: -60px;
}
.buy-body {
    padding:5px 5px;
}
.buy-attr {
    border-bottom: 1px solid #eee;
}
.buy-attr-item {
    float:left;
    width:33%;
    padding: 0 5px;
}
.buy-count{
    text-align:right;
    padding:5px 10px;
}
.buy-count input{
    width:50px;
}

.buy-footer a {
   text-align:center;
   display:block;
   float:left; 
   width:50%;
   line-height:50px;
   font-size:16px;
   color:white;
   
}
.nav-query-order {
    float: right;
    width: 130px;
    line-height: 50px;
    text-align: center;
    width: 20%;
    height: 50px;
    background-color: black;
    color: white
}
.nav-buy {
    display: block;
    line-height: 50px;
    text-align: center;
    width: 85%;
    height: 50px;
    background-color: darkred;
    color: white
}
.nav-chat-online {
    float: left;
    width: 80px;
    height: 50px;
    background-color: white;
    text-align: center;
}

.show-dialog{
    display:block !important;
}
.nav-right {
    z-index: 100;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.nav-right-shade {
    position:absolute;
    margin: 0 auto;
    background-color: black;
    width: 100%;
    opacity:0.5;
    height:100%;
    z-index:100;
    max-width:640px;
}
.nav-right-center {
    margin: 0 auto;
    max-width: 640px;
    height: 100%;
}
.nav-right-wrap {
    position:relative;
    background-color: whitesmoke;
    width: 260px;
    overflow-y: scroll;
    height: 100%;
    z-index: 101;
}

.nav-item a {
    color: #eee;
}
.nav-item{
    width:100%;
    border-bottom:1px solid #444;
    line-height:30px;
    overflow:hidden;
}
.main-title {
    height: 44px;
    background: #fe4a65;
    padding: 8px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    display: block;
    box-sizing: border-box;
}
.main-back {
        
        left: 10px;
        height: 28px;
        width: 28px;
        display: block;
        background: url(../images/cms-img.png) -32px 0 no-repeat;
        background-size: 287px 800px;
        float: left;
    }


img {
	border: 0 none;
	vertical-align: top;
	max-width:100%;
}
/*
i, em {
	font-style:normal;
}
ol, ul {
	list-style: none;
}
input, select, button, h1, h2, h3, h6 {
	font-size: 100%;
	font-family: "Microsoft YaHei",微软雅黑,宋体,SimSun,Arial,Verdana;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
     */
a {
	text-decoration: none;
	color: #333;
}
   
.goods-wrap{
    padding-top:44px;
}
.goods-list{
    margin-bottom:5px
}
.goods-list-title {
    width: 100%;
    padding: 0 10px;
    line-height: 30px;
    background-color: white;
    font-size: 14px;
    color: black;
    border-bottom:1px solid #eee;
}
.goods-list-more {
     
}
.goods-item {
    background-color: white;
    border: 2px solid #f3f5f7;
    padding: 2px 2px 10px 2px;
    width: 50%;
    max-width: 256px;
    float: left;
}
.relation-goods-item {
    background-color: white;
    padding: 2px 2px 10px 2px;
    width: 25%;
    float: left;
    border: 2px solid #f3f5f7;
    max-width:256px;
}
/* 创建一个正方形容器 */
.goods-img-wrap {
    display: block;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    margin: 0;
    position: relative;
    margin-bottom: 8px;
}

.goods-item-img {
    position: absolute;
    width: 100%;
    height: 100%;
}
.goods-title {
    word-break: break-all;
    overflow:hidden;
    height:20px;
    padding:0 3px;
}

.goods-price{
    
    padding:5px 0;
}
.goods-org-price {
    text-decoration: line-through;
    color: darkgray;
}
.goods-final-price {
    color: #f23030;
    margin: 5px 5px;
}
.goods-volume{
    color:firebrick;
    padding:5px 5px;
}

.tip-bar {
    width: 100%;
    text-align: center;
    background-color: darkgray;
    color: white;
    line-height: 30px;
}
.brand-bar {
    width: 100%;
    text-align: center;
    line-height: 30px;
    background-color: blue;
    color: white;
    font-size:18px;
}
.bottom-bar {
    max-width: 640px;
    margin: 0 auto;
    z-index: 9999;
    color:white;
}
.bar-item {
    line-height: 35px;
    text-align: center;
    width: 25%;
    color: black;
    float:left;
    background-color:white;
    overflow:hidden;
    height:35px;
    font-size:15px;

}
.bar-item-select {
    color: #fe4a65;
    border-bottom: 1px solid #fe4a65;
}
.bar-item-color1 {
    background-color: blue;
    color: white;
}
.bar-item-color2 {
    background-color: white;
    color:black;
}
.bar-item-color3 {
    background-color: gray;
    color: white;
}
.nav-top {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:92;
}
.nav-top-wrap {
    max-width:640px;
    margin:0 auto;
    font-size: 24px;
    background-color: darkred;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 4px 10px;
    z-index: 99;
}
.nav-top a {
        color: #eee;
        text-decoration: underline;
}

.nav-top-title {
    color: #fff;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    font-size: 17px;
    line-height: 28px;
}

.detail-main{
    background-color:white;
    padding-bottom:5px;
    margin-bottom:5px;
}
/*
h5 {
    padding:5px 5px;
}
*/
.buy-info {
	padding: 10px;
	color: black;
	background:#fff;
    margin-bottom:5px;
}
.buy-info-price {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    font-size: 1.2em;
    color: #f23030;
}
.buy-info-org-price{
	font-size: 14px;
	margin-left: 10px;
    color:darkgray;
}
.buy-info-volume {
	height: 30px;
	line-height: 30px;
	overflow: hidden;
}
.buy-info-item {
	margin-right: 10px;
}

h3{
   padding-left:10px;
   background-color:white;
   color:black;
   line-height:30px;
   border-bottom:1px solid #eee;
}
article{
    padding:0 5px;
}
.nav-middle {
    width: 100%;
    margin:5px 0;
}
.nav-middle a {
        width: 33%;
       
    }
.goods-comment{
    background-color:white;
    margin-bottom:5px;
}

.buy-tip{
    background-color:white;
    margin-bottom:  5px;
}
#sales p {
    text-align: center;
    padding: 0 20px;
    font-size: 12px;
}

.logo {
    padding-top: 60px;
    display:none;
}
.pc-top-nav{
    display:none;
}
.bread-crumb {
    margin-bottom: 6px;
    background-color: #ffffff;
}
.right-goods-item {
    background-color: white;
    border: 2px solid #f3f5f7;
    padding: 2px 2px 10px 2px;
    width: 50%;
    max-width: 480px;
    float: left;
}
.home-notice{
    display:none;
}

.row {
    margin-right: 0;
    margin-left: 0;
}
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
    padding-right: 0;
    padding-left: 0;
}
.wechat-color {
    background-color: #00b900;
    color: white
}

.paypal-color {
    background-color: #ffc439;
    color: white
}

.paid-color {
    color: mediumseagreen;
}

.unpaid-color {
    color: darkred;
}

.cod-color {
    color: darkred;
}

.amount-color {
    color: red;
}

@media(min-width:768px) {
    .logo{
        display:block;
    }
    .content-wrap {
        margin-top: 5px;
    }
    .goods-wrap {
        padding-top: 5px;
    }
    .goods-search-wrap{
        display:none;
    }
    .nav-bottom {
        max-width:640px;
        position:static;
    }
    .pc-top-nav {
        display: block;
    }
    #detail-nav-buttom{
        display:none;
    }
    #query-nav-buttom{
        display:none;
    }
    .buy-wrap {
        display: block;
    }
    .right-goods-item{
        width:100%;
    }
    .article-wrap{
        padding-top:0;
    }
    .home-notice{
        display:block;
    }

}