/* Images compare main container */
.images-compare-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Images compare front element */
.images-compare-before {
    will-change: clip;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Images compare back element */
.images-compare-after {
    pointer-events: none;
}

/* Responsive image settings */
.images-compare-before img, .images-compare-after img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Separator (thin vertical blank line) */
.images-compare-separator {
    position: absolute;
    background: white;
    height: 100%;
    width: 1px;
    z-index: 4;
    left: 0;
    top: 0;
}

/* Drag handle (circle) */
.images-compare-handle {
    height: 38px;
    width: 38px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    border: 3px solid white;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
    -webkit-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    z-index: 3;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Drag handle arrows */
.images-compare-left-arrow, .images-compare-right-arrow {
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}

.images-compare-left-arrow {
    border-right: 6px solid white;
    left: 50%;
    margin-left: -17px;
}

.images-compare-right-arrow {
    border-left: 6px solid white;
    right: 50%;
    margin-right: -17px;
}

/* Label */
.images-compare-label {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    color: rgb(0, 0, 0);
    color: rgba(0, 0, 0, 0.4);
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
}

.images-compare-before .images-compare-label {
    left: 10px;
}

.images-compare-after .images-compare-label {
    left: auto;
    right: 10px;
}


* {
  font-family: helvetica;
}

#addPhoto, #addPhotoDate, #uploadPhotoDate, #photoLightbox, #editPhotoDate {
  display: none;
}

#addPhotoButton {
  position: fixed;
  top: 5px;
  right: 10px;
  height: 25px;
  margin: 0px;
}

.hidden {
  display: none;
}

#err {
  display: none;
  background: #f99 !important;
}

#info, #err {
  position: fixed;
  top: 0px;
  left: 00px;
  margin: 0px;
  border: 1px solid gray;
  border-bottom: 3px solid gray;
  padding: 10px;
  background: #ccddff;
  color: brown;
  font-weight: bold;
  z-index: 20;
}

#onePhoto {
  position: absolute;
  top: 70px;
  left: 10px;
}

.photoEditLink, .photoDateEditLink, .photoUpLink, .photoViewLink {
  font-size: 1em;
  color: blue;
  cursor: pointer;
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 5px;
}

.closeNewPhoto, .closeNewPhotoDate, .closeNewPhotoUp, .closePhotoLightbox {
  float: right;
  background: black;
  color: white;
  padding: 3px;
  cursor: pointer;
  font-size: 2em;
  font-family: helvetica;
}

.closeNewPhoto:hover, .closeNewPhotoDate:hover, .closeNewPhotoUp:hover, .closePhotoLightbox:hover {
  text-decoration: underline;
}

#addPhoto, #addPhotoDate, #uploadPhotoDate, #editPhotoDate {
  position: fixed;
  top: 30px;
  left: 10px;
  padding: 10px;
  width: 300px;
  background: tan;
  color: brown;
  z-index: 20;
  box-shadow: 2px 2px 1em black;
  border-radius: 5px;
}

#photoLightbox {
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.25);
  position: fixed;
  top: 0;
  left: 0;
}

.innerLightbox {
  position: fixed;
  width: 100%;
  top: 40px;
  height: 90%;
  margin: auto;
  background: #9999ff;
  padding: 5px;
  z-index: 30;
}

#photoLightboxImage {
  width: 100%;
}

.photoTypeHeader {
  font-size: 0.8em;
  cursor: pointer;
}

.individualPhoto {
  display: inline-block;
  margin-left: 10px;
  padding-left: 10px;
}

#gobetween a {
  padding: 0px 4px;
  font-size: 1.5em;
  color: maroon;
}

#gobetween a[href] {
  background: brown;
  color: yellow;
  text-decoration: none;
  border-radius: 10px;
}

.isDone {
  color: red;
}

.bad::before {
  content: "🙁🙁";
}

.attention::before {
  content: "❗❗";
  color: red;
}

#photoHolder {
  display: none;
  background: #ffffcc;
  margin: 5px;
  margin-top: 100px;
}

#photoHolder div {
  display: inline-block;
  padding: 3px;
}

#photoHolder img {
  cursor: pointer;
}

#photoOverlay {
  width: 400px;
}

#leftRight {
  text-align: right;
  background: #eee;
  padding: 3px;
  font-family: Helvetica, arial, sans-serif;
  margin-left: 50%;
}
