/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar-container {
    position: fixed;
    bottom: 0px;
    right: 40px;
    min-width: 250px;
	/* z-index:1051; */
    z-index:999999;
}
#snackbar-container-bottom-left {
    position: fixed;
    bottom: 0px;
    left: 40px;
    min-width: 250px;
	/* z-index:1051; */
    z-index:999999;
}
#snackbar-container-top-right {
    position: fixed;
    top: 62px;
    right: 40px;
    min-width: 250px;
	/* z-index:1051; */
    z-index:999999;
}
#snackbar-container-top-left {
    position: fixed;
    top: 62px;
    left: 40px;
    min-width: 250px;
	/* z-index:1051; */
    z-index:999999;
}
.snackbar {
	display: none; /* Hidden by default. Visible on click */
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}
.snackbar-danger, .snackbar-error {
    background-color: rgb(220 53 69 / 0.80);
}
.snackbar-success {
    background-color: rgb(40 167 69 / 0.80);
}
.snackbar-default {
    background-color: rgb(51 51 51 / 0.80);
}
.snackbar-info {
    background-color: rgb(23 162 184 / 0.80);
}
.snackbar-primary {
    background-color: rgb(0 123 255 / 0.80);
}
.snackbar-warning {
    background-color: rgb(255 193 7 / 0.80);
}
/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
	from {opacity: 0;}
	to {opacity: 1;}
}

@keyframes fadein {
	from {opacity: 0;}
	to {opacity: 1;}
}

@-webkit-keyframes fadeout {
	from {opacity: 1;}
	to {opacity: 0;}
}

@keyframes fadeout {
	from {opacity: 1;}
	to {opacity: 0;}
}

/* Mobile view: Center snackbar on the bottom for small screens */
@media (max-width: 768px) {

    #snackbar-container {
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%); /*Centers horizontally */
    }
   
}