:root {
  color-scheme: dark;
}

html {
  background: #000000;
}

body {
  direction: ltr;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #ffffff;
  background-color: #000000;
  margin: 0;
}

table,
td {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #ffffff;
}

a {
  color: #ffffff;
}

#WebsiteDesign-MainDiv {
  margin-top: 5px;
}

#WebsiteDesign-MainTable {
  width: 75%;
  margin-right: auto;
  margin-left: auto;
  border-collapse: collapse;
}

#WebsiteDesign-MainTableBorder {
  padding: 0;
  vertical-align: top;
  border: 4px solid #666666;
}

#headerDetailHeaderMEM {
  position: relative;
  width: 100%;
}

#headerDetailHeaderMEM p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.header-image-wrap {
  text-align: center;
}

.header-image {
  width: 900px;
  height: 501px;
  border: 0;
  vertical-align: middle;
}

#MenuWebsite_HeaderTopMenu_TD {
  width: 100%;
  height: 25px;
  background-color: #666666;
}

#MenuWebsite_HeaderTopMenu_TABLE {
  display: flex;
  width: max-content;
  height: 25px;
  margin-right: auto;
  margin-left: auto;
  align-items: stretch;
}

.menuTextColor,
.menu-separator {
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  color: #ffffff;
}

.top-menu-item {
  display: flex;
  box-sizing: border-box;
  height: 25px;
  padding-right: 5px;
  padding-left: 5px;
  align-items: center;
  justify-content: center;
  background: #666666;
  white-space: nowrap;
}

.top-menu-item:hover,
.top-menu-item:focus-visible {
  color: #f7ff00;
  background: #000000;
  outline: none;
}

.menu-separator {
  display: flex;
  height: 25px;
  align-items: center;
}

.bgcolorTable {
  width: 100%;
  background-color: #000000;
}

.CenterTable {
  box-sizing: border-box;
  width: 100%;
  padding-top: 2.5px;
  padding-right: 22.5px;
  padding-bottom: 2.5px;
  padding-left: 22.5px;
  direction: ltr;
}

#longMessageMEM {
  width: 100%;
}

.renderings-table {
  width: 100%;
  min-height: 2670px;
  margin-right: auto;
  margin-left: auto;
  border: 2px outset #666666;
}

.album-frame {
  box-sizing: border-box;
  width: 100%;
  height: var(--album-frame-height);
  background: transparent;
}

.album-frame[data-scrolling="no"] {
  overflow: hidden;
}

.album-frame[data-scrolling="auto"] {
  overflow: auto;
}

.album-grid {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  padding-top: 10px;
  grid-template-columns: repeat(var(--album-columns), 1fr);
  align-items: start;
}

.album-slot {
  display: flex;
  min-width: 0;
  margin: 2px;
  align-items: flex-start;
  justify-content: center;
}

.album-slot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border: 1px solid #ffffff;
}

.gallery-enlarge {
  display: block;
  max-width: 100%;
  line-height: 0;
}

.gallery-enlarge:focus-visible {
  outline: 2px solid #f7ff00;
  outline-offset: 3px;
}

.gallery-video-poster {
  position: relative;
  display: block;
  width: 160px;
  max-width: 100%;
}

.gallery-video-poster img {
  width: 100%;
  height: auto;
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  font: normal 20px/1 Arial, Helvetica, sans-serif;
  transform: translate(-50%, -50%);
  place-items: center;
  pointer-events: none;
}

.gallery-video:hover .gallery-video-play,
.gallery-video:focus-visible .gallery-video-play {
  color: #f7ff00;
  border-color: #f7ff00;
}

body.lightbox-open {
  overflow: hidden;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 2vh 2vw;
  background: rgba(0, 0, 0, 0.985);
  place-items: center;
  overscroll-behavior: contain;
}

.video-lightbox-dialog {
  display: flex;
  box-sizing: border-box;
  width: min(910px, 96vw);
  max-height: 96vh;
  max-height: 96dvh;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: #ffffff;
  outline: none;
}

.video-lightbox-title {
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 4px 92px 4px 4px;
  color: #ffffff;
  font: normal 18px/1.25 "Times New Roman", Times, serif;
}

.video-lightbox-video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(96vh - 48px);
  max-height: calc(96dvh - 48px);
  background: #000000;
  object-fit: contain;
}

.video-lightbox-video:focus-visible {
  outline: 2px solid #f7ff00;
  outline-offset: 2px;
}

.video-lightbox-close {
  position: absolute;
  top: 2vh;
  right: 2vw;
  min-width: 76px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  color: #ffffff;
  background: #181818;
  font: bold 13px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  color: #f7ff00;
  border-color: #f7ff00;
  outline: none;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 2vh 2vw;
  place-items: center;
  background: rgba(0, 0, 0, 0.985);
  overscroll-behavior: contain;
}

