* {
    margin: 0;
    padding: 0;
}

.notice-container {
    background-color: #e3e4e5;
    border-bottom: 1px solid #ddd;
    height: 24px;
}

.shut-not {
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(/Content/images/shutdown.png);
    position: absolute;
    right: 10px;
    top: 4px;
}

.notice.marquee {
    padding-left: 34px;
    font-size:12px;
    font-family:'Segoe UI', 'Tahoma', 'Helvetica', 'Sans-Serif';
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.notice.marquee:hover {
    animation-play-state: paused;
}

.notice.marquee:before, .notice.marquee::before {
    z-index: 333;
    content: '';
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 34px;
    height: 24px;
    background-image: url(/Content/images/notice.png);
    background-repeat: no-repeat;
}

.notice.marquee:after, .notice.marquee::after {
    z-index: 222;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 24px;
    background-image: linear-gradient(90deg, #e3e4e5 70%, rgba(227,228,229,0));
}
