﻿.table th, .table td {
    vertical-align: middle;
}
button {
    margin: 2px 0;
}


/* notice 鈴鐺通知按紐 */
.noticeGroup {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    position: relative;
}
.noticeGroup >* {
    margin-right: 1em;
}
/*
.notice_01, .notice_02 {
    position: relative;
}
*/
.notice {
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .1s ease;
    position: relative;
}

    .notice:hover {
        filter: brightness(0.9);
    }
/* 通知紅點 */
.notice_dot {
    width: 24px;
    height: 24px;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -4px;
    text-align: center;
}

.notice_dotNumber {
    color: #fff;
    font-size: 12px;
    line-height: 24px;
}

/* 通知欄位 */
.noticeContain {
    position: absolute;
    top: 52px;
    right: 20px;
    width: 30%;
    background: #eee;
    border-radius: 4px;
    padding: 10px 10px 1em;
    display: none;
    z-index: 100;
}
.notice_01 .noticeContain {
    right: calc(70px + 1em);
}
.noticeContain h3 {
    font-size: 18px;
    line-height: 1.5;
}

.noticeContain_outsideBox {
    max-height: 320px;
    overflow: auto;
    margin-top: 10px;
}
/* 通知欄位中的 未讀欄位 */
.noticeContain_unread {
    display: none;
}
/* 通知欄位 的訊息 */
.noticeContain_message {
    min-height: 3em;
    border-radius: 4px;
    padding: 2px 10px;
    cursor: pointer;
}

    .noticeContain_message:hover {
        background: #DCDCDC;
    }
/* 通知欄位 的按鈕 */
.noticeContain_button {
    background: #6c757d;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: all .3s ease;
}

    .noticeContain_button:hover {
        filter: brightness(0.9);
    }

.button＿all {
    background: #0D6EFD;
}
img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media(max-width: 425px) {
    .notice {
        width: 20px;
        background: none;
    }

    .notice_dot {
        width: 18px;
        height: 18px;
        top: 10px;
        display: flex;
        justify-content: center;
        align-content: center;
    }

    .notice_dotNumber {
        font-size: 8px;
        line-height: 18px;
    }
}
