.department-title{
    width: auto;
    height: 44px;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #222222;
    padding: 0 18px;
}
.department-title img{
    position: absolute;
    left: 18px;
    top: 12px;
    width: 10px;
}
.department-search{
    box-sizing: border-box;
    padding: 0 18px;
    width: auto;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.department-search div{
    width: 100%;
    height: 35px;
    border-radius: 35px;
    padding: 0 15px;
    padding-right: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #f4f4f8;
    overflow: hidden;
}
.department-search img{
    width: 13px;
}
.department-search input{
    width: 100%;
    border: 0;
    background: none;
    color: #999999;
    padding-left: 9px;
    font-size: 12px;
    outline: none;
}
.department-search span{
    display: block;
    width: 52px;
    height: 100%;
    line-height: 35px;
    font-size: 12px;
    text-align: left;
    padding-left: 16px;
    background: #6e95fd;
    color: #fff;
    letter-spacing: 4px;
}
.department-content-top{
    background: #f6f6f6;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 18px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}
.department-content-top .title{
    width: 53px;
    min-width: 53px;
    height: 100%;
    line-height: 42px;
    font-size: 13px;
    color: #222222;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}
.department-content-top .title.active{
    border-color: #6e95fd;
}
.department-content-top .title+.title{
    margin-left: 43px;
}
.department-content-top .line{
    width: 53px;
    height: 2px;
    background: #6e95fd;
    position: absolute;
    left: 18px;
    bottom: 0;
    transition: all .3s;
    transform: translateX(0px);
}
.department-content-top .line2{
    transform: translateX(96px);
}
.department-content-top .line3{
    transform: translateX(192px);
}
.department-content{
    display: grid;
    grid-template-columns:repeat(4,25%);
    grid-template-rows: repeat(1,94px);
    grid-gap:1px 1px;
    justify-items: center;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}
.department-content>div{
    width: 100%;
    height: 94px;
    border: 1px solid #f0f0f0;
    margin-left: -1px;
    margin-top: -1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.department-content>div img{
    width: 30px;
    margin-bottom: 16px;
}
.department-content>div p{
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0 12px;
    font-size: 12px;
    color: #353535;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}