/* -----------------------------------------------
App Footer
----------------------------------------------- */

.b-alert {
  display: flex;
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0 0.25rem 0.25rem 0;
  transition: all 0.3s ease-in-out;
  background: #fff;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  border-left: 2px solid transparent;

  &.is-dismissible {
    padding-right: 3rem;
  }

  &.is-visible {
    visibility: visible;
    pointer-events: all;
    opacity: 1;
    max-height: 100%;
  }

  &.is-hidden {
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    padding: 0 1.25rem;
    margin: 0;
    opacity: 0;
  }

  &.info {
    border-color: #016597;
  }

  &.success {
    border-color: #56be43;
  }

  &.danger {
    border-color: #f04437;
  }

  &.warning {
    border-color: #fc751a;
  }

  hr {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
}

.b-alert-icon {
  width: 1rem;
  margin-right: 1rem;
}

.b-alert-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem 1rem;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 300;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.4s;

  &:focus {
    outline: none;
  }

  &:hover {
    opacity: 1;
  }
}