/*
理念：1. reset 的目的不是清除浏览器的默认样式，这仅是部分工作。清除和重置是紧密不可分的。
      2. reset 的目的不是让默认样式在所有浏览器下一致，而是减少默认样式有可能带来的问题。
      3. reset 提供一套适用于99%的网站的基础样式。
*/

/** 清除内外边距 **/
body, div, p, h1, h2, h3, h4, h5, h6, blockquote,  /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre,  /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea,  /* form elements 表单元素 */
table,th,td /* table elements 表格元素 */ {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

/*h1, h2, h3, h4, h5, h6 { font-size: 100%; }*/
address,
cite,
em,
i {
    font-style: normal;
} /* 将斜体扶正 */
small {
    font-size: 12px;
} /* 小于 12px 的中文很难阅读，让 small 正常化 */

/** 重置列表元素 **/
li {
    list-style: none;
}

/** 重置文本格式元素 **/
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

/** 重置表单元素 **/
legend {
    color: #000;
} /* for ie6 */
fieldset,
img {
    border: 0;
} /* img 搭车：让a链接里的 img 无边框 */
button,
input,
select,
textarea {
    font-size: 100%;
    line-height: normal;
} /* 使得表单元素在 ie 下能继承字体大小 */

/** 重置表格元素 **/
table {
    border-collapse: collapse;
    border-spacing: 0;
}
input[type='button'],
input[type='submit'],
input[type='reset'] {
    cursor: pointer;
}

/* ie6 7 8(q) bug  */
iframe {
    display: block;
}

/* 清浮动 */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}
.clearfix {
    zoom: 1; /* for IE6 IE7 */
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}
::-webkit-scrollbar:horizontal {
    width: 0;
    height: 0;
    display: none;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:active {
    background-color: transparent;
}

body {
    /*
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    left: 0;
    right: 0;
    top: 0;
    */
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Poppins-Medium;
    background: #0000007d;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.main_container {
    box-sizing: border-box;
    padding: 0 1.1rem 1.5rem;
    background-color: #f2f6f9;
    font-family: Poppins-Medium;
    width: 20rem;
    margin: 0 auto;
}
/** 底部导航栏 */
.bar_container {
    position: fixed;
    bottom: 0;
    width: 20rem;
    height: 4.7rem;
    background: #ffffff;
    z-index: 100;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bar_container .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bar_container .item .icon {
    height: 1.2rem;
    width: 1.2rem;
    display: flex;
    background-size: 100% 100%;
    margin-bottom: 0.2rem;
}
.bar_container .item .title {
    font-family: Poppins-Regular;
    color: #898989;
    font-size: 0.64rem;
    transform: scale(0.83);
}
.bar_container .item .ckd {
    color: #000000 !important;
}
/** 头部导航栏 */
.head_bar_container {
    z-index: 10;
    position: fixed;
    top: 0;
    display: flex;
    height: 3.1rem;
    width: 20rem;
    background: #fff;
    justify-content: center;
    align-items: center;
}
.head_bar_container .back_btn {
    position: absolute;
    width: 0.7rem;
    height: 1.05rem;
    left: 1rem;
    background-size: 100% 100%;
    background-image: url(../images/back.png);
}
.head_bar_container .title {
    font-size: 1rem;
    font-family: Poppins-Bold;
    position: absolute;
}


.footer_tab_home_icon {
    background-image: url(../images/Home.png);
}

.footer_tab_home_icon.ckd {
    background-image: url(../images/Home-ckd.png);
}


.footer_tab_prod_icon {
    background-image: url(../images/Product.png)
}

.footer_tab_prod_icon.ckd {
    background-image: url(../images/Product-ckd.png)
}


.footer_tab_cart_icon {
    background-image: url(../images/Cart.png)
}

.footer_tab_cart_icon.ckd {
    background-image: url(../images/Cart-ckd.png)
}

.footer_tab_my_icon {
    background-image: url(../images/Profile.png)
}


.footer_tab_my_icon.ckd {
    background-image: url(../images/Profile-ckd.png)
}

.type_cate_icon {
    background-image: url(../images/menu.png);
    background-size: 1.1rem 1.1rem
}

.type_manu_icon {
    background-image: url(../images/Factory.png);
    background-size: 1.4rem 1.1rem;
}

.type_car_icon {
    background-image: url(../images/Car.png);
    background-size: 1.7rem 0.9rem
}

.type_offer_icon {
    background-image: url(../images/Coupon.png);
    background-size: 1.3rem 1.2rem
}

.toast {

    background: rgba(0, 0, 0, .85);
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);

    border-radius: 3px;

    z-index: 99999;

    color: rgba(255, 255, 255, .9);
    font-family: sans-serif;

    padding: 10px 15px;
    max-width: 60%;
    width: 100%;
    word-break: keep-all;
    margin: 0 auto;
    text-align: center;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    -webkit-transform: translateY(150%) translateZ(0);
    transform: translateY(150%) translateZ(0);
    -webkit-filter: blur(0);
    opacity: 0
}

.err_note {
    color: #e9686b;
    font-size: 0.8rem;
    font-style: italic;
}

.error_note {
    color: #e9686b;
    font-size: 0.8rem;
    font-style: italic;
    margin: 10px auto;
    line-height: 1.1;
    padding: 10px;
    display: block;
}

.invalid {
    border: 1px solid #e9686b ;
}

.valid {
    border: 1px solid rgba(28, 100, 0,0.6) ;
}

.alert_message {
    margin: 0.6rem auto
}

.error-msg {
    color: #e9686b;
    font-size: 0.8em;
    padding: 5px 30px;
    margin:0.4rem 1rem;
}
.correct-msg {
    color: #3d6611 ;
    font-size: 0.8em;
    padding: 5px 30px;
    margin:0.4rem 1rem;
}

.noreason-list {
    display: flex;
    margin: 20px auto;
    width: 86%;
}

.noreason-list li {
    margin-right: 0.6rem;
    font-size: 0.7rem;
}

.mescroll{
    /* position: fixed; */
    top: 44px;
    bottom: 0;
    height: auto; /*如设置bottom:50px,则需height:auto才能生效*/
}