/* 总布局 */
* {
    padding: 0;
    margin: 0;
}
ul li {
    list-style: none;
}
#extract:hover,#share:hover,
#ctrlBtn button:hover {
    outline: 0;
    border: 1px #ddd solid;
    color: rgb(26, 11, 240);
}
body {
    background-color: #d3e1fa;
}

/* 黑色遮盖层 */
#blackCover {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}
.black{
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: block !important;
}
#blackCover > div{
    background-color: #ddd;
    width: 5.8333rem;
    height: 3.3333rem;
    margin-left: -2.9167rem;
    position: absolute;
    left: 50%;
    top: 3.125rem;
    border-radius:10px;
}
/* "提示" */
#blackCover span{
    display: block;
    text-align: center;
    color: #000;
    margin-top:0.2083rem;
    font-size: 0.3333rem;
    font-weight:700;
    padding:5.4% 0;
    margin: 0 auto;
}
#information{
    text-align: justify;
    color: #3f3f3f;
    margin-bottom: 0.4167rem;
    padding: 0 0.2083rem;
    font-size: 0.3125rem;
}
#goOn{
    display: block;
    background-color: #ED171F;
    width: 30.4%;
    margin: 0 auto;
    font-size: 0.2917rem;
    color: #fff;
    font-weight: 700;
    height: 0.75rem;
    border-radius: 0.1667rem;
    line-height: 0.75rem;
    border: 1px solid red;
}

/* 总容器 */
#main {
    width: 99%;
    height: 98vh;
    margin: .1rem auto;
    background-color: #faf9f1;
    display: flex;
}

/*左边区域*/
#leftItemSelection {
    position: relative;
    flex: 1;
    height: 100%;
    box-shadow: 0.0833rem 0 0.0417rem #EFF1F0;
    background: linear-gradient(to right, #EDF8F2 0%, #EDF8F2 97.9%, #C8CBCA 98%, #FAFAFA 100%);
    box-sizing: border-box;
    /*display: flex;*/
    /*flex-direction: column;*/
}

/* 左边或上半部头部 */
#leftTitle {
    text-align: center;
    line-height: 1.5rem;
    color: #27AE61;
}

/* 左边上部或上半部上部抽取题库 */
#leftExtractBtn {
    width: 100%;
    border: 1px dashed #ffd;
    border-radius: .1rem;
    text-align: center;
    margin: 0.1rem 0;
}
#extract {
    width: 90%;
    height: 1rem;
    border: none;
    border-radius: .06rem;
    background-color: #FF635C;
    text-align: center;
    color: #fff;
    font-size: .6rem;
}

/* 左边上部或上半部上部分享题库 */
#leftShareBtn {
    width: 100%;
    border: 1px dashed #ffd;
    border-radius: .1rem;
    text-align: center;
    margin: 0.1rem 0;
}
#share {
    width: 90%;
    height: 1rem;
    border: none;
    border-radius: .06rem;
    background-color: #FF635C;
    text-align: center;
    color: #fff;
    font-size: .6rem;
}

/* 左边中部题目目录 */
#itemChoose {
    width: 100%;
    flex: auto;
    box-sizing: border-box;
    height: 50%;
    padding: .21rem .25rem 0 .06rem;
    display: flex;
    flex-wrap: wrap;
}
#itemChoose>div {
    width: 98%;
    margin: 0 auto;
}
#itemChoose>div p {
    height: .5rem;
    line-height: .5rem;
    text-align: left;
    float: left;
    margin: .13rem .06rem .13rem .06rem;
    font-size: .5rem;
    color: #6EAD8B;
}
#itemChoose>div ul {
    display: block;
    margin: 0 .08rem;
    float: left;
    width: 100%;
}
#itemChoose>div li {
    text-align: center;
    font-size: .33rem;
    border-radius: .08rem;
    float: left;
    margin: .0833rem .17rem;
    cursor: pointer;
}

#itemChoose button {
    width: .5rem;
    height: .5rem;
    text-align: center;
    font-size: .33rem;
    border: 1px solid #39CB76;
    border-radius: .08rem;
    color: #39CB76;
    font-family: "黑体";
    float: left;
    margin: .17rem .17rem .17rem .17rem;
}

