@charset "utf-8";

#custom-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  font-size: 32px;
  color: #004d9e;
  /*
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  line-height: 1;
  */
  cursor: pointer;
}

/* Scheißbox bisschen responsive machen */
#jquery-lightbox {
  max-width: 100vw !important;  /* max Breite 100% des Viewports */
  max-height: 100vh !important; /* max Höhe 100% des Viewports */
  overflow: auto !important;    /* Ermöglicht Scrollen bei zu großem Inhalt */
  box-sizing: border-box;
  padding: 10px;
}

#lightbox-container-image-box {
  width: 100% !important;
  height: auto !important;
  max-width: 720px; /* Maximal so groß wie bisher */
  position: relative;
}

#lightbox-container-image-data-box {
  width: calc(100% - 20px) !important;
  max-width: 700px;
  box-sizing: content-box;
  /* padding: 0 10px; */
}

#lightbox-container-image img#lightbox-image {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
/* / responsive */

#custom-lightbox-close i {
  font-size: 32px;
  /* font-family: Arial, sans-serif; /* Falls du es brauchst */
}

#lightbox-container-image-box {
	cursor: pointer;
}

#custom-lightbox-close:hover {
  /* background: rgba(0, 0, 0, 0.7); */
  color: #d24244;
}

#lightbox-container-image-data {
	position: relative;
	padding-bottom: 20px; /* Oder was dir gut aussieht */
}

#jquery-overlay {
  background-color: rgba(0, 0, 0, 0.8); /* Statt hex */
}