#MMFiles {
  position: relative;
  float: right;
  width: 480px;
  height: 640px;
  overflow: hidden;
  height: 475px;
  margin-top: 84px;
}

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

.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;
}

#badgeFile {
  display: none;
}

#MMRightArrow {
  position: absolute;
  top: 96%;
  right: 37px;
  display: none;
  cursor: pointer;
  height: 23px;
  width: 26px;
  transform: rotate(-90deg);
}

#MMLeftArrow {
  position: absolute;
  top: 0%;
  left: 34px;
  display: none;
  cursor: pointer;
  height: 26px;
  width: 26px;
  transform: rotate(90deg);
}

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

.MMGalleryItemWrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  cursor: pointer;
  /* float: left; */
}

.rightMarginItem {
  margin-bottom: 16px;
}

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

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

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

.MMFilesItem:hover {
  cursor: crosshair;
}

.MMFilesItemImage {
  width: 100%;
  height: 474px !important;
}

#MMGallery {
  position: relative;
  float: left;
  width: 105px !important;
  margin-top: 84px;
  overflow: hidden;
  /* margin-left: 18%; */
  /* height: 478px !important; */
}

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

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

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

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

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

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

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

  #MMGallery {
    width: 95% !important;
    top: 25px;
    margin-left: 8%;
    display: none;
  }

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

  #mobileRightArrow {
    display: block;
    position: absolute;
    top: calc(50% - 11px);
    height: 11px;
    width: auto;
    right: -16px;
    transform: rotate(90deg);
    cursor: pointer;
  }

  #mobileLeftArrow {
    display: block;
    position: absolute;
    top: calc(50% - 11px);
    height: 11px;
    width: auto;
    left: -19px;
    cursor: pointer;
    transform: rotate(-90deg);
  }

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

  #MMLeftArrow {
    left: -15px;
  }

  #MMRightArrow {
    right: 30px;
  }
}