#alertBg {
  position: fixed;
  z-index: 100;
  padding-top: 90px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); /* Fallback */
  background-color: rgba(0,0,0,0.4);
  -webkit-animation-name: animatebg;
  -webkit-animation-duration: 0.2s;
  animation-name: animatebg;
  animation-duration: 0.2s
  }

#alertBox {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 5px;
  width: 500px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.2s;
  animation-name: animatetop;
  animation-duration: 0.2s;
  cursor: default;
  background-repeat: no-repeat;
  background-position: 20px 15px;
  background-size: 32px 32px;
  }

#alertBox.success {
  background-image: url('../images/icons/success.svg');
  }

#alertBox.warning {
  background-image: url('../images/icons/warning.svg');
  }

#alertBox.error {
  background-image: url('../images/icons/error.svg');
  }


/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-50px; opacity:0}
  to {top:0; opacity:1}
  }

@keyframes animatetop {
  from {top:-50px; opacity:0}
  to {top:0; opacity:1}
  }

@-webkit-keyframes animatebg {
  from {opacity:0}
  to {opacity:1}
  }

@keyframes animatebg {
  from {opacity:0}
  to {opacity:1}
  }

/* The Close Button */
#btnCloseAlert {
  color: #ccc;
  float: right;
  padding: 10px 15px;
  font-size: 32px;
  line-height: 100%;
  font-weight: bold;
  }

#btnCloseAlert:hover,
#btnCloseAlert:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  }

#alertContent {
  padding: 15px 20px;
  }

#alertContent h2 {
  margin: 0;
  line-height: 32px;
  padding: 0 0 0 50px;
  }

#alertContent ul {
  display: block;
  list-style-type: square;
  padding-left: 0;
  margin-left: 32px;
  }

#alertContent ul li {
  padding: 5px 0px;
  }