/* ===== GALLERIA SLIDER ===== */

.galleria {
  position: relative;
  width: 100%;
}

/* slides */
.galleria > div {
  position: absolute;
  inset: 0;
  width: 100%;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.6s ease;
}

/* active slide */
.galleria > div.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* images */
.galleria img {
  display: block;
  width: 100%;
  height: auto;
}

/* caption */
.caption_bottom_white {
  position: absolute;
  top: 0;
  left: 0;

  width: 340px;
  height: 100%;

  padding: 20px;

  background: rgba(0, 45, 75, 0.72);

  color: #fff;

  box-sizing: border-box;

  overflow-y: auto;
  overflow-x: hidden;

  z-index: 2;
}

/* headline fix */
.caption_bottom_white h2 {
  color: #fff !important;
  margin-top: 0;
}

/* paragraph text */
.caption_bottom_white p {
  color: #fff;
}

/* buttons */
.galleria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.45);
  color: #fff;

  cursor: pointer;

  z-index: 10;

  font-size: 2rem;
  line-height: 44px;
  text-align: center;

  transition: background 0.2s ease;
}

.galleria-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.galleria-prev {
  left: 12px;
}

.galleria-next {
  right: 12px;
}

/* mobile */
@media (max-width: 768px) {
  .caption_bottom_white {
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
  }
}