/* The Modal (background) */
.modal-background {
    display: block;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.5s;
    animation-name: fadeIn;
    animation-duration: 0.5s;
  }
  
  /* Modal Content */
  .modal-dialog {
    position: absolute;
    left: 0%;
    right: 0%;
    top: 50%;
    background-color: #fefefe;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 1.5s;
    animation-name: slideIn;
    animation-duration: 1.5s;
  }
  
  /* The Close Button */
  .modal-close-icon {
    color: #1ABC9C;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity: 1;
  }
  
  .modal-close-icon:hover,
  .modal-close-icon:focus {
    color: #28CDAC;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-dialog-header {
    background-color: #eeeeee;
    padding: 5px 20px;
  }
  
  .modal-dialog-body {
    font-size: 18px;
    padding: 5px 20px;
  }
  
  .modal-dialog-footer {
    padding: 5px 20px;
    background-color: #eeeeee;
  }

  .modal-dialog-footer .btn {
    display: inline-block;
    padding: 10px;
    margin: 5px;
  }
  
  /* Add Animation */
  @-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {top: 50%; opacity: 1}
  }
  
  @keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {top: 50%; opacity: 1}
  }
  
  @-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }
  
  @keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }