@import "fr-dialogmodal/dialogmodal.css";

/** @define Dialog; */

/* postcss-bem-linter: ignore */

.Dialog.fr-dialogmodal--is-ready[aria-hidden=false] {
  background-color: rgba(34, 34, 34, 0.8);
  box-shadow: 0 3.75em 0 0 rgba(34, 34, 34, 0.8);
  transition: background-color 0.15s ease-out;
}

.Dialog-content {
  max-height: 90%;
  overflow: auto;
}

.Dialog-content--centered {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-60%);
}

/* The Modal (background) */
#modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.15); /* Black w/ opacity */
  z-index: 1000;
}