#container{
    background: #F2F2F2;
}
.goods{
    width: 100%;
    margin-bottom: 55px;
}
.goods #btn-back{
    position: fixed;
    z-index: 999;
    border-radius: 100%;
    background: black;
    opacity: 0.8;
    top: 10px;
    left: 10px;
}
.goods #btn-back img{
    width: 20px;
    height: 20px;
    display: block;
    margin: 7px;
}
.goods .swiper-container{
    width: 100%;
    height: 375px;
    box-sizing: border-box;
    background-color: white;
}
.goods .swiper-container .swiper-slide{
    width: 100% !important;
    height: 100% !important;
    position: relative;
}
.goods .swiper-container .swiper-slide>.play{
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    left: 50%;
    margin-left: -20px;
}
.goods .swiper-container img{
    width: 100%;
    /*height: 100%;*/
    display: block;
}
.goods .name{
    width: 95%;
    padding: 10px 2.5% 5px;
    background: white;
}
.goods .name>div:first-child{
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    word-wrap:break-word;
    word-break:break-all;
}
.goods .name>div:nth-child(2){
    color: #888888;
    font-size: 14px;
}
.goods .name>div:nth-child(3){
    font-size: 0;
    width: 100%;
}
.goods .name>div:nth-child(3)>div:first-child{
    width: 70%;
    display: inline-block;
    vertical-align: middle;
}
.goods .name>div:nth-child(3)>div:first-child>span:first-child{
    font-size: 30px;
    color: #0498E2;
    font-weight: bolder;
    margin-right: 10px;
}
.goods .name>div:nth-child(3)>div:first-child>span:first-child>font{
    font-size: 15px;
}
.goods .name>div:nth-child(3)>div:first-child>span:last-child{
    font-size: 15px;
    text-decoration: line-through;
    color: #999999;
}
.goods .name>div:nth-child(3)>div:last-child{
    width: 30%;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    text-align: right;
    color: #999999;
    margin-top: 5px;
}
.goods .content{
    margin: 0px auto 0;
    background: white;
    width: 95%;
    padding: 5px 2.5%;
    font-size: 0;
}
.goods .content *{
    max-width: 100% !important;
}
.goods .footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 55px;
    background-color: white;
    box-shadow: 0 0 10px 0 #fee4de;
    -webkit-box-shadow: 0 0 10px 0 #fee4de;
    -moz-box-shadow: 0 0 10px 0 #fee4de;
    font-size: 0;
}
.goods .footer>div:first-child{
    width: 30%;
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.goods .footer>div:nth-child(2){
    width: 35%;
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.goods .footer>div:nth-child(3){
    width: 35%;
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.goods .footer>div:first-child>a{
    margin-top: 5px;
    display: inline-block;
    width: 50%;
    font-size: 12px;
    text-align: center;
}
.goods .footer>div:first-child>a img{
    width: 24px;
    height: 24px;
    display: block;
    margin: 3px auto 0;
}
.goods .footer>div:nth-child(2){
    color: white;
    background: #0498E2;
    font-size: 15px;
    line-height: 55px;
    text-align: center;
}
.goods .footer>div:nth-child(3){
    color: white;
    background: #E4393C;
    font-size: 15px;
    line-height: 55px;
    text-align: center;
}
.goods .rule{
    position: fixed;
    background-color: rgba(0,0,0,0.6);
    width: 100%;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}
.goods .rule .rule-content{
    width: 100%;
    position: absolute;
    top: 30%;
    background-color: white;
    bottom: 0;
}
.goods .rule .rule-content .btn-confirm{
    width: 100%;
    background-color: #0498E2;
    color: white;
    outline: 0;
    border: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 53px;
    line-height: 53px;
    font-size: 15px;
}
.goods .rule .rule-content .btn-close{
    position: absolute;
    top: 10px;
    right: 10px;
}
.goods .rule .rule-content .btn-close img{
    width: 15px;
    height: 15px;
}
.goods .rule .rule-content .header{
    width: 100%;
    height: 90px;
    font-size: 0;
}
.goods .rule .rule-content .header>div:first-child{
    width: 30%;
    display: inline-block;
    vertical-align: middle;
}
.goods .rule .rule-content .header>div:first-child img{
    width: 80px;
    height: 80px;
    margin: 5px auto;
    display: block;
}
.goods .rule .rule-content .header>div:last-child{
    width: 70%;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.goods .rule .rule-content .header>div:last-child>div:first-child{
    width: 100%;
    font-size: 20px;
    margin-top: 15px;
    color: #0498E2;
}
.goods .rule .rule-content .header>div:last-child>div:first-child font{
    font-size: 13px;
}
.goods .rule .rule-content .header>div:last-child>div:last-child{
    width: 100%;
    font-size: 14px;
    color: #999999;
    margin-top: 5px;
}
.goods .rule .rule-content .header>div:last-child>div:last-child span{
    margin-left: 10px;
    color: #666666;
}
.goods .rule .rule-content .content{
    width: 90%;
    left: 5%;
    position: absolute;
    top: 90px;
    bottom: 55px;
    overflow-y: auto;
    padding: 0;
}
.goods .rule .rule-content .item{
    width: 100%;
    margin-bottom: 10px;
}
.goods .rule .rule-content .item>div:first-child{
    color: #999999;
    font-size: 13px;
}
.goods .rule .rule-content .item>div:last-child{
    font-size: 0;
}
.goods .rule .rule-content .item>div:last-child span{
    font-size: 14px;
    color: #666666;
    background-color: #F5F5F5;
    border: 0;
    border-radius: 5px;
    padding: 3px 15px;
    display: inline-block;
    margin: 0px 10px 5px 0;
}
.goods .rule .rule-content .item>div:last-child .active{
    color: white;
    background-color: #0498E2;
}
.goods .rule .rule-content .number{
    width: 100%;
    text-align: right;
    font-size: 0;
}
.goods .rule .rule-content .number>div:first-child{
    border: 1px solid #E6E6e6;
    font-size: 15px;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    width: 25px;
    text-align: center;
    background-color: white;
}
.goods .rule .rule-content .number>div:nth-child(2){
    border: 1px solid #E6E6e6;
    font-size: 15px;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    width: 50px;
    text-align: center;
    border-left: 0;
    border-right: 0;
}
.goods .rule .rule-content .number>div:nth-child(2) input{
    width: 100%;
    outline: 0;
    border: 0;
    text-align: center;
    color: #666666;
    height: 23px;
    line-height: 25px;
}
.goods .rule .rule-content .number>div:last-child{
    border: 1px solid #E6E6e6;
    font-size: 15px;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    width: 25px;
    text-align: center;
    background-color: white;
}

.tab{
    height: 35px;
    width: 100%;
    margin: 10px auto 0;
    font-size: 0;
    background: white;
    padding-top: 5px;
}
/*.tab span{*/
/*    display: inline-block;*/
/*    border: 2px solid #0498E2;*/
/*    height: 80%;*/
/*    vertical-align: middle;*/
/*    margin-right: 10px;*/
/*    margin-left: 10px;*/
/*}*/
.tab div{
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    height: 33px;
    font-size: 16px;
    line-height: 35px;
    color: #666;
    overflow-y: hidden;
    text-align: center;
    border-bottom: 1px solid #E6E6e6;
}
.tab  .active {
    color: #0498E2;
    border-bottom: 3px solid #0498E2;
}