﻿#snackbar {
    visibility: hidden;
    min-width: 400px;
    margin-left: -200px;
    background-color: #222C4C;
    color: #CED0D7;
    text-align: left;
    border-radius: 5px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 16px;
    overflow: hidden;
}
.notify-progress {
    height: 4px;
    display: block;
    width: 100%;
    bottom: 0;

}

.successClass, .SuccessClass {
    background-color: #82F19C;
    animation: decreaseBorderWidth 3s linear forwards;
}
.errorClass, .ErrorClass {
    background-color: #F18282;
    animation: decreaseBorderWidth 3s linear forwards;
}

.infoClass, .InfoClass {
    background-color: #F1E282;
    animation: decreaseBorderWidth 3s linear forwards;
}
/*#snackbar::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    animation: decreaseBorderWidth 3s linear forwards;
    background-color: #82F19C;
}*/
/*
.success::after, .Success::after {
    background-color: #82F19C;
}

.error::after, .Error::after {
    background-color: #F18282;
}

.info::after, .Info::after {
    background-color: #F1E282;
}*/

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3s;
    animation: fadein 0.5s, fadeout 0.5s 3s;
}

.massage-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

@keyframes decreaseBorderWidth {
    from {
        width: 100%;
    }

    to {
        width: 0; 
    }
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
