/* The toast - position it at the bottom and in the middle of the screen */
#toast {
	visibility: hidden; /* Hidden by default. Visible on click */
	min-width: 250px; /* Set a default minimum width */
	margin-left: -125px; /* Divide value of min-width by 2 */
	text-align: center; /* Centered text */
	padding: 10px; /* Padding */
	position: fixed; /* Sit on top of the screen */
	z-index: 1000; /* Add a z-index if needed */
	left: 50%; /* Center the toast */
	bottom: 30px; /* 30px from the bottom */
	background-color: #51a351; /* Black background color */
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #fff;
    /* opacity: 1; */
	
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important;
}

/* Show the toast when clicking on a button (class added with JavaScript) */
#toast.show {
	visibility: visible; /* Show the toast */
	/* Add animation: Take 0.5 seconds to fade in and out the toast.
	However, delay the fade out process for 2.5 seconds */
	-webkit-animation: fadein 1s, fadeout 0.5s 4.5s;
	animation: fadein 1s, fadeout 0.5s 4.5s;
}

/* Animations to fade the toast in and out */
@-webkit-keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 30px; opacity: 0.9;}
}

@keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 30px; opacity: 0.9;}
}

@-webkit-keyframes fadeout {
	from {bottom: 30px; opacity: 0.9;}
	to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
	from {bottom: 30px; opacity: 0.9;}
	to {bottom: 0; opacity: 0;}
}