﻿#toastbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 2000; /* Add a z-index if needed */
  left: 1%; /* Center the toastbar */
  bottom: 10px; /* 30px from the bottom */
  border:solid 1px #000;
  font-family:Play;
  font-size:12pt;
}
 

/* Show the toastbar when clicking on a button (class added with JavaScript) */
#toastbar.show {
  visibility: visible; /* Show the toastbar */
  /* Add animation: Take 0.5 seconds to fade in and out the toastbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 0s;
  animation: fadein 0.5s, fadeout 0.5s 0s;
}

/* Animations to fade the toastbar in and out */
@-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;}
} 


.bggreen{background-color:#083c04; color:#FFFFFF;}
.bgred{background-color:#EC3E3E; color:#FFFFFF;}
.bginfo{background-color:#3A85E6; color:#FFFFFF;}