/* Repairs layered over the saved 2011 theme. */
[hidden] { display: none !important; }
.main { width: 850px; max-width: 100%; }
#header .main { width: 850px; max-width: 100%; height: 85px; box-sizing: border-box; }
#content img { max-width: 100%; object-fit: contain; }
#content { overflow-wrap: anywhere; }
#footer { min-height: 0; }

#nav { position: relative; z-index: 10; }
#nav > ul { display: flex; flex-wrap: wrap; }
#nav ul li { display: block; position: relative; background: none; }
#nav > ul > li > a { float: none; }
#nav button { font: inherit; cursor: pointer; }
#nav .more-toggle { display: block; border: 0; border-right: 1px solid #303030; background: #000; color: #fff; padding: 10px 15px; line-height: 1.5; }
#nav .wsite-menu-wrap { display: none; position: absolute; right: 0; top: 100%; width: 190px; z-index: 20; }
#nav .wsite-menu-wrap .wsite-menu-wrap { top: 0; right: 100%; }
#nav .wsite-menu-wrap .wsite-menu-wrap .wsite-menu-wrap { top: auto; bottom: 0; }
#nav li.has-menu:not(.menu-dismissed):is(:hover, :focus-within, .menu-open) > .wsite-menu-wrap { display: block; }
#nav .wsite-menu li { display: block; float: none; }
#nav .wsite-menu li > a { float: none; display: block; width: auto; padding: 9px 13px; background: #dedede; border: 1px solid #ababab; border-top: 0; color: #545454; font-size: 11px; font-weight: normal; line-height: 1.3; }
#nav .wsite-menu li > a:hover, #nav .wsite-menu li > a:focus-visible { background: #c5c5c5; color: #222; }
#nav .wsite-menu .has-menu > a { padding-right: 32px; }
#nav .wsite-menu .menu-toggle { position: absolute; right: 1px; top: 0; width: 30px; height: 32px; border: 0; background: transparent; color: #545454; }
#nav a:focus-visible, #nav button:focus-visible { outline: 2px solid #23b0f6; outline-offset: -2px; }

.archive-notice { box-sizing: border-box; margin: 18px auto; padding: 14px 16px; border: 1px solid #ddd; background: #f7f7f7; color: #555; max-width: 500px; text-align: left; font: 12px/1.6 Arial, sans-serif; }
.archive-notice p { margin: 5px 0; }
.archive-notice a { text-decoration: underline; }
form .archive-notice { margin-left: 0; }
input:disabled, textarea:disabled { opacity: .65; cursor: not-allowed; }
.archive-slideshow { margin: 12px auto; text-align: center; }
.archive-slide { margin: 0 auto 12px; }
.archive-slide img { display: block; width: auto; height: auto; margin: auto; }
.archive-slide figcaption { margin-top: 8px; }
.slideshow-controls { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 10px 0; }
.slideshow-controls button { padding: 5px 12px; cursor: pointer; }
.slideshow-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 700px; margin: auto; }
.slideshow-thumbnails button { padding: 3px; background: #fff; border: 1px solid #ccc; cursor: pointer; }
.slideshow-thumbnails button[aria-pressed="true"] { border: 2px solid #2d7df5; padding: 2px; }
.slideshow-thumbnails img { display: block; width: 58px; height: 44px; object-fit: cover; }
.archive-lightbox { margin: auto; padding: 16px; background: #fff; border: 0; max-width: 90vw; max-height: 90vh; }
.archive-lightbox::backdrop { background: #000c; }
.archive-lightbox img { display: block; max-width: 85vw; max-height: 75vh; object-fit: contain; }
.archive-lightbox button { display: block; margin: 0 0 12px auto; padding: 5px 12px; cursor: pointer; }

@media (max-width: 680px) {
  #header .main { height: auto; min-height: 85px; }
  #logo { font-size: 180%; }
  #content { padding: 20px 12px; }
  #nav > ul > li.has-menu { position: static; }
  #nav > ul > li.has-menu > .wsite-menu-wrap { left: 0; right: 0; width: 100%; }
  #nav .wsite-menu-wrap .wsite-menu-wrap { position: static; width: auto; margin-left: 16px; }
  #nav .wsite-menu .menu-toggle { right: 16px; width: 44px; height: 37px; }
  #nav .wsite-menu li > a { padding-top: 11px; padding-bottom: 11px; }
  #nav .wsite-menu .has-menu > a { padding-right: 62px; }
  #wsite-content .column { width: 100% !important; left: auto !important; float: none !important; }
  .blog-sidebar { display: none; }
  .blog-body { width: 100% !important; }
  .wsite-form-field, .formfield, input, textarea { max-width: 100%; box-sizing: border-box; }
}
