.benguiat {
  font-family: "Benguiat", serif;
}

.magpie {
  font-family: "Magpie", serif;
}

.millesime {
  font-family: "millesime", sans-serif;
}

.loretta {
  font-family: "Loretta", serif;
}

.gelica {
  font-family: "Gelica", serif;
}

.elza {
  font-family: "elza", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (max-width: 1280px) {
  .header-subtitle {
    margin-left: 2.2em;
  }
}
/* Item Set Page */
.body-truncate-fade ul.resource-list .resource .description:after {
  content: " [...]";
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgb(248, 248, 248);
  padding-left: 4px;
  top: auto;
  height: auto;
}

/* Gallery Page */
.og-details p, .og-details div {
  color: #000000;
}

.og-grid .og-details h3 {
  font-size: 1.6rem !important;
  font-family: "kepler-std", serif;
}

.right-sidebar .block-thumbnail img,
.og-fullimg img {
  margin: auto;
  display: block;
}

.og-expander {
  z-index: 1;
}

/* Item Page */
dl {
  margin-top: 0;
}

.property.title {
  display: none;
}

/* Resource Values Heading */
.property.heading dt {
  display: none;
}

.property.heading dd {
  font-size: 1.5rem;
  font-style: italic;
  font-family: "Loretta", serif;
}

@media screen {
  * {
    box-sizing: border-box;
  }
  html {
    height: 100%;
    padding: 0;
    margin: 0;
  }
  body {
    background-color: #D9CDB8;
    font-family: "gill-sans-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    word-wrap: break-word;
    overflow-x: none;
  }
  a:link {
    text-decoration: none;
    color: #8C2E0B;
  }
  a:visited {
    color: #8C2E0B;
  }
  a:active,
  a:hover {
    color: rgb(234.5695364238, 77.0728476821, 18.4304635762);
  }
  h1 {
    font-size: 40px;
    line-height: 60px;
  }
  h2 {
    font-size: 30px;
    line-height: 45px;
  }
  h3 {
    font-size: 25px;
    line-height: 45px;
  }
  h4 {
    font-size: 22.5px;
  }
  h1, h2, .title-font {
    font-family: "kepler-std", serif;
    font-weight: 600;
    font-style: normal;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  /* @group ----- Forms ----- */
  input,
  textarea,
  button,
  .button,
  select {
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    vertical-align: top;
  }
  input[type=text],
  input[type=number],
  input[type=password],
  input[type=email],
  input[type=url],
  textarea {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border-radius: 0;
    border: 1px solid #dedede;
    padding: 6.5px 7.5px;
    margin: 0;
  }
  textarea {
    height: 90px;
  }
  input[type=file] {
    line-height: 1;
    vertical-align: bottom;
    font-size: 15px;
  }
  button,
  .button,
  a.button,
  a.button:visited,
  [type=submit] {
    border: 1px solid #dedede;
    background-color: #dedede;
    border-radius: 2px;
    padding: 7.5px;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    cursor: pointer;
    color: #000;
  }
  button:hover,
  .button:hover,
  a.button:hover,
  a.button:visited:hover,
  [type=submit]:hover {
    opacity: 1;
  }
  select {
    background-color: #fff;
    padding: 7.5px;
    border: 1px solid #dedede;
  }
  ::-webkit-input-placeholder {
    font-style: italic;
  }
  :-moz-placeholder { /* Firefox 18- */
    font-style: italic;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    font-style: italic;
  }
  :-ms-input-placeholder {
    font-style: italic;
  }
  .field {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
  }
  .field .inputs input[type=checkbox] {
    vertical-align: bottom;
  }
  .field .field-meta {
    padding: 7.5px 45px 7.5px 0;
    position: relative;
    width: 100%;
  }
  .field.multi-value .label,
  .field.multi-value .field-description {
    margin-right: 7.5px;
  }
  .field.required .field-meta:after {
    content: "\f069";
    font-family: "Font Awesome 5 Free";
    font-size: 15px;
    font-weight: 900;
  }
  .field .add-value {
    position: absolute;
    right: 0.25rem;
    top: 0;
    width: 45px;
  }
  .field .value:not(:last-child) {
    margin-bottom: 15px;
  }
  .field-description {
    font-size: 15px;
  }
  .field .inputs {
    width: 100%;
  }
  .field .value * {
    max-width: 100%;
  }
  .field .value select {
    width: 100%;
    margin-bottom: 7.5px;
  }
  /* @end */
  /* @group ----- Navigation ----- */
  #skipnav {
    position: fixed;
    top: 30px;
    left: 50%;
    border: 1px solid #ababab;
    transform: translateX(-50%);
    z-index: -5;
    padding: 7.5px;
    background-color: #fff;
    opacity: 0;
  }
  #skipnav:focus {
    z-index: 1000;
    opacity: 1;
  }
  header h1 {
    margin: 0;
  }
  header {
    background-image: url("/files/asset/db99480d308c26792d185c9893bf8e4f76f4f0cf.jpg");
  }
  .header-title {
    margin-left: 5%;
    width: 15%;
  }
  .header-title .header-word-grid {
    display: block;
    height: 100%;
    padding: 0.5em 0;
  }
  .header-title .header-word-grid div {
    width: -moz-fit-content;
    width: fit-content;
    padding: 0.25em 0.5em;
    background-color: #D9CDB8;
    border: 4px solid #0D0D0D;
  }
  .header-title .header-word-grid h1 {
    color: #0D0D0D;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2rem;
  }
  .header-title .header-word-grid h1 .block-one {
    margin-left: 5%;
    font-family: "millesime", sans-serif;
  }
  .header-title .header-word-grid h1 .block-two {
    margin-left: 15%;
    font-family: "Magpie", serif;
  }
  .header-title .header-word-grid h1 .block-three {
    margin-left: 0;
    font-family: "Gelica", sans-serif;
  }
  .header-title .header-word-grid h1 .block-four {
    margin-left: 13%;
    font-family: "Benguiat", serif;
  }
  .header-subtitle {
    margin-left: 0;
  }
  .header-subtitle p {
    width: -moz-fit-content;
    width: fit-content;
    padding: 0.5em;
    background-color: #D9CDB8;
    border: 4px solid #0D0D0D;
    color: #0D0D0D;
    margin-top: 85%;
    font-size: 1.2rem;
    font-style: italic;
  }
  header nav {
    padding: 0;
  }
  header nav.closed ul {
    height: 0;
    overflow: hidden;
    margin: 0;
  }
  header nav:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-weight: 900;
    display: block;
    width: 37.5px;
    height: 37.5px;
    border: 1px solid #dedede;
    text-align: center;
    border-radius: 2px;
    position: absolute;
    right: 30px;
    top: -48.75px;
    cursor: pointer;
    line-height: 37.5px;
  }
  header nav.open {
    margin: 15px 0 -1px;
  }
  header nav.open:before {
    content: "\f00d";
  }
  header nav ul {
    padding-left: 0;
    list-style: none;
    position: relative;
    margin: 0 auto;
    height: -moz-fit-content;
    height: fit-content;
    margin-top: 3.7rem;
  }
  header nav ul a {
    display: inline-block;
    width: 100%;
    padding: 0.5em;
    font-weight: 400;
    font-style: normal;
  }
  header nav ul a:hover {
    border-bottom: 0;
    background-color: #dedede;
  }
  header nav ul li {
    border-top: 2px solid #0D0D0D;
    position: relative;
    background-color: #A69485;
  }
  header nav ul li li:last-of-type {
    padding-bottom: 0;
  }
  header nav ul li.active {
    font-weight: bold;
  }
  header nav ul li.parent {
    position: relative;
  }
  header nav ul .parent-link {
    display: flex;
  }
  header nav ul .parent-link > a {
    width: calc(100% - 60px);
  }
  header nav ul .child-toggle {
    color: #dedede;
    width: 60px;
    text-align: center;
    background-color: #fff;
    border-left: 2px solid #0D0D0D;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  header nav ul .child-toggle:before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-weight: 900;
  }
  header nav > ul > li:last-child {
    border-bottom: 2px solid #0D0D0D;
    padding-bottom: -1px;
  }
  header nav > ul ul li {
    height: 0;
    overflow: hidden;
    border: 0;
  }
  header nav ul.open > li {
    height: auto;
    border-top: 1px solid #dedede;
    padding-top: -1px;
  }
  /* Second level items */
  header nav > ul > li > ul > li.active > a {
    margin-left: -1.5em;
  }
  header nav > ul > li > ul > li.active > a:before {
    content: ">";
    display: inline-block;
    width: 1.5em;
  }
  header nav > ul > li > ul > li a {
    padding-left: 30px;
  }
  /* Third level items */
  header nav > ul > li > ul > li > ul > li a {
    padding-left: 60px;
  }
  /* Fourth level items */
  header nav > ul > li > ul > li > ul > li > ul > li a {
    padding-left: 90px;
  }
  .sub-menu ul {
    padding-left: 0;
    list-style-type: none;
    margin-top: 15px;
  }
  .sub-menu li {
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #dedede;
    padding: 7.5px 0 6.5px;
  }
  .sub-menu li:first-of-type {
    border-top: 1px solid #dedede;
    padding-top: 6.5px;
  }
  nav.pagination {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 45px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .pagination input {
    text-align: center;
  }
  .resource-list + .pagination {
    border-color: transparent;
  }
  .pagination form {
    min-width: 90px;
    margin-right: 15px;
  }
  .pagination form,
  .pagination .button,
  .pagination button,
  .pagination .page-count {
    display: inline-block;
    vertical-align: top;
    height: 45px;
  }
  .pagination-buttons {
    margin-right: 15px;
  }
  .pagination .button {
    border: 1px solid #dedede;
    background-color: #dedede;
    border-radius: 2px;
    padding: 7.5px;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    cursor: pointer;
    color: #000;
  }
  .pagination .button:hover {
    opacity: 1;
  }
  .pagination .button {
    width: 45px;
    text-align: center;
  }
  .pagination .inactive.button {
    opacity: 0.5;
    color: #ababab;
    background-color: white;
  }
  .pagination input {
    width: 60px;
  }
  .breadcrumbs {
    font-size: 15px;
    margin: 15px 0;
  }
  /* @end */
  /* @group ----- Header ----- */
  h2.site-subtitle {
    font-family: "bebas-neue-by-fontfabric", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
    margin-top: 0;
    text-transform: capitalize;
  }
  header {
    margin: 0 0 75px;
    background-color: #0D0D0D;
    border-bottom: 1px solid #dedede;
    position: relative;
    display: inline-flex;
    width: 100%;
  }
  header > * {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .site-title:hover,
  .site-title:active {
    border-bottom: 0;
  }
  button.o-icon-search {
    display: none;
  }
  #search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #dedede;
    border-top: 1px solid #dedede;
    padding: 7.5px 30px;
  }
  #search form {
    display: flex;
    flex-wrap: nowrap;
  }
  #search form input[type=text] {
    width: 100%;
  }
  #search form button[type=submit] {
    height: 45px;
    width: 45px;
    text-indent: -9999px;
    position: relative;
    border-radius: 0 3px 3px 0;
  }
  #search form button[type=submit]:before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    text-indent: 0;
    line-height: 45px;
  }
  .banner {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: -1;
  }
  .banner img {
    width: 100%;
  }
  /* @end */
  /* @group ----- Footer ----- */
  footer {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    clear: both;
  }
  /* @end */
  /* @group ----- Page and Blocks ----- */
  #content {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px 30px;
  }
  .resource-list.preview + a {
    border: 1px solid #dedede;
    background-color: #dedede;
    border-radius: 2px;
    padding: 7.5px;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    cursor: pointer;
    color: #000;
  }
  .resource-list.preview + a:hover {
    opacity: 1;
  }
  .resource-list.preview + a {
    color: #000;
  }
  .resource-list.preview + a:hover {
    background-color: #787878;
    border-bottom-width: 0px;
    color: #fff;
  }
  .spotlight {
    clear: both;
    padding: 30px;
    padding-right: calc(50% + 30px);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 50%;
    margin: 60px 0;
  }
  .spotlight.left-image {
    background-position: left center;
    padding-left: calc(50% + 30px);
    padding-right: 0;
  }
  .dark-accent {
    color: #fff;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flow-root;
    clear: both;
  }
  .dark-accent:after {
    content: "";
    background-color: #787878;
    z-index: -1;
    position: absolute;
    left: -9999px;
    right: -9999px;
    top: 0;
    bottom: 0;
  }
  .dark-accent a:link {
    font-weight: bold;
  }
  .dark-accent a:link,
  .dark-accent a:visited {
    color: #ddd;
  }
  .dark-accent ul.resource-list .resource,
  .dark-accent ul.preview.resource-list li:first-of-type {
    border-color: #9b9b9b;
  }
  .dark-accent button,
  .dark-accent a.button,
  .dark-accent .resource-list.preview + a,
  .dark-accent [type=submit] {
    background-color: #ddd;
    color: #787878;
    font-weight: normal;
  }
  .dark-accent .carousel-block button {
    background-color: transparent;
    color: #fff;
  }
  .light-accent {
    position: relative;
    padding-top: 30px;
    padding-top: 30px;
    display: flow-root;
    clear: both;
  }
  .light-accent:after {
    content: "";
    background-color: #fff;
    z-index: -1;
    position: absolute;
    left: -9999px;
    right: -9999px;
    top: 0;
    bottom: 0;
    border: 1px solid #dedede;
  }
}
@media screen and (max-width: 900px) {
  .header-subtitle {
    display: none;
  }
}
@media screen {
  .template-3-grid.assets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 30px;
  }
}
@media screen and (max-width: 799px) {
  .template-3-grid.assets {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 399px) {
  .template-3-grid.assets {
    grid-template-columns: 1fr;
  }
}
@media screen {
  .template-3-grid .asset-container {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 7.5px;
  }
  .template-3-grid.assets .asset img {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: none;
  }
  .page-layout-grid .block-media {
    container-type: inline-size;
  }
  .page-layout-grid .block-media.block-layout-alignment-block-right,
  .page-layout-grid .block-media.block-layout-alignment-block-left,
  .page-layout-grid .block-media.block-layout-alignment-block-center {
    container-type: normal;
  }
  .page-layout-grid .block-media.has-background {
    align-self: start;
  }
  .media-card.media-embed {
    --grid-column-count: 2 !important;
    --grid-item--min-width: 150px;
    --grid-layout-gap: 24px;
    --gap-count: calc(var(--grid-column-count) - 1);
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    grid-gap: var(--grid-layout-gap);
    width: 100vw;
    max-width: 100%;
    align-items: stretch;
    color: #000;
  }
  .media-card.media-embed a:link,
  .media-card.media-embed a:visited {
    color: #8C2E0B;
  }
  .media-card.media-embed .resource {
    display: flex;
    background-color: #fff;
    padding: 30px;
    align-items: center;
    border: 1px solid #dedede;
    height: 100%;
  }
  .media-card.media-embed .resource-meta {
    width: 50%;
    padding-left: 30px;
  }
  .media-card.media-embed .resource > a,
  .media-card.media-embed .media-render {
    max-width: 50%;
  }
  .media-card.media-embed .resource:not(:last-child) {
    margin-bottom: 0;
  }
  @container (max-width:799px) {
    .media-card.media-embed {
      --grid-column-count: 1 !important;
    }
  }
}
@media screen {
  /* @end */
  /* @group ----- Resource List ----- */
  ul.resource-list {
    list-style-type: none;
    padding-left: 0;
  }
  ul.resource-list .resource {
    border-bottom: 1px solid #dedede;
    padding-bottom: 29px;
    margin: 30px 0;
    overflow: hidden;
    position: relative;
  }
  ul.resource-list .resource > *:last-child {
    margin-bottom: 0;
  }
  ul.resource-list .resource:first-child {
    border-top: 1px solid #dedede;
    padding-top: 29px;
  }
  ul.resource-list .resource img {
    height: auto;
    width: 60px;
    float: right;
    margin-left: 15px;
  }
  ul.resource-list .resource h4 {
    margin-top: 0;
  }
  .body-truncate-fade ul.resource-list .resource .description {
    overflow: hidden;
    max-height: 120px;
    position: relative;
  }
  .body-truncate-fade ul.resource-list .resource .description:after {
    content: "";
    position: absolute;
    top: 82.5px;
    left: 0;
    right: 0;
    height: 37.5px;
    background: linear-gradient(to top, rgb(248, 248, 248), rgba(248, 248, 248, 0));
  }
  .body-truncate-fade .light-accent ul.resource-list .resource .description::after {
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
  }
  .body-truncate-fade .dark-accent ul.resource-list .resource .description::after {
    background: linear-gradient(to top, #787878, rgba(120, 120, 120, 0));
  }
  .body-truncate-ellipsis ul.resource-list .resource .description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  ul.resource-list .resource img ~ * {
    width: calc(100% - 75px);
  }
  /* @end */
  /* @group ----- Browse ---- */
  .search-filters {
    margin-bottom: 30px;
  }
  .search-filters .filter {
    display: inline-flex;
  }
  .filter-label,
  .filter-value {
    display: inline-block;
    border: 1px solid #dedede;
    padding: 6.5px;
  }
  .filter-label {
    background-color: #dedede;
  }
  .browse-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .browse-controls .pagination {
    display: flex;
  }
  .advanced-search {
    line-height: 45px;
  }
  /* @end */
  /* @group ----- Show ----- */
  .expand:after,
  .collapse:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
  .expand:after {
    content: "\f0da";
  }
  .collapse:after {
    content: "\f0d7";
  }
  .collapsible {
    display: none;
  }
  .collapse + .collapsible {
    display: block;
    border-left: 3px solid #ababab;
    padding: 7.5px 30px;
    margin: 15px 0;
    width: 100%;
  }
  body.resource #content > h2:first-of-type + h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin: -30px 0 30px;
  }
  .property {
    margin-bottom: 30px;
  }
  .property:last-child {
    margin-bottom: 0;
  }
  .content {
    margin: 0.5rem;
  }
  .property dt {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: bold;
  }
  .property dt:first-child {
    margin-top: 0;
  }
  .value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 0;
  }
  .value:not(:last-child) {
    margin-bottom: 15px;
  }
  .value-content:not(:only-child) {
    margin-right: 7.5px;
  }
  .resource-link img {
    width: auto;
    height: 45px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 7.5px;
  }
  .property .value a {
    display: inline-block;
    vertical-align: bottom;
  }
  .property .value:not(:last-child) img {
    margin-bottom: 7.5px;
  }
  .property .value:not(:last-child) img + a {
    margin-bottom: 7.5px;
  }
  .property .value .language {
    background-color: rgb(209.25, 209.25, 209.25);
    padding: 0 7.5px;
    font-size: 15px;
    margin-right: 7.5px;
  }
  .property .private:after {
    content: "\f070";
    font-family: "Font Awesome 5 Free";
    font-size: 15px;
    font-weight: 900;
  }
  .media-list .resource-link {
    width: 100%;
    display: block;
  }
  .media-list .resource-link:not(:last-child) {
    margin-bottom: 15px;
  }
  #content .media.resource {
    display: inline-block;
    text-align: center;
    vertical-align: bottom;
    margin-right: 7.5px;
  }
  #content .media.resource:hover {
    border-bottom: 0;
  }
  #content .media.resource img {
    vertical-align: top;
    margin-bottom: 15px;
  }
  .media-render > * {
    max-width: 100%;
  }
  #linked-resources caption {
    text-align: left;
    font-weight: bold;
    border-bottom: 3px solid #ababab;
    padding: 7.5px 15px 4.5px;
  }
  .linked-header {
    margin-bottom: 15px;
  }
  #linked-filter {
    margin-bottom: 15px;
  }
  #linked-filter label {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .linked-header nav.pagination {
    margin-bottom: 0;
  }
  #linked-resources table {
    margin: 15px 0;
  }
  #linked-filter h4 {
    margin-bottom: 15px;
  }
  #linked-resources .resource-link {
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }
  /* @end */
  /* @group ----- Advanced Search ----- */
  #advanced-search .value:not(:last-child) {
    margin-bottom: 15px;
  }
  .remove-value {
    position: relative;
    width: 45px;
    margin-left: 7.5px;
  }
  /* @end */
  /* @group ----- Search ----- */
  .results {
    margin-bottom: 60px;
    clear: both;
  }
  .results ul {
    list-style: none;
    padding-left: 0;
  }
  .results .result-title {
    font-weight: bold;
  }
  .results > ul {
    margin: -15px 0 0 0;
  }
  .results .result-site,
  .results ul ul {
    display: block;
    padding-left: 15px;
  }
  .results > ul > li {
    margin-bottom: 30px;
  }
  .pagination + .results {
    margin: 30px 0 0;
    clear: both;
  }
  .sitewide-search-form {
    display: none;
  }
  .sitewide-search-form ~ .results + .pagination {
    margin-top: 0;
  }
  .sitewide-search-form ~ .advanced-search {
    display: block;
  }
  .sitewide-search-form ~ h2 {
    width: 50%;
    float: left;
  }
  .sitewide-search-form ~ .pagination {
    margin: 37.5px 0 30px;
    text-align: right;
    width: 50%;
    float: right;
  }
  .sitewide-search-form ~ p {
    clear: both;
  }
  .index.search .results ul li {
    margin-bottom: 7.5px;
    padding-bottom: 7.5px;
    border-bottom: 1px solid #ababab;
  }
  .items.search #search {
    display: none;
  }
  /* @end */
  /* @group ----- Common Modules ---- */
  a.metadata-browse-link {
    font-size: 15px;
  }
  /* @end */
  /* Spineless Wonder Customisation */
  /* social media icons */
  div.Facebook > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/facebook-icon.png");
  }
  div.Instagram > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/instagram-icon.png");
  }
  div.X > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/x-icon.png");
  }
  div.LinkedIn > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/linkedin-icon.png");
  }
  div.YouTube > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/youtube-icon.png");
  }
  div.Blue.Sky > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/bluesky-icon.png");
  }
  div.Mastodon > dd > span > a.uri-value-link {
    background-image: url("/themes/history-day/asset/images/mastodon-icon.png");
  }
  div.Facebook > dd > span > a.uri-value-link, div.Instagram > dd > span > a.uri-value-link,
  div.X > dd > span > a.uri-value-link, div.LinkedIn > dd > span > a.uri-value-link,
  div.YouTube > dd > span > a.uri-value-link, div.Blue.Sky > dd > span > a.uri-value-link,
  div.Mastodon > dd > span > a.uri-value-link {
    text-indent: -9999px;
    height: 32px;
    width: 32px;
    white-space: nowrap;
  }
  div.YouTube > dt, div.LinkedIn > dt, div.X > dt,
  div.Instagram > dt, div.Facebook > dt, div.Mastodon > dt, div.Blue.Sky > dt {
    display: none;
  }
  div.social-media-container {
    display: inline-flex;
  }
  div.social-media-container div.property {
    margin: 1rem 3rem;
  }
  div.main-body {
    display: grid;
    grid-template-columns: 60% 40%;
  }
  div.right-sidebar > * {
    margin-inline: auto;
    display: block;
  }
  .media-render.youtube > * {
    width: 80%;
    height: 600px !important;
    margin: 2rem auto;
    display: block;
  }
  /* @end */
  /* Header  */
  .header-container {
    display: inline-flex;
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }
  .header-container nav {
    display: flex;
    height: 100%;
  }
  .header-container nav ul.navigation li {
    margin: auto 0;
  }
  .header-container nav ul.navigation li a {
    color: black;
    font-weight: 500;
    font-size: 1.2rem;
  }
  .header-container nav ul.navigation li a:hover {
    text-decoration: underline;
    text-decoration-color: #8C2E0B;
    text-decoration-thickness: 3px;
  }
  header nav > ul > li > .parent-link a:after {
    color: #8C2E0B;
  }
  .header-image img, div.header-image {
    height: 10em;
  }
  /* @end */
  /* Carousel */
  .slick-slide .slide-text .title {
    font-family: "freight-display-pro", serif;
    font-size: 1.5rem;
  }
  ul.slick-dots {
    position: relative;
  }
  /* @end */
  /* Footer */
  ul.logos, ul.social-media-list {
    list-style-type: none;
    display: inline-flex;
    margin: 0;
  }
  div.logo-box {
    display: block;
    margin: 0;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1rem auto;
  }
  div.social-media-bar {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin: auto 5% auto auto;
  }
  li.social-media-icon {
    margin: 1.25rem;
    filter: invert(1);
  }
  li.social-media-icon a img {
    transition: transform 0.2s;
  }
  li.social-media-icon a img:hover {
    transform: scale(1.2);
  }
  img.institute-logo {
    width: 300px;
    margin: 1.5rem 1.5rem 0.5rem 1.5rem;
    transition: transform 0.2s;
  }
  img.institute-logo:hover {
    transform: scale(1.05);
  }
  img.ihr-logo {
    width: 400px;
  }
  /* @end */
  /* search bar */
  #search form button[type=submit]:before {
    color: white;
  }
  button, .button, a.button, a.button:visited, [type=submit] {
    background-color: #8C2E0B;
    color: white;
  }
  div#search {
    display: block;
  }
  /* @end */
  .main-content {
    padding-right: 1em;
  }
  div.item-set-showcase > div.item-set {
    display: grid;
    grid-template-columns: 80% 20%;
    padding: 0.5em;
  }
  .item-set-thumbnail {
    margin: 0.25em auto;
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
  }
  .item-set-thumbnail a {
    margin: auto;
  }
  .iiif_presentation {
    width: 100%;
  }
}
@media screen and (max-width: 900px) {
  header {
    display: block;
  }
  header nav::before {
    top: 5em !important;
    position: absolute;
    color: #0D0D0D;
    background-color: #D9CDB8;
    border: 4px solid #0D0D0D;
  }
  .header-container nav {
    margin-bottom: 2.95em !important;
  }
  header > div.header-container > nav > ul.navigation {
    position: absolute;
    width: 100%;
    z-index: 10;
    margin-top: 10.7em;
    left: 0;
    right: 0;
  }
  ul.logos {
    display: inline;
  }
  ul.open > li > a {
    color: white;
    font-size: 1rem;
  }
  div.main-body {
    display: block;
  }
  div.item-set-showcase > div.item-set {
    display: block;
  }
}
@media screen and (max-width: 1280px) {
  .header-subtitle {
    margin-left: 2.2em;
  }
}
@media screen and (min-width: 900px) {
  #content {
    padding: 0 60px 30px;
    min-height: 30vw;
  }
  table {
    margin: 30px 0;
    border-collapse: collapse;
  }
  th,
  td {
    text-align: left;
    padding: 7.5px 15px;
    padding-bottom: 6.5px;
    border-bottom: 1px solid #ababab;
  }
  .field .field-meta {
    width: 30%;
    align-self: flex-start;
  }
  .field .inputs {
    width: 70%;
    padding-left: 30px;
  }
  .field .value select {
    width: initial;
    margin-bottom: 0;
  }
  /* @group ----- Header ----- */
  header {
    position: relative;
    margin-bottom: 60px;
  }
  header > * {
    padding: 0 30px;
  }
  .banner {
    margin-top: -60px;
  }
  /* @end */
  /* @group ----- Footer ----- */
  footer {
    padding: 0;
    background-color: #594B39;
  }
  /* @end */
  /* @group ----- Navigation ----- */
  header nav {
    margin: 0 auto !important;
    position: static;
    padding-left: 20px;
  }
  header nav:before {
    content: "";
    border: 0;
    display: none;
  }
  header nav ul a {
    padding: 0;
  }
  header nav ul li {
    position: static;
  }
  header nav ul a:hover {
    background-color: transparent;
  }
  header nav ul li,
  header nav > ul li:last-child,
  header nav > ul ul:hover > li {
    border: 0;
  }
  header nav ul.navigation {
    margin-left: auto;
    position: static;
    display: flex;
    align-items: flex-end;
    height: -moz-fit-content;
    height: fit-content;
    margin-top: auto;
    width: -moz-fit-content;
    width: fit-content;
    margin-right: 2em;
    margin-bottom: 1em;
  }
  header nav ul.navigation li ul:before {
    display: none;
  }
  header nav ul.navigation li {
    background-color: #D9CDB8;
    border: 4px solid #0D0D0D;
    margin: 0.25em auto;
    padding: 0.25em 0.5em;
    width: -moz-fit-content;
    width: fit-content;
  }
  header nav ul.navigation li:nth-child(1) {
    margin-bottom: 0.5em;
  }
  header nav ul.navigation li:nth-child(1) a {
    font-family: "Benguiat", serif;
    font-weight: 400;
    font-style: normal;
  }
  header nav ul.navigation li:nth-child(2) {
    margin-bottom: 1em;
  }
  header nav ul.navigation li:nth-child(2) a {
    font-family: "Magpie", serif;
    font-weight: 400;
    font-style: normal;
  }
  header nav ul.navigation li:nth-child(3) {
    margin-bottom: 0;
  }
  header nav ul.navigation li:nth-child(3) a {
    font-family: "millisime", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  header nav ul.navigation li:nth-child(4) {
    margin-bottom: 1.5em;
  }
  header nav ul.navigation li:nth-child(4) a {
    font-family: "Loretta", serif;
    font-weight: 400;
    font-style: normal;
  }
  header nav ul.navigation > li:not(:last-child) {
    margin-right: 15px;
  }
  header nav ul.navigation > li > ul {
    position: absolute;
    top: 100%;
    left: -9999px;
    background-color: #fff;
    padding: 0;
    list-style: none;
    width: 100%;
    padding: 14px 0 6.5px;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    z-index: 1;
  }
  header nav ul.navigation ul ul {
    height: 0;
  }
  header nav ul.navigation > li:hover > ul {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 60px;
    left: 0;
    right: 0;
    border-bottom: 0;
    border-color: #dedede;
    height: auto;
    overflow: visible;
  }
  header nav ul.navigation > li:hover > ul:after {
    content: "";
    left: -9999px;
    right: -9999px;
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    border-bottom: 1px solid #dedede;
    border-top: 1px solid #dedede;
    z-index: -1;
  }
  header nav ul.navigation > li > ul > li {
    width: 25%;
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 30px;
  }
  header nav ul.navigation > li > ul > li ul {
    font-weight: normal;
    padding: 0;
    list-style-type: none;
    height: auto;
  }
  header nav ul.navigation li.parent {
    position: static;
  }
  header nav > ul > li > a {
    margin: 7.5px;
  }
  header nav > ul > li > .parent-link {
    display: inline-block;
    width: 100%;
  }
  header nav > ul > li > .parent-link a {
    margin: 7.5px;
    width: 100%;
  }
  /* All top-level nav items with siblings are parent items and get an arrow. */
  header nav > ul > li > .parent-link a:after {
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    font-weight: 900;
    display: inline-block;
    margin-left: 7.5px;
  }
  header nav > ul li:hover ul li {
    height: auto;
    padding: 0;
  }
  .child-toggle {
    display: none;
  }
  /* Second and Third level items */
  header .parent ul a {
    padding-left: 0;
  }
  header .parent .parent .parent ul a {
    padding-left: 15px;
  }
  .sub-menu ul {
    border-bottom: 1px solid #dedede;
    padding-bottom: 14px;
  }
  .sub-menu li {
    display: inline-block;
    border: 0;
    padding: 0;
    margin-right: 15px;
  }
  .sub-menu li:first-of-type {
    border: 0;
    padding: 0;
  }
  #search {
    left: 75%;
    border-left: 1px solid #dedede;
    padding: 7.5px;
  }
  #search form input[type=text],
  #search form button[type=submit] {
    height: 30px;
    font-size: 15px;
    line-height: 30px;
  }
  #search form button[type=submit] {
    width: 30px;
    height: 30px;
    padding: 0;
  }
  #search form button[type=submit]:before {
    line-height: 30px;
  }
  .items.search #search {
    display: block;
  }
  /* @end */
  /* @group ----- Resource List ----- */
  ul.resource-list .resource img {
    width: 120px;
    height: auto;
    float: right;
    margin-left: 15px;
  }
  ul.resource-list .resource img ~ * {
    width: calc(100% - 135px);
  }
  /* @end */
  /* @group ----- Item Set ----- */
  body.item-set.item #content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
  }
  body.item-set.item #content > h2, body.item-set.item #content > h3 {
    width: 100%;
  }
  body.item-set .metadata {
    width: 35%;
    border-left: 5px solid #dedede;
    padding: 0 30px;
  }
  body.item-set .metadata h4:first-of-type {
    margin-top: 0;
  }
  body.item-set #content .metadata ~ * {
    width: 65%;
    border-left: 1px solid #dedede;
    padding-left: 30px;
  }
  body.item-set .item-set-items h3 {
    margin-top: 0;
  }
  body.item-set .metadata ~ nav.pagination:first-of-type {
    margin-bottom: 0;
  }
  /* @group ----- Search ----- */
  .results > ul {
    display: flex;
    flex-wrap: wrap;
  }
  .results > ul > li {
    width: calc(50% - 30px);
  }
  .results > ul > li:nth-child(2n) {
    margin-left: 30px;
  }
  /* @end */
  /* @group ----- Page and blocks ----- */
  .preview-block {
    clear: both;
  }
  ul.preview.resource-list li:first-of-type {
    border-top: 1px solid #dedede;
    padding-top: 29px;
  }
  /* @end */
}