#MMFiles {
  position: relative;
  width: 480px;
  height: 540px;
  overflow: hidden;
  margin-left: 50%;
  transform: translateX(-50%);
}

.MMFilesItem {
  position: absolute;
  top: 0px;
  left: 0px;
  margin-right: 6px;
}

.MMFilesImage {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 600px;
  height: 600px;
}

#MMFilesNumbers {
  position: absolute;
  top: 570px;
  left: 20px;
}

.MMFilesNumbersSelected {
  float: left;
  background-image: url("https://s3.amazonaws.com/cuacuy/galleryButtons.png");
  width: 15px;
  height: 15px;
  overflow: hidden;
  margin-left: 5px;
  background-repeat: no-repeat;
  background-position: -30px 0px;
}

.MMFilesNumbersUnSelected {
  float: left;
  background-image: url("https://s3.amazonaws.com/cuacuy/galleryButtons.png");
  width: 15px;
  height: 15px;
  margin-left: 5px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: -5px 0px;
}

.MMFilesNumbersUnSelected:hover {
  cursor: pointer;
}

#magnifyiedProductOuter {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 600px;
  height: 600px;
  overflow: hidden;
  cursor: pointer;
}

.magnifyiedProductImage {
  position: absolute;
  left: 0px;
  top: 0px;
  min-width: 600px;
  min-height: 600px;
}

#MMRightArrow {
  position: absolute;
  top: 38%;
  right: -22px;
  display: none;
  cursor: pointer;
  height: 26px;
  width: 26px;
  transform: rotate(0deg);
}

#MMLeftArrow {
  position: absolute;
  top: 38%;
  left: -20px;
  display: none;
  cursor: pointer;
  height: 26px;
  width: 26px;
  transform: rotate(180deg);
}

.MMArrowImg {
  position: relative;
  height: 18px;
  margin: 0 auto;
  display: block;
  margin-top: 0;
  transform: rotate(-90deg);
}

.MMGalleryItemWrapper {
  position: relative;
  width: 100px;
  height: 100px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 100px;
align-content: center;
}

.rightMarginItem {
  margin: 0px 10px;
}

.MMGalleryImage {
  width: 100%;
  height: auto;
  max-height: 175px;
}

#MMGalleryItems {
  position: relative;
  height: 100px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  text-align: left;
}

#MMGalleryItemsWrapper {
  position: relative;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.MMGalleryDivider {
  height: 2px;
  width: 100%;
  background-color: #d0d0d0;
}

.MMFilesItem:hover {
  cursor: crosshair;
}

.MMFilesItemImage {
  width: 100%;
}

#MMGallery {
  position: relative;
  float: left;
  width: 600px;
  max-width: 100%;
  height: auto;
  /*  overflow: hidden; */
  margin-left: 50%;
  transform: translateX(-50%);
}

#badgeFile {
  position: absolute;
  top: 0;
  right: 24px;
  width: 24%;
  height: auto;
  pointer-events: none;
}

#magnifyedProductCover {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2;
}

#magnifyedProductMarker {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100px;
  width: 100px;
  background-color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  #MMFiles {
      max-height: initial;
  }

  .MMFilesItem {
      position: relative;
      width: 90% !important;
      height: auto !important;
      left: 0px !important;
      margin: 0 auto !important;
  }

  .MMFilesItemImage {
      width: 90% !important;
      height: auto !important;
      margin-left: 5%;
      margin-top: 4px;
  }

  #MMFiles {
      width: 100%;
      height: auto;
      margin: 0 auto;
      float: none;
  }

  #MMGallery {
      width: 95% !important;
      top: 25px;
      margin: unset;
      /* margin-left: 8%; */
  }

  #MMGalleryItems {
      /* height:calc(100% - 50px); */
      /* top:25px; */
      width: calc(100% - 36px);
  }

  #mobileRightArrow {
      display: block;
      position: absolute;
      top: calc(50% - 11px);
      height: 20px;
      width: auto;
      right: 2px;
      cursor: pointer;
      display: none !important;
  }

  #mobileLeftArrow {
      display: block;
      position: absolute;
      top: calc(50% - 11px);
      height: 20px;
      width: auto;
      left: 2px;
      cursor: pointer;
      transform: rotate(180deg);
      display: none !important;
  }

  .MMGalleryItemWrapper {
      width: 80px;
      height: 80px;
  }

  #MMLeftArrow {
      left: 0;
      height: auto;
      width: 18px;
  }

  #MMRightArrow {
      right: 0;
      width: 18px;
      height: auto;
  }
}
