.mfp-arrow-left,
.mfp-arrow-right {
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}
.diag_gallery .diagnostic-data {
  position: relative;
  margin-bottom: 24px;
}
.diag_gallery .meta-box__title {
  display: block;
  font-weight: 700;
}
.diag_gallery .proof-photo {
  padding-bottom: 0;
  -moz-transition: 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  -o-transition: 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  transition: 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  text-align: center;
}
.diag_gallery .proof-photo:hover .proof-photo__bg {
  background: #eee9e9;
}
.diag_gallery .proof-photo:hover .proof-photo__meta {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}
.diag_gallery .proof-photo:hover .separator {
  max-width: 80%;
  margin-top: 12px;
  margin-bottom: 12px;
}
.diag_gallery .gallery-item:hover .gallery-caption,
.diag_gallery .proof-photo.selected .proof-photo__status,
.diag_gallery .proof-photo.selected .proof-photo__status span.ticker,
.diag_gallery .proof-photo.selecting .proof-photo__status span.spinner {
  opacity: 1;
}
.diag_gallery .proof-photo.selecting .proof-photo__status span.ticker {
  opacity: 0;
}
.diag_gallery .proof-photo.scrooled_from_comments {
  -moz-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  -o-transform: scale(1.2, 1.2);
  -webkit-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
  z-index: 50;
}
.diag_gallery .proof-photo a {
  color: #fff;
}
.diag_gallery .proof-photo .actions-nav {
  text-align: center;
  margin: 12px 0;
  padding: 0;
}
.diag_gallery .proof-photo .nav {
  list-style: none !important;
  margin-left: 0;
  display: block;
}
.diag_gallery .proof-photo .nav:after {
  content: "";
  display: table;
  clear: both;
}
.diag_gallery .proof-photo .nav > li {
  margin: 0;
}
.diag_gallery .proof-photo .nav > li,
.diag_gallery .proof-photo .nav > li > a {
  display: inline-block;
  zoom: 1;
}
.diag_gallery .proof-photo .nav--stacked > li {
  display: list-item;
}
.diag_gallery .proof-photo .nav--stacked > li > a {
  display: block;
  width: 100%;
}
.diag_gallery .proof-photo__bg {
  display: inline-block;
  margin: 0 auto;
}
.diag_gallery .proof-photo__container {
  position: relative;
}
.diag_gallery .proof-photo__meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -moz-transition: 0.2s linear;
  -o-transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}
.diag_gallery .proof-photo__meta .flexbox {
  height: 100%;
}
.diag_gallery .proof-photo__meta .separator {
  max-width: 0;
  margin: 0 auto;
  height: 1px;
  background: #fff;
  -moz-transition: 0.1s linear;
  -o-transition: 0.1s linear;
  -webkit-transition: 0.1s linear;
  transition: 0.1s linear;
}
.diag_gallery .proof-photo__status,
.diag_gallery .proof-photo__status span.ticker {
  -moz-transition: 0.2s linear;
  -o-transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  opacity: 0;
}
.diag_gallery .proof-photo__status {
  transition: 0.2s linear;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
.diag_gallery .proof-photo__status span.ticker {
  background: rgba(128, 128, 128, 0.62);
  display: block;
  font-size: 18px;
  color: #fff;
  line-height: 32px;
  width: 32px;
  text-align: center;
  transition: 0.2s linear;
}
.diag_gallery .proof-photo__status span.spinner {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 3px solid transparent;
  opacity: 0;
  -moz-transition: 0.2s linear;
  -o-transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
  height: 20px;
  width: 20px;
  margin: 0 6px 6px 0;
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  border-right: 3px solid rgba(255, 255, 255, 0.15);
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
  border-top: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 100%;
  -webkit-animation: 0.6s linear infinite rotation;
  -moz-animation: 0.6s linear infinite rotation;
  -o-animation: 0.6s linear infinite rotation;
  animation: 0.6s linear infinite rotation;
}
.diag_gallery .proof-photo__id {
  display: block;
  padding: 6px 0;
  text-align: center;
}
.diag_gallery .meta__action {
  margin: 0;
  color: #000;
  text-decoration: none !important;
  text-transform: uppercase;
  text-align: center;
}
.diag_gallery .meta__action--popup {
  color: #fff;
}
.diag_gallery .diagnostic_photo_ref {
  padding: 3px 6px;
  margin: 0 3px;
  color: #fff;
  background: #000;
  cursor: pointer;
}
.diag_gallery .gallery {
  margin-bottom: 20px;
}
.diag_gallery .gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}
.diag_gallery .gallery-columns-1 .gallery-item {
  max-width: 100%;
  width: 100%;
}
.diag_gallery .gallery-columns-2 .gallery-item {
  max-width: 48%;
  width: 48%;
  max-width: -webkit-calc(50% - 4px);
  max-width: calc(50% - 4px);
  width: calc(50% - 4px);
}
.diag_gallery .gallery-columns-3 .gallery-item {
  max-width: 32%;
  width: 32%;
  max-width: -webkit-calc(33.3% - 4px);
  max-width: calc(33.3% - 4px);
  width: calc(33.3% - 4px);
}
.diag_gallery .gallery-columns-4 .gallery-item {
  max-width: 23%;
  width: 23%;
  max-width: -webkit-calc(25% - 4px);
  max-width: calc(25% - 4px);
  width: calc(25% - 4px);
}
.diag_gallery .gallery-columns-5 .gallery-item {
  max-width: 19%;
  width: 19%;
  max-width: -webkit-calc(20% - 4px);
  max-width: calc(20% - 4px);
  width: calc(20% - 4px);
}
.diag_gallery .gallery-columns-6 .gallery-item {
  max-width: 15%;
  width: 15%;
  max-width: -webkit-calc(16.7% - 4px);
  max-width: calc(16.7% - 4px);
  width: calc(16.7% - 4px);
}
.diag_gallery .gallery-columns-7 .gallery-item {
  max-width: 13%;
  width: 13%;
  max-width: -webkit-calc(14.28% - 4px);
  max-width: calc(14.28% - 4px);
  width: calc(14.28% - 4px);
}
.diag_gallery .gallery-columns-8 .gallery-item {
  max-width: 11%;
  width: 11%;
  max-width: -webkit-calc(12.5% - 4px);
  max-width: calc(12.5% - 4px);
  width: calc(12.5% - 4px);
}
.diag_gallery .gallery-columns-9 .gallery-item {
  max-width: 9%;
  width: 9%;
  max-width: -webkit-calc(11.1% - 4px);
  max-width: calc(11.1% - 4px);
  width: calc(11.1% - 4px);
}
.diag_gallery .gallery-columns-1 .gallery-item:nth-of-type(1n),
.diag_gallery .gallery-columns-2 .gallery-item:nth-of-type(2n),
.diag_gallery .gallery-columns-3 .gallery-item:nth-of-type(3n),
.diag_gallery .gallery-columns-4 .gallery-item:nth-of-type(4n),
.diag_gallery .gallery-columns-5 .gallery-item:nth-of-type(5n),
.diag_gallery .gallery-columns-6 .gallery-item:nth-of-type(6n),
.diag_gallery .gallery-columns-7 .gallery-item:nth-of-type(7n),
.diag_gallery .gallery-columns-8 .gallery-item:nth-of-type(8n),
.diag_gallery .gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}
.diag_gallery
  .gallery-columns-1.gallery-size-medium
  figure.gallery-item:nth-of-type(1n + 1),
