/**
 * prettyPhoto CSS - Self-contained modern lightbox style
 * Omni-compatible with prettyPhoto DOM markup
 */

div.pp_overlay {
  background: #000;
  opacity: 0.60;
  display: none;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 9500;
}

div.pp_pic_holder {
  display: none;
  position: absolute;
  width: 100px;
  z-index: 10000;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  box-sizing: content-box;
  padding: 12px 12px 8px 12px;
}

div.pp_pic_holder a:focus {
  outline: none;
}

.pp_content_container {
  position: relative;
  text-align: left;
  width: 100%;
}

.pp_content {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  background: #fff;
  overflow: hidden;
}

/* Spinner loader */
.pp_loaderIcon {
  display: none;
  height: 40px;
  width: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(0, 0, 0, 0.12);
  border-top-color: #0088cc;
  border-radius: 50%;
  animation: pp_spin 0.8s linear infinite;
  z-index: 10005;
}

@keyframes pp_spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Image container */
#pp_full_res {
  line-height: 1 !important;
  text-align: center;
}

#pp_full_res img {
  display: block;
  margin: 0 auto;
  border: 0;
}

/* Hover navigation over image */
.pp_hoverContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

a.pp_next, a.pp_previous {
  display: block;
  height: 100%;
  width: 45%;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

a.pp_previous {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent);
}

a.pp_previous::after {
  content: '\2039';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  font-family: Arial, sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

a.pp_next {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.25), transparent);
}

a.pp_next::after {
  content: '\203A';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  font-family: Arial, sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

a.pp_previous:hover, a.pp_next:hover {
  opacity: 1;
}

/* Bottom details bar */
.pp_details {
  position: relative;
  margin-top: 10px;
  padding: 4px 38px 4px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  min-height: 32px;
  box-sizing: border-box;
}

.pp_caption {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: calc(100% - 150px);
  overflow: hidden;
  text-align: left;
  padding-right: 10px;
}

.pp_title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp_description {
  font-weight: 400;
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp_nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  flex: 0 0 auto;
}

.pp_nav a.pp_arrow_previous,
.pp_nav a.pp_arrow_next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f0f2f5;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pp_nav a.pp_arrow_previous:hover,
.pp_nav a.pp_arrow_next:hover {
  background: #0088cc;
  color: #fff;
}

.currentTextHolder {
  margin: 0 4px;
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}

a.pp_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f2f5;
  color: #555;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.15s, color 0.15s;
}

a.pp_close:hover {
  background: #e53935;
  color: #fff;
}

.pp_fade {
  display: none;
}
