/*! toasting v0.1 | MIT License | https://github.com/tharith-p/toasting */
#tg-container {
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: fixed;
    width: auto
}

  #tg-container * {
    margin: 0;
    padding: 0
}

  #tg-container *, #tg-container :after, #tg-container :before {
    box-sizing: border-box
}

#tg-container .tg-toast {
    align-self: flex-end;
    display: inline-block;
    overflow: auto;
    animation-duration: .3s;
    animation-name: a;
    animation-timing-function: cubic-bezier(.215, .61, .355, 1)
}

#tg-container .tg-toast a, #tg-container .tg-toast a:hover {
    color: #549edb!important;
    text-decoration: none!important
}

#tg-container .tg-toast>div {
    background-color: #fff;
    min-width: 200px;
    max-width: 400px;
    margin: 5px 20px;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .19);
    position: relative;
    cursor: pointer;
    overflow-y: hidden
}

#tg-container .tg-toast>div.tg-success {
    background-color: #51c625
}

#tg-container .tg-toast>div.tg-success .tg-text, #tg-container .tg-toast>div.tg-success .tg-title {
    color: #fff
}

#tg-container .tg-toast>div.tg-success .progress-bar {
    background-color: #fff
}

#tg-container .tg-toast>div.tg-warning {
    background-color: #db9215
}

#tg-container .tg-toast>div.tg-warning .tg-text, #tg-container .tg-toast>div.tg-warning .tg-title {
    color: #fff
}

#tg-container .tg-toast>div.tg-warning .progress-bar {
    background-color: #fff
}

#tg-container .tg-toast>div.tg-error {
    background-color: #db2b1d
}

#tg-container .tg-toast>div.tg-error .tg-text, #tg-container .tg-toast>div.tg-error .tg-title {
    color: #fff
}

#tg-container .tg-toast>div.tg-error .progress-bar {
    background-color: #fff
}

#tg-container .tg-toast>div.tg-info {
    background-color: #27abdb
}

#tg-container .tg-toast>div.tg-info .tg-text, #tg-container .tg-toast>div.tg-info .tg-title {
    color: #fff
}

#tg-container .tg-toast>div.tg-info .progress-bar {
    background-color: #fff
}

#tg-container .tg-toast>div .progress-bar {
    opacity: .5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    position: absolute;
    background: gray
}

#tg-container .tg-toast>div .progress-bar.rainbow {
    opacity: .6;
    background: #002024;
    background: linear-gradient(45deg, #002024, #a72c86 48%, #00d4ff)
}

#tg-container .tg-toast>div .tg-title {
    font-weight: 700;
    font-size: 15px;
    color: #616161
}

#tg-container .tg-toast>div .tg-text {
    line-height: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #616161
}

#tg-container .tg-toast>div .tg-icon {
    top: 5px;
    left: -40px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    position: absolute;
    background: #fff
}

#tg-container .tg-fadeOut {
    animation-name: b;
    animation-duration: .6s;
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
    animation-fill-mode: forwards;
    overflow: hidden
}

@keyframes a {
    0% {
        transform: translate3d(400px, 0, 0);
        opacity: 0
    }
    50% {
        opacity: 1
    }
    80% {
        transform: translate3d(-15px, 0, 0)
    }
    to {
        transform: translateZ(0)
    }
}

@keyframes b {
    0% {
        transform: translateZ(0)
    }
    15% {
        transform: translate3d(-15px, 0, 0)
    }
    40% {
        opacity: 1
    }
    50% {
        transform: translate3d(400px, 0, 0);
        opacity: 0;
        max-height: 250px
    }
    to {
        transform: translate3d(400px, 0, 0);
        opacity: 0;
        max-height: 0
    }
}