/* WordPress Dashicons Vars */
/* generated from https://raw.githubusercontent.com/WordPress/dashicons/master/codepoints.json */
#the-paste {
  width: 0;
  height: 0;
  overflow: hidden;
  position: fixed;
  left: 100%;
  top: 0;
  z-index: -1;
  /*/
  // Testing mode
  width: 0;
  height: 0;
  position: fixed;
  left: -9999px;
  background-color: #fff;
  border: 1px solid currentColor;
  box-sizing: border-box;
  z-index: -1;
  &:focus,
  &:focus-within {
  	left: 30px;
  	top:30px;
  	width: 200px;
  	height: 500px;
  	outline: 3px solid currentColor;
  	outline-offset: 3px;
  	z-index: 9999;
  }
  //*/
}

.the-paste-instructions body:not(:focus-within) {
  display: none;
}
.media-frame-title .the-paste-instructions, .media-toolbar .the-paste-instructions {
  white-space: nowrap;
}
.media-frame-title .the-paste-instructions:not([hidden]), .media-toolbar .the-paste-instructions:not([hidden]) {
  display: inline-block;
}
.media-frame-title .the-paste-instructions .upload-instructions, .media-toolbar .the-paste-instructions .upload-instructions {
  display: none;
}
.media-modal-content .media-toolbar .the-paste-instructions {
  display: none;
}
.media-frame-title > .the-paste-instructions:not([hidden]) {
  position: absolute;
  right: 56px;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
}

.the-paste-image-list {
  background-color: #f0f0f1;
  height: 100%;
}
.the-paste-image-list .media-frame-title {
  left: 0;
  background-color: #fff;
}
.the-paste-image-list .content {
  position: absolute;
  left: 0;
  top: 50px;
  bottom: 100px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  grid-template-rows: repeat(auto-fit, -webkit-min-content);
  grid-template-rows: repeat(auto-fit, min-content);
  grid-gap: 1em;
  border: 1em solid #f0f0f1;
  overflow: auto;
}
.the-paste-image-list .media-frame-toolbar {
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  background-color: #fff;
  text-align: right;
}
.the-paste-image-list .media-frame-toolbar button {
  margin-left: auto;
}
.the-paste-image-list button[type=button] {
  line-height: 1.5;
  padding: 0.5em 1em;
}
.the-paste-image-list button[type=button] span {
  display: block;
  margin: auto;
}

.the-paste-image-list-item {
  --toolbar-size: 100px;
  container-type: inline-size;
  container-name: thePasteItem;
  display: grid;
  grid-template-areas: "canvas" "name";
  grid-template-rows: calc(100% - 2em - var(--toolbar-size)) var(--toolbar-size);
  grid-gap: 1em 2em;
  padding: 1em;
  background-color: #fff;
  height: 100%;
  min-height: 450px;
  overflow: hidden;
  box-sizing: border-box;
}
.the-paste-image-list-item canvas {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%), linear-gradient(135deg, #c3c4c7 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #c3c4c7 75%), linear-gradient(135deg, transparent 75%, #c3c4c7 75%);
  background-size: 25px 25px; /* Must be a square */
  background-position: 0 0, 12.5px 0, 12.5px -12.5px, 0px 12.5px; /* Must be half of one side of the square */
}
.the-paste-image-list-item canvas, .the-paste-image-list-item canvas + img {
  grid-area: canvas;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
@container (width > 700px) {
  .the-paste-image-list-item canvas, .the-paste-image-list-item canvas + img {
    max-width: calc(100% - 2em);
  }
}
.the-paste-image-list-item .the-paste-toolbar {
  grid-area: name;
  color: #646970;
  display: grid;
  grid-template-columns: -webkit-min-content auto -webkit-min-content;
  grid-template-columns: min-content auto min-content;
  grid-template-rows: auto 3em;
  grid-gap: 1em 3em;
  margin: 0;
  height: var(--toolbar-size);
}
@container (width > 700px) {
  .the-paste-image-list-item .the-paste-toolbar {
    margin: 1em;
  }
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-filename {
  grid-column: 1/span 2;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-format {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 1em;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-format label {
  display: flex;
  align-items: center;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-quality {
  display: flex;
  grid-gap: 1em;
  align-items: center;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-quality :first-child {
  width: -webkit-max-content;
  width: max-content;
  margin-left: auto;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-quality [type=range] {
  flex: 1 1 auto;
  max-width: 300px;
}
.the-paste-image-list-item .the-paste-toolbar .the-paste-quality [type=number] {
  width: 5em;
}
.the-paste-image-list-item .the-paste-toolbar [name=discard] {
  grid-column: 3;
  grid-row: 1/span 2;
  margin: 18px 0 auto 0;
}
.the-paste-image-list-item .the-paste-toolbar [name=discard], .the-paste-image-list-item .the-paste-toolbar [name=discard]:hover, .the-paste-image-list-item .the-paste-toolbar [name=discard]:focus {
  border-color: currentColor;
}
.the-paste-image-list-item .the-paste-toolbar [name=discard]:focus {
  box-shadow: 0 0 0 1px currentColor;
}
.the-paste-image-list-item .the-paste-toolbar [type=text] {
  display: block;
  width: 100%;
  font-size: 1.3em;
}
.the-paste-image-list-item .the-paste-format {
  margin: auto 0;
}
/*# sourceMappingURL=the-paste.css.map */
