/*
 * A STUDIO modal page (review/thanks), opened by js/studio.js over the page when the form has been sent.
 * STUDIO's own rules for its modals (design-canvas__modal); the page's own background goes to the backdrop.
 */
.design-canvas__modal {
  pointer-events: none;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: none;
  position: fixed;
  top: 0;
  left: 0;
}

.design-canvas__modal[hidden] {
  display: none;
}

.design-canvas__modal:focus {
  outline: none;
}

.design-canvas__modal .design-canvas__modal__base {
  pointer-events: auto;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: all .4s cubic-bezier(.4,.4,0,1);
  position: fixed;
  top: 0;
  left: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: default;
}

.design-canvas__modal .studio-canvas {
  pointer-events: none;
  height: 100%;
  transition: all .3s cubic-bezier(.4,.4,0,1);
}

.design-canvas__modal.isNone .studio-canvas,
.design-canvas__modal.isNone .design-canvas__modal__base {
  transition: none;
}

.design-canvas__modal .studio-canvas > * {
  pointer-events: none;
  background: 0 0 !important;
  height: 100%;
  min-height: 0;
}

/* STUDIO's elements take the clicks (.sd { pointer-events: all }) */
.design-canvas__modal .studio-canvas > * * {
  pointer-events: auto;
}

/* × above the text next to it */
.design-canvas__modal[data-vsm-modal="review/thanks"] [data-vsm-modal-close] {
  z-index: 5;
}
