/* h5车辆活动页通用的css样式 */
html,
body {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

#app {
    width: 100%;
    height: 100%;
}

.content {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
}

.content img {
    width: 100%;
    height: auto;
}

.upload {
    position: relative;
}

.content .form {
    width: 100%;
    padding: 0.6rem 0.9rem 0 1rem;
    font-size: 16px;
}

.input-row {
    width: 100%;
    height: 0.6rem;
    line-height: 0.6rem;
    margin-bottom: 0.35rem;
}

.input-row label {
    color: #adadad;
    display: block;
    float: left;
    width: 30%;
    max-width: 120px;
}

.input-row input,
.input-row .select2 {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 0 0.1rem 0 !important;
    background: #fff;
    border: 1px solid #adadad;
    border-radius: 0.02rem;
    width: 70% !important;
    height: 100%;
    float: left;
    max-width: 500px;
}

.select2-selection__rendered {
    display: inline-block;
    width: 100%;
    height: 0.6rem;
    line-height: 0.6rem;
    padding-left: 0 !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 0.6rem;
    background: url(./img/downIcon.svg) no-repeat right 0.1rem top 0.18rem /
        0.3rem;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #aaa;
}

.button-row {
    width: 100%;
    height: 1.5rem;
    font-size: 0.3rem;
    text-align: center;
    margin-top: 0.5rem;
}

.button-row .submit-btn {
    color: #fff;
    background-color: #ca4850;
    border-radius: 2px;
    width: 6rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    position: absolute;
    left: 50%;
    margin-left: -3rem;
}

/* 上传图片 */
.img-content {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #efeff4;
    text-align: center;
    display: table-cell;
    /*主要是这个属性*/
    vertical-align: middle;
    position: absolute;
    top: 1.5rem;
    left: 50%;
    margin-left: -1rem;
}

.img-content .img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url(./img/uploadFace.svg) no-repeat top left / 100%;
}

.img-content p {
    margin-top: 0.1rem;
    color: #fff;
}

#file {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.line {
    width: 100%;
    height: 1rem;
    line-height: 1rem;
    display: flex;
    margin: 0 auto;
    margin-top: 10px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.left-right-line {
    display: inline-block;
    flex: 1;
    border-top: 1px solid #cccccc;
    margin-top: 0.5rem;
}

.text-line {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    font-size: 30px;
    color: #aaaaaa;
}
.cc-mask {
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
}

.cc-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 5rem;
    padding: 0.2rem 0.2rem 0.2rem 0.2rem;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    word-wrap: break-word;
}
.bottom-absolute {
    width: 100%; height: auto; overflow: hidden;
    position: relative; margin-top: -1px;
    padding:60px 0px 100px;
}
.bottom-absolute .form,
.bottom-absolute .button-row {
    z-index: 5; position: relative;
}
.bottom-absolute .bg {
    position: absolute; left: 50%; top: 0px; transform: translateX(-50%);
    width: 100%; height: 100%; overflow: hidden; z-index: 1;
}
.bottom-absolute .bg img {
    width: 100%; height: auto;
    position: absolute; left: 0px; bottom: 0px;
}

.content .bottom-absolute .form {
    width: 88%; height: auto;
    padding: 0.6rem 6% 1rem;
    font-size: 16px; overflow: hidden;
    box-sizing: border-box;
    color:#000;    margin: 0 auto;
}
.content .bottom-absolute .form label {
    color:#000;
}
.content .bottom-absolute .form input, .content .bottom-absolute .form .select2 { float: right;}
@media screen and (max-width: 960px) {
    .content .bottom-absolute .form { width: 92%;padding: 0.6rem 0px 1rem;}
    .text-line {
        margin-left: 0.1rem;
        margin-right: 0.1rem;
        font-size: 0.22rem;
        color: #aaaaaa;
    }
}

@media screen and (min-width: 800px) {
    .content {
        position: relative;
        width: 1125px;
        /* height: 100%; */
        left: 50%;
        transform: translateX(-50%);
    }

    label {
        text-align: center;
    }
}
