/* === Automatically created from popup.scss - do not modify! === */

.pfy-default-styling.pfy-modal .pfy-popup-bg {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.pfy-default-styling:not(.pfy-modal) .pfy-popup-bg {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pfy-default-styling:not(.pfy-modal) .pfy-popup-bg .pfy-popup-wrapper {
  outline: 2px dashed red;
  background: yellow !important;
}
.pfy-default-styling .pfy-popup-bg > dialog, .pfy-default-styling .pfy-popup-bg > div {
  position: relative;
}
.pfy-default-styling .pfy-popup-src {
  display: none;
}
.pfy-default-styling .pfy-popup-wrapper {
  position: relative;
  max-width: 98%;
  vertical-align: middle;
  border: none;
  outline: 1px solid #444;
  border-radius: 8px;
  padding: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  overflow: hidden;
}
.pfy-default-styling .pfy-popup-header {
  position: relative;
  overflow: hidden;
  background: #666;
  user-select: none;
  margin-top: -1px;
  font-family: Helvetica, sans-serif;
}
.pfy-default-styling .pfy-popup-header > div {
  min-height: 2.4rem;
  padding: 0.5rem 1.7rem 0.5rem 1rem;
  color: #eee;
  font-size: 125%;
  cursor: grab;
}
.pfy-default-styling .pfy-popup-header .pfy-popup-close-button {
  color: #ddd;
}
.pfy-default-styling .pfy-popup-close-button {
  position: absolute;
  top: 0.4em;
  right: 0;
  background: transparent;
  color: #666;
  border: none;
  font-size: 130%;
}
.pfy-default-styling .pfy-popup-container {
  overflow-y: scroll;
  max-height: calc(100dvh - 8rem);
  padding: 1.6rem 1.6rem 0 1.6rem;
  margin-bottom: 1.4rem;
  font-family: Verdana, sans-serif;
}
.pfy-default-styling .pfy-popup-with-header .pfy-popup-close-button.pfy-popup-close-button {
  border: none;
  background: transparent;
}
.pfy-default-styling .pfy-popup-buttons {
  display: flex;
  justify-content: end;
  margin: 0 0.8rem 0.8rem 0;
}
.pfy-default-styling .pfy-popup-buttons button {
  margin-left: 5px;
}
.pfy-default-styling.pfy-no-scroll {
  overflow: hidden;
}
.pfy-default-styling .pfy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100vw - 30px);
  height: calc(100dvh - 20px);
  margin: 10px;
  padding: 20px;
  color: black;
  background: white;
  border: 1px solid orange;
  box-shadow: 0 0 15px 5px #444;
  box-sizing: border-box;
  overflow: auto;
  z-index: 100;
}
.pfy-default-styling .pfy-close-overlay {
  float: right;
  margin: -15px -15px 10px 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16pt;
  width: 2em;
  height: 2em;
}
#pfy.pfy-default-styling .pfy-popup-container.pfy-macro-help {
  margin: 2em 1em;
}
