/* Reports rules of uat custom.style.pb.scss (incl. _responsive.pb.scss) that the copied stylesheet does not have (REP-D13..D16). */
.caption-toggle-job-email {
  display: flex;
  align-items: center;
  margin-right: 40px;
  font-weight: 600;
}
.caption-toggle-job-email.in-progress {
  pointer-events: none;
  opacity: 0.5;
}
.download-zip .download-zip-spinner {
  display: none;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top: 2px solid transparent;
  width: 20px;
  height: 20px;
  -webkit-animation: downloadZipanim 0.5s linear infinite;
  animation: downloadZipanim 0.5s linear infinite;
  position: absolute;
  right: 8px;
  top: 7px;
}
@media only screen and (max-width: 768px) {
.route-stop-respo.jobimg-close-section {
    flex-wrap: wrap;
  }
.route-stop-respo .caption-toggle-job-email {
    width: 100%;
    justify-content: space-between;
  }
.route-stop-respo .download-zip {
    text-align: center;
  }
}
@media only screen and (max-width: 992px) {
.route-stop-respo.jobimg-close-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    margin-left: 35px;
  }
.route-stop-respo .caption-toggle-job-email {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin-right: 0px;
  }
.route-stop-respo .caption-toggle-job-email .switch.small {
    width: 45px !important;
  }
.route-stop-respo .caption-toggle-job-email span {
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
  }
.route-stop-respo .download-zip {
    flex-shrink: 0;
  }
.route-stop-respo .download-zip span {
    white-space: nowrap;
  }
.img-gallery-popup-respo .gallery-subtitle {
    margin-top: 30px !important;
  }
}
/* job and route stop gallery timeline */
.gallery-timeline {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  padding: 8px calc(1% + 20px) 0;
  border-bottom: 1px solid #e0e4ea;
}
.gallery-timeline .gallery-timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gallery-timeline .gallery-timeline-dates {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  border-bottom: 1px solid #e0e4ea;
}
.gallery-timeline .gallery-timeline-arrow {
  color: #285fc6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 14px;
  flex-shrink: 0;
  -webkit-text-stroke: 1px #285fc6;
}
.gallery-timeline .gallery-timeline-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.gallery-timeline .gallery-timeline-origin-icon {
  font-size: 11px;
  margin-left: 4px;
  color: #285fc6;
}
.gallery-timeline .gallery-timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
}
.gallery-timeline .gallery-timeline-date .gallery-timeline-date-label {
  display: flex;
  align-items: center;
}
.gallery-timeline .gallery-timeline-date .gallery-timeline-date-label .gallery-timeline-origin-icon {
  font-size: 13px;
  margin-top: 2px;
}
.gallery-timeline .gallery-timeline-date .gallery-timeline-date-name {
  display: block;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}
.gallery-timeline .gallery-timeline-date {
  font-size: 18px;
  font-weight: 700;
  padding: 8px 24px;
  margin: 0 2px;
  border-bottom: 3px solid transparent;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.gallery-timeline .gallery-timeline-date.type-job {
  color: #e0640a;
}
.gallery-timeline .gallery-timeline-date.type-route {
  color: #285fc6;
}
.gallery-timeline .gallery-timeline-date.selected {
  font-weight: 700;
}
.gallery-timeline .gallery-timeline-date.selected.type-job {
  background: rgba(224, 100, 10, 0.12);
  border-bottom-color: #e0640a;
}
.gallery-timeline .gallery-timeline-date.selected.type-route {
  background: rgba(40, 95, 198, 0.12);
  border-bottom-color: #285fc6;
}
.gallery-timeline .gallery-timeline-close {
  color: #9aa3af;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px 0 16px;
}
.gallery-timeline .gallery-timeline-meta {
  margin-top: 12px;
  padding: 0 12px 12px;
}
.gallery-timeline .gallery-timeline-meta-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.gallery-timeline .gallery-timeline-meta-name {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}
.gallery-timeline .gallery-timeline-meta-job {
  font-size: 12px;
  color: #00a3ff;
  font-weight: 600;
  cursor: pointer;
}
.gallery-timeline .gallery-timeline-meta-job:hover {
  text-decoration: underline;
}
.gallery-timeline .gallery-timeline-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 12.6px;
  font-weight: 600;
  color: #6B6A70;
}
.gallery-timeline .gallery-timeline-meta-info span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.gallery-timeline .gallery-timeline-meta-info span:not(:last-child) {
  position: relative;
  padding-right: 36px;
}
.gallery-timeline .gallery-timeline-meta-info span:not(:last-child):after {
  content: "|";
  position: absolute;
  right: 17px;
  color: #6B6A70;
}
.gallery-timeline .gallery-timeline-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 10px;
}
.gallery-timeline .gallery-timeline-badge.type-job {
  color: #e0640a;
  background: rgba(224, 100, 10, 0.15);
}
.gallery-timeline .gallery-timeline-badge.type-route {
  color: #285fc6;
  background: rgba(40, 95, 198, 0.15);
}