.diag_gallery
  .gallery-columns-1.gallery-size-thumbnail
  figure.gallery-item:nth-of-type(1n + 1),
.diag_gallery
  .gallery-columns-2.gallery-size-thumbnail
  figure.gallery-item:nth-of-type(odd),
.diag_gallery
  .gallery-columns-3.gallery-size-thumbnail
  figure.gallery-item:nth-of-type(3n + 1) {
  clear: left;
}
.diag_gallery .gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 100%;
}
.diag_gallery .gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.diag_gallery .gallery-columns-7 .gallery-caption,
.diag_gallery .gallery-columns-8 .gallery-caption,
.diag_gallery .gallery-columns-9 .gallery-caption {
  display: none;
}
.diag_gallery btn.disabled,
.diag_gallery button[disabled] {
  pointer-events: none;
  cursor: not-allowed;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.3;
}
.mfp-arrow {
  position: absolute;
  top: 50%;
  display: block;
  outline: 0;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.mfp-arrow:active,
.mfp-arrow:focus,
.mfp-arrow:hover {
  background-color: transparent;
}
.mfp-arrow:after,
.mfp-arrow:before {
  font-size: 2em;
  color: #fff;
}
.mfp-close {
  outline: 0;
  padding: 0 24px;
}
.mfp-arrow-left {
  left: 2%;
  border-left: 30px solid transparent;
  border-right: 30px solid #fff;
}
.mfp-arrow-right {
  right: 2%;
  border-right: 30px solid transparent;
  border-left: 30px solid #fff;
}
.mfp-counter {
  font-size: 1em;
  color: #fff;
}
div.mfp-figure:after {
  content: none;
}
@media (min-width: 992px){
    .mfp-arrow:after,
    .mfp-arrow:before {
    font-size: 5em;
    }
}
@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0);
  }
  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(359deg);
  }
}
.selected .proof-photo__bg {
  border: 3px solid gray;
}
.dpi-modal{
  display:none; 
  position:fixed; 
  inset:0; 
  margin:0;
  background:rgba(0,0,0,0.9); 
  z-index:9999; 
  justify-content:center; 
  align-items:center; 
  animation:fadeIn 0.3s ease;
}
.dpi-modal-content{
  background:#1e1e1e; 
  color:#eee; 
  padding:20px; 
  border-radius:12px; 
  position:relative; 
  display:flex; 
  max-width:90%; 
  max-height:90vh; 
  flex-direction:column; 
  box-shadow:0 10px 30px rgba(0,0,0,0.5); 
  animation:slideIn 0.3s ease;
}
.dpi-modal-content .dpi-modal-close, button.mfp-close{
  position: absolute; 
  top: -20px; 
  right: -20px; 
  cursor: pointer !important; 
  font-size: 24px; 
  width: 40px;
  height: 40px;;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 50%; 
  background-color: #c00909 !important;
}
.dpi-modal-content .dpi-modal-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 15px;;
}
.dpi-modal-btn-text{
  display: none;
  font-size: 14px;
}
.dpi-modal-content .dpi-modal-footer .dpi-modal-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.dpi-modal-content .dpi-modal-footer .dpi-modal-btn{
  transition: background 0.2s, transform 0.2s;
}
.dpi-modal-content .dpi-modal-footer .dpi-modal-btn:hover{
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 992px){
  #pdf-modal .dpi-modal-content{
    max-width:1000px; 
  }
  .dpi-modal-content .dpi-modal-footer{
    flex-direction: row;
  }
  .dpi-modal-btn-text{
    display: inline-block;
  }
}