/*
 * @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, 3px 3px 3px 3px);
    display: block;
    min-height: 56px;
    min-width: 360px;
    max-width: 480px;
    color: #fff;
    margin: 0 auto 0 -50%;
    padding: 7.5px;
    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: 5px;
    margin: 0 auto;
    font-size: 0.7em;
    opacity: 0.5;
    text-align: center; }
  ema-flash-message .primary {
    background-color: var(--ema-primary, #007bff); }
  ema-flash-message .secondary, ema-flash-message .success {
    background-color: #82db88; }
  ema-flash-message .danger {
    background-color: #f53d3d; }
  ema-flash-message .light {
    background-color: var(--ema-background-primary, rgba(243, 243, 243, 0.97)); }
  ema-flash-message .dark {
    background-color: #222; }
