.embla {
  position: relative;
  background-color: rgba(200, 200, 200, 0.2);
  /* padding: 8px; */
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.embla__viewport.is-draggable {
  cursor: move;
  cursor: grab;
}

.embla__viewport.is-dragging {
  cursor: grabbing;
}

.embla__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin-left: -10px;
  height: 100%;
}

.embla__slide {
  padding-left: 10px;
  min-width: 100%;
  position: relative;

  /* //added at 8:23 PM, 13 Nov, 2022 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.embla__slide__inner {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.banner-container .embla__slide__inner {
  height: 100%;
}

.embla__slide__img {
  width: 100%;
  object-fit: contain;
}

.embla--thumb {
  padding-top: 0;
  padding-top: 8px;
}

.embla__container--thumb {
  cursor: default;
  margin-left: -8px;
}

.embla__slide--thumb {
  padding-left: 8px;
  min-width: 40%;
}

.embla__slide__inner--thumb {
  touch-action: manipulation;
  cursor: pointer;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0;
  height: 100px;
  width: 100%;
  background-color: transparent;
  position: relative;
  display: block;
  overflow: hidden;
}

.embla__slide__thumbnail {
  /* position: absolute; */
  opacity: 0.3;
  /* top: 0; */
  /* bottom: 0; */
  /* left: -10000%; */
  /* right: -10000%; */
  margin: auto;
  /* min-width: 1000%; */
  /* min-height: 1000%; */
  /* max-width: none; */
  /* transform: scale(0.1); */
  transition: opacity 0.2s;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.embla__slide--thumb.is-selected .embla__slide__thumbnail {
  opacity: 1;
}

@media screen and (max-width: 1000px) {
  .embla {
    height: 80%;
  }

  .company-main-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
  .embla {
    height: 100%;
  }

  .embla__viewport {
    height: 100%;
  }

  .embla__container {
    height: clamp(30vh, 40vh, 50vh);
  }

  .embla__slide--thumb {
    min-width: 40%;
  }

  .embla__container {
    height: 100%;
  }

  .embla__slide__img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
  }

  /* .embla__slide__img {
    object-fit: cover;
  } */
}
