﻿/*!
 * Snarl - Web Notifications based on Growl
 * @version v0.3.3
 * @link https://hoxxep.github.io/snarl
 *
 * Copyright 2014-2017 Liam Gray <hoxxep@gmail.com>
 * Released under the MIT license
 * @license https://github.com/hoxxep/Snarl/blob/master/LICENSE 
 */
#snarl-wrapper {
    position: fixed;
    top: 60px;
    right: 20px;
    bottom: auto;
    left: auto;
    width: 380px;
    z-index: 999999999;
    pointer-events: none;
}

.snarl-notification {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 15px 30px 15px 80px;
    position: relative;
    overflow: hidden;
    pointer-events: all;
    box-shadow: 0 5px 10px -3px rgb(0 0 0 / 10%), 0 0 5px rgb(0 0 0 / 2%) inset;
    border-radius: 5px;
    opacity: 0;
    left: 400px;
    transition: opacity 0.21s ease, left 0.35s ease-in, margin 0.35s ease;
}

    .snarl-notification.snarl-small {
        left: 340px !important;
        padding: 20px 0px;
        width:40px;
        border-radius:50%;
        top: calc(100vh - 190px);
    }
    .snarl-notification.snarl-small .snarl-icon {
        width: 40px;
    }

    .snarl-notification.snarl-nav {
        position: fixed;
        top: 48px;
        border-radius: 0px;
        text-align:center;
        font-size:1em !important;
    }

    .snarl-notification.snarl-in {
        opacity: 1;
        left: 0;
        transition: opacity 0.28s ease-out 0.07s, left 0.35s ease-out
    }

    .snarl-notification:not(.snarl-nav) {
        max-width: 360px;
    }


    .snarl-nav .snarl-title {
        font-size: 1em !important;
    }

    .snarl-notification.no-hover:not(.not-dismissable) {
        padding-right: 95px;
    }

        .snarl-notification.no-hover:not(.not-dismissable) .snarl-close {
            opacity: 1;
            box-shadow: none;
        }

    .snarl-notification.not-dismissable {
        padding-right: 15px;
    }

        .snarl-notification.not-dismissable .snarl-close {
            display: none;
        }

    .snarl-notification .snarl-close {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        height: 100%;
        z-index: 2;
        vertical-align: middle;
        text-align: center;
        background: rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: opacity 0.25s ease-out;
        cursor: pointer;
        color: #fff;
        transition: 0.2s
    }

        .snarl-notification .snarl-close:hover {
            background: rgb(55 55 55 / 25%);
            color: #dedede;
        }

        .snarl-notification .snarl-close svg {
            position: relative;
            width: 18px;
            height: 18px;
            margin: -9px;
            top: 50%;
            vertical-align: top;
            fill: #ccc;
            pointer-events: none;
            transition: fill 0.25s ease;
        }

        .snarl-notification .snarl-close:hover svg {
            fill: #aaa;
        }

    .snarl-notification:hover .snarl-close {
        opacity: 1;
    }

    .snarl-notification .snarl-title {
        margin: 0;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 400;
        font-size: 1.4em;
    }

    .snarl-notification .snarl-text {
        margin: 0;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 300;
        font-size: 1em;
        line-height: 1.25em;
    }

    .snarl-notification .snarl-title:visible + .snarl-text:visible {
        margin-top: 0.3em;
    }

    .snarl-notification.snarl-no-title .snarl-title {
        display: none;
    }

    .snarl-notification.snarl-no-text .snarl-text {
        display: none;
    }

    .snarl-notification .snarl-icon {
        position: absolute;
        width: 80px;
        top: 0;
        bottom: 0;
        left: 0;
        margin-right: 15px;
    }

        .snarl-notification .snarl-icon * {
            position: absolute;
            display: block;
            top: 50%;
            left: 50%;
            width: 50px;
            height: 50px;
            margin-top: -25px;
            margin-left: -25px;
            line-height: 50px;
            font-size: 28px;
            vertical-align: middle;
            text-align: center;
        }

    .snarl-notification.snarl-no-icon {
        padding-left: 15px;
    }

        .snarl-notification.snarl-no-icon .snarl-icon {
            display: none;
        }

    .snarl-notification.waves-effect {
        display: block;
    }

        .snarl-notification.waves-effect .waves-ripple {
            z-index: 3;
            background: -webkit-radial-gradient(rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.075) 40%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 60%, rgba(255, 255, 255, 0) 70%);
            background: -moz-radial-gradient(rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.075) 40%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 60%, rgba(255, 255, 255, 0) 70%);
            background: -o-radial-gradient(rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.075) 40%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 60%, rgba(255, 255, 255, 0) 70%);
            background: radial-gradient(rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.075) 40%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 60%, rgba(255, 255, 255, 0) 70%);
        }

@media screen and (max-width: 480px) {
    #snarl-wrapper {
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        z-index: 99999999;
    }

        #snarl-wrapper .snarl-notification {
            margin: 0 auto;
            padding-top: 10px;
            padding-right: 90px;
            padding-bottom: 10px 80px;
        }

            #snarl-wrapper .snarl-notification .snarl-close {
                box-shadow: none;
                opacity: 1;
            }

            #snarl-wrapper .snarl-notification h3 {
                font-size: 1.2em;
            }
}

.snarl-notification.tr-green * {
    /* Trail Green */
    color: #1FCCAD;
}

.snarl-notification.tr-red * {
    /* Trail Red */
    color: #C9302C;
}

.snarl-notification.tr-orange * {
    /* Trail Orange */
    color: #FA7718;
}

.snarl-notification.tr-blue * {
    /* Trail Blue */
    color: #3E72DC;
}

.snarl-notification.tr-yellow * {
    /* Trail Yellow */
    color: #f1a900;
}

.snarl-notification.tr-grey * {
    /* Trail Gray */
    color: #7E9AB8;
}

.snarl-notification a {
    text-decoration: underline;
}