/* 左边下部或上半边下部相关标记指示信息 */
#markInfo {
    width: 100%;
    height: 1.67rem;
    padding: .20rem .20rem;
    position: absolute;
    bottom: .25rem;
    background-color: #D5EDDF;
    box-sizing: border-box;
    background: linear-gradient(to right, #D5EDDF, #D6EEE0 97.9%, #A4BAAD 98%, #D2E8DB 100%);
    margin: 0 auto;
}
#markInfo ul {
    display: flex;
    justify-content: space-around;
}
#markInfo li {
    width: 1.67rem;
    height: .5rem;
    line-height: .5rem;
    margin: .25rem .05rem;
    font-size: .42rem;
}
#markInfo span {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: .08rem;
    vertical-align: middle;
    margin-left: .1rem;
}

/* 左边下部或上半部下部的各个标识 */
.nowAnswer {
    box-shadow: 0px 0px .25rem #2c29f1;
}
.markAnswer {
    background-color: #FFAD00 !important;
    border: 1px solid #FFAD00 !important;
    color: #fff !important;
    width: .5rem;
    height: .5rem;
    line-height: .5rem;
}
.yesAnswer {
    background-color: #2AB064;
    border: 1px solid #2AB064;
    color: #fff;
    width: .5rem;
    height: .5rem;
    line-height: .5rem;
}
.noAnswer {
    background-color: #F0FAF5;
    border: 1px solid rgb(100, 100, 100);
    color: #90B5A2;
    width: .5rem;
    height: .5rem;
    line-height: .5rem;
}


/* 右边或下半部区域 */
#answer {
    flex: 3;
    height: 100%;
    background: #fff;
    float: left;
    position: relative;
    box-sizing: border-box;
    /*font-size: 0.7rem;*/
}
/* 右边头部部分 */
#examTitle {
    width: 100%;
    height: 2rem;
    line-height: 1.3rem;
    background-color: #27AE61;
}
/* 右边头部的左半部分标题 */
#examTitle h5 {
    color: #FFFFFF;
    padding: .31rem;
    float: left;
}

/* 右边头部的右半部分计时器 */
#timing {
    float: right;
    width: 6rem;
    height: 1.4rem;
    margin: .31rem .63rem 0 0;
    background: url("data:image/svg+xml,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='42' height='42' %3E%3Cpath d='M913.892 470.344C866.856 339.898 752 239.779 609.227 207.91c36.588-52.48 97.191-86.976 165.988-86.976 111.86 0 202.508 90.683 202.508 202.49.036 58.032-24.706 109.998-63.83 146.923zM524.486 128.505v127.324c194.311 7.93 349.502 167.497 349.502 363.725 0 81.957-27.365 157.264-72.981 218.166l84.458 146.284-70.18 40.49-72.239-125.196c-63.247 52.852-144.637 84.723-233.508 84.723-88.377 0-169.375-31.443-232.481-83.802l-74.153 128.407-70.127-40.49 86.142-149.263c-46.167-61.065-73.886-136.903-73.886-219.34 0-194.933 153.149-353.615 345.545-363.527V128.467c-19.65-7.024-33.892-25.361-33.892-47.426 0-28.111 22.79-50.866 50.866-50.866 28.111 0 50.866 22.772 50.866 50.866 0 22.099-14.275 40.417-33.929 47.46zm-298.473 491.05c0 156.571 126.918 283.488 283.488 283.488s283.488-126.881 283.488-283.488c0-156.553-126.918-283.472-283.488-283.472S226.013 463.001 226.013 619.555zm368.477 61.278H492.704c-18.711 0-33.892-15.2-33.892-33.91V511.262c0-18.747 15.182-33.929 33.892-33.929 18.783 0 33.929 15.182 33.929 33.929V613.01h67.855c18.73 0 33.892 15.163 33.892 33.946 0 18.676-15.163 33.874-33.892 33.874zM110.179 470.344c-39.124-36.926-63.884-88.908-63.884-146.941 0-111.824 90.665-202.49 202.508-202.49 68.815 0 129.399 34.513 165.988 86.994-142.755 31.871-257.575 131.988-304.611 262.434z' fill='%23189837'/%3E%3C/svg%3E") 15px center no-repeat #fff;
    border-radius: 2rem;
}
/* 右边头部的右半部分计时器 */
#timer {
    width: 2rem;
    color: #f71e1e;
    margin: 0 0 0 1.6rem;
    display: inline-block;
    font-size: 0.75rem;
}
#suspend {
    width: 0.9rem;
    height: 0.9rem;
    border: none;
    border-radius: 0.9rem;
    background-color: #6AC895;
    color: #fff;
    float: right;
    margin: .25rem .17rem;
    display: inline-block;
    font-size: .5rem;
    font-weight: 800;
    line-height: 0.9rem;
    text-align: center;
}

