
/* 图片轮播 */
.slider {
    position: relative;
    overflow: hidden;
    height: 360px;
    margin-bottom: 20px;
}

.slider .playlist li {
    position: absolute;
    display: block;
    opacity: 0;
    visibility: hidden;
    top: 0px;
    left: 0px;
    width: 100%;
    transition: all 1s linear;
}
.slider .playlist li.active{
    opacity: 1;
    visibility: visible;
}
.slider .playlist img {
    display: block;
    border: none;
    width: 100%;
}
.slider .buttons {
    position: absolute;
    bottom: 15px;
    right: 25px;
    z-index: 50;
}
.slider .buttons li {
    display: inline-block;
    margin-left: 10px;
    font-size: 10px;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    text-align: center;
    background: #DDDDDD;
    border-radius: 6px;
    cursor: pointer;
}
.slider .buttons li.active {
    background: #a10000;
    color: white;
}
.slider .prev,
.slider .next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 145px;
    z-index: 50;
    color: transparent;
    opacity: 0.2;
    transition: opacity .2s linear;
}
.slider .prev{
    background: url(../img/left.png) no-repeat;
    left: 10px;
}
.slider .next {
    background: url(../img/right.png) no-repeat;
    right: 10px;
}
.slider .prev:hover {
    opacity: 1;
}
.slider .next:hover {
    opacity: 1;
}

/* 栏目面板 */
.panel{
    margin: 20px 0;
    --background-color: white;
    --box-shadow: 2px 2px 10px #b177a5;
}

.panel-header {
    position: relative;
    border-bottom: 4px solid #ca79aa;
}

.panel-header .title{
    font-size: 20px;
    line-height: 2.4em;
    margin-left: 1.5em;
    color:#701d75;
    font-weight: bold;
}

.btn-more{
    display: block;
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 6em;
    height: 17px;
    padding-top: 7px;
    padding-right: 1em;
    text-align: right;
    font-size: 12px;
    color: #ca79aa;
    background-color: #701d75;
}
.btn-more:hover{
    color:white;
}

.btn-more::before{
    content: "";
    position: absolute;
    top:1px;
    left: -24px;
    border-left: 24px solid transparent;
    border-bottom: 24px solid #701d75;
}

.panel-body {
    --padding: 0.5em 1em;
    --background-color: white;
    border-top: 6px solid #701d75;
}

.panel-body::after{
    content: "";
    display: block;
    clear: both;
}

.panel .item{
    padding: 0.6em 0;
    border-bottom: 1px dashed #d4b6ce;
}

.panel .item a{
    display: inline-block;
    max-width: 85%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: text-bottom;
    line-height: 1.5em;
}

.panel .item a:hover{
    color: #701d75;
    --font-weight: bold;
}

.panel .item .date{
    float: right;
    padding-top: 4px;
    font-size: 12px;
    color:#888;
}

/* 备选栏目样式 *-/
.panel{
    background-color: white;
}
.panel-header{
    background: linear-gradient(to right, #701d75, #b177a5);
    border: none;
}
.panel-header .title{
    color: white;
    font-size: 18px;
    line-height: 2.2em;
}
.panel-header .btn-more{
    bottom: 11px;
    color: #ccc;
    background-color: transparent;
}
.panel-header .btn-more:hover{
    color: white;
}
.panel-header .btn-more::before{display: none}
.panel-body{
    border: 1px solid #d4b6ce;
    border-top: none;
    padding: 0.5em;
}
.panel-body .item{
    padding: 0.5em;
    border-bottom: none;
}

/* 新闻栏目样式 */
.panel.news .items{
    margin-left: 500px;
}

.panel.news .item{
    padding: 0.25em 0;
}

.panel.news .item .date{
    float:none;
    display: inline-block;
    margin-right: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #701d75;
    text-align: center;
    vertical-align: middle;
}
.panel.news .item .date year{
    display: block;
    font-size: 12px;
}
.panel.news .item a{
    display: inline-block;
    max-width: 620px;
    white-space: normal;
    vertical-align: middle;
}
#img-news{
    float: left;
    width: 480px;
    height: 360px;
    margin: 10px 0;
}

#img-news .playlist .title{
    position: absolute;
    width: 450px;
    bottom: 30px;
    padding: 0 15px;
    text-align: center;
}
#img-news .playlist .title span{
    display: inline-block;
    margin: 0 auto;
    font-size: 16px;
    text-align: left;
    color: white;
}
#img-news .buttons{
    bottom: 8px;
    right: 12px;
}
#img-news .buttons li{
    margin-left: 2px;
    border-radius: 2px;
}
#img-news .prev,
#img-news .next{
    display: none;
}

/* 公告栏样式 **/
.panel.notice{
    margin-top: 40px;
}
#notices{
    position: relative;
    margin: 12px 20px;
}
#notices .viewport{
    position: relative;
    width: 100%;
    overflow: hidden;
}
#notices .cards{
    position: relative;
    left: 0;
    font-size: 0;
    white-space: nowrap;
    transition: left 1s;
}
#notices .cards li{
    display: inline-block;
    position: relative;
    margin: 10px 15px;
    vertical-align: top;
    box-shadow: 0 0 10px #701d75;
    background-color: white;
    transition: all 0.25s;
}
#notices .cards li:hover{
    box-shadow: 0 0 10px 2px #701d75;
}
#notices .cards li::before{
    content: "\e7ce";
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 20px;
    font-family: "iconfont" !important;
    font-weight: bold;
    color: #701d75;
}
#notices .cards li a{
    display: block;
    width: 260px;
    height: 150px;
    padding: 3em 1em 1em;
    box-sizing: border-box;
    font-size: 16px;
    white-space: normal;
}
#notices .cards li a::before{
    content: "通知公告";
    position: absolute;
    top: 14px;
    left: 40px;
    font-size: 16px;
    font-weight: bold;
    color: #701d75;
}
#notices .cards .date{
    position: absolute;
    bottom: 15px;
    right: 18px;
    font-size: 12px;
    color: #888;
}

#notices .prev,
#notices .next{
    position: absolute;
    top: 62px;
    font-size: 40px;
    z-index: 10;
    color: transparent;
    cursor: pointer;
    transition: all 0.5s;
}

#notices:hover .prev,
#notices:hover .next{
    color: #ddd;
}

#notices .prev:hover,
#notices .next:hover{
    color: #888;
}

#notices:hover .prev.disable,
#notices:hover .next.disable{
    color: #ddd !important;
}

#notices .prev{
    left: -28px;
}
#notices .next{
    right: -28px;
}


.panel.teaching{
    width: 48%;
    float: left;
}

.panel.student{
    width: 48%;
    float: right;
}