html, body {
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    min-width: 765px;
}
body .layui-laypage .layui-laypage-curr .layui-laypage-em{
    background-color: #0a84ff;
}
.body-container{
    flex-grow: 1;
}
.container{
    width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.head-bar{
    width: 100%;
    height: 103px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    background-color: #edf0f5;
    flex-shrink: 0;
}
.head-bar .logoBox{
    padding-top: 28px;
    display: flex;
    align-items: center;
    gap: 0 5px;
}
.head-bar .logoBox .logoImg img{
    width: 100%;
    height: 100%;
}
.head-bar .logoBox .logoBanner img {
    width: 136px;
    height: 35px;
}
.head-bar .logoBox .logoBanner .logoSlogan {
    width: 136px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: -0.1px;
    text-indent:0;
    color: #000;
    font-family: "微软雅黑", Verdana, Arial;
    display: none;
}

/* loginBox */
.loginBox{
    height: 305px;
    background-image: linear-gradient(to right bottom, #01549e, #3a0d6c, #1477bf);
}
.loginBox .layui-carousel{
    float: left;
}
.loginBox .layui-carousel img{
    width: 100%;
    height: auto;
    min-height: 100%;
}
.loginBox .join-now{
    width: 280px;
    height: 305px;
    float: right;
    background-color: #3177b2;
}
.loginBox .join-now h2 {
    color: #fff;
    padding: 20px 0 15px;
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 3px;
    text-align: center;
}
.loginBox .join-now .layui-form-item{
    padding: 0 28px;
    position: relative;
}
.loginBox .join-now .layui-form-item .layui-input[name="code"] {
    width: calc(100% - 86px);
}
.loginBox .join-now .layui-form-item .form-code{
    position: absolute;
    bottom: 0;
    right: 28px;
    width: 77px;
    height: 38px;
    cursor: pointer;
}
.loginBox .join-now .layui-form-item .form-code img{
    width: 100%;
    height: 100%;
}
.loginBox .join-now small {
    color: #aaaaaa;
    width: 100%;
    display: block;
    margin: 10px 0;
    text-align: center;
}
.btn-join-now {
    background: #2c9eff;
    width: calc(100% - 56px);
    margin: 10px 28px 0;
}
.btn-join-now:hover {
    background: #48abfb;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    box-shadow: 0px 3px 5px -2px #eee;
    background: white;
    /*background-color: #1b80dc;*/
}

.navigation-item{
    display: flex;
    padding: 20px 20px;
}
.navigation-item.is-active{
    color: #0a84ff;
    font-weight: bold;
}
.navigation-name{
    font-size: 18px;
}
.navigation-name a {
    color: unset;
}

.navigation-name-nav {
    cursor: pointer;
}

.navbar-navigation {
    margin: 0px;
    padding: 0px;
    border: none;
}
#navigation{
    padding-left: 0;
}
#navigation .navbar-left .active a{
    background-color: #40a3ff;
}
#navigation ul li a {
    color: #fff;
    background: none;
    padding: 0 15px;
    height: 50px;
    line-height: 50px;
    transition: .2s all ease-in-out;
}

#navigation ul li a:hover {
    background-color: #40a3ff;
}

