/*此样式文件用于项目整体布局和头部header*/
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    background-color: #fff !important;
    min-width: 1220px;
}
.header .logoBox {
    float: left;
    display: flex;
    height: 68px;
    align-items: center;
    padding-left: 5px;
    background-color: #fff;
    gap: 0 5px;
}
.header .logoBox .logoImg img{
    width: 100%;
    height: 100%;
}
.header .logoBox .logoBanner {
    padding-top: 2px;
}
.header .logoBox .logoBanner img {
    width: 150px;
    height: 35px;
}
/*.logoSlogan用的字体，但是兼容性较差，已废弃*/
/*@font-face {*/
/*    font-family: 'ssfyt';*/
/*    src:url('../../../plugins/font-awesome/fonts/ssfyt.ttf');*/
/*}*/
.header .logoBox .logoBanner .logoSlogan {
    width: 150px;
    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;
}
.header .layui-nav-head .headnavlast{
    display: none;
}
.header .layui-nav-head .layui-this:after {
    display: none;
}
.header .layui-nav-head .layui-nav-bar {
    background-color: transparent !important;
}
.header .layui-nav-head .layui-nav-item a{
    position: relative;
}
.header .layui-nav-head .navbubble a::before{
    content: "参赛入口";
    width: 56px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    font-weight: normal;
    background-color: red;
    border-radius: 4px;
    position: absolute;
    top: -25px;
    right: -30px;
}
.header .layui-nav-head .navbubble a::after{
    content: "";
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: red;
    position: absolute;
    top: -8px;
    right:0
}
.header .xian {
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    z-index: 200;
}
.header .navigation {
    height: 35px;
    line-height: 35px;
    background-color: inherit;
    padding: 0 20px;
    box-sizing: border-box;
    position: absolute;
    top: 80px;
    left: calc(((100% - 1414px) / 2) + 214px);
}
.smalltype .header .xian + .navigation{
    left: calc(((100% - 1268px) / 2) + 68px);
}
.header .navigation > p {
    width: auto;
    display: inline-block;
    float: left;
    text-indent: 0;
    margin: 0;
    color: #434343 !important;
    font-size: 12px !important;
}
.header .navigation .layui-breadcrumb {
    vertical-align: top;
}
.header .navigation .togglehide,
.header .layui-nav-head .togglehide{
    display: inline-block!important;
}
.header .layui-nav-head .togglehide{
    font-size: 15px;
}
.header .navigation .layui-icon-down,
.header .navigation .layui-icon-right,
.header .layui-nav-head .leftnavicon{
    display: none!important;
}
.header .navigation .layui-breadcrumb a,
.header .navigation .layui-breadcrumb i {
    font-size: 12px;
    color: #434343 !important;
}
.header .navigation .layui-breadcrumb a{
    display: inline-block;
    vertical-align: top;
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header .navigation .layui-breadcrumb a:hover {
    cursor: pointer;
    color: #000 !important;
}
.header .navigation .layui-breadcrumb span[lay-separator] {
    margin: 0 2px;
}
.header .navigation .layui-breadcrumb span i {
    position: relative;
    top: -1px;
    font-weight: 700;
}
.header_t_r_nav {
    position: fixed;
    right: 6px;
    top: 2px;
    border-top: none;
    z-index: 202
}
.header_t_r_nav .editMsgCont{
    position: absolute;
    top: 25px;
    left: 25px;
    width: 90px;
    /*height: 90px;*/
    overflow: hidden;
    z-index: 999;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
    color: #666;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    text-align: center;
    display: none;
}
.header_t_r_nav .editMsgCont .userHead{
    display: block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    margin: 5px auto 0;
}
.header_t_r_nav .editMsgCont .userHead img{
    width: 100%;
    min-height: 100%;
}
.header_t_r_nav .editMsgCont .userCreateTime{
    display: block;
    font-size: 12px;
    text-align: center;
    padding: 3px;
    margin-bottom: 3px;
}
.header_t_r_nav .editMsgCont p{
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 5px 5px;
    border-radius: 4px;
    background-color: #eee;
}
.header_t_r_nav .editMsgContShadow,
.header_t_r_nav ~ .choicemenuShadow,
.header_t_r_nav ~ .systemShadow{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
}
.header_t_r_nav li {
    float: left;
    height: 18px;
    line-height: 18px;
    list-style: none;
    position: relative;
    padding: 0 12px;
    font-size: 13px;
    color: #808080;
    white-space: nowrap;
    cursor: pointer;
}
.header_t_r_nav .appdownload,
.header_t_r_nav .removelogin{
    padding-left: 18px;
    margin-left: 12px;
}
.header_t_r_nav .removelogin{
    padding-left: 21px;
}
.header_t_r_nav .appdownload::before,
.header_t_r_nav .removelogin::before{
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("../../../image/navicon_ym.png");
    background-position: -864px -11px;
    position: absolute;
    top: 0;
    left: 0;
}
.header_t_r_nav li.removelogin::before {
    background-position: -924px -11px;
}
.header_t_r_nav li::after {
    content: "";
    width: 2px;
    height: 13px;
    background-color: #808080;
    position: absolute;
    top: 2px;
    right: -1px;
}
.header_t_r_nav li:last-of-type::after {
    display: none;
}
.header_t_r_nav li > .layui-icon,
.header_t_r_nav li > .fa{
    font-weight: bold;
    margin: 0 5px 0 0;
    font-size: 13px;
    color: #333;
}
.header_t_r_nav .appdownload .appcontact{
    position: absolute;
    top: 25px;
    left: 0;
    box-shadow: 0 0 4px #a9a9a9;
    background-color: #fff;
    padding:10px 10px 0;
    display: none;
}
.header_t_r_nav .appdownload .appcontact .appimg{
    display: inline-block;
    vertical-align: top;
    width:96px;
    height: 121px;
    text-align: center;
}
.header_t_r_nav .appdownload .appcontact .layui-icon{
    position: absolute;
    right: -10px;
    top: -7px;
    font-size: 24px;
    cursor: pointer;
    color: #808080;
}
.header_t_r_nav .appdownload .appcontact .appimg span{
    line-height: 25px;
    font-size: 12px;
    color:#333;
}
.header_t_r_nav .appdownload .appcontact .appimg img{
    width: 88px;
    height: 88px;
    border: 4px solid #ededed;
}
.header_t_r_nav .appdownload .appcontact .appimg:nth-child(2){
    margin-left: 15px;
}
.header_t_r_nav .headnavset span{
    font-size: 14px;
    margin-right: 4px;
}
.header_t_r_nav .otherSystem span{
    font-size: 14px;
}
.header .choicemenu{
    position: absolute;
    top: 25px;
    right:55px;
    width: 87px;
    height: auto;
    box-sizing: content-box;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 10px;
    display: none;
    z-index: 999;
}
.header .choicemenu .layui-form-checkbox[lay-skin=primary]{
    display: block;
    height: 18px!important;
    line-height: 18px!important;
    margin-bottom: 10px;
}
.header .choicemenu .layui-form-checkbox[lay-skin=primary] span{
    font-size: 12px;
}

.header .choicemenu #saveRoleName{
    width: 100%;
    height: 24px;
    line-height: 24px;
    color: #fff;
    font-size: 12px;
}
/* 动画代码 */
@keyframes fontflow {
    from {
        left: 100%;
    }
    to {
        left: -550px;
    }
}
.header .scroll-message{
    width: calc(100% - 790px);
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 6px;
    left: 280px;
    color: red;
    font-size: 16px;
    letter-spacing: 1px;
}
.header .scroll-message span{
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: -550px;
    animation: fontflow 16s linear infinite ;
}
.header_system_nav{
    position: absolute;
    top: 26px;
    right: 168px;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 10px;
    z-index: 999;
    text-align: center;
    display: none;
}
.header_system_nav .systemItem{
    line-height: 30px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}
