:root {
  --font-family: 'Value Sans';
  --color-1: #190000;
  --color-2: #A0A0A0;
  --color-3: #eeeeee;
  --color-4: #D6D6D6;
  --color-5: #6A6A6A;
  --font-size-1: 60px;
  --font-size-2: 20px;
  --font-size-3: 12px;
  --font-size-4: 11px;
  --font-size-5: 30px;
  --font-size-6: 16px;
  --font-size-7: 26px;
  --font-size-8: 8px;
  --font-size-9: 18px;
  --font-size-10: 50px;
  --font-size-11: 14px;
}

*, *:before, *:after { box-sizing: border-box; }
body {
  font-family: var(--font-family);
  padding: 0;
  margin: 20px;
  color: #000;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  -webkit-text-size-adjust: none; 
}
h1, h2, h3, h4, h5, h6, p, figure, ul, ol, li {
  padding: 0;
  margin: 0;
  font-weight: normal;
  font-size: initial;
  letter-spacing: .125pt;
}
img {
  max-width: 100%;
}
a {
  color: var(--color-1);
}
input {
  font-family: var(--font-family);
  -webkit-appearance: none;
}

/* Header */
h1 {
  font-size: var(--font-size-1);
  font-weight: bold;
  margin-top: 35px !important;
  margin-bottom: 25px !important;
}
h1.site-title a {
  text-decoration: none;
}

/* Layout */
h1, nav, .thumbnails-view, footer, .exhibition h3.related-works, .featured-image, form.search, h3.bibliography-section-title {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Navigation */
nav.menu a:hover, nav.subnav a:hover {
  font-style: italic;
  color: var(--color-1);
  text-decoration: underline;
}

/* Menu */
nav.menu {
  font-weight: 500;
  font-size: var(--font-size-2);
  margin-bottom: 17px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
nav a {
  display: inline-flex;
  margin-right: 30px;
}
nav a:last-child {
  margin-right: 0;
}
nav a.active {
  font-style: italic;
}
nav, nav a {
  color: var(--color-2);
  text-decoration: none;
}
nav a.active {
  color: var(--color-1) !important;
}
h1, nav {
  letter-spacing: 0.5px;
}
.single-view {
  max-width: 1000px;
  margin: 0 auto;
}
nav.menu a.search-menu-button {
  background-image: url('../images/search-symbol.svg');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  width: .9em;
  height: .9em;
  cursor: pointer;
  border: 0;
  outline: 0;
  background-color: transparent;
}
nav.menu a.search-menu-button:hover {
  background-image: url('../images/search-symbol-hover.svg');
}

/* Subnavigation */
nav.subnav {
  margin: 0 auto;
  padding: 17px 0;
  font-weight: 500;
}
nav.subnav:last-child {
  margin-bottom: 30px;
}
nav.subnav a {
  font-size: var(--font-size-3);
}

span.title {
  display: block;
  font-weight: 500;
}

/* Toggle Navigation Menu */
button.toggle-mobile-menu, h1.page-title-mobile {
  display: none;
}

/* Search modal */
.modal-search {
  text-align: left;
  display: none;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 17px;
  z-index: 1;
  overflow-y: hidden;
}
.modal-search .field-wrapper {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  border: 1px solid var(--color-4);
}
.modal-search button.close {
  position: absolute;
  background-image: url('../images/close-symbol.svg');
  background-repeat: no-repeat;
  background-size: 55% auto;
  background-position: center;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  padding: 20px;
  cursor: pointer;
  background-color: transparent;
  border: 0;
}
.modal-search button.close:hover {
  background-image: url('../images/close-symbol-hover.svg');
}
.modal-search .field-wrapper > * {
  margin-right: 10px;
}
.modal-search .field-wrapper > *:last-child {
  margin-right: 0;
}
.modal-search .field-wrapper label {
  color: var(--color-2);
  font-size: var(--font-size-2);
}
.modal-search .field-wrapper input[type="search"] {
  font-size: var(--font-size-2);
  color: var(--color-2);
  border: none;
  outline: none;
  padding: 15px 13px 13px 13px;
}
.modal-search .field-wrapper:hover, .modal-search .field-wrapper:focus {
  border: 1px solid var(--color-1);
}
.modal-search .field-wrapper input[type="search"]::placeholder, .modal-search .field-wrapper input[type="search"]::-webkit-input-placeholder, .modal-search .field-wrapper input[type="search"]:-ms-input-placeholder {
  color: var(--color-2);
}
.modal-search .field-wrapper input[type="submit"] {
  background-image: url('../images/search-symbol.svg');
  background-position: center center;
  background-repeat: no-repeat;
  width: 3.5em;
  height: 4em;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  padding: 10px 8px;
}
.modal-search .field-wrapper input[type="submit"]:hover {
  background-image: url('../images/search-symbol-hover.svg');
}

/* Footer */
footer {
  font-size: var(--font-size-11);
  color: var(--color-2);
  padding: 50px;
}

/* Mobile */
@media (max-width: 800px) {
  h1 {
    font-size: var(--font-size-2);
    text-align: left;
  }
  h1.page-title-mobile {
    font-size: var(--font-size-5);
    font-weight: 500;
    font-style: italic;
    display: block;
    margin: 0 !important;
  }
  button.toggle-mobile-menu {
    display: block;
    position: absolute;
    top: 28px;
    right: 20px;
    border: 1px solid var(--color-3);
    background-color: #fff;
    padding: 6px 8px;
    text-transform: uppercase;
    font-size: var(--font-size-4);
    font-family: var(--font-family);
    color: var(--color-2);
    cursor: pointer;
  }
  nav.menu {
    font-size: var(--font-size-10);
    text-align: left;
    display: none;
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: calc(100vh - 80px);
    left: 0;
    top: 0;
    margin-top: 80px;
    padding: 17px;
    z-index: 1;
    overflow-y: auto;
  }
  nav.menu a {
    display: block;
    margin-bottom: 25px;
  }
  nav.subnav {
    text-align: left;
    /* padding: 17px 0; */
  }
  nav.subnav a {
    font-size: var(--font-size-4) !important;
  }
  .subnav {
    line-height: 26px;
  }
}