@import url(https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:700,400,300);

.Message {
    display: table;
    position: fixed;
    top: 20px;
    right: 20px; /* Adjust as needed */
    width: 300px; /* Adjust as needed */
    background-color: #0074D9;
    color: #fff;
    transition: all 0.2s ease;
    z-index: 1000; /* Ensure it's above other elements */
  }
  
  .Message--orange {
    background-color: #F39C12;
  }
  
  .Message--red {
    background-color: #FF4136;
  }
  
  .Message--green {
    background-color: #2ECC40;
  }
  
  .Message-icon {
    display: table-cell;
    vertical-align: middle;
    width: 60px;
    padding: 30px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.25);
  }
  
  .Message-icon > i {
    width: 20px;
    font-size: 20px;
  }
  
  .Message-body {
    display: table-cell;
    vertical-align: middle;
    padding: 30px 20px 30px 10px;
  }
  
  .Message-body > p {
    line-height: 1.2;
    margin-top: 6px;
  }
  
  .Message-button {
    margin: 15px 5px -10px;
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 3px rgba(0, 0, 0, 0.4);
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-family: "Source Sans Pro";
    color: #fff;
    outline: none;
    cursor: pointer;
  }
  
  .Message-button:hover {
    background: rgba(0, 0, 0, 0.3);
  }
  
  .Message-button:active {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0px rgba(0, 0, 0, 0.4);
    top: 3px;
  }
  
  .Message-close {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    outline: none;
    font-size: 20px;
    right: 5px;
    top: 5px;
    opacity: 0;
    cursor: pointer;
  }
  
  .Message:hover .Message-close {
    opacity: 1;
  }
  
  .Message-close:hover {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .is-hidden {
    display: none;
  }