body.tm-a11y-museum :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #005fcc !important; outline-offset: 3px; box-shadow: 0 0 0 6px #fff !important; }
body.tm-a11y-museum main { scroll-margin-top: 160px; }
body.tm-a11y-museum .tm-page-title { max-width: 1120px; margin: 32px auto; padding: 0 20px; }
body.tm-a11y-museum .tm-menu-ready .menu-item { position: relative; }
body.tm-a11y-museum .tm-menu-ready .sub-menu :is(a,button):focus-visible { outline-offset: -4px; box-shadow: none !important; }
@media (forced-colors: active) {
  body.tm-a11y-museum .tm-menu-ready :is(a,button):focus-visible { outline-color: Highlight !important; }
}
body.tm-a11y-museum .tm-menu-ready .menu-item-has-children > a { padding-right: 40px !important; }
body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-dropdown-icon-click-area { display: none !important; }
body.tm-a11y-museum .tm-submenu-toggle { position: absolute; top: 0; right: 0; min-width: 36px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; color: #524c46; cursor: pointer; padding: 4px; }
/* Oxygen gives dropdowns z-index: 9999999; keep the focused arrow's outline above them. */
body.tm-a11y-museum .tm-submenu-toggle:focus-visible { z-index: 10000000; }
body.tm-a11y-museum .tm-submenu-icon { width: 8px; height: 8px; fill: currentColor; flex: none; pointer-events: none; }
body.tm-a11y-museum .tm-submenu-toggle[aria-expanded="true"] .tm-submenu-icon { transform: rotate(180deg); }
body.tm-a11y-museum .tm-menu-ready .sub-menu { display: none !important; }
body.tm-a11y-museum .tm-menu-ready .tm-submenu-open > .sub-menu { display: flex !important; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; }
body.tm-a11y-museum .tm-menu-ready :is(.oxy-pro-menu-mobile-open-icon,.oxy-pro-menu-mobile-close-icon) { border: 0; background: transparent; cursor: pointer; min-width: 44px; min-height: 44px; }
body.tm-a11y-museum .disabled-menu-btn { position: static; }
body.tm-a11y-museum .disabled-menu-btn > a { font-size: 13px !important; }
/* Remove the inline image's descender gap so flags share the header's centre line. */
body.tm-a11y-museum .tm-menu-ready .trp-language-switcher-container > a > span { display: flex; align-items: center; }
body.tm-a11y-museum .tm-menu-ready .trp-flag-image { display: block; }
/* The wheelchair's lower wheel needs a small optical correction within its SVG box. */
body.tm-a11y-museum #tm-a11y-trigger svg { transform: translateY(-2px); }
body.tm-a11y-museum .tm-event-filter { position: relative; }
body.tm-a11y-museum .tm-event-filter .selected { font: inherit; color: #332c27; background: #f1efec; border: 1px solid #6b625b; border-radius: 2px; padding: 12px 18px; cursor: pointer; min-height: 44px; text-align: left; }
body.tm-a11y-museum .tm-event-filter .list { display: flex !important; position: relative; flex-direction: column; padding: 8px; background: #fff; }
body.tm-a11y-museum .tm-event-filter [hidden] { display: none !important; }
body.tm-a11y-museum .tm-event-filter a { padding: 10px; color: #332c27; text-decoration: underline; }
body.tm-a11y-museum :is(.oxy-post-content,.oxy-post-image-date-overlay,.abas_single_news_date) { color: #595959 !important; }
body.tm-a11y-museum :is(.data,.laikas,.tekstas_sriftas) { color: #535353; }
body.tm-a11y-museum main p a, body.tm-a11y-museum .tm-page-title a { text-decoration: underline; }
body.tm-a11y-museum footer :is(p,a,.ct-text-block,.ct-link-text) { color: #fff; }
body.tm-a11y-museum .txt1 { text-shadow: 0 2px 6px #000, 0 0 20px #000; background: #0008; padding: 8px; }
/* Filters create containing blocks: anchor the 360 overlays to their own panorama. */
body.tm-a11y-museum #code_block-117-15 > .container { position: relative; }
body.tm-a11y-museum #code_block-117-15 .txt_container { top: 25%; }
body.tm-a11y-museum #code_block-117-15 .three_image { top: auto; bottom: 24px; }
body.tm-a11y-museum .pagination-block a { display: inline-block; min-height: 44px; min-width: 44px; padding: 10px; }
body.tm-a11y-museum .pagination-block .page-numbers { flex-wrap: wrap; }
html:is(.tm-a11y-scaled,.tm-a11y-font) body.tm-a11y-museum :is(.labas,.oxy-post-content,.abas_single_news_content) { height: auto !important; max-height: none !important; overflow: visible !important; }
html:is(.tm-a11y-scaled,.tm-a11y-font) body.tm-a11y-museum .oxy-post-content::after { display: none; }
/* Match excerpt fades to the selected surface, including when a card is hovered. */
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum :is(.oxy-post-content,.text_div_news,.abas_single_news_content) { background-image: none !important; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum :is(.oxy-post-content,.text_div_news,.abas_single_news_content)::after { background: linear-gradient(to bottom, transparent, var(--tm-bg)) !important; pointer-events: none; }
/* Keep the news/exhibitions links recognisable as buttons on recoloured surfaces. */
body.tm-a11y-museum .tm-arrow-link-icon { display: none; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .tm-arrow-link { max-width: 100%; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .tm-arrow-link-body { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 20px; height: auto !important; min-height: 44px; max-width: 100%; padding: 8px 16px !important; border: 2px solid var(--tm-fg) !important; border-radius: 999px !important; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .tm-arrow-link-body > img { display: none; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .tm-arrow-link-body > .ct-text-block { min-width: 0; margin: 0 !important; padding: 0 !important; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .tm-arrow-link-icon { display: block; width: 32px; height: 16px; flex: none; color: var(--tm-fg); }
/* Slider arrows also use a white bitmap; draw chevrons in the active link colour. */
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .unslider-arrow { background-image: none !important; border: 2px solid currentColor; opacity: 1 !important; }
html:not([data-tm-colour="default"])[data-tm-colour] body.tm-a11y-museum .unslider-arrow::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translate(-65%, -50%) rotate(45deg); pointer-events: none; }
/* Recolour both resolutions of the breadcrumb separator, leaving other images alone. */
html:is([data-tm-colour="light"],[data-tm-colour="low"]) body.tm-a11y-museum img[src*="/Component-13-"]:is([src$="-6.png"],[src$="-6@2x.png"]) { filter: brightness(0); }
html[data-tm-colour="high"] body.tm-a11y-museum img[src*="/Component-13-"]:is([src$="-6.png"],[src$="-6@2x.png"]) { filter: brightness(0) invert(1); }
@media (max-width: 1120px) {
  body.tm-a11y-museum #_header_center-180-518 { min-width: 0; }
  body.tm-a11y-museum #_header_row-178-518 .oxy-header-container { padding-left: 20px; padding-right: 20px; }
  body.tm-a11y-museum #link-123-518 { margin-left: 0; }
}
@media (max-width: 1120px) {
  body.tm-a11y-museum .tm-menu-ready { margin: 0 !important; width: auto !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-container { display: none !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-mobile-open-icon { display: flex !important; }
  body.tm-a11y-museum .tm-menu-open .oxy-pro-menu-container { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; position: fixed; inset: 12px; width: auto !important; height: auto !important; max-height: calc(100dvh - 24px); overflow: auto; background: #fff; z-index: 99995; padding: 60px 16px 16px !important; border: 2px solid #524c46; }
  body.tm-a11y-museum .tm-menu-open .oxy-pro-menu-mobile-close-icon { display: flex !important; position: absolute !important; left: auto !important; bottom: auto !important; right: 8px !important; top: 8px !important; width: 44px !important; height: 44px !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-container > div { width: 100% !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-list { width: 100% !important; flex-direction: column !important; align-items: stretch !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-list > li { width: 100%; }
  body.tm-a11y-museum .tm-menu-ready .sub-menu { position: static !important; width: auto !important; min-width: 0 !important; padding-left: 12px; }
  body.tm-a11y-museum .tm-menu-ready .menu-item a { white-space: normal !important; overflow-wrap: anywhere; padding: 12px !important; margin: 0 !important; }
  body.tm-a11y-museum .tm-menu-ready .menu-item-has-children > a { padding-right: 44px !important; }
  body.tm-a11y-museum .tm-submenu-toggle { min-width: 44px; min-height: 44px; }
  body.tm-a11y-museum #_header_center-180-518 { margin: 0 !important; }
  body.tm-a11y-museum footer .ct-new-columns > .ct-div-block { width: 100% !important; max-width: 100% !important; }
  body.tm-a11y-museum footer :is(.ct-div-block,.ct-link,.ct-link-text,.ct-text-block,.ct-headline) { margin-left: 0 !important; margin-right: 0 !important; }
  body.tm-a11y-museum footer :is(.ct-text-block,.ct-link-text) { width: auto !important; max-width: 100%; }
}

body.tm-a11y-museum.page-id-903 main .ct-text-block b { color: #535353 !important; }
body.tm-a11y-museum #cliSettingsPopup:not(.cli-show) { display: none !important; }
body.tm-a11y-museum #cookie-law-info-bar { max-height: 90vh; overflow-y: auto; }
html.tm-a11y-scaled body.tm-a11y-museum .ct-text-block { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  body.tm-a11y-museum #div_block-695-15 { padding-right: 20px; }
  body.tm-a11y-museum #_header_left-179-518 { min-width: 0; flex-shrink: 1; }
  body.tm-a11y-museum #image-124-518 { max-width: 100%; height: auto; }
  body.tm-a11y-museum #text_block-72-15 { margin-left: 0; width: 100%; }
}
@media (max-width: 767px) {
  /* Show the three exhibition slides as ordinary content on a narrow screen. */
  body.tm-a11y-museum .unslider { width: 100% !important; padding: 0 !important; }
  body.tm-a11y-museum .oxygen-unslider-container { overflow: visible !important; }
  body.tm-a11y-museum .oxygen-unslider-container > ul { width: 100% !important; transform: none !important; left: 0 !important; }
  body.tm-a11y-museum .oxygen-unslider-container > ul > li { float: none !important; width: 100% !important; position: static !important; }
  body.tm-a11y-museum .unslider-arrow, body.tm-a11y-museum .unslider-nav { display: none !important; }
  body.tm-a11y-museum .ct-slide { width: 100% !important; padding: 20px !important; margin: 0 !important; height: auto !important; }
  body.tm-a11y-museum .ct-slide :is(.ct-div-block,.ct-text-block,.ct-headline,.ct-link) { width: 100% !important; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
  body.tm-a11y-museum .ct-slide .ct-new-columns > .ct-div-block { padding-left: 0 !important; padding-right: 0 !important; }
  body.tm-a11y-museum footer .ct-section-inner-wrap { padding: 24px 20px !important; }
  body.tm-a11y-museum footer :is(.ct-div-block,.ct-text-block,.ct-headline,.ct-new-columns) { width: 100% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
}

@media (min-width: 1121px) {
  body.tm-a11y-museum #_header_row-178-518 .oxy-header-container { max-width: 1440px; height: auto !important; min-height: 120px; padding: 8px 24px; }
  body.tm-a11y-museum #_header_left-179-518 { flex: 0 0 190px; }
  body.tm-a11y-museum #_header_center-180-518 { flex: 1 1 auto; min-width: 0; margin: 0 !important; }
  body.tm-a11y-museum #link-123-518 { margin: 0 !important; max-width: 170px; }
  body.tm-a11y-museum .tm-menu-ready { margin: 0 !important; padding: 0 !important; width: 100% !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-list { flex-wrap: wrap; justify-content: flex-end; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-list > .menu-item { width: auto; }
  body.tm-a11y-museum .tm-menu-ready .menu-item a { padding: 12px 10px !important; white-space: normal; }
  body.tm-a11y-museum .tm-menu-ready .menu-item-has-children > a { padding-right: 40px !important; }
}
@media (min-width: 1121px) {
  body.tm-a11y-museum header.oxy-header-wrapper, body.tm-a11y-museum #_header_row-178-518 { height: auto !important; }
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-container > div,
  body.tm-a11y-museum .tm-menu-ready .oxy-pro-menu-list { width: 100% !important; }
}
/* Text links need breathing room when the readable profile enlarges the footer. */
html.tm-a11y-font body.tm-a11y-museum footer .ct-link-text { padding-block: .2em; }
html.tm-a11y-font body.tm-a11y-museum footer .ct-link > .ct-text-block { padding-block: .2em; }
