﻿@charset "utf-8";
/*reset*/
html {
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; /* 2 */
    margin: 0;
    padding: 0;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dd, form, span, samp, p, a {
    font-size: 12px;
    font-weight: normal;
    margin: 0;
    font-family: "Microsoft YaHei", Helvetica, STHeiTi,"Helvetica Neue","微软雅黑",SimSun,sans-serif;
}

html, body {
    background: white;
    min-height: 100%;
}


ul, ol {
    padding-left: 0;
    list-style-type: none;
}

li {
    display: inline-block;
}

i {
    font-style: normal;
}

a {
    cursor: pointer;
    color: #333;
    text-decoration: none;
    /*消除ie10灰色背景*/
    background-color: transparent;
    /*消除火狐虚线*/
    outline: none;
}

img {
    max-width: 100%;
    /*  cursor: pointer;*/
    vertical-align: middle;
    border: 0 none;
}

body, button, input, select, textarea {
    font-size: 12px;
    font-family: "Microsoft YaHei", Helvetica, STHeiTi,"Helvetica Neue","微软雅黑",SimSun,sans-serif;
    color: #3c3c3c;
    outline: none;
    resize: none;
}

button, input {
    /* 让 input 和 button 一样高 */
    line-height: normal;
}

figure {
    margin: 0;
    padding: 0;
}

    figure img {
        width: 100%;
    }

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: none;
}

a, button, input {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 统一上标和下标 */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
}

:root sub, :root sup {
    vertical-align: baseline; /* for ie9 and other modern browsers */
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

strong {
    font-weight: normal;
}

mark {
    background: none;
}
/*
input,button,select,textarea {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}
 */
input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }




/*原子类*/
.wrapper:before,
.wrapper:after,
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.wrapper:after,
.clearfix:after {
    clear: both;
}

.wrapper,
.clearfix {
    zoom: 1;
}

.Left {
    float: left;
}

.Right {
    float: right;
}


// html {
    height: 100%;
}

body {
    min-width: 320px;
    max-width: 1920px;
    line-height: 1.6;
    margin: auto;
}


.contain {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.fixWidth {
    width: 90%;
    margin: 0 auto;
    position: relative;
}


.contain {
    min-height: 400px;
    text-align: center;
}

    .contain .demo div {
        display: block;
        width: 100%;
        height: 40px;
        border-radius: 5px;
        border: 1px solid #999;
        margin-bottom: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 40px;
    }


.whiteBG {
    background: white;
}

.fullHeight {
    height: 100%;
}

.guideView:before {
    display: none;
}

.center {
    text-align: center;
}

.blue {
    color: #1e83d3;
}

/* --------- nav ------------*/
.nav {
    width: 100%;
    max-width: 640px;
    text-align: left;
    line-height: 45px;
    padding: 25px 0 35px;
}

    .nav h1 {
        font-size: 2.5em;
        font-weight: bold;
    }







.mobileSelect {
    position: relative;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.4s, z-index 0.4s;
    transition: opacity 0.4s, z-index 0.4s;
}

    .mobileSelect * {
        margin: 0;
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mobileSelect .grayLayer {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: #eee;
        background: rgba(0, 0, 0, 0.7);
        z-index: 888;
        display: block;
    }

    .mobileSelect .content {
        width: 100%;
        display: block;
        position: fixed;
        z-index: 889;
        color: black;
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
        bottom: -350px;
        left: 0;
        background: white;
    }

        .mobileSelect .content .fixWidth {
            width: 90%;
            margin: 0 auto;
            position: relative;
        }

            .mobileSelect .content .fixWidth:after {
                content: ".";
                display: block;
                height: 0;
                clear: both;
                visibility: hidden;
            }

        .mobileSelect .content .btnBar {
            border-bottom: 1px solid #DCDCDC;
            font-size: 15px;
            height: 45px;
            position: relative;
            text-align: center;
            line-height: 45px;
        }

            .mobileSelect .content .btnBar .cancel,
            .mobileSelect .content .btnBar .ensure {
                height: 45px;
                width: 55px;
                cursor: pointer;
                position: absolute;
                top: 0;
            }

            .mobileSelect .content .btnBar .cancel {
                left: 0;
                color: #666;
            }

            .mobileSelect .content .btnBar .ensure {
                right: 0;
                color: #1e83d3;
            }

            .mobileSelect .content .btnBar .title {
                font-size: 15px;
                padding: 0 15%;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

        .mobileSelect .content .panel:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }

        .mobileSelect .content .panel .wheels {
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

        .mobileSelect .content .panel .wheel {
            position: relative;
            z-index: 0;
            float: left;
            width: 50%;
            height: 200px;
            overflow: hidden;
            -webkit-transition: width 0.3s ease;
            transition: width 0.3s ease;
        }

            .mobileSelect .content .panel .wheel .selectContainer {
                display: block;
                text-align: center;
                -webkit-transition: -webkit-transform 0.18s ease-out;
                transition: -webkit-transform 0.18s ease-out;
                transition: transform 0.18s ease-out;
                transition: transform 0.18s ease-out, -webkit-transform 0.18s ease-out;
            }

                .mobileSelect .content .panel .wheel .selectContainer li {
                    font-size: 15px;
                    display: block;
                    height: 40px;
                    line-height: 40px;
                    cursor: pointer;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

        .mobileSelect .content .panel .selectLine {
            height: 40px;
            width: 100%;
            position: absolute;
            top: 80px;
            pointer-events: none;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            border-top: 1px solid #DCDCDC;
            border-bottom: 1px solid #DCDCDC;
        }

        .mobileSelect .content .panel .shadowMask {
            position: absolute;
            top: 0;
            width: 100%;
            height: 200px;
            background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(rgba(255, 255, 255, 0)), to(#ffffff));
            background: -webkit-linear-gradient(top, #ffffff, rgba(255, 255, 255, 0), #ffffff);
            background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0), #ffffff);
            opacity: 0.9;
            pointer-events: none;
        }

.mobileSelect-show {
    opacity: 1;
    z-index: 10000;
    visibility: visible;
}

    .mobileSelect-show .content {
        bottom: 0;
    }
