@media (min-width: 768px) {
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
}
#carousel {
  box-shadow: 1px 1px 8px #626262;
}
.carousel-arrow {
  background-color: rgba(60, 60, 60, 0.5) !important;
  opacity: 0.8 !important;
  transition: background-color 0.2s;
  transition: opacity 0.2s;
  height: 25%;
  width: 10%;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1 !important;
  background-color: rgba(200, 200, 200, 0.7) !important;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23707070' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23707070' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-item img {
  object-fit: cover;
  min-height: 376px;
}

.carousel-indicators li {
  background-color: lightgray;
}

.carousel-indicators li.active {
  background-color: black;
}

/* Caption */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: gray;
  opacity: 0;
  transition: opacity 0.2s;
  padding-top: 5px;
  padding-bottom: 5px;
}

.carousel-item:hover .carousel-caption,
.carousel-arrow:hover ~ .carousel-inner .carousel-item .carousel-caption,
.carousel-arrow:hover ~ .carousel-body .carousel-caption {
  opacity: 0.8;
}

.carousel-wrapper {
  padding-left: 10px;
  padding-right: 10px;
}
.carousel-caption h5 {
  color: white;
}
.carousel-caption p {
  font-size: 12px;
  color: white;
}

.carousel img {
  overflow: hidden;
  max-height: 376px;
}

/*lightbox*/
body > * {
  margin-top: 0px;
  margin-bottom: 0px;
}
.modal > * {
  margin: 0px;
}

.modal.show {
  display: inline-block !important;
}
.modal-content {
  border: 0px;
  padding: 10px;
}
.modal-dialog {
  display: inline-block;
  position: static;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.05px !important;
  opacity: 1;
}

.modal-content {
  height: 100% !important;
  max-width: 100vw !important;
  width: 100%;
  min-height: 100% !important;
  border-radius: 0 !important;
  background-color: rgba(0, 0, 0, 0.8);
}

#lightbox {
  padding-left: 0 !important;
}
#lightbox .carousel-inner {
  width: auto;
  flex-grow: 1;
  position: static;
}

#lightbox .carousel-inner img {
  margin: auto;
}

#lightbox .carousel-item {
  width: auto;
  margin: auto;
}
#lightbox .carousel-arrow {
  width: 15%;
  max-width: 150px;
  height: 100%;
}

#lightbox .carousel-body {
  display: flex;
  flex-flow: column;
  min-width: 70%;
  height: 100%;
  max-width: 70%;
  padding-top: auto;
  padding-bottom: auto;
  height: 100%;
}
#lightbox .carousel-body > * {
  margin: 0px;
}

#lightbox .carousel-body ol {
  padding-top: 5px;
  padding-bottom: 5px;
}
#lightbox .carousel-text {
  color: white;
  padding: 10px;
}

#lightbox .carousel-indicators {
  position: static;
  margin-top: auto;
}
#lightbox .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

#lightbox .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

#lightbox .close {
  margin-left: auto;
  outline: none;
}

#lightbox .close:active {
  border: none;
}
#lightbox .close span {
  color: white;
  font-size: 48px;
}
