
.mmslider {
  display: block;
  overflow: hidden;
}
.mmslider-slide + .mmslider-slide {
  /* while loading, if no or badjs */
  display: none;
}

.mmslider-slide {
  text-align: center;
  max-height: 70vh;
}


.mmslider-slide::after {
  content: '';
  position: absolute;
  top: 40%;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.3) 50%, #000000 100%);
}

.mmslider-image {
  display: block;
}

.mmslider-text {
  display: block;
  position: relative;
  z-index: 2;
}
.mmslider-text .h1,
.mmslider-text p {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.owl-prev,
.owl-next {
  z-index: 20;
  position: absolute;
  top: auto;
  bottom: 0;
  overflow: hidden;
  cursor: pointer;
  width: 0;
  padding-left: 45px;
  height: 40px;
  opacity: 0;
  transition: 0.1s;
}

.owl-prev {
  left: -60px;
  background: url(../images/slider-prev.svg) no-repeat center left;
  background-size: contain;
}

.owl-next {
  right: -60px;
  background: url(../images/slider-next.svg) no-repeat center right;
  background-size: contain;
}

.mmslider:hover .owl-prev {
  opacity: 1;
  left: 0;
}

.mmslider:hover .owl-next {
  opacity: 1;
  right: 0;
}

.owl-dots {
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  text-align: center;
}

.owl-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 8px 10px;
  background: #fff;
  border-radius: 100% 100%;
  transition: 0.2s;
}

.owl-dot.active,
.owl-dot:hover {
  background: #0074aa;
}

@media (min-width: 768px) {
  .mmslider-slide {
    text-align: left;
  }
}

@media (min-width: 992px) {
  /* .owl-dots {
    bottom: 3.6em;
  } */
  .owl-prev,
  .owl-next {
    top: calc(50% - 40px);
    height: 80px;
  }
}

@media (min-height: 700px) {
  .mmslider-slide {
    max-height: 500px;
  }
  .mmslider-text .h1 {
    margin-bottom: 1em;
  }
}

@media (min-height: 800px) {
  .mmslider-slide {
    max-height: 600px;
  }
}

.mmslider-slide {
  height: 70vh;
}


.mmslider-image.mmslider-image.mmslider-image {
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0 auto;
  font-family: 'object-fit: cover;';
}


@supports (object-fit: cover) {
  /* .mmslider-slide {
    height: 70vh;
  } */
  .mmslider-image.mmslider-image.mmslider-image {
    max-width: none;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
  }
}

