ul.r1-gallery {
  list-style-type: none !important; padding: 0 !important; text-align: center;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
ul.r1-gallery li { flex: 0 0 calc(50% - 0.75rem); margin: 0 !important; background: #eee; border-radius: 4px; transition: all 0.2s linear; }
ul.r1-gallery li:hover { background: #f8f8f8; }
ul.r1-gallery a {
	display: flex; flex-direction: column; justify-content: center; height: 100%;
	text-decoration: none !important; border: none !important; padding: 1rem;
}
ul.r1-gallery img { display: block; margin: 0 auto 0.25rem; max-width: 100%; height: auto; max-height: 180px; object-fit: contain; }
ul.r1-gallery small { display: block; color: #595959; line-height: 1.3; font-size: 12px; }

@media (max-width: 760px) {
	ul.r1-gallery { gap: 1rem; }
    ul.r1-gallery li { flex: 0 0 calc(50% - 0.5rem); }
    ul.r1-gallery a { padding: 0.5rem; }
}

div.r1-gallery-box {
  display: none; position: fixed; z-index: 9999999; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); padding: 50px 32px; align-items: center; justify-content: center;
}
div.r1-gallery-box img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
div.r1-gallery-box button { padding: 0; width: 32px; height: 32px; background: none; cursor: pointer; }
div.r1-gallery-box small { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0.5rem; color: #fff; text-align: center; }

div.r1-gallery-box .close { position: absolute; top: 0.75rem; right: 0.65rem; }
div.r1-gallery-box .close::before,
div.r1-gallery-box .close::after {
	content: ""; position: absolute; left: -11px; top: 10px; width: 32px; height: 32px;
	border-top: 1px solid #fff; transform: rotate(45deg);
}
div.r1-gallery-box .close::after { left: 11px; transform: rotate(-45deg); }

div.r1-gallery-box .prev { position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
div.r1-gallery-box .next { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
div.r1-gallery-box .prev::before,
div.r1-gallery-box .next::before {
	content: ""; position: absolute; left: 10px; top: 6px; width: 20px; height: 20px;
	border-top: 1px solid #fff; border-left: 1px solid #fff; transform: rotate(-45deg);
}
div.r1-gallery-box .next::before { left: 0; transform: rotate(135deg); }

body.r1-gallery-open { overflow: hidden; }
body.r1-gallery-open div.r1-gallery-box { display: flex; }
/*
     FILE ARCHIVED ON 14:41:18 Jun 30, 2023 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 09:03:34 Oct 23, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.484
  exclusion.robots: 0.061
  exclusion.robots.policy: 0.05
  esindex: 0.007
  cdx.remote: 20.542
  LoadShardBlock: 85.74 (3)
  PetaboxLoader3.datanode: 652.185 (6)
  PetaboxLoader3.resolve: 3246.185 (3)
  load_resource: 3824.184
  loaddict: 280.625
*/