@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    width: 100%;
    color: #333;
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    width: 100%;
    font-size: 62.5%;
    -webkit-overflow-scrolling: touch;
    font-family: "MicroSoft YaHei",Arial,Helvetica,sans-serif;;
}

a, img {
    -webkit-touch-callout: none; /*禁止长按链接与图片弹出菜单*/
}

a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
}

ul, li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

i {
    display: inline-block;
    vertical-align: middle;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}

img {
    border: none;
    max-width: 100%;
    vertical-align: middle;
}

th {
    font-weight: normal;
}

::-webkit-input-placeholder {
    color: #ccc;
    font-size: 100%;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cl {
    clear: both;
}

.block {
    display: block;
}

.inblock {
    display: inline-block;
}

.clearfix:before,
.clearfix:after,
.header:before,
.header:after,
.container:before,
.container:after,
.footer:before,
.footer:after {
    content: " ";
    display: table;
}

.clearfix:after,
.header:after,
.container:after,
.footer:after {
    clear: both;
}

.hide {
    display: none;
}

.nopadding {
    padding: 0 !important;
}

.nomargin {
    margin: 0 !important;
}

.noborder {
    border: none !important;
}

.red {
    color: #f62f55;
}

/*header*/
.header {
    width: 100%;
    height: 1rem;
    background: #ccc;
    position: fixed;
    top: 0;
    left: 0;
}
.header h1 {
    line-height: 1rem;
    font-size: .36rem;
    text-align: center;
    font-weight: normal;
}
.header .back {
    display: block;
    width: .18rem;
    height: .34rem;
    position: absolute;
    top: .3rem;
    left: .2rem;
    z-index: 99;
}
.header .back img {
    display: block;
}

/*container*/
.container {
    font-size: .28rem;
}
.bg-gray {
    background: #f6f6f6;
}



/*提示*/
.tipDialog {
    max-width: 80%;
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: .3rem;
    word-break: break-all;
    color: #fff;
    text-align: justify;
    background: rgba(0, 0, 0, .8);
    padding: .2rem;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*灰色遮罩层*/
.gray-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 98;
    display: none;
}
.choose-fixed {
    visibility: hidden;
    color: #666;
    font-size: .3rem;
    background: #fff;
    position: fixed;
    width: 100%;
    bottom: -100%;
    left: 0;
    z-index: 999;
    /*-webkit-transition-duration: .4s;*/
    transition: all .4s;
}
.chooseShow {
    visibility: visible;
    bottom: 0;
}

body.bodyFixed {
    position: fixed;
    overflow: hidden;
}
.address-fixed .tit {
    text-align: center;
    line-height: .44rem;
    margin: .3rem 0 .5rem;
    color: #999;
    font-size: .3rem;
    position: relative;
}
.addressClose {
    display: inline-block;
    text-indent: -1000%;
    width: .44rem;
    height: .44rem;
    background: url("../images/icon-close.png") no-repeat center;
    -webkit-background-size: .22rem;
    background-size: .22rem;
    position: absolute;
    right: .3rem;
    top: 0;
}
.address-list {
    display: block;
    padding: 0 .3rem;
    max-height: 6rem;
    overflow-y: auto;
}
.address-list li {
    line-height: .4rem;
    border-bottom: 1px solid #eee;
    padding: 0 .4rem .3rem .4rem;
    margin-top: .3rem;
    color: #444;
    background: url("../images/icon-greyAdd.png") no-repeat left top;
    -webkit-background-size: .3rem;
    background-size: .3rem;
    position: relative;
}
.address-list li.active {
    color: #ff283c;
    background: url("../images/icon-redAdd.png") no-repeat left top;
    -webkit-background-size: .3rem;
    background-size: .3rem;
}
.address-list li.active:after {
    content: '';
    display: inline-block;
    width: .22rem;
    height: .16rem;
    background: url("../images/icon-redRight.png") no-repeat center;
    -webkit-background-size: .22rem;
    background-size: .22rem;
    position: absolute;
    right: 0;
    top: .1rem;
}
.address-other {
    display: block;
    width: 100%;
    height: 1rem;
    font-size: .36rem;
    border: none;
    color: #fff;
    background-color: #ff283c;
}
.addAddress {
    height: 7rem;
    padding: 0 .3rem;
}
.addAddress .selected {
    height: 1rem;
    line-height: 1rem;
    -webkit-box-shadow: 0 1px 0 #eee;
    -moz-box-shadow: 0 1px 0 #eee;
    box-shadow: 0 1px 0 #eee;
}
.addAddress .selected li {
    float: left;
    margin-right: .5rem;
}
.addAddress .selected span {
    display: inline-block;
    line-height: 1rem;
    color: #ff283c;
    border-bottom: 2px solid #ff283c;
}
.addAddress ul.addressList {
    display: none;
    height: 6rem;
    overflow-y: auto;
}
.addAddress ul.addressList li {
    padding: .3rem 0;
}
.addAddress ul.addressList li.active span {
    position: relative;
}
.addAddress ul.addressList li.active span:after {
    content: '';
    position: absolute;
    width: .3rem;
    height: .3rem;
    right: -20px;
    top: 3px;
    background: url("../images/icon-redRight.png") no-repeat right center;
    -webkit-background-size: .3rem;
    background-size: .3rem;
}