:root {
    color-scheme: light;
    --legacy-type: "Trebuchet MS", Arial, sans-serif;
    --legacy-display: "Century Gothic", "Times New Roman", serif;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font: 14px/1.4 var(--legacy-type);
    color: #202020;
    background: white;
}
.legacy-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.legacy-head, .legacy-foot { flex: none; }
.legacy-head {
    position: relative;
    z-index: 2;
    color: #030303;
    background: #63676d url("global1-bg.jpg") center top no-repeat;
}
.legacy-mast, .heritage-container, .legacy-foot-inner {
    position: relative;
    width: min(1060px, 100%);
    margin-inline: auto;
    box-sizing: border-box;
}
.legacy-mast, .heritage-container { left: 3px; }
.legacy-mast {
    height: 277px;
    background: url("header-bg.png") left top no-repeat;
}
.legacy-nav {
    display: grid;
    grid-template-columns: 131px 136px 181px 147px 1fr;
    align-items: start;
    height: 90px;
    padding-left: 80px;
    font: 16px/20px var(--legacy-type);
}
.legacy-nav a { color: white; text-decoration: none; }
.legacy-tab {
    display: block;
    width: 97px;
    height: 42px;
    margin-top: 13px;
    padding-top: 5px;
    text-align: center;
    box-sizing: border-box;
}
.legacy-tab:nth-child(3) { width: 147px; }
.legacy-tab:hover, .legacy-tab:focus-visible { background: url("header-href-bg1.png") center top no-repeat; }
.legacy-tab:nth-child(3):hover, .legacy-tab:nth-child(3):focus-visible { background-image: url("header-href-bg2.png"); }
.legacy-sheet {
    display: grid;
    grid-template-columns: 205px 1fr;
    align-items: baseline;
    width: min(100%, 342px);
    min-height: 40px;
    margin-top: 13px;
    padding: 2px 10px 0 15px;
    box-sizing: border-box;
    white-space: nowrap;
}
.legacy-sheet > span { justify-self: start; border-bottom: 1px dashed; }
.legacy-sheet small { font-size: 13px; }
.legacy-sheet b { font-size: 17px; }
.legacy-sheet [data-count]:not([hidden]) + .legacy-zero { display: none; }
.legacy-sheet:hover > span { border-color: transparent; }
.legacy-brand {
    display: flex;
    align-items: flex-start;
    padding-left: 35px;
    white-space: nowrap;
}
.legacy-mark { display: block; flex: none; margin-top: 10px; }
.legacy-mark img, .legacy-foot-logo img { display: block; }
.legacy-slogan {
    margin: 42px 0 0 50px;
    font: 30px/1 var(--legacy-display);
}
.legacy-slogan strong {
    display: block;
    color: #fff;
    font: normal 33px/1.02 var(--legacy-display);
    text-shadow: -1px -1px #fff, 1px 1px #888b8f;
}
.legacy-slogan p { margin: 6px 0 0; font: 14px/19px var(--legacy-type); }
.legacy-slogan p span { color: #fff; }
.legacy-contact {
    margin: 7px 0 0 42px;
    font: normal 14px/32px var(--legacy-type);
    color: #30343a;
}
.legacy-contact div:first-child { line-height: 24px; }
.legacy-contact a { color: #0f0f10; font-size: 24px; text-decoration: none; }
.legacy-contact a:hover, .legacy-contact a:focus-visible { text-decoration: underline; }
.legacy-contact a span, .legacy-email {
    color: #fff;
    text-shadow: -1px -1px #fff, 1px 1px #888b8f;
}
.legacy-email { padding-left: 8px; font-size: 16px; line-height: 22px; }
.legacy-email a { color: #e76100; font-size: 16px; font-weight: 600; text-shadow: none; }
.legacy-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: absolute;
    z-index: 1;
    left: 22px;
    width: 100%;
    top: 252px;
    height: 48px;
    margin: 0;
    background: url("search-bg.png") center top no-repeat;
}
.legacy-search input {
    width: min(440px, 61%);
    height: 25px;
    border: 1px solid #8b8d91;
    border-radius: 0;
    padding: 0 8px;
    font: 13px/23px var(--legacy-type);
    color: #27292a;
    background: white url("search-line.png") center / 100% 100% no-repeat;
}
.legacy-search button {
    width: 39px;
    height: 25px;
    border: 0;
    padding: 0;
    background: transparent url("search-img.png") center no-repeat;
    cursor: pointer;
}
.legacy-head :focus-visible, .legacy-foot :focus-visible {
    outline: 2px solid #ffba44;
    outline-offset: 2px;
}
.heritage-stage {
    flex: 1 0 auto;
    background: #fff url("catalog-bg.jpg") center top repeat-y;
}
.heritage-container {
    background: #fff url("search-shadow.jpg") center top / 100% auto no-repeat;
}
.legacy-foot {
    background: #202122 url("footer-bg.jpg") repeat;
    border-top: 1px solid #000;
}
.legacy-foot-inner {
    min-height: 150px;
    display: flex;
    align-items: flex-start;
    color: white;
}
.legacy-foot nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 0 0 575px;
    padding: 62px 24px 0 40px;
    box-sizing: border-box;
}
.legacy-foot nav a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed;
    font: 16px/20px var(--legacy-type);
}
.legacy-foot nav a:hover { border-color: transparent; }
.legacy-foot-logo { display: block; margin: 28px 0 0 20px; }
.legacy-foot-caption { margin: 44px 0 0 35px; font: 18px/1.15 var(--legacy-display); color: #adadae; }
.legacy-foot-caption strong { display: block; font: normal 20px/1.15 var(--legacy-display); color: white; }

@media (max-width: 1065px) {
    .legacy-mast, .heritage-container { left: 0; }
    .legacy-mast { background-size: 97% 81px; }
    .legacy-search { left: 0; }
    .legacy-nav {
        grid-template-columns: 13% 14% 18% 17% 1fr;
        padding-left: 7%;
    }
    .legacy-tab, .legacy-tab:nth-child(3) { width: 90%; }
    .legacy-sheet { width: 100%; grid-template-columns: 58% 1fr; padding-left: 10px; }
    .legacy-brand { padding-inline: 3%; justify-content: space-between; }
    .legacy-mark img { width: clamp(100px, 17vw, 188px); height: auto; }
    .legacy-slogan { margin-left: 0; font-size: clamp(20px, 2.75vw, 30px); }
    .legacy-slogan strong { font-size: clamp(21px, 3.1vw, 33px); }
    .legacy-contact { margin-left: 0; }
    .legacy-contact a { font-size: 22px; }
    .legacy-email a { font-size: 16px; }
    .legacy-foot nav { flex: 1 1 55%; padding-inline: 20px; gap: 10px; }
    .legacy-foot-logo { margin-left: 10px; }
    .legacy-foot-caption { margin-inline: 20px; }
}
@media (min-width: 761px) and (max-width: 850px) {
    .legacy-foot nav { flex: 1 1 auto; gap: 8px; padding-inline: 14px; }
    .legacy-foot nav a { font-size: 14px; }
    .legacy-foot-caption { margin-inline: 12px; }
    .legacy-foot-caption strong { font-size: 18px; }
}
@media (max-width: 760px) {
    .legacy-head { background-size: auto 100%; }
    .legacy-mast { height: auto; padding-bottom: 26px; background: none; }
    .legacy-nav {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        padding: 0;
        justify-content: center;
        background: linear-gradient(#41454b, #080809);
    }
    .legacy-tab, .legacy-tab:nth-child(3), .legacy-sheet {
        width: auto;
        margin: 0;
        height: auto;
        min-height: 38px;
        padding: 10px 9px;
        font-size: 14px;
        line-height: 18px;
    }
    .legacy-sheet { display: flex; align-items: baseline; gap: 12px; background: linear-gradient(#76bbff,#438fd7); }
    .legacy-sheet small { font-size: 12px; }
    .legacy-sheet b { font-size: 14px; }
    .legacy-tab:hover, .legacy-tab:focus-visible, .legacy-tab:nth-child(3):hover, .legacy-tab:nth-child(3):focus-visible { background: #30363a; }
    .legacy-brand { flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; padding: 16px 10px 22px; }
    .legacy-mark, .legacy-slogan, .legacy-contact { margin: 0; }
    .legacy-mark img { width: clamp(84px, 18vw, 120px); }
    .legacy-slogan p { font-size: 13px; margin-top: 5px; }
    .legacy-contact { line-height: 23px; }
    .legacy-contact div:first-child { line-height: inherit; }
    .legacy-contact a { font-size: 19px; }
    .legacy-email a { font-size: 15px; }
    .legacy-search {
        top: auto;
        bottom: -18px;
        left: 0;
        background-size: 165% 100%;
        height: 40px;
    }
    .legacy-search input { width: 63%; height: 26px; }
    .legacy-foot-inner { justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding: 19px 12px; }
    .legacy-foot nav { flex: 0 0 100%; flex-wrap: wrap; justify-content: center; padding: 0; gap: 9px 18px; }
    .legacy-foot nav a { font-size: 14px; }
    .legacy-foot-logo, .legacy-foot-caption { margin: 0; }
    .legacy-foot-logo img { width: 85px; height: auto; }
    .legacy-foot-caption { font-size: 16px; }
    .legacy-foot-caption strong { font-size: 17px; }
}
@media print {
    .legacy-head, .legacy-foot { display: none !important; }
    body, .heritage-stage, .heritage-container { display: block; min-height: 0; background: white; }
    .heritage-container { width: 100%; left: 0; }
}
