body {
    margin: 0;
    padding: 0;
    background: #fbfafa;
    overflow: auto;
    font-family: Microsoft Yahei, Verdana, Arial, Tahoma;
    color: #333333;
    font-size: 12px;
    line-height: 22px;
}

.body-bg-image {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    background-size: cover;
    background-position: center;
    height: 100vh;
    z-index: -1;
}

body,
table,
input,
select,
textarea,
a {
    word-break: break-all;
}

table {
    border: 0px;
    text-align: center;
}

img {
    display: block;
    border: 0;
    margin: 0;
}

a:link,
a:visited,
a:hover {
    text-decoration: none;
    color: #333333;
}


/* 去除iphone大圆角 */

div,
input,
button,
input:focus,
textarea,
textarea:focus {
    -webkit-appearance: none;
    appearance: none;
    /* 添加标准属性 */
    outline: none;
}


/*清除浮动*/

.clear::after,
.clear {
    content: "";
    display: table;
    clear: both;
    zoom: 1;
    /* 移除星号前缀 */
}


/* 黑红绿蓝紫 */

.cys1 {
    color: #666666
}

.cys2 {
    color: #f76767
}

.cys3 {
    color: #2ca761
}

.cys4 {
    color: #00CCFF
}

.cys5 {
    color: #d449e3
}


/* placeholder样式 - 简化版 */

input::placeholder,
textarea::placeholder {
    color: #d3d1d1;
}

#content {
    max-width: 100%;
    min-width: 320px;
    margin: 0 auto;
    height: 100vh;
}

.top-nav {
    background-color: #14a83c;
    text-align: left;
    padding: 0px 5px;
    line-height: 30px;
    color: #FFFFFF;
}

.top-nav a {
    color: #FFF
}

.top-nav-right {
    display: inline;
    float: right;
    color: #FFFFFF;
}

.query_box {
    width: 88%;
    margin: 0 auto;
    display: flex;
}

.query_left {
    width: 75%;
    border: 1px solid #14a83c;
    border-radius: 3px 0px 0px 3px;
    background: #f7fbfd;
    overflow: hidden;
}

.fwcodebox {
    height: 40px;
    text-align: left;
    background: #f7fbfd;
    overflow: hidden;
}

.fwcodeinput {
    width: 99%;
    border: 0;
    height: 38px;
    line-height: 38px;
    padding-left: 7px;
    text-align: left;
    color: #999999;
    outline: none;
    background-color: transparent;
}

.query_right {
    width: 25%;
    height: 42px;
    background: #14a83c;
    border-radius: 0px 3px 3px 0px;
    overflow: hidden;
}

.scanbox {
    width: 36px;
    height: 36px;
    float: left;
}

.btncss {
    border: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    height: 40px;
    line-height: 40px;
    background-color: transparent;
    color: #FFF;
    background: #14a83c;
    border-radius: 3px;
}

.btncss:hover {
    background-color: #14a83c;
    outline: none;
    box-shadow: none;
    border: none;
}

.scancss {
    border: 0;
    display: inline-block;
    width: 42px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: url("https://cdn.cn12315.com/images/scan.png") no-repeat center #f7fbfd;
    background-size: 100% auto;
    border-radius: 3px;
}

#result_box {
    /* 和query_box一样宽 */
    width: 88%;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #fff;
    border-radius: 极客时间3px;
}

#result_info {
    line-height: 25px;
    text-align: center;
    border-radius: 3px;
    margin-top: 30px;
    padding: 10px;
}


/* 温馨提示的样式 如果有 */

.tipMessage {
    text-align: left !important;
    width: 99%;
    margin: 0 auto;
    min-height: 100px;
}

.result_code {
    margin-bottom: 10px;
    text-align: center;
}

h3 {
    line-height: 10px;
}

#mCopyright {
    position: fixed;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    bottom: 0;
    padding: 5px 0;
    text-align: center;
    background-color: #14a83c;
    color: #fff;
    z-index: 999;
}


/* 不是移动端打开 */

@media not all and (max-width: 768px) {
    #content {
        max-width: 640px;
    }
}


/* 移动端打开 */

@media (max-width: 768px) {
    body {
        font-size: 22px;
        line-height: 35px;
    }
    .top-nav {
        line-height: 50px;
    }
    .query_left {
        width: 75%;
        height: 60px;
    }
    .scanbox {
        width: 60px;
        height: 60px;
        float: left;
    }
    .scancss {
        width: 62px;
        height: 60px;
    }
    .fwcodebox {
        height: 60px;
    }
    .fwcodeinput {
        height: 60px;
        line-height: 60px;
        padding-left: 7px;
        font-size: 1.7rem;
    }
    .query_right {
        height: 62px;
    }
    .btncss {
        font-size: 1.8rem;
        height: 60px;
        line-height: 60px;
    }
    #result_info {
        line-height: 40px;
        text-align: left;
    }
}