.jGrowl {
    z-index: 9999;
    margin: 20px;
    padding: 0;
    width: 350px;
    max-width: 100%;
    position: fixed;
    right: 0px;
    top: 0px;
    .jGrowl-closer {
        display: none !important;
    }
    .jGrowl-notification {
        background-color: #000;
        color: #fff;
        font-family: Tahoma, Arial, Helvetica, sans-serif;
        text-align: left;
        display: none;
        opacity: 1;
        width: 100%;
        min-height: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
        margin: 0 0 20px;
        position: relative;
        overflow: hidden;
        font-size: 15px;
        line-height: 22px;
        transform: translateX(0);
        animation: 400ms 1 cubic-bezier(0.34, 1.56, 0.64, 1) appearin;
        a {
            color: #fff;
            text-decoration: underline;
        }
        .header {
            font-weight: bold;
            font-size: 16px;
            text-transform: capitalize;
            padding: 20px 20px 0;
            &:empty {
                display: none;
            }
        }
        .header:not(:empty) + .message {
            padding-top: 10px;
        }
        .message {
            padding: 20px;
            * {
                color: inherit;
            }
        }
        .close {
            z-index: 99;
            cursor: pointer;
            opacity: 1;
            text-shadow: none;
            color: #fff;
            position: absolute;
            top: 15px;
            right: 15px;
        }
        &.error {
            background-color: #dc5300;
            color: #fff;
        }

        &.success {
            background-color: #7bae23;
            color: #fff;
        }

        &.info {
            background-color: #4aaee8;
        }
        &:before,
        &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: rgba(0, 0, 0, 0.2);
            transform-origin: 0;
        }

        &:after {
            transform: scaleX(0);
            animation: 4000ms linear slidein;
        }
    }
}

@keyframes appearin {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}
