/* DeleteOwnPhoto - floating trash button for picture view */
.dop-trash-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
  opacity: .85;
}
.dop-trash-btn:hover { opacity: 1; transform: scale(1.05); }
.dop-trash-btn svg { fill: #fff; }

/* Thumbnail overlay version */
.dop-thumb-trash {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: .0;
  transition: opacity .18s ease, transform .18s ease;
}
.dop-thumb-trash svg { fill: #fff; }

/* Reveal on hover of container */
.thumbnail:hover .dop-thumb-trash,
.thumbnailCategory:hover .dop-thumb-trash,
.thumb:hover .dop-thumb-trash,
.imageCategory:hover .dop-thumb-trash,
.grid-item:hover .dop-thumb-trash,
.col:hover .dop-thumb-trash {
  opacity: 1;
}

#theImage, .imageContainer, .contentWithMenu, #theImage img {
  position: relative;
}

/* PhotoSwipe top-bar delete button sizing */
.pswp__button--delete {
  width: 44px;
  height: 44px;
  margin: 0 3px;
  opacity: 0.85;
  background: none;
  border: 0;
  cursor: pointer;
}
.pswp__button--delete:hover { opacity: 1; }
.pswp__button--delete svg { vertical-align: middle; }
