.bg-underlay {
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

#proof-drawer {
  z-index: 1;
  position: fixed;
  top: 60%;
  transform: translateY(-60%);
  /* overflow: hidden; */
  transition: left 0.3s;
  display: flex;
}

#proof-drawer {
  left: -200px;
}

#proof-drawer.with-proof-form {
  left: -550px;
}

#proof-drawer:hover,
#proof-drawer.with-proof-form:hover,
#proof-drawer.pinned{
  left: 0;
}

.proof-drawer-inner {
  background-color: #fff;
  position: relative;
  overflow-y: scroll;
  height: 50vh;
  max-height: 540px;
  width: 200px;
  flex: 1;
}

#proof-drawer.with-proof-form .proof-drawer-inner {
  width: 550px;
  height: 100%;
}
.proof-drawer-html {
  font-size: 12px;
}

.proof-drawer-html {
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding: 20px;
}

#proof-drawer .proof-drawer-list {
  padding: 20px;
}

#proof-drawer .proof-drawer-list .proof-drawer-images li {
  position: relative;
}

#proof-drawer .proof-drawer-list li + li {
  margin-top: 25px;
}

#proof-drawer .proof-drawer-list .proof-code {
  background-color: #B5E5F1;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 100%;
  margin-bottom: 15px;
  text-align: center;
  border-radius: 6px;
}

#proof-drawer .proof-drawer-list .proof-thumb {
  cursor: zoom-in;
  width: 91px;
  height: 91px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 1px solid rgb(180, 180, 180);
  background-color: #E5E5E5;
  border-radius: 8px;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
}

#proof-drawer .proof-drawer-list .proof-thumb > span {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

#proof-drawer .proof-drawer-list .proof-thumb img {
  margin: 0 auto;
  max-width: 90px;
  max-height: 90px;
  vertical-align: middle;
}

#proof-drawer .proof-drawer-list .proof-filename {
  background-color: #fff;
  border: 1px solid rgb(180, 180, 180);
  border-radius: 8px;
  position: absolute;
  left: 50%;
  bottom: -5px;
  padding: .25em;
  max-width: 75px;
  display: block;
  transform: translateX(-50%);
  overflow: hidden;
  font-size: 11px;
}

#proof-drawer .button.reset {
  background: #EA8787;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 100%;
  color: #fff;
  border: 0;
}

.proof-button-container {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  background-color: #fff;
  border-top: 1px solid #ccc;
}

.proof-tab, .proof-pin {
  display: none;
  background-color: #EA8787;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: .25em;
  height: fit-content;
}

.proof-pin {
  display: block;
  padding: .5em;
  background-color: #EA8787;
  box-shadow: 1px 1px 5px -1px rgba(0,0,0,0.75);
}

#proof-drawer:hover .proof-pin,
#proof-drawer.with-proof-form:hover .proof-pin {
  box-shadow: none;
}

#proof-drawer.pinned .proof-pin {
  background-color: #87EA87;
  box-shadow: none;
}

.swal2-html-container .proof-drawer-list {
  margin-bottom: 0;
}

.swal2-html-container .proof-drawer-images li {
  padding: 10px 0;
}

.swal2-html-container .proof-thumb {
  cursor: zoom-in;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.swal-proof-title {
  padding: 0.5em 1em 0;
  font-size: 1.125em;
}

.swal-proof-html-container {
  font-size: 1.5em;
}

@media only screen and (max-width: 767px) {
  #proof-drawer .proof-tab {
    display: block;
    box-shadow: 1px 1px 5px -1px rgba(0,0,0,0.75);
  }

  #proof-drawer .proof-pin {
    display: none;
  }

  #proof-drawer,
  #proof-drawer.pinned,
  #proof-drawer:hover {
    left: -200px;
  }

  #proof-drawer.with-proof-form,
  #proof-drawer.with-proof-form.pinned,
  #proof-drawer.with-proof-form:hover {
    left: -550px;
  }

  #proof-drawer .proof-drawer-inner {
    box-shadow: 1px 1px 5px -1px rgba(0,0,0,0.75);
  }

  .swal2-html-container.public-download-container .deliverable-image {
    width: auto;
    max-width: 100%;
  }

  .swal2-html-container.public-download-container .float-shadow {
    box-shadow: none;
  }

  .swal2-html-container.public-download-container > div {
    margin-bottom: 0!important;
  }
}
