@media (min-width:368px){
    html{ font-size:50px; }
}
@media (max-width:368px){
    html{ font-size:45px; }
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
*{
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    display: none
}

.ui-loader-default{
    display:none;
}

.ui-mobile-viewport{
    border:none;
}

.ui-page {
    padding: 0;
    margin: 0;
    outline: 0
}


html,body{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #e2e2e2;
    color: #000;
    box-sizing: border-box;
}

a:link,a:active,a:visited,a:link,a:focus,a:hover{
    text-decoration: none;
}

[v-cloak] {
    display: none;
}


header {
    clear: both;
    width: 100%;
    height: 9%;
    text-align: center;
    display: table;
    padding: .28rem;
    box-sizing: border-box;
}

header form{
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    display: table;
    vertical-align: middle;
    position: relative;
}
.search-top{
    display: table-cell;
    vertical-align: middle;
    border-radius: .25rem;
    height: .5rem;
    width: 90%;
    border: 0;
    box-sizing: border-box;
    padding: 0 5px;
    outline: none;
    font-size: .3rem;
    background: #f1f1f1;
}
.search-top input{
    height: 100%;
    margin: 0;
    padding: 0 15px;
    vertical-align: middle;
    width: 90%;
    border: 0;
    outline: none;
    font-size: .3rem;
    background: #f1f1f1;
}

header span{
    display: table-cell;
    vertical-align: middle;
    color: #FFFFFF;
    text-align: center;
    height: 100%;
}

.share{
    color: #FFFFFF;
}

#goods header .navbar-content{
    display: table;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

#goods header .navbar-content span{
    display: table-cell;
    vertical-align: middle;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    height: 100%;
}

.top_style{
    width: 15%;
    display: table-cell;
    vertical-align: middle;
    border-radius: .25rem;
    height:100%;
    padding: 0;
    color: #FFFFFF;
    font-size: 0.3rem ;
}

.content{
    clear: both;
    width: 100%;
    height: 82%;
    overflow-y: scroll;
    box-sizing: border-box;
}

footer{
    height: 9%;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #e1e1e1;
    background: #ffffff;
    font-size: .2rem;
    color: #424242;
}
footer .footer-list{
    width: 20%;
    line-height: 1.45;
    vertical-align: middle;
    float: left;
    text-align: center;
    position: relative;
    height: 100%;
}
footer .footer-list .description{
    font-size: .28rem;
}

footer .footer-list .Hui-iconfont,footer .footer-list .description{
    color: #424242;
    vertical-align: middle;
}

footer .footer-list .Hui-iconfont{
    font-size: .45rem;
}





.icon-shopping-cart{
    position: absolute;
    top:-0.15rem;
    left:.85rem;
    width: .45rem;
    background-color: #f50000;
    color:white;
    height: .45rem;
    border-radius: .45rem;
    line-height: .45rem;
    font-size: .25rem;
    text-align: center;
    background-size: cover;
    outline: none;
    display: table-cell ;
    vertical-align: middle;
    z-index: 9999;
}


footer .footer-list .cart{
    position: relative;
}

.footer-tip{
    width: 100%;
    height: 30px;
}


.specs{
    color: #00B83F;
    border:1px solid #00B83F;
    padding: 2px;
    border-radius: 6px;
    font-size: 0.24rem;
    white-space:nowrap;
}

.spec_show{
    color: #00B83F;
    border:1px solid #00B83F;
    font-size: 10px;
    padding:2px 5px;
    box-sizing: border-box;
    border-radius: 35%/100%;
}

.limit_old_price{
    font-size: .24rem;
}

.company_border{
    border-radius: 35%/100%;
    font-size: 10px;
    padding: 2px 8px;
    line-height: 16px;
}

.tiny-tips{
    box-sizing: border-box;
}

.clearfix{
    clear: both;
}

.f-r{
    float: right;
}

.size-brief{
    color: #7c7c7c;font-size: .26rem;
    width: 100%;
}

.price{
    font-size: .3rem;
    color: red;
}


/*二级导航*/

.left-bar {
    box-sizing: border-box;
    border: 0;
    position: absolute;
    left: 0;
    top: 0.72rem;
    bottom: 0;
    line-height: .3rem;
    margin: 0;
    padding: 0;
    height: auto;
    overflow-y: scroll;
    text-align: center;
}

.left-bar li{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.left-bar li span {
    width: 100%;
    height: .9rem;
    text-align: center;
    font-size: .3rem;
    /*padding: 0 0.18rem 0 0.18rem;*/
    line-height: .3rem;
    border: 0;
    display: table;
    vertical-align: middle;
}

.left-bar li span span{
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}




/*仓位样式*/
.company_one{
    border: 1px solid #0bbe06;
    color: #0bbe06;
}

.company_two{
    border: 1px solid #ff7300;
    color: #ff7300;
}




body .new_layer_style {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body .new_layer_style .layui-layer-title {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body .new_layer_style .layui-layer-btn {
    border-top: 1px solid #E9E7E7
}

body .new_layer_style .layui-layer-btn a {
    background: #333;
}

body .new_layer_style .layui-layer-btn .layui-layer-btn1 {
    background: #999;
}

/*标签*/
.thumb{
    position: relative;
    overflow: hidden;
}

.is_best,.is_hot,.is_new,.promote,.is_promote {
    position: absolute;
    width: 1.6rem/*80px*/;
    height: 0.4rem/*20px*/;
    color: white;
    text-align: center;
    transform:translate3d( 0, 0, 0);
    transform: rotate(-44deg);
    top: 4px;
    left: -0.5rem;
}

.is_best{
    background-color: #ff6b2a;
}

.is_hot{
    background-color: #ff290e;
}

.is_new{
    background-color: #36bc1b;
}

.is_promote{
    background-color: #ff5e2f;
}

.is_best p,.is_hot p,.is_new p,.is_promote p {
    font-size: 0.25rem/*13px*/;
    letter-spacing:2px;
    text-align: center;
    height: 100%;
    line-height: .4rem;
    font-weight: bold;
    margin: 0;
}



/*购物车*/
.total {
    height: 100%;
    width: 100%;
    /*box-shadow: 0 0 2px gray;*/
    box-sizing: border-box;
}
.company_xj{
    height: 30px;
    margin: 0;
}
.company_xj p{
    line-height:.65rem;
    margin-bottom: 0;
}

.submit-button {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: table;
}

.company-border-bottom{
    clear: both;
    margin: 0 auto;
    width: 100%;
    height: 1px;
}

.line {
    font-size: 0;
    line-height: 0;
    margin: 5px 0;
    border-top: solid 1px #ddd;
    float: none;
    clear: both;

}

.block{
    display: block;
}
