ema-flash-message {
  position: fixed;
  z-index: 31000;
  top: 0;
  left: 50%;
  transition: opacity 0.7s;
  display: none;
  align-items: center;
  justify-content: center;

  .flash-container {
    background-color: #000;
    border-radius: var(--ema-border-radius);
    display: block;
    min-height: 56px;
    min-width: 360px;
    max-width: 480px;
    color: var(--ema-light);
    margin: 0 auto 0 -50%;
    padding: var(--ema-padding, 0.5rem);
    text-align: center;
  }

  .show {
    display: block;
    opacity: 1;
  }

  .hide {
    display: none;
    opacity: 0;
  }

  .dismiss {
    cursor: pointer;
    position: absolute;
    min-width: 360px;
    bottom: var(--ema-padding, 0.5rem);
    margin: 0 auto;
    font-size: 0.7em;
    opacity: 0.5;
    text-align: center;
  }

  .primary {
    background-color: var(--ema-primary);
  }

  .secondary, .success {
    background-color: var(--ema-success);
  }

  .danger {
    background-color: var(--ema-danger);
  }

  .light {
    background-color: var(--ema-background, white);
  }

  .dark {
    background-color: var(--ema-background-diap);
  }

}

