@font-face {
    font-family: "Source Sans Pro";
    src: url(../fonts/source-sans-pro-400-normal.woff2) format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Side-by-side document comparison retained from the WordPress TTE site. */
.tte-dual-pdf__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.tte-dual-pdf__column label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.tte-dual-pdf__column select {
    width: min(100%, 28rem);
    margin-bottom: .75rem;
}

.tte-dual-pdf__column iframe {
    display: block;
    width: 100%;
    border: 1px solid #d8d8d8;
    background: #f5f5f5;
}

.tte-configuration-notice {
    padding: 1rem;
    border-left: 4px solid var(--tte-accent, #d45135);
    background: #f1f1f1;
}

@media (max-width: 800px) {
    .tte-dual-pdf__columns {
        grid-template-columns: 1fr;
    }
}
:root {
    --tte-orange: var(--tte-accent, #d45135);
    --tte-ochra: #e64626;
    --tte-black: #231f20;
    --tte-text: #141414;
    --tte-grey: #e7e7e8;
    --tte-max: 1200px;
}
html {
    scroll-behavior: smooth;
}
body.tte-theme {
    margin: 0;
    color: var(--tte-text);
    background: #fff;
    letter-spacing: .05em;
    font:
        16px/1.5 "Source Sans Pro",
        Arial,
        sans-serif;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.tte-theme * {
    box-sizing: border-box;
}
.tte-theme .container-fluid {
    width: 100%;
    max-width: var(--tte-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.tte-theme a {
    color: var(--tte-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tte-theme a:hover,
.tte-theme a:focus {
    color: var(--tte-ochra);
}
.tte-theme h1,
.tte-theme h2,
.tte-theme h3,
.tte-theme h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .05em;
    color: #000;
}
.tte-theme h1 {
    font-size: 54px;
    margin: 24px 0;
}
.tte-theme h2 {
    font-size: 32px;
}
.tte-theme h3 {
    font-size: 27px;
}
.tte-theme h4 {
    font-size: 24px;
    font-weight: 600;
}
.skip-link {
    position: fixed;
    left: 12px;
    top: -100px;
    z-index: 10000;
    background: #fff;
    padding: 10px;
}
.skip-link:focus {
    top: 12px;
}
.usyd-site-header {
    position: static;
    margin: 0;
    padding: 0;
}
.usyd-site-header > * {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.desktop_header_visit {
    background: var(--tte-black);
    padding: 7px 0;
    text-align: right;
}
.desktop_header_visit a {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.6;
}
.desktop_header {
    border-bottom: 1px solid var(--tte-grey);
    background: #fff;
}
.desktop_header_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 102px;
}
.usyd-logo-block {
    display: block;
    flex: 0 0 200px;
}
.usyd-logo-block img {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
}
.desktop_header_site_title {
    color: var(--tte-text) !important;
    font-size: 32px;
    text-decoration: none !important;
    text-align: right;
}
.desktop_menu {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 21px rgba(0, 0, 0, 0.06);
}
.desktop_menu_row {
    min-height: 55px;
    display: flex;
    align-items: stretch;
}

.desktop_menu_row .search-toggle {
    flex: 0 0 auto;
    width: 72px;
    height: 55px;
    margin-left: auto;
    padding: 15px 24px;
    border: 0;
    background: var(--tte-orange);
    color: #fff;
    cursor: pointer;
}

.desktop_menu_row .search-toggle:hover,
.desktop_menu_row .search-toggle:focus-visible,
.desktop_menu_row .search-toggle[aria-expanded="true"] {
    background: var(--tte-orange);
    color: #fff;
}

.desktop_menu_row .search-toggle svg {
    display: block;
    fill: currentColor;
}

.desktop-search-panel {
    border-top: 1px solid #ddd;
    background: #f5f5f5;
    padding: 18px 0;
}

.desktop-search-panel form {
    display: flex;
    gap: 12px;
}

.desktop-search-panel input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #333;
}

.desktop-search-panel button {
    border: 0;
    padding: 10px 22px;
    background: var(--tte-orange);
    color: #fff;
    font-weight: 600;
}
.primary-navigation,
.primary-navigation > ul {
    width: 100%;
}
.usyd-site-header .primary-navigation {
    position: relative;
    margin: 0 !important;
    padding: 0;
}
.primary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.usyd-site-header .primary-navigation > ul.navigation {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 55px;
    margin: 0;
}
.primary-navigation > ul > li {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 55px;
    padding: 0 !important;
}
.primary-navigation a {
    display: flex;
    align-items: center;
    color: #141414 !important;
    text-decoration: none !important;
    font-size: 16px;
    white-space: nowrap;
    margin: 0 !important;
}
.primary-navigation > ul > li > a {
    height: 55px;
    padding: 0 20px;
    line-height: 24px;
}
.primary-navigation > ul > li > a:hover,
.primary-navigation > ul > li > a:focus {
    background: var(--tte-orange);
    color: #fff !important;
}
.primary-navigation > ul > li.active > a {
    background: transparent;
    color: #141414 !important;
    box-shadow: none;
    text-decoration-line: underline !important;
    text-decoration-color: var(--tte-orange) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 14px;
    text-decoration-skip-ink: none;
}
.primary-navigation > ul > li:has(> ul) > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -4px 0 0 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.primary-navigation > ul > li:has(> ul):hover > a::after,
.primary-navigation > ul > li:has(> ul):focus-within > a::after {
    margin-top: 3px;
    transform: rotate(225deg);
}
.usyd-site-header .primary-navigation ul.navigation > li > ul {
    display: none;
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    z-index: 120;
    min-width: 300px;
    width: max-content;
    max-width: min(480px, 90vw);
    height: auto;
    margin: 0;
    padding: 0;
    flex-direction: column;
    background: var(--tte-grey);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}
.usyd-site-header .primary-navigation ul.navigation > li:hover > ul,
.usyd-site-header .primary-navigation ul.navigation > li:focus-within > ul {
    display: block;
    left: 0;
    right: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}
.usyd-site-header .primary-navigation ul.navigation > li:hover > ul::after {
    content: none;
}
.usyd-site-header .primary-navigation ul.navigation > li > ul > li {
    width: 100%;
    padding: 0;
    font-size: inherit;
    font-weight: 400;
}
.usyd-site-header .primary-navigation ul.navigation > li > ul > li.active > a {
    margin-left: 0 !important;
    background: transparent;
    color: #141414 !important;
    font-weight: 400;
    text-decoration-line: underline !important;
    text-decoration-color: var(--tte-orange) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 1rem;
}
.usyd-site-header .primary-navigation ul.navigation > li > ul > li.active > a::before {
    display: none !important;
    width: 0 !important;
    content: none !important;
}
.primary-navigation li > ul a {
    white-space: normal;
    min-height: 70px;
    padding: 18px 22px;
}
.primary-navigation li > ul a:hover,
.primary-navigation li > ul a:focus {
    background: var(--tte-orange);
    color: #fff !important;
}
.usyd-site-header .primary-navigation ul.navigation > li > ul > li.active > a:hover,
.usyd-site-header .primary-navigation ul.navigation > li > ul > li.active > a:focus {
    background: var(--tte-orange);
    color: #fff !important;
    text-decoration-color: #fff !important;
}
.primary-navigation li > ul ul {
    left: 100%;
    top: 0;
}
.mobile_header {
    display: none;
}
.site-main {
    min-height: 440px;
    padding-top: 0 !important;
    padding-bottom: 70px;
}

#content.site-main.container-fluid {
    width: 100%;
    max-width: var(--tte-max);
    margin-right: auto;
    margin-left: auto;
    padding: 0 10px 0;
}
@media (min-width: 801px) {
    .site-page-home #content.site-main { padding-bottom: 38px; }
    .site-page-about #content.site-main { padding-bottom: 28px; }
    .site-page-texts #content.site-main { padding-bottom: 32px; }
    .site-page-publications #content.site-main { padding-bottom: 58px; }
    .site-page-contact #content.site-main { padding-bottom: 5px; }
    .site-page-contribute #content.site-main { padding-bottom: 3px; }
    .site-page-news-and-events #content.site-main { min-height: 0; }
    .site-page-news-and-events .tte-footer { margin-top: 28px; }
}
.blocks > .block {
    margin: 0 0 36px;
}
.breadcrumbs {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: transparent;
}
.breadcrumbs ol {
    max-width: var(--tte-max);
    margin: 0 auto;
    padding: 0 15px;
    background: #f3f3f3;
    list-style: none;
    display: flex;
    min-width: 0;
}
@media (min-width: 801px) {
    .breadcrumbs ol {
        padding-right: 30px;
        padding-left: 30px;
    }
}
.breadcrumbs li {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 11px 0;
}
.breadcrumbs li + li:before {
    content: ">";
    margin: 0 12px;
    color: #555;
}
.breadcrumbs li:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tte-footer {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    margin-top: 24px;
    padding: 74px 0 0;
}
.footer_acknowledgement {
    background: var(--tte-ochra);
    padding: 16px 0;
}
.footer_acknowledgement_columns {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.footer-border {
    flex: 0 0 60%;
    border-right: 1px solid #141414;
    padding-right: 10%;
    font-size: 20px;
}
.acknowledgement_text {
    margin: 0;
    text-align: center;
}
.footer-border a {
    color: #141414;
}
.footer-leadership {
    flex: 0 0 40%;
    text-align: right;
    padding-left: 0;
}
.footer-leadership img {
    width: 230px;
    filter: none;
}
.footer-leadership p {
    font-size: 32px;
    margin: 24px 0 0;
}
.site_description,
.footer_links {
    background: var(--tte-black);
    color: #fff;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
}
.site_description {
    padding-top: 24px;
    padding-bottom: 11px;
}
.footer_links {
    padding-top: 24px;
    padding-bottom: 15px;
}
.site_description_row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 0 !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #424242;
}

.footer-site-subtitle {
    margin: 4px 0 0;
    color: #fff;
    font-size: 16px;
}
.site_description a,
.footer_links a {
    color: #fff;
}
.footer-site-title {
    display: block;
    font-size: 32px;
    text-decoration: none !important;
}
.footer_links_columns {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 30px;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.footer_links nav {
    display: flex;
    gap: 32px;
}
.abn-dets {
    display: grid;
    gap: 0 !important;
    font-size: 10px;
    line-height: 18px;
}
.footer-learn-more {
    display: block;
    width: max-content;
    margin-top: 24px;
    font-size: 18px;
    padding: 14px 0;
    line-height: 27px;
    text-underline-offset: 1em;
}
.tte-entity {
    padding-top: 34px;
}
.tte-entity__header {
    display: flex;
    align-items: center;
    gap: 22px;
    border-left: 12px solid var(--entity-color);
    background: #f3f3f3;
    padding: 24px 28px;
    margin-bottom: 35px;
}
.tte-entity__header img {
    width: 78px;
    height: 78px;
}
.tte-entity__header p {
    margin: 0;
    color: #555;
}
.tte-entity__header h1 {
    font-size: clamp(34px, 4vw, 52px);
    overflow-wrap: anywhere;
    margin: 4px 0;
}
.tte-entity__content,
.tte-captivity {
    margin-bottom: 50px;
}
.tte-entity-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.tte-entity-table th,
.tte-entity-table td {
    border: 1px solid #d7d7d7;
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.tte-entity-table th {
    width: 25%;
    background: #e7e7e8;
    font-weight: 600;
}
.tte-entity-table td {
    background: #fff;
}
.tte-entity-media {
    display: block;
    max-width: 100%;
    height: auto;
}
.tte-entity-pdf {
    width: 100%;
    height: 750px;
    border: 0;
}
.tte-captivity > header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #e7e7e8;
    border-left: 9px solid #68c6b6;
    padding: 14px 18px;
}
.tte-captivity > header img {
    width: 48px;
    height: 48px;
}
.tte-captivity > header h3 {
    margin: 0;
}
.tte-linked-records__grid,
.tte-featured-items__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.tte-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #141414 !important;
    background: #fff;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.18);
    text-decoration: none !important;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.tte-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.22);
}
.tte-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 84px;
    padding: 14px;
    background: var(--card-color);
    font-size: 20px;
}
.tte-card__heading img {
    width: 36px;
    height: 36px;
}
.tte-card__image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.tte-card__image--empty {
    display: block;
    background: #e7e7e8;
}
.tte-card__type {
    padding: 10px 14px;
    font-size: 15px;
}
.tte-term-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.tte-term-list__grid a {
    display: flex;
    align-items: center;
    min-height: 85px;
    padding: 18px;
    color: #141414;
    background: hsl(calc(164 + var(--term-index) * 18) 35% 76%);
    text-decoration: none;
    font-size: 22px;
}
.tte-theme .pagination,
.tte-theme .site-page-pagination {
    margin: 40px 0;
}
.tte-theme input,
.tte-theme textarea,
.tte-theme select,
.tte-theme button {
    font-family: inherit;
}
.tte-theme .contact-form {
    display: flex;
    max-width: none;
    padding: 0;
    flex-direction: column;
    background: #fff;
}
.tte-theme .contact-form .field {
    display: block;
    margin-top: 15px;
    margin-bottom: 18px;
}
.tte-theme .contact-form .field-meta,
.tte-theme .contact-form .inputs {
    width: 100%;
    padding: 0;
}
.tte-theme .contact-form label {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: 600;
}
.tte-theme .contact-form .field:has(#name) {
    order: 1;
}
.tte-theme .contact-form .field:has(#from) {
    order: 2;
}
.tte-theme .contact-form .field:has(#subject) {
    display: none;
}
.tte-theme .contact-form .field:has(#message) {
    order: 3;
}
.tte-theme .contact-form fieldset,
.tte-theme .contact-form input[type="hidden"] {
    order: 4;
}
.tte-theme .contact-form input[type="text"],
.tte-theme .contact-form input[type="email"] {
    width: 100%;
    max-width: 708px;
    height: 43px;
    padding: 0 14px;
    border: 1px solid #777;
    background: #fff;
    font: inherit;
}
.tte-theme .contact-form textarea {
    width: 100%;
    height: 120.4px;
    min-height: 120.4px;
    padding: 14px;
    border: 1px solid #777;
    background: #fff;
    font: inherit;
}
.tte-theme .contact-form input[type="submit"] {
    width: auto;
    align-self: flex-start;
    order: 5;
    border: 0;
    background: var(--tte-orange);
    color: #fff;
    height: 41px;
    min-width: 105.3px;
    margin-top: 9px;
    padding: 0 15px;
    font: inherit;
    cursor: pointer;
}
.site-page-contribute .blocks > .block:first-child p {
    margin-bottom: 24px;
}
.site-page-contribute .contact-form {
    padding-top: 11px;
}
.site-page-contribute .contact-form input[type="submit"] {
    margin-top: 7px;
}
.site-page-contact .contact-us-block {
    margin-top: 0;
    padding-top: 24px;
}
#return-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 200;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}
#return-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 950px) {
    .primary-navigation a {
        padding: 18px 10px;
        font-size: 17px;
    }
    .tte-linked-records__grid,
    .tte-featured-items__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    body.tte-theme {
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: normal;
    }
    .desktop_header_visit,
    .desktop_header,
    .desktop_menu {
        display: none;
    }
    .mobile_header {
        display: block;
        padding-top: 24px;
        border-bottom: 1px solid #ddd;
    }
    .mobile_header_row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
    .mobile_header .usyd-logo-block {
        flex-basis: 160px;
    }
    .mobile-header-controls {
        display: flex;
        align-items: stretch;
    }
    .header-control {
        width: 48px;
        height: 48px;
        border: 0;
        background: #fff;
    }
    .menu-toggle {
        display: grid !important;
        place-items: center;
        padding: 0;
    }
    .mobile-search-toggle {
        display: grid;
        place-items: center;
        background: var(--tte-orange);
        color: #fff;
    }
    .mobile-search-toggle svg { fill: currentColor; }
    .mobile-search-panel {
        padding: 14px 15px;
        border-top: 1px solid #ddd;
        background: #f5f5f5;
    }
    .mobile-search-panel form { display: flex; gap: 8px; }
    .mobile-search-panel input { min-width: 0; flex: 1 1 auto; padding: 8px; }
    .mobile-search-panel button { width: auto; padding: 8px 12px; border: 0; background: var(--tte-orange); color: #fff; }
    .menu-icon,
    .menu-icon:before,
    .menu-icon:after {
        display: block;
        width: 25px;
        height: 2px;
        background: #141414;
        content: "";
        position: relative;
    }
    .menu-icon:before {
        position: absolute;
        top: -8px;
    }
    .menu-icon:after {
        position: absolute;
        top: 8px;
    }
    .mobile-navigation {
        background: #e7e7e8;
    }
    .mobile-navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-navigation li {
        position: relative;
        border-top: 1px solid #ccc;
    }
    .mobile-navigation a {
        display: block;
        padding: 14px 60px 14px 20px;
        color: #141414;
        text-decoration: none;
    }
    .mobile-navigation .child-toggle {
        position: absolute;
        right: 8px;
        top: 4px;
        width: 45px;
        height: 45px;
        border: 0;
        background: transparent;
    }
    .mobile-navigation .child-toggle:after {
        content: "+";
        font-size: 25px;
    }
    .mobile-navigation .child-toggle[aria-expanded="true"]:after {
        content: "−";
    }
    .mobile-navigation ul ul a {
        padding-left: 40px;
    }
    .mobile_site_title_block {
        padding: 8px 15px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    .mobile_site_title_block a {
        color: #141414;
        text-decoration: underline;
        text-decoration-thickness: 0.05em;
        text-underline-offset: 0.08em;
        font-size: 16.8px;
        line-height: 1.5;
    }
    .site-main {
        padding-bottom: 40px;
    }
    .tte-footer {
        padding-top: 0;
    }
    .footer_links { padding-bottom: 42px; }
    .site-page-texts .site-main { padding-bottom: 76px; }
    .breadcrumbs li:last-child {
        min-width: 0;
    }
    .breadcrumbs {
        width: auto;
        margin-left: 0;
        font-size: 12px;
        line-height: 18px;
    }
    .breadcrumbs li { padding-top: 10px; padding-bottom: 10px; }
    .footer_acknowledgement_columns,
    .footer_links_columns {
        grid-template-columns: 1fr;
    }
    .footer_acknowledgement_columns {
        flex-direction: column;
    }
    .footer-border {
        border-right: 0;
        border-bottom: 1px solid #141414;
        padding: 0 0 30px;
    }
    .footer-leadership {
        text-align: center;
        padding: 30px 0 0;
    }
    .site_description_row {
        display: grid;
    }
    .footer_links nav { flex-wrap: wrap; gap: 16px 24px; font-size: 13px; }
    .tte-entity__header {
        align-items: flex-start;
    }
    .tte-entity__header img {
        width: 55px;
        height: 55px;
    }
    .tte-entity-table {
        table-layout: auto;
    }
    .tte-entity-table th,
    .tte-entity-table td {
        display: block;
        width: 100%;
    }
    .tte-entity-table th {
        border-bottom: 0;
    }
    .tte-linked-records__grid,
    .tte-featured-items__grid,
    .tte-term-list__grid {
        grid-template-columns: 1fr;
    }
}
@media print {
    .usyd-site-header,
    .tte-footer,
    #return-to-top,
    .breadcrumbs {
        display: none !important;
    }
    .site-main {
        max-width: none;
    }
    .tte-entity-table th,
    .tte-entity-table td {
        border-color: #777;
    }
}
.omeka-zoomable {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}
.omeka-zoomable:hover {
    opacity: 0.85;
}
.omeka-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
}
.omeka-lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.omeka-lightbox-stage {
    position: relative;
    flex: 0 0 auto;
    margin: auto;
    transition:
        width 0.15s ease,
        height 0.15s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.omeka-lightbox-img {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}
.omeka-lightbox-stage.is-zoomed {
    margin: 0;
}
.omeka-lightbox-stage.is-zoomed .omeka-lightbox-img {
    cursor: grab;
}
.omeka-lightbox-stage.is-panning {
    transition: none;
}
.omeka-lightbox-stage.is-panning .omeka-lightbox-img {
    cursor: grabbing;
}
.omeka-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    z-index: 100000;
    border: 0;
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}
.omeka-lightbox-close:hover,
.omeka-lightbox-close:focus {
    color: #ccc;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.omeka-media-metadata {
    margin-top: 0.5rem;
}

.omeka-media-metadata-item + .omeka-media-metadata-item {
    margin-top: 0.25rem;
}

/* Native TTE item layouts (ports of the WordPress *-single.php templates). */
.tte-entity { padding-top: 0; }
.tte-entity__header.single-header {
    display: block;
    width: auto;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    background: #fff;
}
.tte-entity__header.single-header > .container-fluid { padding-right: 10px; padding-left: 10px; }
.tte-entity__title-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.tte-entity__header .single-title { flex: 1 1 auto; max-width: 100%; margin: 0; padding-right: 48px; font-size: 54px; line-height: 1.2; overflow-wrap: anywhere; }
.tte-feature-control { display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto; font-size: 1rem; }
.tte-entity__linked-text { margin: 1rem 0 0; text-align: right; }
.tte-entity__content { padding-top: 2rem; }
.tte-entity__content.container-fluid { padding-right: 10px; padding-left: 10px; }
.tte-tabs > .nav-tabs { display: flex; align-items: flex-end; gap: 0; border-bottom: 3px solid #111; }
.tte-tabs > .nav-tabs .nav-link { appearance: none; border: 0; border-right: 1px solid #fff; padding: 10px 16px; background: #ccc; color: #111; font: inherit; font-size: 1.25rem; cursor: pointer; }
.tte-tabs > .nav-tabs .nav-link.active { background: var(--tte-accent); color: #fff; }
.tte-tabs > .tab-pane { padding: 2rem 3rem; border: 2px solid #111; border-top: 0; margin-bottom: 3rem; }
.tte-tabs > .tab-pane[hidden] { display: none !important; }
.tte-tabs h2 { margin-top: 2.5rem; }
.tte-tabs h2:first-child { margin-top: 19px; }
.tte-related-section + .tte-related-section { margin-top: 3rem; }
.tte-linked-view-switcher { display: flex; justify-content: flex-end; gap: 1rem; border: 0; padding: 0; margin: 0 0 1rem; font-size: 1.2rem; }
.tte-linked-view-switcher label { display: inline-flex; gap: .35rem; align-items: center; }
.tte-linked-tiles { margin: 0 0 2rem; }
.tte-linked-tiles .entity-tile { min-height: 8rem; }
.tte-tabs .tte-entity-table col.tte-entity-table__label { width: 20%; }
.tte-tabs .tte-entity-table th { width: auto; }
.tte-tabs .tte-entity-table th,
.tte-tabs .tte-entity-table td { padding: 10px; }
.tte-tabs .tte-entity-table tr:first-child .tte-entity-media { width: auto; max-width: 100%; max-height: 400px; margin: 0 8px 8px 0; }
.tte-tabs .tte-entity-table tr:first-child > th,
.tte-tabs .tte-entity-table tr:first-child > td { padding-bottom: 16px; }
#tte-place-map { width: 100%; height: 500px; }
.tte-value-annotation { margin-top: .75rem; padding-left: 1rem; border-left: 3px solid #ddd; }
.tte-text-index { padding-top: 2rem; padding-bottom: 4rem; }
.tte-bibliographic-link { text-align: right; }
/* Match the compact native button used on WordPress text landing pages. */
.tte-bibliographic-link > .tte-bibliographic-button,
.tte-bibliographic-link > .tte-bibliographic-button:hover,
.tte-bibliographic-link > .tte-bibliographic-button:focus {
    display: inline-block;
    padding: 1px 6px;
    margin: 0;
    border: 2px outset ButtonBorder;
    border-radius: 0;
    background: ButtonFace;
    color: ButtonText;
    font: 400 13.333333px Arial, sans-serif;
    letter-spacing: normal;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
}

/* Full-text/treatise reader. */
.tte-text-reader { padding-top: 1.5rem; padding-bottom: 4rem; }
.tte-text-reader__header h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.tte-toolbar, .tte-toolbar-left, .tte-reader-controls { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.tte-toolbar-left { justify-content: flex-start; }
.tte-toolbar button, .tte-toolbar .button, .tte-reader-controls button { border: 1px solid #111; padding: .6rem .9rem; background: #fff; color: #111; text-decoration: none; cursor: pointer; }
.tte-button-wrap { position: relative; }
.tte-reader-dropdown { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 18rem; max-height: 24rem; overflow: auto; padding: .75rem; border: 1px solid #aaa; background: #fff; box-shadow: 0 .4rem 1rem rgba(0,0,0,.15); }
.tte-reader-dropdown[hidden] { display: none; }
.tte-reader-dropdown input { width: 100%; margin-bottom: .5rem; }
.tte-reader-dropdown ul { margin: 0; padding: 0; list-style: none; }
.tte-reader-dropdown li button { width: 100%; border: 0; padding: .45rem; background: transparent; text-align: left; }
.tte-reader-search { margin: 1.25rem 0; padding: 1rem; background: #f2f2f2; }
.tte-reader-search[hidden] { display: none; }
.tte-reader-search input { width: min(40rem, 80%); }
.tte-reader-controls { margin-top: 1.5rem; padding: .85rem 1rem; border: 2px solid #111; border-bottom: 0; }
.tte-reader-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr); border: 2px solid #111; }
.tte-reader-columns.facsimile-hidden { grid-template-columns: 1fr; }
.tte-reader-viewer { min-height: 750px; }
.tte-reader-transcriptions { max-height: 750px; overflow: auto; border-left: 1px solid #aaa; }
.tte-reader-transcriptions[hidden] { display: none; }
.tte-reader-language { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: .6rem; padding: .65rem; background: #fff; border-bottom: 1px solid #ddd; }
.tte-reader-language[hidden] { display: none; }
.tte-reader-transcriptions table { width: 100%; border-collapse: collapse; }
.tte-reader-transcriptions th, .tte-reader-transcriptions td { padding: 1rem; vertical-align: top; }
.tte-reader-transcriptions tr[hidden], .tte-reader-transcription[hidden] { display: none; }

@media (max-width: 800px) {
    .tte-entity__title-row { align-items: flex-start; flex-direction: column; }
    .tte-entity__header .single-title { max-width: none; }
    .tte-tabs > .tab-pane { padding: 1.25rem; }
    .tte-reader-columns { grid-template-columns: 1fr; }
    .tte-reader-transcriptions { border-left: 0; border-top: 1px solid #aaa; }
}
