html,body{
    height: 100%;
    background-color: #FFFFFF;
}
#wrap{
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-flow: column;
           flex-flow: column;
}
#header{
    text-align: center; 
    color: #fff;
    width: 100%;
    height: 45px;
    position: fixed;
    z-index: 99;
    border-bottom: 1px solid #dcdcdc;
    background: #FFFFFF;
	top:0px;	
}

#main{
    -webkit-box-flex: 1; 
    -webkit-flex: 1;
    flex: 1;
    padding: 1em;
    z-index: 9;
}
.header {
/*     width: 100%;
    height: 45px;
    background: #FFFFFF;
    position: fixed;
    top: 0;
    z-index: 99;
    border: 0; */
}
.hid{ display:none;}
.h-left {
    float: left;
    width: 15%;
    height: 45px;
}
.h-left a {
    display: block;
    width: 40px;
    height: 40px;
    margin: auto;
    background: url(../images/arrow_left.png) no-repeat 15px center;
    background-size: auto 16px;
    margin-top: 3px;
}

.h-mid {
    width: 70%;
    height: 45px;
    float: left;
    text-align: center;
    color: #333;
    font-size: 1.6rem;
    line-height: 40px;
    position: relative;
}
.h-mid {
    width: 70%;
    height: 45px;
    float: left;
    text-align: center;
    color: #333;
    font-size: 16px;
    line-height: 45px;
    position: relative;
    font-family: "微软雅黑", "宋体", Arial, Helvetica, sans-serif;
    }
.h-right {
    float: left;
    width: 15%;
    height: 45px;
}
.top_bar {
    float: right;
    display: block;
    width: 80px;
    margin-right: 10px;
    height: 40px;
    background: none;
}

.global-nav__nav-shop-cart-num {
    position: absolute;
    top: 2px;
    color: #fff;
    text-align: center;
    font-weight: normal;
    font-size: 10px;
    width: 12px;
    height: 12px;
    line-height: 12px;
    background: #ff2233;
    border-radius: 50%;
}
.global-nav__nav-shop-cart-num {
    position: absolute;
    left: 50%;
    top: 3px;
    color: #fff;
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    font-family: 宋体;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

cite, em, s, i, b {
    font-style: normal;
}
.goods_nav {
    width: 30%;
    float: right;
    right: 5px;
    overflow: hidden;
    margin-top: 25px;
    z-index: 100;
    position: absolute;
}
.Triangle {
    width: 100%;
    height: 20px;
}
.Triangle h2 {
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent #565553 transparent;
    border-width: 10px;
    transition: 0.6s;
    float: right;
    margin-right: 10px;
}
.goods_nav ul {
    width: 100%;
    overflow: hidden;
    background-color: rgba(46,45,45,0.9);
    border-radius: 2px;
}


.goods_nav li {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #959595;
}
li, img, label, input {
    vertical-align: middle;
}
.goods_nav li span {
    display: block;
    width: 25px;
    height: 25px;
    float: left;
    margin-top: 5px;
    margin-left: 5px;
}
.top_bt, .user_btn, .show_cart {
    background: url(../images/pub_flow.png) no-repeat;
    background-size: auto 160px;
}

.menu1, .menu2, .menu3, .menu4, #show_more {
    background: url(../images/pub_goods.png) no-repeat;
    background-size: auto 200px;
}
.menu1 {
    background-position: 0 4px;
}
.menu2 {
    background-position: 0 -19px;
}
.menu3 {
    background-position: 0 -41px;
}
.menu4 {
    background-position: 0 -64px;
}
#show_more {
    width: 30px;
    height: 20px;
    float: right;
    background-position: 0 -110px;
    margin-left: 10px;
    margin-top: 10px;
}
.show_cart {
    float: right;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    position: relative;
    background-position: 0 -75px;
    background-size: auto 150px;
}