.image-lightbox-dialog {
  display: grid;
  box-sizing: border-box;
  width: 96vw;
  height: 96vh;
  height: 96dvh;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: #ffffff;
  outline: none;
}

.image-lightbox-header {
  display: grid;
  min-height: 44px;
  padding: 0 92px 7px 4px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
}

.image-lightbox-title {
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font: normal 18px/1.25 "Times New Roman", Times, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-lightbox-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #d7d7d7;
  font-size: 12px;
  white-space: nowrap;
}

.image-lightbox-status[data-running="true"] {
  color: #f7ff00;
}

.image-lightbox-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  place-items: center;
  scrollbar-color: #777777 #111111;
  touch-action: pan-y pinch-zoom;
}

.image-lightbox-image {
  grid-area: 1 / 1;
  display: block;
  max-width: none;
  max-height: none;
  border: 0;
  object-fit: contain;
  opacity: 1;
  transition: opacity 320ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.image-lightbox-image-incoming {
  opacity: 0;
}

.image-lightbox-image-incoming.is-visible {
  opacity: 1;
}

.image-lightbox-image.is-outgoing {
  opacity: 0;
}

.image-lightbox-dialog[data-view-mode="actual"] .image-lightbox-stage {
  display: block;
  text-align: center;
}

.image-lightbox-dialog[data-view-mode="actual"] .image-lightbox-image {
  max-width: none;
  max-height: none;
  margin: auto;
}

.image-lightbox-controls {
  display: flex;
  min-height: 48px;
  padding-top: 8px;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.image-lightbox-control {
  box-sizing: border-box;
  min-width: 84px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 3px;
  color: #ffffff;
  background: #181818;
  font: bold 13px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.image-lightbox-previous,
.image-lightbox-next {
  position: sticky;
  z-index: 4;
  top: calc(50% - 34px);
  grid-area: 1 / 1;
  width: 54px;
  min-width: 54px;
  height: 68px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.62);
  font: normal 46px/1 Arial, Helvetica, sans-serif;
}

.image-lightbox-previous {
  justify-self: start;
  margin-left: 8px;
}

.image-lightbox-next {
  justify-self: end;
  margin-right: 8px;
}

.image-lightbox-fit[aria-pressed="true"],
.image-lightbox-actual[aria-pressed="true"] {
  display: none;
}

.image-lightbox-fit,
.image-lightbox-actual {
  min-width: 0;
  border-color: #777777;
  color: #c8c8c8;
  background: transparent;
  font-size: 11px;
  font-weight: normal;
}

.image-lightbox-control[aria-pressed="true"] {
  color: #000000;
  border-color: #f7ff00;
  background: #f7ff00;
}

.image-lightbox-control:hover,
.image-lightbox-control:focus-visible {
  color: #f7ff00;
  border-color: #f7ff00;
  outline: 2px solid transparent;
  background: #000000;
}

.image-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 2vh;
  right: 2vw;
  min-width: 76px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  color: #ffffff;
  background: #181818;
  font: bold 13px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  color: #f7ff00;
  border-color: #f7ff00;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .image-lightbox-image {
    transition: none;
  }
}

.feedback-frame-spacer {
  box-sizing: border-box;
  width: 100%;
  height: 280px;
  background: #000000;
}

.draftings-layout {
  width: 100%;
}

.draftings-layout .tool_text {
  padding: 2px;
}

.draftings-layout .drafting-panel {
  border: 3px solid rgb(99, 99, 99);
  border-radius: 3px;
  background-color: rgb(0, 0, 0);
}

.sketches-table {
  width: 100%;
  height: 178px;
  margin-right: auto;
  margin-left: auto;
  border: 2px outset #666666;
  background: #000000;
}

.sketch-placeholder {
  display: flex;
  box-sizing: border-box;
  width: 160px;
  height: 120px;
  padding: 10px;
  border: 1px solid #666666;
  align-items: center;
  justify-content: center;
  color: #a7a7a7;
  background: #171717;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.contact-visual-form {
  width: 100%;
}

.contact-visual-form table {
  width: 100%;
  border-collapse: collapse;
}

.contact-visual-form td {
  padding: 3px;
}

.contact-visual-form label,
.contact-visual-form .captcha-label {
  font-weight: bold;
}

.contact-visual-form input,
.contact-visual-form textarea,
.contact-visual-form button {
  font-family: Arial, Helvetica, sans-serif;
  direction: ltr;
}

.captcha-instructions {
  color: #ffffff;
  font-size: 9px;
}

.captcha-placeholder {
  display: inline-flex;
  box-sizing: border-box;
  width: 210px;
  min-height: 48px;
  margin-right: 7px;
  padding: 6px 10px;
  border: 1px solid #777777;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  color: #a7a7a7;
  background: #171717;
  font-size: 11px;
  text-align: center;
}

