* {
  box-sizing: border-box !important;
}

#previewFull {
  background-color: #FFFFFF !important;
  width: 840px !important;
  color: inherit;
  margin: 0 auto !important;
}

body {
  background-color: #FFFFFF !important;
  color: inherit;
}

#stage, #stage2 {
  border-bottom: 1px dotted #7F7F7F !important;
}

#sitetitle {
  border-bottom: 1px dotted #7F7F7F !important;
  width: 840px !important;
  margin: 0 auto !important;
}

.borderRight {
  border-right: 1px solid #FFFFFF !important;
}

.logo {
  display: inherit !important;
}

.logo a {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 17px !important;
  letter-spacing: 0.5px !important;
  color: #757575 !important;
  text-decoration: none !important;
}

.logo a:hover {
  text-decoration: none !important;
}

.detailText {
  color: #333333 !important;
  background-color: inherit;
}

.preview {
  border: 55px solid #FFFFFF !important;
}

.thumbnail {
  background-color: #FFFFFF !important;
  color: inherit;
  width: 213.33px !important;
  height: 213.33px !important;
}

#index {
  width: 840px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

#wrapper_thumb {
  height: auto !important;
  width: 840px !important;
  margin: 0 auto !important;
}

#wrapper_thumb > div:not(.login-form) {
  width: 840px !important;
}

#stage2 {
  width: 840px !important;
}

.itemNumber {
  color: #9C9C9C !important;
  display: none !important;
  background-color: inherit;
}

.caption {
  color: #B3B3B3 !important;
  background-color: inherit;
}

.borderTopLeft {
  border-top: 1px solid #FFFFFF !important;
  border-left: 1px solid #FFFFFF !important;
}

.selectedThumbnail {
  background-color: #FFFFFF !important;
  color: inherit;
}

.borderRightDotted {
  border-right: 1px dotted #FFFFFF !important;
}

.borderBottomRight {
  border-right: 1px solid #FFFFFF !important;
  border-bottom: 1px solid #FFFFFF !important;
}

#wrapper_large {
  width: 840px !important;
  margin: 0 auto !important;
}

.emptyThumbnail {
  background-color: #FFFFFF !important;
  color: inherit;
}

.thumb {
  border: none !important;
}

.borderBottom {
  border-bottom: 1px solid #FFFFFF !important;
}

#stage {
  width: 840px !important;
}

.textColor {
  color: #333333 !important;
  background-color: inherit;
}

#collectionHeader {
  margin-top: 3px !important;
  margin-bottom: 3px !important;
}

.works-nav {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
}

.works-toggle {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0.5px !important;
  line-height: 1.6 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: #333333 !important;
}

.works-toggle:hover {
  color: #757575 !important;
}

.works-nav-links {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: 12px !important;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none !important;
}

.works-nav.is-open .works-nav-links {
  animation: works-expand 0.35s ease forwards !important;
  pointer-events: auto !important;
}

.works-nav.is-closing .works-nav-links {
  animation: works-collapse 0.25s ease forwards !important;
  pointer-events: none !important;
}

@keyframes works-expand {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes works-collapse {
  from {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  to {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
}

.works-nav-links a {
  display: inline-block !important;
  padding: 2px 12px 2px 0 !important;
  text-decoration: none !important;
  color: #333333 !important;
  white-space: nowrap !important;
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.3px !important;
}

.works-nav-links a:hover {
  color: #757575 !important;
}

#contact {
  height: 72px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

#contact > a > p.textColor {
  width: 60px !important;
}

#contact > a {
  display: block !important;
  flex-direction: column !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 60px !important;
}

#contact > a:nth-child(3) {
  color: #cccccc !important;
  font-size: 9px !important;
  opacity: 0.3 !important;
  transition: opacity 0.3s ease !important;
}

#contact:hover > a:nth-child(3) {
  opacity: 0.8 !important;
}

#contact > a.footer-compact-meta,
#contact > .footer-simple-credit {
  color: #cccccc !important;
  font-size: 9px !important;
  line-height: 12px !important;
  letter-spacing: 0.3px !important;
  opacity: 0.3 !important;
  transition: opacity 0.3s ease !important;
}

#contact > a.footer-compact-meta {
  display: block !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: auto !important;
  white-space: nowrap !important;
}

#contact > .footer-simple-credit {
  display: block !important;
  margin-top: 5px !important;
  white-space: nowrap !important;
}

#contact:hover > a.footer-compact-meta,
#contact:hover > .footer-simple-credit {
  opacity: 0.8 !important;
}

#content {
  height: auto !important;
  width: 840px !important;
  margin: 0 auto !important;
}

#content > img {
  width: 800px !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 700px) {
  body {
    padding: 12px 0 !important;
  }

  #wrapper_thumb {
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #wrapper_thumb > div:not(.login-form) {
    width: 100% !important;
  }

  #wrapper_large {
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #stage,
  #stage2,
  #previewFull,
  #index {
    width: 100% !important;
  }

  .preview {
    border: 20px solid #FFFFFF !important;
  }

  .thumbnail {
    width: 50% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    float: none !important;
  }

  .thumbnail a > div {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #content img {
    max-height: 60vh !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
}