/* 右边上部或下半部上部考试信息 */
#info {
    width: 100%;
    height: 1.4rem;
    line-height: 1.4rem;
    background-color: #F2F2F2;
    font-family: "宋体";
    text-indent: 0.25rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.6rem;
}

/* 右边中部或下半部中部试题部分 */
#item {
    width: 100%;
    background-color: #FFFFFF;
    float: left;
    padding: .25rem .5rem;
    box-sizing: border-box;
    font-size: 0.75rem;
}
/* 题号 */
#index {
    font-style: normal;
    margin-bottom: 0.3rem;
    display: block;
    font-size: .65rem;
    color: #1F834B;
    font-weight: 800;
}
/* 题干 */
#describe {
    line-height: 0.9rem;
    word-spacing: 1rem;
    /*字符宽度，专有空格*/
    letter-spacing: 1px;
    text-align: justify;
    margin-bottom: 0.25rem;
}
/* 题目中的图片 */
/* #describe img{
    max-width: 80%;
    margin:0.25rem auto;
} */

/* 右边中下部或下半部中下部题目解析 */
#explain {
    width: 90%;
    background: rgba(87, 192, 133, 0.05);
    position: absolute;
    bottom: 2.0rem;
    border: 1px dashed #ffd;
    border-radius: 0.125rem;
    padding: 0.05rem 0;
    text-align: justify;
    font-size: 0.55rem;
    color: #3f3f3f;
    line-height: 0.6rem;
}
#explain div {
    float: left;
}
#explain div:first-child {
    color: #4B7C5F;
    font-weight: 600;
}
#colour {
    font-size: 0.5rem;
}
#explain div:last-child {
    color: #4B7C5F;
    font-weight: 600;
}
#knowledge {
    font-size: 0.43rem;
}
#colour span:nth-child(1) {
    /* float: left; */
    color: green;
}
#colour span:nth-child(2) {
    /* float: left; */
    color: red;
}
#colour span:nth-child(3) {
    /* float: left; */
    color: #3f3f3f;;
}

/* 右边下部按钮部分 */
#ctrlBtn {
    width: 100%;
    height: 1.67rem;
    background-color: #D5EDDF;
    box-sizing: border-box;
    position: absolute;
    bottom: 0.25rem;
}
/* 按钮 */
#ctrlBtn button {
    width: 2rem;
    height: 0.75rem;
    border: none;
    border-radius: .08rem;
    text-align: center;
    color: #fff;
    font-size: 0.42rem;
    float: left;
    margin: .46rem .67rem;
}


/* 待查标记按钮 */
#markItem {
    background-color: #FBAD04;
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
/* 上一题、下一题 */
#prevItem,
#autoNext,
#nextItem {
    background-color: #2BC76D;
    margin-left: 1rem;
    margin-right: 1rem;
}
/* 提交 */
#submit {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
    background-color: #FF635C;
}

/* 计算器按钮 */
#calculator {
    background-color: #5d45e6;
}
/* 按钮禁用 */
.enable {
    color: #EEE !important;
}

/* 计算器模态窗口的CSS样式 */
.modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4) !important;}
/* .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); } */
.modal-content { background-color: #fefefe; margin: 10px auto; padding: 10px; border: 1px solid #888; width: 220px  !important; }
/* .modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; } */
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; }
.close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; }

/* ==================== 第二期推广：试题区内部滚动修复（桌面端） ==================== */
/* 说明：与旧式客观题页同款——内容过长时题目区内部滚动，不再被解析区和底栏遮挡。          */
#answer {
    display: flex;
    flex-direction: column;
}
#item {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
#explain {
    position: static;                   /* 覆盖原绝对定位，回归文档流 */
    width: auto;
    margin: 0 0.5rem 0.1rem;
    max-height: 3rem;
    overflow-y: auto;
}
/* #explain 内部 div 均为 float:left，需清除浮动才能撑出真实高度 */
#explain::after {
    content: "";
    display: block;
    clear: both;
}
#ctrlBtn {
    position: static;
}


/*空白答题表格的模态框*/
/* 问题列表ul，包含全部li */
.question-list {
    list-style: none;
    padding: 0;
    overflow-y: auto;
    border: 1px solid #409eff;
    border-radius: 0.15rem;
    font-size: 0.6rem;
    height: 9rem;
}

/* 强制覆盖：以上各区内可能存在的 #ctrlBtn/#explain 定位，保证第二期修复最终生效 */
#answer { display: flex !important; flex-direction: column !important; }
#item { flex: 1 !important; min-height: 0 !important; overflow-y: auto !important; }
#explain { position: static !important; }
#ctrlBtn { position: static !important; }