.gallery-timeline-empty {
  padding: 60px 20px;
  text-align: center;
}
.gallery-timeline-empty .gallery-timeline-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
}
.gallery-timeline-empty .gallery-timeline-empty-text {
  margin-top: 8px;
  font-size: 15px;
  color: #6B6A70;
}

.img-gallery-popup.with-gallery-timeline {
  top: 174px;
  height: calc(100% - 184px);
}

.jobimg-close-section.with-gallery-timeline {
  top: 66px;
}

/* medium and narrow screens: header, controls and photos stack in normal flow so a wrapped title or meta row never overlaps them */
@media only screen and (max-width: 1368px) {
  .customerimg-popup:has(.gallery-timeline) {
    display: flex;
    flex-direction: column;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline {
    position: static;
    flex-shrink: 0;
    order: 1;
  }
  .customerimg-popup:has(.gallery-timeline) .jobimg-close-section.with-gallery-timeline {
    position: static;
    flex-shrink: 0;
    order: 2;
    margin: 0 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e4ea;
    justify-content: flex-end;
  }
  .customerimg-popup:has(.gallery-timeline) .img-gallery-popup.with-gallery-timeline {
    position: static;
    order: 3;
    flex: 1;
    min-height: 0;
    height: auto;
    width: 98%;
    margin-left: 1%;
  }
}
@media only screen and (max-width: 992px) {
  .gallery-timeline .gallery-timeline-meta-info span:not(:last-child) {
    padding-right: 20px;
  }
  .gallery-timeline .gallery-timeline-meta-info span:not(:last-child):after {
    right: 9px;
  }
}
/* phones and small tablets: tighter header, full width controls */
@media only screen and (max-width: 768px) {
  .customerimg-popup:has(.gallery-timeline) {
    width: 100%;
    height: 94%;
    left: 0;
    top: 3%;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline {
    padding: 8px 12px 0;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-arrow {
    padding: 0 8px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-date {
    font-size: 16px;
    padding: 6px 12px;
    margin: 0 1px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-close {
    font-size: 30px;
    padding: 0 0 0 8px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-meta {
    margin-top: 8px;
    padding: 0 0 8px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-meta-name {
    font-size: 13.5px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-meta-info span:not(:last-child) {
    padding-right: 14px;
  }
  .customerimg-popup:has(.gallery-timeline) .gallery-timeline .gallery-timeline-meta-info span:not(:last-child):after {
    right: 5px;
  }
  .customerimg-popup:has(.gallery-timeline) .jobimg-close-section.with-gallery-timeline {
    margin: 0 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
  .customerimg-popup:has(.gallery-timeline) .jobimg-close-section.with-gallery-timeline .caption-toggle-job-email {
    flex: 1 1 100%;
    justify-content: space-between;
    margin: 0;
  }
  .customerimg-popup:has(.gallery-timeline) .jobimg-close-section.with-gallery-timeline .download-zip {
    flex: 1 1 100%;
    text-align: center;
    margin: 0;
  }
  .customerimg-popup:has(.gallery-timeline) .img-gallery-popup.with-gallery-timeline {
    width: 100%;
    margin-left: 0;
  }
}
.gallery-meta-icon {
  margin-right: 6px;
  font-size: 14.4px;
  font-weight: 400;
  line-height: 1;
  color: inherit;
  vertical-align: middle;
}
