.message {
    width: auto;
    background-color: #f8f8f8;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 4px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 14px
}

    .message .header {
        background-color: #fff;
        height: 20px;
        padding: 8px 12px 8px 12px;
        font-weight: bold;
        font-size: 15px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        color: #6a6a66
    }

    .message .details {
        padding: 10px 0;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex
    }

        .message .details .table {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            padding: 6px 8px 6px 26px
        }

            .message .details .table table {
                font-size: 15;
                position: relative
            }

                .message .details .table table td {
                    padding-left: 14px
                }

                .message .details .table table th {
                    text-align: left
                }

        .message .details .text {
            color: #646464;
            padding: 6px 8px 6px 12px
        }

            .message .details .text p {
                margin-top: 4px
            }

        .message .details .actions a {
            margin-top: 4px;
            font-size: 12;
            color: #fff;
            padding: 4px 14px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            border-radius: 4px;
            -webkit-transition: background-color .08s;
            -o-transition: background-color .08s;
            transition: background-color .08s
        }

        .message .details.is-centered {
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center
        }

    .message.has-icon {
        margin-left: 13px
    }

        .message.has-icon .details {
            margin-top: -34px
        }

            .message.has-icon .details .text {
                padding: 6px 8px 6px 26px !important
            }

    .message > .icon {
        height: 34px;
        width: 34px;
        left: -19px;
        top: 12px;
        border-radius: 40px;
        position: relative;
        float: right;
        text-align: center;
        color: white
    }

        .message > .icon i {
            line-height: 34px;
            font-size: 20px;
            color: #fff
        }

        .message > .icon.is-narrow {
            top: -17px !important
        }

    .message.info {
        border-left: 5px solid #1897d4;
        color: #1897d4
    }

        .message.info .icon {
            background-color: #1897d4
        }

        .message.info th {
            color: 1897d4
        }

        .message.info .actions > a {
            background-color: #1897d4
        }

            .message.info .actions > a:hover {
                background-color: #147bad
            }

        .message.info .header {
            border-bottom: 2px solid #1897d4
        }

    .message.danger {
        border-left: 5px solid #f66;
        color: #f66
    }

        .message.danger .icon {
            background-color: #f66
        }

        .message.danger th {
            color: #f66
        }

        .message.danger .actions > a {
            background-color: #f66
        }

            .message.danger .actions > a:hover {
                background-color: #d64f4f
            }

        .message.danger .header {
            border-bottom: 2px solid #f66
        }

    .message.success {
        border-left: 5px solid #6bad70;
        color: #6bad70
    }

        .message.success .icon {
            background-color: #6bad70
        }

        .message.success th {
            color: #6bad70
        }

        .message.success .actions > a {
            background-color: #6bad70
        }

            .message.success .actions > a:hover {
                background-color: #49884e
            }

        .message.success .header {
            border-bottom: 2px solid #6bad70
        }

    .message.warning {
        border-left: 5px solid #d0a01b;
        color: #d0a01b
    }

        .message.warning .icon {
            background-color: #d0a01b
        }

        .message.warning th {
            color: #d0a01b
        }

        .message.warning .actions > a {
            background-color: #d0a01b
        }

            .message.warning .actions > a:hover {
                background-color: #af8a25
            }

        .message.warning .header {
            border-bottom: 2px solid #d0a01b
        }

    .message.education {
        border-left: 5px solid #913ca7;
        color: #913ca7
    }

        .message.education .icon {
            background-color: #913ca7
        }

        .message.education th {
            color: #913ca7
        }

        .message.education .actions > a {
            background-color: #913ca7
        }

            .message.education .actions > a:hover {
                background-color: #612a6f
            }

        .message.education .header {
            border-bottom: 2px solid #913ca7
        }

    .message.blocked {
        border-left: 5px solid #7b7b7b;
        color: #7b7b7b
    }

        .message.blocked .icon {
            background-color: #7b7b7b
        }

        .message.blocked th {
            color: #7b7b7b
        }

        .message.blocked .actions > a {
            background-color: #7b7b7b
        }

            .message.blocked .actions > a:hover {
                background-color: #565252
            }

        .message.blocked .header {
            border-bottom: 2px solid #7b7b7b
        }

    .message.sdu {
        border-left: 5px solid #4e5b31;
        color: #4e5b31
    }

        .message.sdu .icon {
            background-color: #4e5b31
        }

        .message.sdu th {
            color: #4e5b31
        }

        .message.sdu .actions > a {
            background-color: #4e5b31
        }

            .message.sdu .actions > a:hover {
                background-color: #35401c
            }

        .message.sdu .header {
            border-bottom: 2px solid #4e5b31
        }

a.message {
    -webkit-transition: -webkit-box-shadow .15s;
    transition: -webkit-box-shadow .15s;
    -o-transition: box-shadow .15s;
    transition: box-shadow .15s;
    transition: box-shadow .15s, -webkit-box-shadow .15s;
    text-decoration: none
}

    a.message:hover {
        -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4)
    }

.message > .details.is-narrow {
    padding: 10px 0 0px 0px !important
}

.message.no-border {
    border: 0
}
