.libraryHead{
    width: 100%;
    height: 67px;
    background-color: #004898;
    position: relative;
    z-index: 999;
}
.libraryHead .libraryHeadBox{
    height: 67px;
}
.libraryHeadBox .libraryHeadLogo{
    float: left;
    display: flex;
    height: 67px;
    align-items: center;
}
.libraryHeadBox .libraryHeadLogo img{
    max-width: 210px;
    max-height: 57px;
}
.libraryHeadBox .libraryNav{
    margin-right: 40px;
    position: relative;
    z-index: 1;
}
.libraryHeadBox .libraryNav .mobileNavBar{
    display: none;
    text-align: right;
}
.libraryHeadBox .libraryNav .mobileNavBar .layui-icon{
    color: #fff;
    line-height: 38px;
    cursor: pointer;
}
.libraryHeadBox .libraryNav li{
    float: left;
}
.libraryHeadBox .libraryNav li a{
    display: block;
    line-height: 67px;
    font-size: 15px;
    color: #fff;
    min-width: 72px;
    text-align: center;
}
.libraryHeadBox .libraryNav li a:hover{
    background: #f9f9f9;
    color: #004898;
}
.libraryHeadBox .userHeadBox{
    position: relative;
    padding-top: 14px;
}
.libraryHeadBox .userHeadBox .userHeadImg{
    display: inline-block;
    vertical-align: top;
    width: 38px;
    height: 38px;
    border-radius: 19px;
    overflow: hidden;
    cursor: pointer;
}
.libraryHeadBox .userHeadBox .userHeadImg img,
.libraryHeadBox .userHeadBox .editMsgCont .userHead img{
    width: 100%;
    min-height: 100%;
}
.libraryHeadBox .userHeadBox > span{
    display: inline-block;
    vertical-align: top;
    max-width: 70px;
    line-height: 38px;
    color: #fff;
    cursor: pointer;
}
.libraryHeadBox .userHeadBox .editMsgCont {
    position: absolute;
    top: 60px;
    left: 23px;
    width: 109px;
    height: auto;
    overflow: hidden;
    color: #666;
    z-index: 999;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    border-radius: 5px;
    text-align: center;
    display: none;
}
.libraryHeadBox .userHeadBox .editMsgCont .userHead {
    display: block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    margin: 5px auto 0;
}
.libraryHeadBox .userHeadBox .editMsgCont .userCreateTime {
    display: block;
    font-size: 12px;
    text-align: center;
    padding: 3px;
    margin-bottom: 3px;
}
.libraryHeadBox .userHeadBox .editMsgCont p{
    height: 24px;
    line-height: 24px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 5px 5px;
    border-radius: 4px;
    background-color: #eee;
}
.libraryHeadBox .loginBtn{
    padding: 14px 0 0 20px;
}
.libraryHeadBox .loginBtn a{
    display: block;
    line-height: 38px;
    color: #004898;
    padding: 0 34px;
    border-radius: 19px;
    background-color: #fff;
    cursor: pointer;
}
.libraryHeadBox .librarySearch{
    width: 230px;
    position: relative;
    padding-top: 14px;
    margin-right: 20px;
    z-index: 1;
}
.libraryHeadBox .librarySearch .layui-form-select{
    float: left;
    width: 84px;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #fff;
    border-right: none;
    border-radius: 19px 0 0 19px;
    z-index: 999;
}
.libraryHeadBox .librarySearch .layui-form-select input{
    border: none;
    background-color: inherit;
    color: #fff;
    height: 36px;
    text-align: center;
    padding: 0 25px 0 5px;
    font-size: 12px;
}
.libraryHeadBox .librarySearch > .layui-input{
    float: left;
    width: calc(100% - 86px);
    height: 38px;
    border: 1px solid #fff;
    border-radius: 0 19px 19px 0;
    background-color: inherit;
    color: #fff;
    padding-right: 38px;
    position: relative;
    z-index: 998;
}
.libraryHeadBox .librarySearch > .layui-input:focus{
    border-color: #fff!important;
}
.libraryHeadBox .librarySearch > .layui-input::placeholder{
    color: #fff;
}
.libraryHeadBox .librarySearch > .searchBook{
    position: absolute;
    top: 14px;
    right: 3px;
    width: 38px;
    text-align: center;
    line-height: 38px;
    color: #fff;
    cursor: pointer;
    z-index: 998;
    border-radius: 0 19px 19px 0;
}
.libraryHeadBox .librarySearch .searchResultList{
    position: absolute;
    top: 60px;
    left: 26px;
    width: 245px;
    max-height: 360px;
    background-color: #f5f5f5;
    box-sizing: border-box;
    display: none;
    border: 1px solid #eee;
    overflow: auto;
    z-index: 998;
}
.libraryHeadBox .librarySearch .searchResultList p{
    line-height: 26px;
    font-size: 12px;
    cursor: pointer;
    padding: 0 10px;
    color: #666;
}
.libraryHeadShadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 997;
    display: none;
}
.libraryHeadBox .libraryHeadSwitchBox{
    position: absolute;
    top: 3px;
    right: 10px;
    height: 20px;
    line-height: 20px;
}
.libraryHeadBox .libraryHeadSwitchBox a{
    color: #fff;
}

