/* 题库页面样式 */

/* 基础样式 */
body {
    color: #333;
    font-size: 14px;
    font-family: "微软雅黑", "Microsoft Yahei";
    word-break: normal;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:focus {
    outline: none;
}

img {
    max-width: 100%;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 通用工具类 */
.h20 {
    height: 20px;
}

.ptb5 {
    padding: 5px 0;
}

.row1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row7 {
    margin-left: -7px;
    margin-right: -7px;
}

.col7 {
    padding-left: 7px;
    padding-right: 7px;
}

.none {
    display: none !important;
}

/* 当前位置 */
.position {
    font-weight: bold;
    color: #828282;
    line-height: 30px;
}

.position a {
    font-size: 25px;
    color: #24273b;
}

.position span {
    font-size: 16px;
    font-weight: normal;
}

/* 题库主体 */
.question_bank {
    background: rgb(246, 246, 246);
    position: relative;
}

.question_bank>.container {
    padding-top: 20px;
    padding-bottom: 50px;
}

.question_bank .titleBook-special.question_text {
    margin-left: 10px;
    cursor: pointer;
}

/* 标题样式 */
.titleBook-special {
    color: #24273b;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.titleBook-special:after {
    content: "";
    color: #c1c1c1;
    font-size: 24px;
    font-weight: bold;
    font-family: FontAwesome;
    position: absolute;
    margin-left: 20px;
    top: -1px;
}

.data-list-no {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.data-list-no span {
    margin-top: 20px;
}


/* 分类选择 */
.select-condition {
    background: #fff;
    font-size: 16px;
    padding: 24px 20px 24px 29px;
    border: solid 1px #e5e5e5;
    margin-bottom: 24px;
    margin-top: 20px;
}

.select-condition .profession {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.select-condition .profession span {
    margin-top: 0;
}

.select-condition span {
    font-size: 14px;
    color: #818181;
    width: 60px;
    flex: 0 0 60px;
    margin-top: 6px;
}

.select-condition ul {
    position: relative;
    padding-right: 34px;
    display: inline-block;
}

.select-condition ul li {
    display: inline-block;
    padding: 5px 10px;
    color: #5b5b5b;
    margin-left: 7px;
    text-align: center;
    cursor: pointer;
}

.select-condition ul li.on {
    background-color: #29acf0;
    color: #fff;
    border-radius: 3px;
}

.select-condition .function,
.select-condition .reclassify {
    border-top: 1px dashed #eee;
    padding-top: 15px;
    display: flex;
    margin-top: 15px;
}

.select-condition .profession-box {
    display: flex;
    flex: 1;
}

.select-condition .profession-box>li {
    flex: 0 0 60px;
    text-align: center;
    display: inline-block;
    padding: 5px 10px;
    color: #5b5b5b;
    margin-left: 7px;
    text-align: center;
    cursor: pointer;
    height: 32px;
}

/* 搜索区域 */
.hr_box {
    height: 38px;
    margin: 18px 0;
}

.list_search {
    width: 420px;
    height: 100%;
    float: right;
}

.search_box {
    width: 352px;
    height: 38px;
    background-color: #ffffff;
    border-radius: 4px;
    border: solid 1px #d2d2d2;
    font-size: 0;
    display: inline-block;
}

.search_box .select_pull {
    color: #505050;
    font-size: 14px;
    padding: 0 12px;
    padding-right: 26px;
    line-height: 38px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    height: 100%;
    text-align: center;
}

.search_box .select_pull::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 48%;
    right: 8px;
    border: 5px solid #505050;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

.search_box .select_pull .dropdown-toggle {
    display: inline-block;
    padding-right: 20px;
}

.search_box .select_list {
    position: absolute;
    top: 40px;
    left: 0;
    min-width: 130px;
    background: #fff;
    text-align: left;
    box-shadow: 0 0 5px 0 #ccc;
}

.search_box .select_list li {
    padding: 0 10px;
    line-height: 30px;
}

.search_box .select_list li:hover {
    background: #29acf0;
    color: #fff;
}

.search_box input {
    font-size: 14px;
    height: 100%;
    vertical-align: top;
    border: none;
}

.search_box input:focus {
    outline: none;
    border: none;
}

.search_box input::-webkit-input-placeholder {
    color: #b9b9b9;
}

.search_box input::-moz-placeholder {
    color: #b9b9b9;
}

.search_box input:-moz-placeholder {
    color: #b9b9b9;
}

.search_box input::-ms-input-placeholder {
    color: #b9b9b9;
}

.search_btn {
    float: right;
    width: 58px;
    height: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    border: solid 1px #d2d2d2;
    font-size: 14px;
    color: #525f68;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
}

/* 表格样式 */
.table_box>.table {
    border-collapse: initial;
}

.table_box>.table td,
.table_box>.table th {
    height: 38px;
    line-height: 38px;
    text-align: center;
    box-sizing: border-box;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.table_box>.table thead tr {
    background: #ebedf1;
}

.table_box>.table tbody tr {
    background: #fff;
}

.table_box>.table .in_tbody {
    padding: 10px 0;
}

.table_box>.table .in_tbody tr {
    background: #f9f9f9;
}

.table_box>.table .in_tbody tr td {
    border: none;
    height: 34px;
    line-height: 34px;
    padding: 0;
}

.table>tbody+tbody {
    border-width: 1px;
}

.table_box>.table a {
    color: #29acf0;
}

.table_box>.table a.tab_show {
    margin-left: 10px;
}

/* 分页样式 */
.page-bar {
    margin: 50px 0;
    font-size: 14px;
    height: 38px;
    color: #666;
}

.page-bar span .z_num,
.page-bar a.z_num {
    padding: 7px 13px;
    line-height: 35px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    background: #FFFF;
}

.page-bar a {
    color: #666;
}

.page-bar ul li.z_num {
    padding: 0 10px;
    font-size: 18px;
}

.page-bar ul li {
    display: inline-block;
}

.page-bar span .current,
.page-bar span .cur,
.page-bar span.current {
    background: #29acf0;
    color: #FFF !important;
}

.page-bar ul li.on {
    background: #f3b611;
    color: #FFF !important;
    border-radius: 2px;
}

.page-bar ul li.on a {
    color: #FFF;
}

.page-bar .z_inp {
    width: 35px;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    height: 35px;
    text-align: center;
    vertical-align: bottom;
}

.z_pret {
    font-size: 16px;
    color: #FFF;
    background: #c5c5c5;
    width: 50px;
    height: 35px;
    margin-left: 5px;
    display: inline-block;
    line-height: 35px;
}

.page-bar .z_pret {
    color: #FFF;
    padding: 0;
    text-align: center;
}

.page-bar .prev,
.pages .fc_ch1,
.pages .page-button,
.page-bar .z_pret {
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 5px 10px;
    color: #333;
}

.page-bar .next,
.pages .fc_hui2 {
    cursor: default;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #cccccf;
}

.pages .z_pret,
.page-bar .z_pret {
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 0px 10px;
    color: #333;
    width: auto;
}

.page-bar .prev-1 {
    cursor: default;
    border: 1px solid #ddd;
    padding: 5px 10px;
    background: #f7f7f7;
    color: #cccccf;
}

.page-bar .next-1 {
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ddd;
    color: #333;
}

.page-bar .z_num,
.page-bar .z-num,
.pages .z_num,
.page-bar .g-ul li a {
    width: 55px;
    color: #333;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.page-bar input.z_num {
    padding: 0 10px;
    width: 35px;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.page-bar table a,
.page-bar table span {
    padding: 7px 13px;
    line-height: 30px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    background: #FFFF;
    color: #666;
    margin: 3px;
}

.page-bar a span,
.page-bar span.text-con {
    padding: 0;
    border: none;
}

.page-bar .z_num.cur,
.pages .current,
.page-bar .current {
    border: 1px solid #e5e5e5;
    background: #29acf0;
    color: #FFF !important;
}

.page-bar .g-ul li {
    display: inline-block;
}

.page-bar .g-ul li span input {
    margin: 3px;
    padding: 5px 10px;
    width: 55px;
    text-align: center;
    color: #333;
    border: 1px solid #ddd;
    background: #f7f7f7;
}

.pages td {
    text-align: right;
}

.pages .z_num {
    margin: 3px;
}

.pages .cur {
    border: 1px solid #e5e5e5;
    background: #29acf0;
    color: #FFF !important;
}

.page-new .fc_hui2 {
    border: 1px solid #ddd;
    padding: 5px 10px;
    color: #cccccf;
    cursor: default;
}

.page-new .fc_ch1 {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #f7f7f7;
}

.page-new .current {
    border: none;
    background: none;
}

.pages a:hover {
    text-decoration: none;
}

.pages input {
    line-height: normal;
}

/* 响应式设计 */
@media screen and (min-width: 1200px) {
    .container {
        width: 1200px !important;
    }
}

@media screen and (max-width: 1200px) {
    .question_bank .question_select {
        height: auto;
    }

    .question_bank .question_select a {
        line-height: 42px;
    }

    .question_bank .list_search {
        max-width: 100%;
        margin-bottom: 10px;
        padding: 0 15px;
    }

    .question_bank .search_box {
        max-width: 100%;
        width: calc(100% - 60px);
        display: inline-flex;
    }

    .question_bank .search_box input {
        flex-grow: 1;
    }

    .question_bank .table_box {
        width: 100%;
        overflow-x: auto;
    }

    .question_bank .table_box .table {
        min-width: 800px;
    }

    .question_bank .page-bar {
        margin: 0;
    }
}

@media only screen and (max-width: 992px) {
    .select-condition {
        padding: 0px 20px 0px 29px;
    }
}

@media only screen and (max-width: 767px) {
    .select-condition {
        padding: 10px;
    }

    .select-condition ul li {
        margin-left: 0;
    }

    .select-condition .function,
    .select-condition .reclassify,
    .select-condition .profession {
        display: block;
    }

    .select-condition span {
        color: #333;
        padding-top: 15px;
        font-size: 16px;
    }

    .select-condition ul {
        margin-top: 10px;
    }

    .select-condition .profession {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 375px) {
    .question_bank .search_box {
        width: 100%;
        display: flex;
    }

    .question_bank .search_box input {
        flex-grow: 1;
    }

    .question_bank .search_btn {
        margin-top: 5px;
    }

    .page-bar span.text-con,
    .page-bar span.current,
    .page-bar a.z_num,
    .page-bar input.z_num,
    .page-bar .z_pret {
        display: none !important;
    }
}

@media only screen and (max-width: 320px) {
    .question_bank .search_box .select_pull .dropdown-toggle span {
        font-size: 12px;
    }
}