
.image\/svg\+xml.attachment-thumbnail img {
  width: 100px;
  height: 100px;
}

label[for^="sham_"] {
  display: block;
  position: fixed;
  padding: 5px;
  font-size: 30pt;
  font-weight: bold;
  z-index: 11;
  left: 5px;
  top: 5px;
  background-color: transparent;
  color: white;
  caret-color: transparent;
}

form.galleryview input:checked + div.attachment {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  padding: 20px;
  text-align: center;
  height: 100%;
  clip: auto;
  margin: 0;
  
}
form.galleryview input:checked + div.attachment div.description {
  text-align: center;
}
label.attachment img.mini {
  max-width: 60px;
  max-height: 60px;
  display: inline-block;
  overflow: scroll;
  font-size: 6pt;
}

form.galleryview input {
  display: none;
}
form.galleryview div.attachment.preview {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

form.galleryview input[id^="sham_"]:checked + label {
  display: none;
}

div.attachments div[class^="image"] img {
  width: 90%;
  max-height: 90%;
/*  border: 2px solid #aaa; */
  padding: 2px;
  margin-top: 12px;
  object-fit: contain;
}

form.galleryview input:checked + div.attachment div.description {
  text-align: center;
}
div.attachments div[class^="image"] img {
    max-width: 400px;
    max-height: 400px;
    border: 2px solid #aaa;
    padding: 2px;
    margin-top: 12px;
}

.image\/svg\+xml.attachment-thumbnail img {
  width: 100px;
  height: 100px;
}

label[for^="sham_"] {
  display: block;
  position: fixed;
  left: 5px;
  top: 5px;
  background-color: rgba(255,255,255,0.8);
  padding: 5px;
  font-size: 30pt;
  font-weight: bold;
  z-index: 11;
  text-shadow: 0 0 5px black;
}
form.galleryview input:checked + div.attachment {
  display: block;
  position: fixed;
  z-index: 10;
  background-color: rgba(255,255,255,0.9);
  padding: 20px;
  text-align: center;
}
form.galleryview input:checked + div.attachment div.description {
  text-align: center;
}
label.attachment img.mini {
  max-width: 60px;
  max-height: 60px;
  display: inline-block;
  overflow: scroll;
  font-size: 6pt;
}

/*
form.galleryview input, form.galleryview a.original {
  display: none;
}
*/
form.galleryview input, form.galleryview div.attachment.preview {
  display: none;
}

/*
form.galleryview input:checked + a.original {
  display: block;
}
*/
/*
form.galleryview input:checked + div.attachment {
  display: block;
}
*/

/*
form.galleryview input#sham:checked + label {
  display: none;

*/
form.galleryview input[id^="sham_"]:checked + label {
  display: none;
}

/*
div.attachment-preview {
  display: none;
}

div.attachment-thumbnail {
  display: inline-block;
}

div.attachment-thumbnail:hover + div.attachment-preview {
  display: block;
  position: absolute;
  left: 150px;
  top: -350px;
} */

/*div.attachment-preview:nth-child(2) {
  display: block;
  position: absolute;
}*/
