.img-preview-caption-title {
  font-size: 20px;
  font-weight: bold;
}

.img-preview-caption-desc {
  font-size: 16px;
}

.image-action-buttons {
  padding-top: 30px;
  padding-right: 30px;
}

.action-button {
  width: 40px;
  height: 30px;
  background: #fff;
  text-align: center;
  padding: 0px;
}

.images-count {
  cursor: default !important;
  border: 1px solid #707070;
  border-radius: 5px;
  align-items: center;
  display: flex;
  justify-content: center;
}



/* timeline */
.timeline-thumb {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  opacity: 0.5;
  margin-top: 6px;
  cursor: pointer;
}

.timeline-thumb:hover {
  opacity: 1;
}

.timeline-thumb.active {
  opacity: 1;
}

.img-preview-timeline-section {
  height: 100%;
  overflow-y: auto;
  position: relative;
  border-left: 3px solid #707070;
  scrollbar-gutter: stable both-edges;
}

.timeline-item:before {
  content: "";
  position: absolute;
  margin-top: 16px;
  width: 12px;
  border-top: 3px solid #707070;
}

.img-preview-timeline-section::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.img-preview-timeline-section::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background-color: #f5f5f5;
}

.img-preview-timeline-section::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
}

.timeline-subcontainer {
  margin-top: -10px;
  padding-left: 12px;
}

.img-preview-timeline-title {
  /* font-size: 16px; */
  margin-left: 11px;
  width: 68%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.img-preview-timeline-count {
  font-size: 10px;
  cursor: pointer;
  z-index:1;
}

.img-preview-dzi {
  width: 100%;
  height: 100%;
}

.img-preview-swiper .swiper-button-prev,
.img-preview-swiper .swiper-button-next,
.img-preview-swiper .swiper-button-disabled {
  top: 50% !important
}
.img-preview {
  width: 100vw;
  height: calc(100vh - 100px);
}

.img-preview-title {
  font-size: 16px;
  font-weight: bold;
  padding-left: 10px;
  height: 30px;
}

.img-preview-timeline {
  width: 125px;
  height: calc(100vh - 130px);
  position: fixed;
  top: 30px;
  left: 0px;
  padding: 0px 10px;
  scrollbar-gutter: stable both-edges;
}

.img-preview-container {
  width: calc(100vw - 180px);
  height: calc(100vh - 130px);
  position: fixed;
  top: 30px;
  left: 120px;
}

.img-preview-actions {
  width: 60px;
  height: calc(100vh - 130px);
  position: fixed;
  top: 30px;
  right: 0px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-preview-caption {
  height: 100px;
  width: 100vw;
  position: fixed;
  bottom: 0;
  padding: 5px;
  background-color: #ededed;
  /* overflow: auto; */
}

.img-preview-caption::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.img-preview-caption::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background-color: #f5f5f5;
}

.img-preview-caption::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
}


.cnow-scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.cnow-scroll::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background-color: #f5f5f5;
}

.cnow-scroll::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
}

/* swiper */
.img-preview-swiper {
  height: 100%;
}

/* .img-preview-swiper .swiper-button-prev,
.swiper-button-next {
  color: #000 !important;
  top: 50% !important;
} */

.img-preview-swiper .swiper-slide {
  text-align: center;
  /* Center slide image */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.img-preview-swiper-image img {
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 180px);
  object-fit: contain;
}

.img-preview-swiper-image-pdf img {
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 160px);
  object-fit: contain;
}

.label-button{
  background-color: #A82829;
}
.label-button:focus{
  background-color: #A82829;
}

/* magnify zoom image */
.cnow-image-zoom-container {
  display: flex;
  position: relative;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
}

.cnow-image-zoom-preview{
  height: fit-content;
  z-index: 1;
}

.cnow-image-zoom-lens {
  position: absolute;
  border: 3px solid #A82829;
  /* width: 180px;
  height: 180px; */
  box-sizing: border-box;
  transition: width 0.1s;
  transition-timing-function: linear;
}

.cnow-image-zoom-result-section{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.cnow-image-zoom-result {
  /* width: 800px;
  height: 800px; */
  max-height: 100vh;
  max-width: 100vw;  /* calc(100vw - 400px); */
  box-sizing: border-box;
  background-repeat: no-repeat;
  object-fit: contain;
}

#cnow-zoom-image-id{
  max-height: 100vh;
  max-width: 100vw;
  position: absolute;
  visibility: hidden;
  z-index: -1;
  object-fit: contain;
}

.cnow-image-zoom-box{
  border: 1px solid #707070;
  box-sizing: border-box;
  background: #fff;
}

.cnow-image-zoom-box .cnow-image-zoom{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* slider for image preview - lens */
.cnow-image-range {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  background: #fff;
  outline: none;
  border: 1px solid #707070;
  opacity: 1;
  direction: rtl;
}

.cnow-image-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #9D9D9D;
  border: 1px solid #707070;
  cursor: pointer;
}

.cnow-image-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #9D9D9D;
  border: 1px solid #707070;
  cursor: pointer;
}

.cnow-range-minus{
  top: 0;
  left: 0;
  cursor: pointer;
  padding: 0px 6px;
}

.cnow-range-plus{
  top: 0;
  right: 0;
  cursor: pointer;
  padding: 0px 6px;
}