/* indexMainBox */
.indexMainBox .container{
    display: flex;
    justify-content: space-between;
    padding: 0 0 20px;
}
.indexMainBox .mainBoxItem{
    width: 580px;
}
.indexMainBox .service-box{
    height: 60px;
    border-bottom: 1px solid #dcdcdc;
}
.indexMainBox .service-box .service-box-head{
    display: inline-block;
    height: 56px;
    line-height: 58px;
    font-size: 18px;
    border-bottom: 4px solid #1c7fdc;
}
.indexMainBox .service-box .service-box-more{
    float: right;
    line-height: 60px;
    color: #1c7fdc;
    font-size: 14px;
    cursor: pointer;
}
.single-service{
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 12px;
    margin-top: 12px;
    overflow: hidden;
    cursor: pointer;
}
.single-service{
    margin-left: 10px;
}
.single-service .single-service-time{
    float: left;
    width: 80px;
    height: 72px;
    box-sizing: border-box;
    border: 1px solid #c6cdd3;
}
.single-service .single-service-time span{
    display: block;
    text-align: center;
}
.single-service .single-service-time span:first-child{
    height: 41px;
    line-height: 40px;
    font-size: 22px;
    font-weight: normal;
    color: #fff;
    background-color: #1c7fdc;
}
.single-service .single-service-time span:last-child{
    line-height: 30px;
}
.single-service > h4,
.single-service > h4 + div{
    float: right;
    width: calc(100% - 100px);
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.single-service > h4{
    font-size: 16px;
    line-height: 34px;
}
.single-service > h4 + div{
    font-size: 14px;
    color: #666;
    height: 38px;
    line-height: 38px;
}
.single-service > h4 + div img,
.single-service > h4 + div video{
    display: none;
}
.indexMainBox .dynamicContent .service-box{
    width: 100%;
    margin-bottom: 10px;
}
.indexMainBox .dynamicContent .single-dynamic{
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dcdcdc;
    cursor: pointer;
}
.indexMainBox .dynamicContent .single-dynamic-time{
    float: left;
    width: 82px;
    height: 52px;
    box-sizing: border-box;
    text-align:center;
    border-right: 1px solid #dcdcdc;
}
.indexMainBox .dynamicContent .single-dynamic-time span{
    display: block;
    text-align: center;
    color: #999;
}
.indexMainBox .dynamicContent .single-dynamic-time span:first-child{
    font-weight: bold;
    font-size: 22px;
    line-height: 32px;
}
.indexMainBox .dynamicContent .single-dynamic-time span:last-child{
    line-height: 20px;
}
.indexMainBox .dynamicContent .single-dynamic > h4,
.indexMainBox .dynamicContent .single-dynamic > h4 + div{
    width: calc(100% - 180px);
    float: right;
    margin-right: 80px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.indexMainBox .dynamicContent .single-dynamic > h4{
    font-weight: normal;
    font-size: 16px;
    margin: 4px 80px 4px 0;
}
.indexMainBox .dynamicContent .single-dynamic > h4 + div{
    font-size: 14px;
    height: 28px;
    font-weight: normal;
    color: #999;
}
.indexMainBox .dynamicContent .single-dynamic > .fa{
    position: absolute;
    top: 22px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #999;
    color: #999;
    font-size: 22px;
    cursor: pointer;
}
.indexMainBox .dynamicContent .single-dynamic > .fa::before{
    position: relative;
    top: 2px;
    left: 11px;
}


/* 通知公告和竞赛报名 */
.competition-notice.container,
.competition-register.container{
    padding: 20px 0;
}
.competition-notice > h2,
.competition-register > h2{
    font-weight: normal;
    font-size: 30px;
    margin: 0 0 20px;
    text-align: center;
    line-height: 40px;
}
.competition-notice > h2 img,
.competition-register > h2 img{
    width: 34px;
    height: 34px;
    display: inline-block;
    vertical-align: top;
    margin: 2px 10px 0;
}
.competition-notice.container .single-service,
.competition-register.container .single-service{
    margin: 0;
}
.competition-notice.container .single-service + .single-service,
.competition-register.container .single-service + .single-service{
    margin-top: 10px;
}



.contact-form-area {
    box-shadow: 0 0 30px -10px;
    position: relative;
    padding-bottom: 50px;
}
.contactItem{
    background-color: #F7F9FB;
    padding: 20px;
    margin-bottom: 18.5px;
}
.contactItem .fa{
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 25px;
    background-color: #0E70C7;
    color: #fff;
    font-size: 16px;
    margin-right: 20px;
}
form.contact-form h2 {
    margin: 0;
    padding: 35px 0px 20px;
    color: #2087db;
    font-size: 26px;
}
.contact-form-button {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    text-align: center;
}
.btn-send {
    background: #fff;
    border-radius: 30px;
    font-size: 14pt;
    text-transform: uppercase;
    font-weight: 600;
    color: #48abfb;
    padding: 10px 60px;
    box-shadow: 0 0 10px #ddd;
    transition: .2s all ease-in-out;
}
.btn-send:hover {
    background: #48abfb;
    color: #fff;
}

.show-detail-box{
    padding-bottom: 0;
}
.show-detail-box .detail-layui-tab{
    position: relative;
    padding: 10px 20px 20px;
    box-sizing: border-box;
}
.show-detail-box .detail-layui-tab {
    width: 1200px;
    margin: 0 auto;
    background-color: white;
}
.show-detail-box .detail-layui-tab > .layui-tab-title .layui-this{
    color: #0a84ff;
}
.show-detail-box .detail-layui-tab > .layui-tab-title .layui-this::after{
    border-color: #0a84ff;
}
.show-detail-box .detail-layui-tab .layui-tab-content{
    padding: 10px 0 0;
}

/* Footer */
.footer {
    padding: 18px 0;
    height: 98px;
    box-sizing: border-box;
    background: #828282;
    clear: both;
    display: flex;
    justify-content: space-evenly;
}
.footer p{
    color: #fff;
    line-height: 30px;
    font-size: 14px;
    white-space: nowrap;
}
.footer p  a {
    color: #fff;
    text-decoration: none;
}
.footer p .fa-copyright{
    font-size: 16px;
    margin-left: 1px;
}
.footer p .layui-icon-website{
    margin-right: 2px;
}
.footer .contactBox {
    display: inline-block;
    vertical-align: top;
    margin: 14px 10px 0;
    position: relative;
}
.footer .contactBox .layui-icon{
    font-size: 30px;
    position: relative;
}
.footer .contactBox .layui-icon:hover + div{
    display: block;
}
.footer .contactBox .layui-icon-login-wechat{
    color: green;
}
.footer .contactBox .layui-icon-login-qq{
    color: #00BFFF;
}
.footer .contactBox .layui-icon::before{
    z-index: 1;
    position: relative;
}
.footer .contactBox .layui-icon::after{
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    top: 1px;
    left: 1px;
    background-color: #fff;
    border-radius: 50%;
}
.footer .contactBox > div{
    display: none;
    width: 140px;
    background-color: #fff;
    border: 1px solid lightgrey;
    position: absolute;
    top: -205px;
    left: -70px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    padding: 10px 10px 5px 10px;
    z-index: 9999;
}
.footer .contactBox > div img{
    max-width: 100%;
}

.alertMsgBox{
    position: fixed;
    top: 47%;
    left: 50%;
    margin-left: -80px;
    border-radius: 6px;
    background-color: #333;
    line-height: 60px;
    padding: 0 20px;
    color:#fff;
    z-index: 999;
}

/*通知详情*/
.noticeDetailBox{
    background-color: #eee;
    padding: 20px 0;
}
.noticeDetailBox .container{
    padding-bottom: 20px;
    background-color: #fff;
}
.noticeDetailBox > .container > h1{
    word-break: break-word;
    text-align: center;
    line-height: 70px;
}
.noticeDetailBox .noticeTitle{
    display: flex;
    justify-content: center;
    gap: 30px;
}
.noticeDetailBox .noticeContent{
    line-height: 30px;
    word-break: break-word;
    margin: 10px 20px 0;
}
.noticeDetailBox .noticeContent img{
    max-width: 100%;
}
.noticeDetailBox .noticeFile{
    margin: 10px 20px 0;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    padding: 10px 10px 0 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 18px;
}
.noticeDetailBox .noticeFile .file-item {
    width: calc(50% - 5px);
    height: 38px;
    line-height: 38px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    padding: 0 5px;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.noticeDetailBox .noticeFile .file-item .item-name {
    width: calc(100% - 60px);
    float: left;
}
.noticeDetailBox .noticeFile .file-item .item-actions{
    width: 60px;
    float: right;
    display: flex;
    justify-content: center;
}
.noticeDetailBox .noticeFile .file-item .item-action {
    margin: 0 8px;
    cursor: pointer;
}
.noticeDetailBox .noticeFile .file-item .item-action .fa-eye {
    color: #1E9FFF;
}
.noticeDetailBox .noticeFile .file-item .item-action .fa-download  {
    color: #FF5722;
}


/* checkMajor.html */
.check-major{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.level-item.is-active{
    background-color: #ddd;
}

/*搜索*/
.nav-search{
    position: relative;
    top: 0;
    left: 0;
    height: 30px;
    /*position: absolute;*/
    /*top: 16px;*/
    /*right: 20px;*/
    padding-top: 15px;
}
.nav-search .layui-input-inline{
    float: left;
}
.nav-search .searchbtn{
    background-color: #0a84ff;
    color: #fff;
    margin-right: 0;
    margin-left: 10px;
}
.nav-search .layui-form-label:nth-child(n+2) {
    margin-left: 20px;
}

/* 课程 */
.courseBox{
    background-color: #eee;
    padding: 20px 0;
}
.courseBox .container{
    background-color: #fff;
    padding: 20px 20px 10px;
    position: relative;
}
.courseBox .container .layui-tab{
    margin-bottom: 0;
}
.courseBox .layui-tab .layui-tab-title {
    height: 36px;
    line-height: 36px;
    border-bottom-color: lightgrey;
    box-sizing: border-box;
}
.courseBox .layui-tab .layui-tab-title li {
    border: 1px solid #f0f0f0;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 0 15px;
    border-radius: 3px;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
}
.courseBox .layui-tab .layui-tab-title li::after{
    display: none;
}
.courseBox .layui-tab .layui-tab-title li.layui-this{
    background-color: #d0e9ff;
    border-color: #d0e9ff;
}

.checked-major{
    float: left;
    width: 218px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #ddd;
    padding-left: 10px;
    cursor: pointer;
}
.nav-search .checked-major{
    width: 345px;
    height: 26px;
    line-height: 26px;
}
.major-inline{
    position: relative;
}
.major-clear{
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #eee;
    border-radius: 3px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
}


/*面包屑导航*/
.currentNav{
    display: flex;
    align-items: center;
}
.currentNav span{
    display: inline-block;
    vertical-align: top;
    height: 20px;
    line-height: 20px;
    color: #666;
}
.currentNav span.partition{
    padding: 0 5px;
}
.currentNav span.active{
    color: #333;
}
.currentNav span.active.teaching-show:hover, .teaching-show:hover{
    cursor: pointer;
    color: #0a84ff;
}



.courseBox .show-row-header{
    height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}
.courseBox .show-row-header .show-row-title{
    font-size: 18px;
    height: 58px;
    line-height: 58px;
    box-sizing: border-box;
    border-bottom: 4px solid #1C7FDC;
}
.courseBox .show-row-header .show-row-more{
    color: #1C7FDC;
    cursor: pointer;
}
.courseBox .show-row-content{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 21px;
    padding: 10px 0;
}
.courseCard{
    width: 223px;
    height: 246px;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #f1f1f1;
}
.courseCard .cardCover{
    width: 100%;
    height: 127px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    position: relative;
}
.courseCard .cardCover img{
    width: 100%;
    height: auto;
    min-height: 100%;
}
.courseCard .cardCover .courseCode,
.courseCard .courseName,
.courseCard > p,
.courseRowItem .cardCover .courseCode{
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.courseCard .cardCover .courseCode,
.courseRowItem .cardCover .courseCode{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 26px;
    line-height: 26px;
    color: #fff;
    background-color: rgba(119, 136, 153, 0.5);
}
.courseCard .courseName{
    font-size: 16px;
    line-height: 26px;
    color: #000;
    padding-bottom: 5px;
}
.courseCard .courseName:nth-child(2){
    padding-top: 10px;
}
.courseCard > p{
    color: #333;
    line-height: 20px;
    font-size: 13px;
}
.courseBox .containerRight{
    width: 241px;
    background-color: #fff;
}

/* 详情 */
.top-header{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}
.top-header .header-video-block{
    width: 460px;
    height: 290px;
    border-radius: 10px;
    overflow: hidden;
}
.top-header .header-video{
    width: 100%;
    height: 100%;
    background-color: #434343;
}
.top-header .header-body{
    width: 720px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-body .header-body-name{
    font-size: 18px;
    font-weight: bold;
}
.header-body .header-body-college-teacher{
    display: flex;
    gap: 30px;
}
.header-body .header-body-college-teacher > div{
    flex-shrink: 0;
    max-width: 50%;
}
.header-body .header-body-intro{
    height: 178px;
    background-color: #eee;
    border-radius: 10px;
    padding: 10px;
    overflow: auto;
    word-break: break-word;
}
.header-body .header-body-foot{
    display: flex;
}
.header-body-foot .date{
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: auto;
}
.major-video{
    width: 100%;
    height: auto;
}
.containerTop{
    padding: 20px 0;
}
.containerBottom{
    padding: 20px 0;
    background-color: #eee;
}



/*课程列表*/
.courseListBox{
    background-color: #eee;
    padding: 20px 0;
}
.courseListBox .container{
    background-color: #fff;
    box-sizing: border-box;
    padding: 20px 20px 0;
    position: relative;
}
.courseListBox .container .nav-search{
    /*top: 55px;*/
}
.courseListBox .selectForm{
    padding-top: 15px;
}
.courseListBox .selectForm .layui-input-inline + .layui-form-label{
    margin-left: 35px;
}
.courseListBox .layui-tab-title .layui-this:after{
    top: auto;
    bottom: 0;
    height: 3px;
    border: none;
    border-radius: 0;
    background-color: #0a84ff;
}
.courseListBox .data-list{
    padding-top: 20px;
}
.courseRowItem{
    padding-bottom: 20px;
}
.courseRowItem + .courseRowItem{
    border-top: 1px solid #dcdcdc;
    padding-top: 20px;
}
.courseRowItem .cardCover{
    display: inline-block;
    vertical-align: top;
    width: 216px;
    height: 120px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.courseRowItem .cardCover img{
    width: 100%;
    height: auto;
    min-height: 100%;
}
.courseRowItem .cardMsg{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 240px);
    margin-left: 20px;
}
.courseRowItem .cardMsg .courseName{
    font-size: 16px;
    font-weight: bold;
}
.courseRowItem .courseTabs span{
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    color: #666;
    max-width: 50%;
}
.courseRowItem .courseTabs span + span{
    margin-left: 30px;
}
.courseRowItem .courseBrief{
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    line-height: 17px;
}
.courseListBox .pageContainer{
    text-align: center;
}

.guide-pdf{
    border: none;
    width: 100%;
    min-height: 600px;
}
.guide-video{
    width: 100%;
}
.container-content{
    margin-top: 10px;
}

.upload-major-video{
    display: none;
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: 20px;
    padding: 5px;
    background: #eee;
    border-radius: 5px;
}

.show-detail-box .container-content .guide-pdf,
.show-detail-box .container-content .guide-video{
    margin-bottom: 10px;
}

@media screen and (max-width:1250px){
    .head-bar{
        background-image: unset!important;
    }
    .container,
    .show-detail-box .detail-layui-tab{
        width: 1000px;
    }
    .loginBox .layui-carousel{
        width: 720px!important;
    }
    .indexMainBox .mainBoxItem{
        width: 480px;
    }
    .top-header .header-video-block{
        width: 365px;
    }
    .top-header .header-body{
        width: 615px;
    }
    .courseListBox .container .nav-search{
        top: 16px;
    }
}

@media screen and (max-width:1050px){
    .container,
    .show-detail-box .detail-layui-tab{
        width: 768px;
    }
    .loginBox .layui-carousel{
        width: 500px!important;
    }
    .loginBox .join-now{
        width: 268px;
    }
    .indexMainBox .mainBoxItem{
        width: 360px;
    }
    .footer p{
        font-size: 12px;
    }
    .top-header .header-video-block{
        width: 287px;
    }
    .top-header .header-body{
        width: 460px
    }
    .courseListBox .selectForm .layui-input-inline{
        width: 135px;
    }
    .courseListBox .selectForm .layui-input-inline + .layui-form-label{
        margin-left: 20px;
    }
}

@media screen and (max-width:818px){
    .head-bar .logoBox{
        width: 200px;
        margin: 0 auto;
        padding-top: 26px;
    }
    .navigation .navigation-item{
        padding: 20px 5px;
    }
    .navigation-name{
        font-size: 16px;
    }
    .container,
    .show-detail-box .detail-layui-tab{
        width: 90%;
    }
    .loginBox{
        height: auto;
        background-image: unset;
    }
    .loginBox .join-now{
        float: unset;
        display: block;
        margin: 0 auto;
    }
    .loginBox .layui-carousel{
        float: unset;
        width: 100%!important;
        height: 150px!important;
        margin-bottom: 20px;
    }
    .indexMainBox .mainBoxItem{
        width: 80%;
        margin: 20px auto 0;
    }
    .indexMainBox .container{
        display: block;
        min-height: auto!important;
    }
    .footer{
        display: block;
        height: auto;
    }
    .footer > div{
        text-align: center;
        padding: 0 20px;
    }
    .footer p{
        white-space: unset;
        word-break: break-all;
    }
    .top-header{
        display: block;
    }
    .top-header .header-video-block,
    .top-header .header-body{
        width: 100%
    }
    .top-header .header-body{
        padding-top: 20px;
    }
}