ol, ul {
    list-style: none
}
/* 中间内容区域固定高度 */
.content-area {
    min-height: 300px; /* 根据需要调整高度 */
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

body {
    background-image: url("/web/images2022/activebg.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.logo {
    width: 40%;
    max-width: 1000px;
    height: auto;
    margin: 30px auto 30px auto
}

.active-left, .active-right {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
}

.btn {
    padding: 8px 20px;
    border-radius: 15px;
    font-size: 18px;
    border: 0;
}

    .btn:hover {
        background: #c30;
    }

.active-desc {
    font-size: 14px;
    line-height: 2em;
}

.active-right {
    padding-left: 30px;
    font-size: 14px;
    line-height: 2em;
}

.active-right-tit {
    font-size: 18px;
    font-weight: bold;
}

    .active-right-tit:nth-child(3) {
        margin-top: 50px;
    }


.error-message {
    color: red;
    font-size: 12px;
}


.regbox {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
}

h2 {
    color: #333;
}

.form-group {
    margin-bottom: 25px;
    overflow: hidden;
    display: flex;
    align-items: center
}


.regbox label {
    text-align: right
}

.input-group-append {
    margin-left: -1px;
}

#getCode {
    background-color: #007bff;
    border-color: #007bff;
}

.error {
    color: #ff0000;
    margin-bottom: 15px;
}

.input-group-addon {
    padding: 0
}

#bt_vcode {
    margin: 0px;
    padding: 0 10px;
    font-size: 14px
}

    #bt_vcode:hover {
        background: #eee;
        border: none
    }

    #bt_vcode:focus {
        outline: none
    }

.card-body {
    background: #fff
}

    .card-body .btn {
        margin: 0px;
        padding: 0 10px;
        font-size: 14px
    }


.score {
    font-size: 18px;
    color: #f00
}

.paperview.btn-info {
    background: #f7f7f7;
    color: #666
}



.card {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
}

.card-body {
    padding: 1rem;
}

.table-container {
    max-height: 300px; /* 设置最大高度 */
    overflow-y: auto; /* 当内容超过最大高度时显示滚动条 */
}

.table-fixed-header {
    /* 使标题固定在顶部 */
    position: sticky;
    top: 0;
    background-color: #fff; /* 背景色与表格背景色相同 */
    z-index: 1; /* 确保标题在内容之上 */
}

.table td, .table th {
    vertical-align: middle;
}

.table-striped td, .table-striped th {
    text-align: center
}


/**答题界面***/

.container {
    margin-top: 20px;
    padding-bottom: 80px; /* 为固定按钮留出空间 */
}

.exam-tit {
    color: #fff;
    padding: 0 30px;
    margin-bottom: 30px;
}

    .exam-tit h1 {
        margin-top: 0;
        font-size: 24px;
        font-weight: bold
    }

.space-line {
    color: #ccc;
    margin: 0 10px;
}

.panel {
    margin: 10px
}




.answer-card {
    position: fixed;
    top: 115px; /* 根据实际情况调整，确保答题卡不遮挡顶部信息 */
    width: 370px; /* 根据实际情况调整宽度 */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    z-index: 999; /* 确保答题卡在顶部 */
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* 创建五行五列的布局 */
    gap: 5px; /* 设置项目之间的间距 */
}

.answer-card-title {
    font-size: 14px; /* 标题字体大小 */
    color: #333; /* 标题颜色 */
    text-align: left; /* 标题左对齐 */
    margin-bottom: 10px; /* 标题下边距 */
    font-weight: bold; /* 加粗标题 */
    display: block; /* 使标题占用整行 */
    width: 100%; /* 使标题宽度占满整行 */
    border-bottom: 1px solid #ddd; /* 添加底部边框，区分标题和答题卡项目 */
    padding-bottom: 5px; /* 标题底部间距 */
    grid-column: span 10;
    margin-top: 20px;
}

    .answer-card-title:first-child {
        margin-top: 0
    }

