/* Narrow final repairs for the archived Joomla/JV Melody presentation. */
.jv-menu.u-1,
#jv-menu {
  background: #202020 !important;
}

a,
button,
input[type="submit"],
[role="button"] {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #d71920;
  outline-offset: 2px;
}

#login-form,
.login,
.restore-empty-purchase,
object,
embed {
  display: none !important;
}

.copyright {
  color: #aaa;
}

.restore-photo-gallery {
  padding: 12px 6px 28px;
}

.restore-photo-gallery h1 {
  margin: 0 0 18px;
  color: #333;
  font-size: 24px;
  font-weight: normal;
}

.restore-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.restore-photo-grid figure {
  min-width: 0;
  margin: 0;
  background: #eee;
  overflow: hidden;
}

.restore-photo-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

#jv-content table img {
  max-width: 190px;
  height: auto;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .jv-block,
  #jv-mainbody,
  #maincontent,
  .hasSidebar1 #maincontent,
  .hasSidebar1 #jv-mainbody {
    width: 100% !important;
    max-width: 100% !important;
  }

  .jv-block {
    box-sizing: border-box;
    padding-right: 12px;
    padding-left: 12px;
  }

  #logo {
    margin: 0 !important;
    background-size: contain !important;
    background-position: left center !important;
  }

  #jv-mainnav .jv-block,
  #jv-mainnav .jv-inner,
  #jv-mainnav .jv-menu,
  #ariext36_container,
  #ariext36 {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #ariext36 {
    display: flex !important;
    flex-wrap: wrap;
    padding: 4px;
  }

  #ariext36 > li {
    float: none !important;
    flex: 1 1 86px;
  }

  #ariext36 > li > a {
    display: block !important;
    box-sizing: border-box;
    padding: 8px 6px !important;
    text-align: center !important;
  }

  #showplus_images_intro,
  #showplus_images_intro .showplus,
  #showplus_images_intro .showplus-images,
  #showplus_images_intro img,
  #jv-breadcrumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  #jv-content table,
  #jv-content tbody,
  #jv-content tr,
  #jv-content td {
    display: block;
    width: auto !important;
  }

  .restore-photo-grid {
    grid-template-columns: 1fr;
  }
}
