/* = Dialogs
This can include modals, toasters, confirms. alerts.
============================ */
@svg-load close url("images/close.svg") {
  path {
    stroke: var(--color-icon-secondary);
  }
}
@svg-load close-secondary url("images/close.svg") {
  path {
    stroke: var(--color-icon-primary);
  }
}
/* vars */
.pngx-dialog {
  --pngx-dialog-background-color: #FFF;
  --pngx-dialog-close-background: none;
  --pngx-dialog-close-border-color: none;
  --pngx-dialog-close-border-width: 0px;
  --pngx-dialog-close-color: #000;
  --pngx-dialog-close-height: 36px;
  --pngx-dialog-close-height-desktop: 36px;
  --pngx-dialog-overlay-color: transparent;
  --pngx-modal-overlay-color: rgba(255,255,255,0.9);
  --pngx-dialog-border-radius: .25rem;
  --pngx-dialog-padding: 1rem;
  --pngx-dialog-padding-top: 1.5rem;
  --pngx-dialog-padding-side: 1.75rem;
}

/* The dialog/popup/modal itself */
.pngx-dialog {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1;
}
.pngx-dialog[aria-hidden=true] {
  display: none;
}

/* The trigger button" */
/* The overlay */
.pngx-dialog__overlay {
  background-color: var(--pngx-dialog-overlay-color);
  height: 100vh;
  left: 0;
  opacity: 0.9;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1;
}

/* Content wrapper - includes close button*/
.pngx-dialog__wrapper {
  background-color: var(--pngx-dialog-background-color);
  border-radius: var(--pngx-dialog-border-radius);
  box-shadow: 0 2px 54px 0 var(--pngx-modal-overlay-color);
  width: 800px;
  overflow-y: scroll;
  padding: var(--pngx-dialog-padding);
  max-height: 100vh;
  max-width: 100vw;
  z-index: 2;
}
.pngx-dialog__wrapper div[role=document] {
  align-items: flex-end;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  position: relative;
}
@media screen and (min-width: 768px) {
  .pngx-dialog__wrapper {
    max-height: calc(100vh - 160px);
    padding: var(--pngx-dialog-padding-top) var(--pngx-dialog-padding-side);
  }
}

/* The "close" button */
.pngx-dialog__close-button {
  background-color: var(--pngx-dialog-close-background);
  background-image: url("../images/close.svg");
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  height: var(--pngx-dialog-close-height);
  line-height: var(--pngx-dialog-close-height);
  padding: 0;
  position: absolute;
  width: var(--pngx-dialog-close-height);
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .pngx-dialog__close-button {
    height: var(--pngx-dialog-close-height-desktop);
    line-height: var(--pngx-dialog-close-height-desktop);
    width: var(--pngx-dialog-close-height-desktop);
  }
}
.pngx-dialog__close-button:focus, .pngx-dialog__close-button:hover {
  background-image: url("../images/close-secondary.svg");
  background-size: contain;
  background-color: var(--pngx-dialog-close-background);
}

.pngx-dialog__close-button--hidden {
  display: none;
}

.pngx-dialog__close-button--round {
  border-radius: 50%;
}

.pngx-dialog__close-button--border {
  border: var(--pngx-dialog-close-border-width) solid var(--pngx-dialog-close-border-color);
}

.pngx-dialog__title {
  align-self: flex-start;
  padding-right: calc(var(--pngx-dialog-close-height) + 0.5em);
  padding-top: 0;
}

/* The content container*/
.pngx-dialog__content {
  color: #141827;
  font-size: 14px;
  line-height: 1.64em;
  padding-right: 0;
  padding-top: calc(var(--pngx-dialog-close-height) + 0.5em);
  width: 100%;
}

.pngx-dialog__title + .pngx-dialog__content {
  padding: 0;
}

/* Modal Styles */
.pngx-modal__overlay {
  background-color: var(--pngx-modal-overlay-color);
}

/* Confirmation Styles */
.pngx-confirm__content {
  padding-right: 0;
}

.pngx-dialog__button_wrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
}