.toast-title {
  font-weight: bold;
}
.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
}
.toast-message a,
.toast-message label {
  color: #00072b;
  text-decoration: underline;
}
.toast-message a:hover {
  color: #00072b;
  text-decoration: none;
}
.toast-message svg {
  float: left;
  width: 30px;
  height: 30px;
  &, & * {
    fill: #00072b;
  }
}
.toast-message{
  p{padding-left:45px;}
}
.toast-close-button {
  position: absolute;
  right: 15px;
  top: 6px;
  font-size: 20px;
  color: #00072b;
  line-height: 1;
  svg {
    width: 10px;
    height: 10px;
    &, & * {
      fill: #00072b;
    }
  }
}
.toast-close-button:hover,
.toast-close-button:focus {
  color: #00072b;
  text-decoration: none;
  cursor: pointer;
}

/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-left {
  top: 30px;
  left: 30px;
}
.toast-top-right {
  top: 30px;
  right: 30px;
}
.toast-bottom-right {
  right: 30px;
  bottom: 0;
}
.toast-bottom-left {
  bottom: 0;
  left: 30px;
}
#toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  /*overrides*/
}
#toast-container * {
  box-sizing: border-box;
}
#toast-container > div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 30px;
  padding: 15px 30px 15px 15px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 2px 3px 5px rgba(53, 73, 90, 0.34);
  color: #00072b;
  border:1px solid #fff;
}
#toast-container > div:hover {
  cursor: pointer;
}
#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
#toast-container.toast-top-full-width > div,
#toast-container.toast-bottom-full-width > div {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.toast {
  background-color: $brand-yellow;
}
.toast-success {
  //background-color: #51A351;
  background-color: rgba(#51A351, 0.85);
  transition: background 0.3s;
  &:hover {
    background-color: rgba(#51A351, 1);
  }
  .toast-message {
    color:#fff;
    a, a:hover, a:focus, label {
      color: #fff;
    }
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
  .toast-close-button {
    color:#fff;
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
}
.toast-error {
  //background-color: #BD362F;
  background-color: rgba(#BD362F, 0.85);
  transition: background 0.3s;
  &:hover {
    background-color: rgba(#BD362F, 1);
  }
  .toast-message {
    color:#fff;
    a, a:hover, a:focus, label {
      color: #fff;
    }
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
  .toast-close-button {
    color:#fff;
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
}
.toast-info {
  background-color: rgba($brand-navy, 0.85);
  transition: background 0.3s;
  &:hover {
    background-color: rgba($brand-navy, 1);
  }
  .toast-message {
    color:#fff;
    a, a:hover, a:focus, label {
      color: #fff;
    }
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
  .toast-close-button {
    color:#fff;
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
}
.toast-warning {
  background-color: rgba($brand-yellow, 0.85);
  transition: background 0.3s;
  &:hover {
    background-color: rgba($brand-yellow, 1);
  }
  .toast-message {
    color:#fff;
    a, a:hover, a:focus, label {
      color: #fff;
    }
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
  .toast-close-button {
    color:#fff;
    svg {
      &, & * {
        fill: #fff;
      }
    }
  }
}
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000000;
}
/*Responsive Design*/
@media (max-width: 480px) {
  .toast-bottom-right {
    right: 0;
    bottom: 0;
    &#toast-container > div {
      width: auto;
      margin: 0 30px 30px 30px;
    }
  }
}
