/*
 * @emas/js-base default theme
 */
ema-flash-message {
  position: fixed;
  z-index: 31000;
  top: 0;
  left: 50%;
  transition: opacity 0.7s;
  display: none;
  align-items: center;
  justify-content: center; }
  ema-flash-message .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; }
  ema-flash-message .show {
    display: block;
    opacity: 1; }
  ema-flash-message .hide {
    display: none;
    opacity: 0; }
  ema-flash-message .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; }
  ema-flash-message .primary {
    background-color: var(--ema-primary); }
  ema-flash-message .secondary, ema-flash-message .success {
    background-color: var(--ema-success); }
  ema-flash-message .danger {
    background-color: var(--ema-danger); }
  ema-flash-message .light {
    background-color: var(--ema-background, white); }
  ema-flash-message .dark {
    background-color: var(--ema-background-diap); }