.load-code {
  padding: 0;
  border: 0;
  color: #0099ff;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}

.buttonsendTD {
  text-align: center;
}

#footerDetailHeaderMEM {
  width: 100%;
  text-align: center;
}

.historical-footer-links {
  color: #ffff00;
}

.historical-footer-links a,
.historical-footer-links span {
  margin-right: 6px;
  margin-left: 6px;
  color: #ffff00;
  text-decoration: underline;
}

.back-to-top {
  color: #ffff00;
}

.livecity-credit {
  display: table;
  width: auto;
  clear: both;
  margin: 5px auto 0 auto;
  padding: 2px 3px 2px 25px;
  border: 1px solid #939598;
  border-radius: 3px;
  color: #616262;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 15px;
  text-align: left;
  white-space: nowrap;
}

.sop-screen-readers-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

  #WebsiteDesign-MainDiv {
    width: 100%;
    margin-top: 4px;
  }

  #WebsiteDesign-MainTable {
    width: calc(100% - 8px);
    table-layout: fixed;
  }

  #WebsiteDesign-MainTableBorder {
    width: 100%;
  }

  #headerDetailHeaderMEM p {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
  }

  .header-image {
    width: 900px;
    max-width: 100%;
    height: auto;
  }

  #MenuWebsite_HeaderTopMenu_TD,
  #MenuWebsite_HeaderTopMenu_TABLE {
    width: 100%;
    height: auto;
  }

  #MenuWebsite_HeaderTopMenu_TABLE {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top-menu-item {
    min-width: 0;
    height: 44px;
    padding: 0 2px;
    white-space: normal;
  }

  .menu-separator {
    display: none;
  }

  .CenterTable {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  #longMessageMEM,
  #longMessageMEM > table,
  .renderings-table,
  .sketches-table,
  .draftings-layout,
  .contact-visual-form {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
  }

  body[data-page="home"] #longMessageMEM > table {
    height: auto !important;
    table-layout: fixed;
  }

  body[data-page="home"] #longMessageMEM p {
    overflow-wrap: anywhere;
  }

  .renderings-table {
    min-height: 0;
  }

  .album-frame,
  .sketches-table .album-frame {
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
  }

  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .album-slot {
    min-height: 44px;
  }

  .gallery-enlarge {
    padding: 4px;
  }

  .draftings-layout img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .draftings-layout a {
    overflow-wrap: anywhere;
  }

  .contact-visual-form table {
    table-layout: fixed;
  }

  .contact-visual-form input,
  .contact-visual-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .captcha-placeholder {
    width: 100%;
    max-width: 210px;
    margin-right: 0;
  }

  .historical-footer-links {
    line-height: 2;
  }

  .historical-footer-links a,
  .historical-footer-links span {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
  }
}

@media (max-width: 640px) {
  body,
  table,
  td {
    font-size: 14px;
  }

  .CenterTable {
    padding-right: 6px;
    padding-left: 6px;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .album-slot {
    margin: 1px;
  }

  .image-lightbox {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: max(4px, env(safe-area-inset-top)) max(4px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));
  }

  .image-lightbox-dialog {
    width: 100%;
    height: 100%;
  }

  .image-lightbox-header {
    min-height: 50px;
    padding: 2px 72px 5px 2px;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .image-lightbox-title {
    font-size: 16px;
  }

  .image-lightbox-meta {
    gap: 8px;
    font-size: 11px;
  }

  .image-lightbox-close {
    top: max(4px, env(safe-area-inset-top));
    right: max(4px, env(safe-area-inset-right));
    min-width: 64px;
    min-height: 44px;
  }

  .image-lightbox-controls {
    display: grid;
    min-height: 50px;
    padding-top: 6px;
    grid-template-columns: repeat(2, minmax(0, 150px));
    gap: 5px;
  }

  .image-lightbox-control {
    min-width: 0;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 12px;
  }

  .image-lightbox-previous,
  .image-lightbox-next {
    width: 48px;
    min-width: 48px;
    height: 72px;
    padding: 0;
    font-size: 44px;
  }

  .image-lightbox-previous {
    margin-left: 2px;
  }

  .image-lightbox-next {
    margin-right: 2px;
  }

  .video-lightbox {
    width: 100%;
    padding: max(4px, env(safe-area-inset-top)) max(4px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));
  }

  .video-lightbox-dialog {
    width: 100%;
    max-height: 100%;
  }

  .video-lightbox-title {
    padding-right: 72px;
    font-size: 16px;
  }

  .video-lightbox-video {
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
  }

  .video-lightbox-close {
    top: max(4px, env(safe-area-inset-top));
    right: max(4px, env(safe-area-inset-right));
    min-width: 64px;
  }
}

@media (max-width: 340px) {
  #MenuWebsite_HeaderTopMenu_TABLE {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
