input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{ color: #bcbcbc;}
input::-moz-placeholder,textarea::-moz-placeholder{ color: #bcbcbc;}  /* Mozilla Firefox 19+ */
input:-moz-placeholder,textarea:-moz-placeholder{ color: #bcbcbc;} /* Mozilla Firefox 4 to 18 */
input:-ms-input-placeholder,textarea:-ms-input-placeholder{ color: #bcbcbc;} /* Internet Explorer 10-11 */

html, body{ height: 100%;}
@media screen and (max-width: 320px) {
    :root{font-size: 12px;}
}
@media screen and (min-width: 321px) and (max-width: 413px){
    :root{font-size: 14px;}
}
@media screen and (min-width: 414px) and (max-width: 639px){
    :root{font-size: 15px;}
}
@media screen and (min-width: 640px) and (max-width: 767px){
    :root{ font-size: 16px;}
}
@media screen and (min-width: 768px){
    html,body{font-size: 16px; width: 768px; margin: 0 auto; position: relative;}
    body{ border: 1px solid #f0f0f0;}
}
div{ -webkit-overflow-scrolling: touch;}
img{ vertical-align: middle;}

a{ text-decoration: none; color: #333; border: none; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; outline: none;}
a:hover{ text-decoration: none; color: #333;}
.a{ color: #409EFF;}
.a:hover{ color: #409EFF;}

.blue{ color: #409EFF;}
.gray{ color: gray;}

.icon-left{
    display: inline-block;
    width: 1rem;
    height: 1.4rem;
    background: url("../img/new_icon_left.png") no-repeat;
    background-size: contain;
}
.icon-mobile{
    display: inline-block;
    width: 1rem;
    height: 1.4rem;
    background: url("../img/new_icon_mobile.png") no-repeat;
    background-size: contain;
}
.icon-user{
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background: url("../img/new_icon_user.png") no-repeat;
    background-size: contain;
}
.icon-password{
    display: inline-block;
    width: 1.1rem;
    height: 1.2rem;
    background: url("../images/new_icon_password.png") no-repeat;
    background-size: contain;
}
.icon-clear{
    display: none;
    margin-right: .5em;
    width: 1rem;
    height: 1rem;
    background: url("../img/new_icon_clear.png") no-repeat;
    background-size: contain;

}
.icon-code{
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background: url("../img/new_icon_code.png") no-repeat;
    background-size: contain;
}
.icon-radio{
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background: url("../img/new_icon_radio.png") no-repeat;
    background-size: contain;
}

.icon-radio-checked{
    background: url("../img/new_icon_radio_checked.png") no-repeat;
    background-size: contain;
}
.icon-wecat{
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background: url("../img/new_icon_wecat.png") no-repeat;
    background-size: contain;
}
.icon-alipay{
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background: url("../img/new_icon_alipay.png") no-repeat;
    background-size: contain;
}
.icon-platformcoin{
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background: url("../img/new_icon_platformcoin.png") no-repeat;
    background-size: contain;
}
.icon-close {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background: url("../img/new_icon_close.png") no-repeat;
    background-size: contain;
}


.flex-row{
    display: flex;
    align-items: center;
}

.wrap{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.header{
    height: 3rem;
    padding: 0 1em;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.header-title{
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: 1.2rem;
}
.header-button{
    width: 5rem;
    display: flex;
    align-items: center;
    line-height: 1rem;
}
.header-button.header-left{
    justify-content: flex-start;
}
.header-button.header-right{
    justify-content: flex-end;
}

.form{
    margin: 3em 2em 0;
    /*padding: 1em;*/
    /*border: 1px solid #f0f0f0;*/
    border-radius: 5px;
}
.form-item{
    display: flex;
    align-items: center;

    margin-bottom: 2em;
}
.form-item-content{
    height: 2.5rem;
    flex: 1;
    border-bottom: 1px solid #eee;
    /*border: 1px solid #eee;*/
    /*border-radius: 4px;*/
    display: flex;
    align-items: center;
    /*background-color: #fff;*/
}
.form-item-content .form-item-input{
    /*padding: 0 1em;*/
    flex: 1;
    border: none;
}
.form-item-label{
    width: 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border-right: 1px solid #eee;*/
}

.button{
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    color: #606266;
    background: #FFF;
    border: 1px solid #DCDFE6;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 4px;
}
.form-item .button{
    flex: 1;
    padding: 0 1em;
}
.button.button-primary{
    color: #FFF;
    background-color: #409EFF;
    border-color: #409EFF;
    /*background-color: #409eff;*/
    /*border-color: #409eff;*/
}
.button.button-small{
    padding: 5px 10px;
    font-size: 12px;
}
.button.is-round{
    border-radius: 20px;
    padding: 12px 23px;
}
.toast{
    position: fixed;
    /*max-width: 80%;*/
    width: 150px;
    height: 40px;
    border-radius: 5px;
    background: rgba(0,0,0,.7);
    color: #fff;
    box-sizing: border-box;
    text-align: center;
    z-index: 1001;
    /*transition: opacity .3s linear;*/
}
.is-placemiddle{
    left: 50%;
    top: 50%;
    margin-left: -75px;
    margin-top: -20px;
    /*transform: translate(-50%,-50%);*/
}
.toast-text {
    font-size: 14px;
    display: block;
    text-align: center;
}
.flex1{
    flex: 1;
}