.goods_nav li i {
    font-style: normal;
    color: #f3f1f1;
    font-size: 14px;
    display: block;
    float: left;
    line-height: 40px;
}
/* 加载条  */
.loading_bottom ul {
    padding: 10px 0 0;
}
.loading_bottom ul {
    padding: 10px 0 0;
}
.loading_bottom ul {
    padding: 15px 0;
    width: 135px;
    margin: auto;
    color: #848484;
    font-size: 12px;
    line-height: 20px;
}
.loading_bottom ul {
    padding: 15px 0;
    width: 135px;
    margin: auto;
    color: #848484;
    font-size: 12px;
    line-height: 20px;
}
.tbox {
    width: 100%;
    height: 100%;
}
.tbox > * {
    height: 100%;
    display: table-cell;
    vertical-align: top;
}
.tbox>* {
    display: table-cell;
    vertical-align: top;
}
.tbox, .tbox>* {
    height: 100%;
}
.loading_wrap {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}
.loading_wrap {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}
.bbox, p, div {
    /* -webkit-box-sizing: border-box; */
}
.loading {
    position: absolute;
    left: 0;
    top: 0;
    margin: -2px -3px;
    z-index: 10;
    width: 24px;
    height: 24px;
    /* border: 2px solid #237FE5; */
    border-radius: 24px;
    -webkit-animation: widget_gif 1s infinite linear;
    /* clip: rect(0 auto 12px 0); */
    background: url(../res/img/header/loading.png) no-repeat center center;
    -webkit-background-size: 100%;
}
.loading {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.loading {
    position: absolute;
    left: 0;
    top: 0;
    margin: -2px -3px;
    z-index: 10;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    -webkit-animation: widget_gif 1s infinite linear;
    background: url(../res/img/header/loading.gif) center center no-repeat;
    -webkit-background-size: 100%;
}
.tbox > *:last-child {
    width: 100%;
}
.box, .tbox, .tbox>:last-child {
    width: 100%;
}
.tbox > * {
    height: 100%;
    display: table-cell;
    vertical-align: top;
}

/*主页footer自定义*/

#footer{
    height: 50px; line-height: 50px;

    background-size: 11px 50px;
    background-color: #FFFFFF;    
    width: 100%;
    text-align: center;
    width: 100%;
    left: 0;
    position: fixed;
    bottom: 0;
    z-index: 99;	
}
#footer h5{
    color: white;
}

#footer_list{
    height: 50px;
    width: 100%;
    position: relative;
}
#footer_list .list_li{
    float: left;
    height: 50px;
    width: 20%;
    position: relative;
}
#footer_list .list_bar{
    position: absolute;
    bottom: 0;
    left: 0%;
    height: 2px;
    width: 20%;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transition: all .25s ease;
            transition: all .25s ease;

}
#footer_list .list_bar .list_bar_inner{
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 50%;
    background-color: #C50000;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}
#footer_list .home{
    background: url(../res/img/icon_tab_home_nomal.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .home.active{
    background: url(../res/img/icon_tab_home_selected.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .follow{
    background: url(../res/img/icon_tab_featured_normal.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .follow.active{
    background: url(../res/img/icon_tab_featured_selected.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .fun{
    background: url(../res/img/icon_tab_fun_normal.png) center 6px no-repeat;
    background-size: 26px 21px;
}
#footer_list .fun.active{
    background: url(../res/img/icon_tab_fun_selected.png) center 6px no-repeat;
    background-size: 26px 21px;
}
#footer_list .cart{
    background: url(../res/img/icon_tab_cart_normal.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .cart.active{
    background: url(../res/img/icon_tab_cart_selected.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .profile{
    background: url(../res/img/icon_tab_featured_normal.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .profile.active{
    background: url(../res/img/icon_tab_featured_selected.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .search{
    background: url(../res/img/icon_tab_search_normal.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .search.active{
    background: url(../res/img/icon_tab_search_selected.png) center 6px no-repeat;
    background-size: 22px 21px;
}
#footer_list .list_li .text{
    position: absolute;
    width: 100%;
    height: 1em;
    line-height: 1em;
    left: 0;
    bottom: 7px;
    color: #848C98;
    font-size: 11px;
}
#footer_list .list_li.active .text{
    /*color: #ff5366;*/
     /*color: #444F59;*/
    color: #ec5151;
}

