/* One look for the information dialogs (catalogue, terms, privacy, contact ...), taken from the home page.
   Loaded after each page's own stylesheet. `:not(#_)` raises the specificity above page rules such as
   `.modal.catalog-dialog` without needing !important. Local edit, not part of the site build. */
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) {
  --dlg-ink: var(--ink, #0b2e46);
  --dlg-water: var(--water, #0c6096);
  position: fixed;
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: 85dvh;
  margin: auto;
  padding: 44px 45px 40px;
  border: 0;
  border-radius: 15px;
  color: var(--dlg-ink);
  background: #fff;
  box-shadow: 0 35px 90px #062b5040;
  overflow: auto;
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_)::backdrop {
  background: #032537b5;
  backdrop-filter: blur(5px);
}
/* Close button in the top right corner. */
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.dialog-close, [data-close]) {
  position: absolute;
  top: 13px;
  right: 13px;
}
/* Header wrapper of the static catalogue dialogs: no divider, no spacing of its own. */
dialog.catalog-dialog:not(#_) .modal-header {
  position: static;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
dialog.catalog-dialog:not(#_) .modal-body {
  padding: 0;
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) h2 {
  margin: 10px 0 22px;
  max-width: 95%;
  font-size: 32px;
  line-height: 1.2;
  color: var(--dlg-ink);
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) p:not(.eyebrow, .dialog-eyebrow) {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #405f73;
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.eyebrow, .dialog-eyebrow) {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dlg-water);
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.eyebrow, .dialog-eyebrow)::before {
  content: none;
}
/* The "not published yet" line is the last paragraph of the dialog (and of the info body). */
dialog.catalog-dialog:not(#_):not(#__) p:last-of-type:not(.eyebrow),
dialog:is(#page-dialog, #info-dialog, #content-dialog):not(#_):not(#__) .dialog-note,
dialog#info-dialog:not(#_):not(#__) #info-body p:last-of-type {
  margin-top: 22px;
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.85;
  background: #eef5f8;
  border: 0;
  border-left: 3px solid #7ea8be;
  border-radius: 0;
}
/* exhibitors.css forces .modal-body p to 13px with !important. */
dialog.catalog-dialog:not(#_) .modal-body p:not(.eyebrow) {
  font-size: 15px !important;
  line-height: 1.85 !important;
}
dialog.catalog-dialog:not(#_):not(#__) .modal-body p:last-of-type:not(.eyebrow) {
  font-size: 12px !important;
}
/* The close button is the only way out, as on the home page. */
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) .dialog-done {
  display: none;
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.dialog-close, [data-close]) {
  width: 42px;
  height: 42px;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 640px) {
  dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) {
    padding: 37px 25px 28px;
    border-radius: 12px;
  }
  dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) h2 {
    margin-top: 13px;
    font-size: 28px;
    line-height: 1.25;
  }
  dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) p:not(.eyebrow, .dialog-eyebrow) {
    font-size: 14px;
  }
  dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.dialog-close, [data-close]) {
    top: 8px;
    right: 8px;
  }
}
dialog:is(.catalog-dialog, #page-dialog, #info-dialog, #content-dialog):not(#_) :is(.dialog-close, [data-close]) .icon {
  width: 21px;
  height: 21px;
}
