/* #region "../src/elements/popup/popup.scss" */
/*
- type: css
*/
/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.popup-wrap {
  background-color: rgb(var(--black-rgb)/20%);
  position: fixed;
  top: var(--admin-bar-height, 0px);
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  /*
   * Prevent styles being overwritten e.g. wehen placing a popup inside a grid.
   * The popup should always overlay whole screen.
   */
  width: 100vw !important;
  max-width: 100vw !important;
  height: calc(100vh - var(--admin-bar-height)) !important;
  max-height: 100vh !important;
  margin: 0 !important;
}

.popup-window {
  position: relative;
  background-color: var(--support-color);
  box-shadow: 0 0 2rem rga(var(--black-rgb)/20%);
  min-width: 300px;
  width: fit-content;
  max-width: min(590px, var(--100vw));
  min-height: 200px;
  max-height: calc(100vh - var(--admin-bar-height, 0px) - 2rem);
  margin: 1rem auto;
  display: flex;
  flex-flow: column;
  justify-content: stretch;
  overflow: auto;
}
.popup-window > .heading {
  display: flex;
}
.popup-window > .content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: /* grow(40, 80) */ clamp(2.5rem, 1.6666666667rem + 3.7037037037vw, 5rem) /* grow(20, 115) */ clamp(1.25rem, -0.7291666667rem + 8.7962962963vw, 7.1875rem);
}
.popup-window > .content > :first-child, .popup-window > .content > :where(link, a[name]):first-child + *, .popup-window > .content > :where(.text:first-child) > *:first-child, .popup-window > .content > :where(.text:first-child) > .lead-text:first-child > *:first-child {
  margin-top: 0;
}
.popup-window > .content > :last-child, .popup-window > .content > :where(.text:last-child) > *:last-child, .popup-window > .content > :where(.text:last-child) > .lead-text:last-child > *:last-child {
  margin-bottom: 0;
}
.popup-window > .content p {
  text-wrap: balance;
}
.popup-window .popup-button {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  word-spacing: inherit;
  white-space: nowrap;
  background: none;
  color: inherit;
  text-align: left;
  position: absolute;
  right: 35px;
  top: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.popup-window .popup-button:focus {
  outline: none;
}
.popup-window .popup-button.close-button {
  margin-left: auto;
}
.popup-window .popup-button.close-button img {
  width: 1.5rem;
}
/* #endregion "../src/elements/popup/popup.scss" */

head{--webpack--css-wpce--popup:&\.\.\/src\/elements\/popup\/popup\.scss;}
/*# sourceMappingURL=css-wpce--popup.css.map*/