/*app二维码*/
.appDownloadBox{
    width: 50px;
    height: 50px;
    background-color: #9F9F9F;
    color: #fff;
    border-radius: 2px;
    position: fixed;
    right: 15px;
    bottom: 80px;
    opacity: .95;
    text-align: center;
    cursor: pointer;
    z-index: 999;
}
.appDownloadBox > .layui-icon{
    font-size: 22px;
    padding: 7px 0 0;
}
.appDownloadBox > span{
    display: block;
    font-size: 12px;
}
.appDownloadBox .qrcodeBox{
    display: none;
    position: absolute;
    right: 55px;
    bottom: 0;
    box-shadow: 0 0 4px #a9a9a9;
    background-color: #fff;
    padding: 10px 10px 0;
    width: 201px;
}
.appDownloadBox .qrcodeBox .qrcodeItem{
    float: left;
    vertical-align: top;
    width: 96px;
    height: 121px;
    text-align: center;
}
.appDownloadBox .qrcodeBox .qrcodeItem:nth-child(2){
    float: right;
}
.appDownloadBox .qrcodeBox .qrcodeItem img{
    width: 88px;
    height: 88px;
    border: 4px solid #ededed;
}
.appDownloadBox .qrcodeBox .qrcodeItem span{
    line-height: 25px;
    font-size: 12px;
    color: #333;
}
.appDownloadBox .qrcodeBox .layui-icon{
    position: absolute;
    right: -10px;
    top: -7px;
    font-size: 24px;
    cursor: pointer;
    color: #808080;
}

@media screen and (max-width: 1366px) {
    .libraryHeadBox .libraryHeadLogo img{
        max-width: 170px;
        max-height: 47px;
    }
    .libraryHeadBox .libraryNav{
        margin-right: 20px;
    }
    .libraryHeadBox .libraryNav li a{
        min-width: 56px;
        font-size: 12px;
    }
    .libraryHeadBox .librarySearch{
        width: 218px;
        margin-right: 10px;
    }
    .libraryHeadBox .librarySearch > .layui-input{
        font-size: 12px;
    }
    .libraryHeadBox .librarySearch .searchResultList{
        left: -5px;
    }
    .libraryHeadBox .userHeadBox > span{
        font-size: 12px;
    }
    .libraryContainer{
        width: 1000px;
    }
}

@media screen and (max-width: 1066px) {
    .libraryContainer{
        width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
    .libraryHeadBox .libraryNav{
        margin-top: 14px;
    }
    .libraryHeadBox .libraryNav .mobileNavBar{
        display: block;
    }
    .libraryHeadBox .libraryNav ul{
        display: none;
        background-color: #004898;
        position: absolute;
        right: 0;
        top: 38px;
    }
    .libraryHeadBox .libraryNav li{
        float: none;
    }
    .libraryHeadBox .libraryNav li a{
        line-height: 30px;
        padding: 0 15px;
    }
    .layui-carousel > [carousel-item]{
        width: auto;
        margin: 0 30px;
    }
    .partnersBox{
        padding-left: 0;
        padding-right: 0;
        margin-left: 20px;
        margin-right: 20px;
        box-sizing: content-box;
        width: auto;
    }
    .libraryHeadBox .userHeadBox .editMsgCont{
        left: initial;
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    .libraryHead{
        height: 134px;
    }
    .libraryHeadBox .libraryHeadLogo img{
        max-width: 150px;
        max-height: 37px;
    }
    .libraryHeadBox .librarySearch{
        width: 100%;
        height: 67px;
        position: absolute;
        top: 67px;
        left: 0;
        background-color: #3e83cf;
        padding-top: 0;
    }
    .libraryHeadBox .librarySearch .layui-form-select,
    .libraryHeadBox .librarySearch > .layui-input{
        position: absolute;
        top: 14px;
        left: 50%;
    }
    .libraryHeadBox .librarySearch .layui-form-select{
        transform: translateX(-126px);
    }
    .libraryHeadBox .librarySearch > .layui-input{
        width: 160px;
        transform: translateX(-42px);
    }
    .libraryHeadBox .librarySearch > .searchBook{
        right: initial;
        left: 50%;
        transform: translateX(80px);
    }
    .libraryHeadBox .librarySearch .searchResultList{
        left: 50%;
        transform: translateX(-50%);
    }
    .libraryHeadBox .userHeadBox > span{
        display: none;
    }
    .libraryHeadBox .loginBtn{
        padding-left: 0;
    }
    .libraryHeadBox .loginBtn a{
        padding: 0 19px;
    }
    .layui-carousel > [carousel-item]{
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

.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{
    right: 0;
    width: 50px;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    background-color: #004898;
}
.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);
    }
}