@charset "utf-8";

/* Notice */
.wrap-notice {position: relative; z-index: 1; margin-top: -50px; background: rgba(0,0,0,0.5);}
.edit .wrap-notice {margin-top: 0;}
.wrap-notice .inner {display: flex; align-items: center; justify-content: space-between; height: 50px;}
.wrap-notice .title {position: relative; display: flex; align-items: center; flex-shrink: 0; width: 250px; height: 100%; font-family: pb; font-size: 16px; color: #fff;}
.wrap-notice .title::before {content: ''; position: relative; z-index: 1; display: inline-block; width: 21px; height: 27px; margin-right: 10px; background: url('../images/ic-notice.png') no-repeat center;}
.wrap-notice .title::after {content: ''; position: absolute; right: 0; top: 0; width: 188%; height: 100%; background: #12529c;}
.wrap-notice .title span {position: relative; z-index: 1;}
.wrap-notice .slider {overflow: hidden; flex-grow: 1; width: calc(100% - 300px); height: 100%;}
.wrap-notice .slider .swiper-slide {display: flex; align-items: center; padding-left: 20px; padding-right: 20px;}
.wrap-notice .slider strong {overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; color: rgba(255,255,255,0.7);}
.wrap-notice .slider a {position: relative; top: 1px; font-family: pb; font-size: 16px; color: rgba(255,255,255,0.7);}
.wrap-notice .slider a:hover {color: #fff;}
.wrap-notice .slider .subject span {position: relative;}
.wrap-notice .slider .subject span::after {content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: #fff; transition: width .45s;}
.wrap-notice .slider .subject a:hover span::after {width: 100%;}
.wrap-notice .slider .date {flex-shrink: 0; width: 75px; margin-left: 20px; font-family: plr; font-size: 14px; color: rgba(255,255,255,0.7);}
.wrap-notice .slider .nodata {display: flex; align-items: center; height: 100%;  padding: 0 20px; color: #f1f1f1;}
.wrap-notice .control {flex-shrink: 0; width: 50px; font-size: 0px;}
.wrap-notice .control button {text-indent: -99999px; font-size: 0;}
.wrap-notice .control .prev,
.wrap-notice .control .next {width: 10px; height: 14px;}
.wrap-notice .control .prev {background: url('../images/ic-notice-prev.svg') no-repeat center;}
.wrap-notice .control .next {background: url('../images/ic-notice-next.svg') no-repeat center;}
.wrap-notice .control .stop,
.wrap-notice .control .play {display: none; width: 9px; height: 14px; margin: 0 10px;}
.wrap-notice .control .stop.on,
.wrap-notice .control .play.on {display: inline-block;}
.wrap-notice .control .stop {background: url('../images/ic-notice-stop.png') no-repeat center;}
.wrap-notice .control .play {background: url('../images/ic-notice-play.png') no-repeat center;}

@media screen and (max-width: 1200px) {
  .wrap-notice .title span {font-size: 15px;}
  .wrap-notice .slider a {font-size: 15px;}
}

@media screen and (max-width: 990px) {
    .wrap-notice .title {width: 200px;}
}

@media screen and (max-width: 700px) {
  .wrap-notice .title {width: 40px;}
  .wrap-notice .title span {display: none;}
  .wrap-notice .slider .date {display: none;}
}