.layui-main {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100% !important;
    height: calc(100% - 70px);
    min-width: 1220px;
    box-sizing: border-box;
    overflow: auto;
}
.layui-main .home-center {
    box-sizing: border-box;
    height: 100%;
    width: calc(100% - 214px);
    position: absolute;
    top: 0;
    left: 214px;
    overflow: overlay;
}
/*左侧导航缩小后样式*/
.smalltype .layui-main .home-center,
.smalltype .layui-main .leaves-view .leaves-info{
    left: 68px!important;
    width: calc(100% - 68px);
}
@media screen and (max-width: 1435px){
    .header .xian + .navigation{
        left: calc(((100% - 1314px) / 2) + 214px);
    }
    .smalltype .header .xian + .navigation{
        left: calc(((100% - 1168px) / 2) + 68px);
    }
}
@media screen and (max-width: 1335px){
    .header .xian + .navigation{
        left: calc(((100% - 1214px) / 2) + 214px);
    }
    .smalltype .header .xian + .navigation{
        left: calc(((100% - 1068px) / 2) + 68px);
    }
}

.ai-bar-ref{
    position: fixed;
    cursor: pointer;
    z-index: 999;
}
.rag-ref{
    bottom: 10%;
    right: 5px;
    width: 109px;
    height: 80px;
    background-image: url("/image/ai/AIService.gif");
    background-repeat: no-repeat;
    background-position: 0 0;
    animation: aiBeat 2s ease-in-out infinite reverse;
}
.reply-ref,
.task-ref,
.test-ref{
    right: 0;
    width: 50px;
    padding: 10px 0;
    text-align: center;
    color: #fff;
}
.reply-ref{
    top: calc(30% + 100px);
}
.task-ref{
    top: calc(30% + 20px);
    z-index: 11111111;
    /*z-index: 19891015;*/
}
.reply-ref .layui-icon,
.task-ref .layui-icon{
    display: block;
    font-size: 24px;
}
@keyframes aiBeat {
    0%,100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-8px);
    }
}