@charset "utf-8";

html {
    background: #e6e6e6;
    color: #333333;
    font-family: 'Microsoft YaHei', '微软雅黑';
    min-width: 1200px;
}

* {
    box-sizing: border-box;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
}

body,
button,
input,
select,
textarea {
    font: 14px, 'Microsoft YaHei', '微软雅黑';
}

input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    text-align: inherit;
}

fieldset,
img {
    border: none;
}

iframe {
    display: block;
}

abbr,
acronym {
    border: none;
    font-variant: normal;
}

del {
    text-decoration: line-through;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 500;
}

q:before,
q:after {
    content: '';
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

a:hover {
    text-decoration: none;
}

ins,
a {
    text-decoration: none;
}

a:focus,
*:focus {
    outline: none;
}

.clear {
    clear: both;
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    overflow: hidden;
}

.hide {
    display: none;
}

.block {
    display: block;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
    overflow: hidden;
}

.clearfix {
    zoom: 1;
}

.fl,
.fr {
    display: inline;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/

.scrollbar,
body {
    overflow: auto;
}

.scrollbar::-webkit-scrollbar ,
body::-webkit-scrollbar {
    width: 5px;
    height: 10px;
    background-color: transparent;
}

/*定义滚动条的轨道，内阴影及圆角*/

.scrollbar::-webkit-scrollbar-track ,
body::-webkit-scrollbar-track {
    background-color: transparent;
}

/*定义滑块，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-thumb ,
body::-webkit-scrollbar-thumb {
    height: 10px;
    border-radius: 4px;
    box-shadow: inset 0 0 6px #B60D07;
    background-color: #B60D07;
}

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

.doubleText {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

select {
    border: 1px solid #D6D8DA;
    padding: 0 0.3rem;
}
input{
    border: 1px solid #D6D8DA;
    padding: 0 0.3rem;
}
select:focus,input:focus{
    border-color: #B1D0F7;
}

option{
    border-color: #D6D8DA;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.set-bg{
    background: #FAFAFA;
}
.set-bg2{
    background: #fff;
}
.set-bg2 .page_header .header_box{
    padding: 12px 0!important;
}
.set-bg2 .page_header .logIn_btn{
    top: 26px!important;
}
.w1200{
    width: 1200px;
    margin: auto;
}
/* 头部 */
.page_header{
    background: rgba(190, 19, 19, 1);
    width: 100%;
    min-width: 1200px;
    position: relative;
}
.page_header .header_box{
    position: relative;
    padding: 40px 0 30px;
}
.page_header .header_logo{
    width: 444px;
    height: 76px;
}
.page_header .logIn_btn{
    width: 70px;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
    color: #FFFFFF;    
    font-weight: 400;
    border-radius: 4px;
    text-align: center;
    position: absolute;
    top: 30px;
    cursor: pointer;
    opacity: .9;
}
.logIn_btn.teacher{
    right: 90px;
}
.logIn_btn.student{
    right: 0;
}
.page_header .logIn_btn:hover{
    opacity: 1;
}
.page_header .header_search{
    width: 320px;
    height: 45px;
    position: absolute;
    right: 0;
    bottom: 38px;
}
.header_search .search_input{
    width: 275px;
    height: 100%;
    background: #fff;
    border: none;
    outline: none;
    line-height: 100%;
    padding-left: 20px;
}
.header_search .search_btn{
    width: 45px;
    height: 100%;
    background: #900F09;
    padding: 10px;
    cursor: pointer;
}
.search_btn img{
    width: 100%;
    height: 100%;
    display: block;
}
.page_header .user_name{
    width: 80px;
    height: 28px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 28px;
    text-align: center;
    position: absolute;
    right: 80px;
    top: 30px;
    cursor: pointer;
}
/* 导航 */
.page_header .nav_box{
    width: 100%;
    background: rgba(169, 3, 3, 1);
}
.nav_box .header_nav{
    padding: 0 20px;
}
.page_header .header_nav .home{
    float: left;
    width: 60px;
    height: 60px;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    font-family: 'Microsoft YaHei';
    padding: 14px;
}
.page_header .header_nav .menu{
    float: left;
    padding: 0 16px 5px;
    width: 100%;
    overflow: hidden;
}

/*.page_header .header_nav .menu a{
    float: left;
    padding: 0 18px;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
    font-family: 'Microsoft YaHei';
    position: relative;
}
.page_header .header_nav .menu a:hover{
    color: rgba(255, 255, 102, 1);
}
.page_header .header_nav a.active{
    color: rgba(255, 255, 102, 1);
}
.page_header .header_nav a.active::after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 102, 1);
}*/




.header_nav .menu2 dl{
    position: relative;
    width: 100px;
    font-size: 12px;
    float: left;
    text-align: center;
}

.header_nav .menu2 dl dt{padding:10px 18px;}
.header_nav .menu2 dl dt a{color:#fff;font-size: 16px;line-height: 40px;display: block;}
.header_nav .menu2 dl dt a:hover{color:#ffff00}
.header_nav .menu2 dl dd{ display: none; padding:10px; width:100px; background:#a90303; position:absolute; z-index: 99; left:0px; text-align: center;}
.header_nav .menu2 dl:hover  dd{
    display: block;
    padding-top: 0;
}
.header_nav .menu2 dl dd a{display: block; border-bottom: 1px dotted #ccc;  font-size: 14px; color:#fff; height: 30px; line-height: 30px;}
.header_nav .menu2 dl dd a:hover{color:#ffff00}

.box-desc2{margin-left:20px; float: left;}
.desc2_n1{ height: 30px; line-height: 30px; }

.tabqh01 .tab,.tabqh02 .tab02{ margin-right:20px; cursor: pointer; color:#333333}
.tabqh01 .tabnow,.tabqh02 .tabnow{ color:#B41719}





.page_header .header_nav .date{
    float: right;
    width: 140px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 10px 0;
    text-align: center;
}
.page_header .header_nav .date p{
    line-height: 20px;
    color: #fff;
    font-family: 'Microsoft YaHei';
}
.page_header .header_nav .date .week{
    font-size: 16px;
}
.page_header .header_nav .date .time{
    font-size: 12px;
}
/* 登录 */
.login_box{
    width: 680px;
    height: 440px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    margin: auto;
    padding-left: 260px;
    display: none;
    background: url('../images/login_bg.png') no-repeat;
    background-size: auto 100%;
}
.login_box .login_container{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    position: relative;
    padding-top: 70px;
}
.login_container .item_title{
    width: 90px;
    height: 38px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #999999;
    line-height: 34px;
    border: 2px solid transparent;
    cursor: pointer;
    position: absolute;
    top:30px;
}
.item_title.pwd{
    left: 94px;
}
.item_title.code{
    right: 106px;
}
.login_container .item_title:hover{
    color: rgba(51, 51, 51, 1);
}
.login_container .item_title.active{
    color: rgba(51, 51, 51, 1);
}
.login_container .item_title.active::after{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: rgba(188, 19, 19, 1);
    position: absolute;
    left: 0;
    bottom: 0;
}
.login_container .input_item{
    width: 300px;
    height: 39px;
    margin: auto;
    margin-top: 20px;
}
.input_item input{
    width: 100%;
    height: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(230, 230, 230, 1);
    text-align: start;
    font-size: 16px;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    line-height: 38px;
}
.login_container .auto_login,
.login_container .forget_pwd{
    width: 70px;
    height: 14px;
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    cursor: pointer;
}
.login_container .forget_pwd:hover{
    color: rgba(0, 113, 255, 1);
}
.login_container .auto_login input{
    cursor: pointer;
    position: relative;
    top: 1px;
}
.login_container .auto_login label{
    cursor: pointer;
}
.login_container .submit_btn{
    width: 300px;
    height: 50px;
    background: rgba(188, 19, 19, 1);;
    border-radius: 6px;
    margin: 30px auto 0;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    opacity: .9;
    display: block;
}
.login_container .submit_btn:hover{
    opacity: 1;
}
.login_container .other_login{
    width: 300px;
    margin: 30px auto 0;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    line-height: 18px;
}
.other_login img{
    width: 18px;
    height: 18px;
    vertical-align: sub;
}
.other_login .other_text{
    line-height: 18px;
    margin: 0 10px 0 4px;
}
.other_login a{
    color: #999999;
}
.other_login a:hover{
    color: #0071FF;
}
.login_container .qr_code{
    width: 250px;
    height: 250px;
    background: rgba(66, 66, 66, .6);
    margin: 20px auto 0;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}
.login_container .qr_code img{
    width: 100%;
    height: 100%;
    display: none;
}
.login_container .close_login_box{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all .3s ease;
}
.login_container .close_login_box:hover{
    transform: scale(1.1);
}
.close_login_box img{
    width: 100%;
    height: 100%;
    display: block;
}

/* 友链 */
.foot_f_chain{
    width: 100%;
    display: block;
    padding: 30px 0;
    position: relative;
    background: #F6F5F5;
}
.foot_f_chain .chain_box{
    width: 1200px;
    margin: auto;
}
.chain_box .chain_box_title{
    font-size: 22px;
    line-height: 42px;
    color: #B31B1D;
    font-weight: 800;
    padding-left: 10px;
    width: 100%;
    margin-bottom: 10px;
}
.chain_box .chain_item{
    width: 180px;
    border: 1px solid #FEFEFE;
    background: #fff;
    border-radius: 2px;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    height: 30px;
    color: rgba(51, 51, 51, .7);
    display: inline-block;
    margin-bottom: 15px;
}
.chain_item:not(:nth-child(6n)){
    margin-right: 19px;
}
.chain_item:hover{
    color: #B31B1D;
    border-color: #F8DEDE;
}

/* 底部 */
.footer{
    width: 100%;
    padding: 30px 0;
    background: #B41719;
    text-align: center;
}
.footer_box{
    width: 1200px;
    margin: auto;
}
.footer_box .footer_text{
    text-align: end;
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
}
.footer .copyright{
    font-size: 14px;
    line-height: 50px;
    color: #999;
}

/* 页码 */
.public-pagination{
    padding: 20px 0;
    text-align: center;
}
.layui-laypage-changeColor .layui-disabled{
    background: #fff;
    border-color: #D2D2D2;
    border-radius: 4px;
}
.layui-laypage-changeColor a,
.layui-laypage-changeColor span{
    background: #fff;
    color: #9B9B9B;
    border-color: #D2D2D2;
    margin: 0 5px;
    border-radius: 4px;
}
.layui-laypage-changeColor .layui-laypage-spr{
    border: none;
}
.layui-laypage-changeColor a:hover{
    color: #B41719;
}
.layui-laypage-changeColor .layui-laypage-skip input:focus{
    border-color: #B41719!important;
}
.layui-laypage-changeColor .layui-laypage-curr .layui-laypage-em{
    background: #B41719;
    color: #fff;
    border-radius: 4px;
}
.layui-laypage-changeColor .layui-laypage-btn{
    background: #B41719;
    border-color: #B41719;
    color: #fff;
}


/* 错误弹窗 */
.error_alert{
    display: inline-block;
    width: 400px;
    height: 60px;
    padding: 0 20px;
    line-height: 60px;
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    margin: auto;
    z-index: 110;
    border-radius: 4px;
}

