/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.mbag-place > button.prev-button,
.mbag-place > button.next-button {
  width: 3rem !important;
}

.mbag-place .mbag-place-name {
  font-weight: bold;
}

.mbag-place-item {
  margin-bottom: 10px;
}

.mbag-place .slideshow {
  position: relative;
  width: 100%;
  min-height: 390px;
  overflow: hidden;
  max-height: 100%;
}

.mbag-place .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mbag-place .slide.active {
  opacity: 1;
}

.mbag-place .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbag-place .slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.mbag-place .slide-info h3 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.mbag-place .slide-info p {
  margin: 5px 0 0;
  font-size: 16px;
}

.mbag-place .prev-button,
.mbag-place .next-button {
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 2rem;
  /* update 20230726 */
  padding: 0 10px 0 10px;
}

.mbag-place {
  position: relative;
}

.mbag-place .prev-button {
  left: 0;
}

.mbag-place .next-button {
  right: 0;
}

.mbag-place .prev-button:hover,
.mbag-place .next-button:hover {
  background-color: rgba(234, 232, 231, 0.382);
  font-weight: bold;
}

.mbag-place .slideshow .slide .image-wrapper {
  max-width: unset;
  position: unset;;
  display: unset;
  table-layout: unset;
  width: unset;
  max-width: unset;
  min-height: unset;
}
.mbag-place .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbag-place .info-name {
  font-weight: bold;
}

.mbag-place .galeri-vertikal .item {
  margin-bottom: 20px;
}

/* update styling vertikal 20230726 */
.galeri-vertikal.style-2 > .item {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.galeri-vertikal.style-2 > .item > .image-wrapper {
  min-width: 350px !important;
  max-width: 350px !important;
}

.galeri-vertikal.style-2 > .item > img {
  width: 100%;
  min-width: 350px !important;
  max-width: 350px !important;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.galeri-vertikal.style-2 > .item img {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 250px;
}

.galeri-vertikal.style-2 > .item .aspect-ratio-filler {
  padding-bottom: unset !important;
}

.galeri-vertikal.style-2 > .item > .info-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.galeri-vertikal.style-2 > .item > .info-wrapper > .info-name,
.galeri-vertikal.style-2 > .item > .info-wrapper > .info-rating,
.galeri-vertikal.style-2 > .item > .info-wrapper > .info-address {
  margin: 0;
  font-size: 16px;
  padding: 0;
}

/* end styling vertikal 20230726 */

@media screen and (max-width: 600px) {
  .mbag-place .slide-info h3 {
    font-size: 20px;
  }

  /* update styling vertikal 20230726 */
  .mbag-place .slideshow {
    min-height: 330px;
  }

  .mbag-place > .galeri-vertikal.style-2 > .item {
    display: block;
  }

  .galeri-vertikal.style-2 > .item > .image-wrapper {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .mbag-place > .galeri-vertikal.style-2 > .item > img {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    min-width: unset !important;
  }

  .mbag-place > .galeri-vertikal.style-2 > .item > .info-wrapper {
    position: relative;
    margin: -4rem 0 1rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
  }

  .mbag-place > .galeri-vertikal.style-2 > .item {
    margin-bottom: 1rem;
  }

  /* end styling vertikal 20230726 */
}
