/* warn box */
.warn-msg-box {
    width: 400px;
    height: 280px;
    background-color: #333333;
    position: absolute;
    z-index: 10;
    bottom: 5px;
    right: 20px;
    border-radius: 5px;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

.warn-msg-box .warn-box {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
}

.warn-msg-box .warn-head {
    height: 36px;
    background-color: #ff3300;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    color: #ffffff;
    line-height: 36px;
    text-indent: 10px;
    position: relative;
    z-index: 1;
    font-weight: bold;
    user-select: none;
}

.warn-msg-box .warn-body {
    height: 244px;
    overflow: auto;
}

.warn-msg-box .close-x {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    border-radius: 100px;
    color: #ffad98;
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 8px;
    cursor: pointer;
}

.warn-msg-box .close-x:hover {
    color: #ffffff;
}

.warn-msg-box .open-full {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    border-radius: 100px;
    color: #ffad98;
    font-size: 14px;
    position: absolute;
    right: 34px;
    top: 8px;
    cursor: pointer;
}

.warn-msg-box .open-full:hover {
    color: #ffffff;
}

.warn-msg-box .warn-item {
    width: 90%;
    height: auto;
    margin: 15px auto;
    background-color: #ffffff;
    font-size: 14px;
    color: #333333;
    padding: 8px;
    border-radius: 4px;
    white-space: normal;
    word-break: break-all;
    position: relative;
}

.warn-msg-box .warn-read {
    position: absolute;
    display: block;
    right: 8px;
    bottom: 8px;
    background-color: #e8e8e8;
    border-radius: 100px;
    text-align: center;
    font-size: 12px;
    color: #909090;
    cursor: pointer;
    padding: 2px 8px;
    user-select: none;
}

.warn-msg-box .warn-read:hover {
    background-color: #1babe0;
    color: #ffffff;
}

.warn-msg-box .title {
    font-size: 15px;
    color: #ff4422;
    line-height: 22px;
}

.warn-msg-box .time {
    font-size: 12px;
    color: #787878;
    line-height: 20px;
}


/* 保持大小不变的小圆圈  */
.dot {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: -25px;
    margin-left: -25px;
    background: url(/dist/img/warn.gif) no-repeat;
    background-size: 80%;
    z-index: 200;
}

/* 产生动画（向外扩散变大）的圆圈  */
.pulse, .pulse-big {
    position: absolute;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    top: -70px;
    border: 2px solid #EF2D02;
    background: rgba(239, 45, 2, 0.8);
    border-radius: 50%;
    z-index: 100;
    opacity: 0;
}

.pulse {
    background: rgba(239, 45, 2, 0.6) !important;
    -webkit-animation: warn 0.9s ease-out;
    -moz-animation: warn 0.9s ease-out;
    animation: warn 0.9s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    box-shadow: 1px 1px 30px #EF2D02;
}

.pulse-big {
    background: rgba(239, 45, 2, 0.6) !important;
    -webkit-animation: warn1 0.9s ease-out;
    -moz-animation: warn1 0.9s ease-out;
    animation: warn1 0.9s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    box-shadow: 1px 1px 30px #EF2D02;
}

@keyframes warn {
    0% {
        -moz-transform: scale(0);
        transform: scale(0);
        opacity: 1;
    }
    100% {
        -moz-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes warn1 {
    0% {
        -o-transform: scale(0);
        transform: scale(0);
        opacity: 1;
    }
    100% {
        -o-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
}

.read-all{
    position: absolute;
    right: 60px;
    top: 9px;
    line-height: normal;
}

.read-all-div {
    width: 90%;
    text-align: right;
    margin: 10px 15px 0 15px;
}

.read-all-btn {
    border: none;
    background-color: #c5492c;
    color: #ffffff;
    border-radius: 100px;
    padding: 2px 6px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
    display: block;
    text-indent: 0;
    font-weight: normal;
}

.read-all-btn:hover{
    background-color: #f66445;
}

.msg-view{
    float: right;
    color: #22b5d9;
    font-size: 12px;
    cursor: pointer;
}

.msg-view:hover{
    text-decoration: underline;
}
