
.show {
    display: block !important;
}
/* 进度条 */
.progressBar {
    padding: 18px 15px 20px;
    background-color: #fff;
    box-shadow: 0px 5px 6px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
}

.progressNum {
    color: #666;
    font-size: 12px;
    margin-right: 8px;
}

    .progressNum strong {
        font-size: 18px;
    }

.progressOuter {
    position: relative;
    display: inline-block;
    margin-top: 9px;
    background-color: #f6f6f6;
    height: 12px;
    border-radius: 6px;
    width: 100%;
}

.progressInner {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    background: #FFDD2B;
    height: 12px;
    border-radius: 6px;
}
/* 答题部分 */
.answerBox {
    background-image: url(../image/answerBg.png);
    background-size: 4%;
    background-repeat: repeat;
    padding: 15px 15px 55px;
    height: calc(100vh - 61px - 45px);
}

.questionBox {
    padding: 0 0 15px;
}

    .questionBox h2 {
        font-size: 18px;
        font-weight: bold;
        color: #000;
        /*margin-bottom: 15px;*/
    }

    .questionBox img {
        margin-bottom: 5px;
    }
/* 纯文本单选 */
.optionBox.onlyText {
    display: none;
}

    .optionBox.onlyText li {
        position: relative;
        font-size: 16px;
        color: #000;
        border: 1px solid #ccc;
        background-color: #fff;
        border-radius: 8px;
        padding: 14px 48px 14px 22px;
        display: flex;
        justify-content: start;
        margin-bottom: 10px;
    }

        .optionBox.onlyText li:before {
            content: '';
            position: absolute;
            top: 50%;
            right: 30px;
            transform: translateY(-50%);
            width: 19px;
            height: 19px;
            border: 2px solid #ffdd28;
            border-radius: 50%;
            box-sizing: border-box;
        }

        .optionBox.onlyText li.active:after {
            content: '';
            position: absolute;
            top: 50%;
            right: 34px;
            transform: translateY(-50%);
            width: 11px;
            height: 11px;
            background-color: #ffdd28;
            border-radius: 50%;
        }

    .optionBox.onlyText span {
        margin-right: 14px;
    }
/* 纯图片单选 */
.optionBox.onlyImage {
    display: none;
}

    .optionBox.onlyImage ul {
        display: flex;
        flex-wrap: wrap;
    }

    .optionBox.onlyImage li {
        position: relative;
        width: calc(50% - 6px);
        height: 110px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        margin-bottom: 12px;
    }

        .optionBox.onlyImage li:nth-child(2n+1) {
            margin-right: 12px;
        }

    .optionBox.onlyImage span {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 25px;
        height: 25px;
        border: 1px solid #ccc;
        border-radius: 6px 0 6px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        color: #333;
        background-color: #fff;
    }

    .optionBox.onlyImage div {
        border-radius: 6px;
        border: 1px solid #ccc;
        box-sizing: border-box;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 100%;
        width: 100%;
    }

    .optionBox.onlyImage li.active div {
        border: 4px solid #FFDD2B;
    }

    .optionBox.onlyImage li.active span {
        border-color: #FFDD2B;
    }
/* 底部按钮部分 */
/* 底部按钮部分 */
.fixedButton {
    background-color: transparent;
    position: fixed;
    padding: 0 13px 15px;
    left: 50%;
    z-index: 50;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

    .fixedButton button {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        background: #FFDD2B;
        border-radius: 5px;
        font-size: 16px;
        color: #333;
    }

    .fixedButton a {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
/* 弹窗 */
.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 80%;
    border-radius: 10px;
    padding: 26px 30px 25px;
}

.dialogIcon {
    width: 53px;
    height: 53px;
    margin: 0 auto;
    margin-bottom: 16px;
}

.dialog p {
    font-size: 15px;
    color: #666;
}

.dialogButtton {
    margin-top: 15px;
}

    .dialogButtton button {
        width: 100%;
        border-radius: 5px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        color: #333;
        background-color: #FFDD2B;
    }

    .dialogButtton.plural {
        display: flex;
    }

        .dialogButtton.plural button {
            width: calc(50% - 10px);
            margin-right: 20px;
        }

            .dialogButtton.plural button:last-child {
                margin-right: 0;
            }

.closeBtn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 18px;
}

    .closeBtn img {
        width: 8px;
        height: 8px;
    }
/* 遮罩 */
.mask {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
}


@media only screen and (min-width: 1000px) {
    .fixedButton {
        width: 550px;
    }

    .dialog {
        width: 440px;
    }

    .mask {
        width: 550px;
    }
}