.answer-card-item {
    width: 30px; /* 设置答题卡项目的宽度和高度 */
    height: 30px;
    line-height: 30px; /* 设置行高，使文本垂直居中 */
    text-align: center; /* 使文本水平居中 */
    background-color: white; /* 设置背景颜色 */
    border: 1px solid #ccc; /* 设置边框 */
    cursor: pointer; /* 鼠标悬停时显示为手指 */
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
}

.answered {
    background-color: seagreen;
    color: #fff
}

.answer {
    margin: 30px 30px 30px 40px
}

.question-card {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px
}

    .question-card:last-child {
        border: none;
        margin-bottom: 10px
    }


.fixed-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* 确保答题卡在顶部 */
}



.gray-bg {
    background: #fff;
}





#testpaper-navbar.affix {
    position: relative !important
}

.clearfix {
    margin-bottom: 20px;
}

.testpaper-question-choice-index {
    margin-bottom: 10px;
}

.panel-body .btn-index {
    margin: 2px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}


.testpaper-question-footer {
    padding-bottom: 0px;
    padding-left: 40px;
}

.testpaper-tit {
    font-size: 17px;
    padding-left: 40px;
    line-height: 30px;
}

.testpaper-question-choices {
    font-size: 15px;
    line-height: 30px;
    padding-left: 0px;
    margin-left: -10px;
}

.testpaper-question-choice-inputs {
    font-size: 16px;
}

.checkbox-inline, .radio-inline {
    border: 1px solid #eee;
    background: #f7f7f7;
    padding: 2px 12px 2px 30px;
    border-radius: 3px;
    box-shadow: 0 0 3px #ccc;
    font-size: 15px;
    margin-top: 15px;
    display: block;
}

    .checkbox-inline + .checkbox-inline, .radio-inline + .radio-inline {
        margin-top: 15px;
        margin-left: 0
    }

    .checkbox-inline, .radio-inline input[type=checkbox] {
        position: absolute;
        margin-top: 4px\9;
        margin-left: -20px;
    }

    .checkbox-inline, .radio-inline:hover {
        background: #39aef5;
        border: 1px solid #39aef5;
        color: #fff
    }

    .checkbox-inline, .radio-inline.active {
        background: #5cb85c;
        border: 1px solid #5cb85c;
        color: #fff;
    }

    .radio-inline input[type="radio"] {
        margin-top: 4px;
    }



.affix {
    bottom: 0;
}

.tishi {
    position: fixed;
    width: 100%;
    z-index: 999;
    left: 0;
    top: 0;
    color: #F00;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    background: #fff;
}

.testpaper-question-choices li {
    padding-left: 10px;
}

    .testpaper-question-choices li:hover {
        background: #eee;
    }

.titleList {
    width: 1250px;
    width: 1250px;
    margin: 50px auto 0px auto;
    position: relative;
    overflow: hidden;
}

    .titleList span {
        padding: 8px 15px;
        font-size: 16px;
        background: #eee;
        border: 1px solid #ccc;
        border-radius: 2px;
        margin-right: 10px;
        display: inline-block;
        font-size: 16px;
        cursor: pointer;
    }

        .titleList span:hover {
            color: #fff;
            background: #5cb85c
        }

        .titleList span.select {
            color: #fff;
            background: #5cb85c;
            border: 1px solid #5cb85c
        }

.news {
    z-index: 333 !important;
    background: none;
}

.testnum {
    font-size: 21px;
    color: #000;
    line-height: 30px;
    font-weight: 500;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
}

.testpaper-question-stem {
    position: relative;
}



@media (max-width: 1000px) {
    .container1 {
        width: auto
    }

    .active-right {
        margin-top: 30px
    }

    .regbox {
        width: 90%
    }

    .form-group {
        display: block;
    }

    .answer-card {
        display: none
    }

    .exam-tit {
        padding: 0 5%;
        margin-bottom: 0;
        text-align: center
    }


    .logo {
        width: 80%;
    }
}
