.keepseal-masthead,
.keepseal-masthead *,
.keepseal-profile,
.keepseal-profile *,
.keepseal-footer,
.keepseal-footer * {
    box-sizing: border-box;
}

.keepseal-masthead {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-height: 96px;
    height: 96px;
    padding: 12px 22px;
    background: repeating-linear-gradient(46deg, transparent 0, transparent 5px, rgba(255, 255, 255, .07) 5px, rgba(255, 255, 255, .07) 7px), linear-gradient(165deg, #11658e 0%, #3d9bc8 48%, #09618b 100%);
    border-bottom: 2px solid #0d547c;
    color: #fff;
    font-family: Arial, Tahoma, sans-serif;
    text-align: left;
    text-decoration: none;
}

.keepseal-logo {
    flex: 0 0 64px;
    display: block;
    width: 64px;
    height: 64px;
    padding: 3px;
    border: 1px solid #b8e9fb;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}

.keepseal-masthead > :last-child {
    min-width: 0;
}

.keepseal-brand {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.keepseal-brand > strong,
.keepseal-brand > span,
.keepseal-brand > small {
    display: block;
}

.keepseal-brand > strong {
    color: #fff5b0;
    font: inherit;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #174f70;
}

.keepseal-brand > small {
    margin-top: 3px;
    color: #fff;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 10px;
    font-weight: normal;
    line-height: 1.5;
}

.keepseal-brand a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.keepseal-legal {
    margin: 0;
    color: #fff;
    margin-top: 3px;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.keepseal-profile {
    width: 100%;
    padding: 0 0 10px;
    background: #fff;
    color: #123458;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: anywhere;
}

.keepseal-profile h1 {
    margin: 0 0 8px;
    padding: 6px 10px;
    border: 1px solid #82aace;
    background: linear-gradient(#538db9, #1f679c);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    text-transform: uppercase;
}

.keepseal-profile h2 {
    margin: 12px 0 8px;
    padding: 5px 10px;
    border: 1px solid #82aace;
    background: linear-gradient(#538db9, #1f679c);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.35;
    text-transform: uppercase;
}

.keepseal-profile p {
    margin: 0 8px 8px;
    font-size: inherit;
    line-height: inherit;
}

.keepseal-intro > p {
    color: #123458;
}

.keepseal-profile section {
    padding-bottom: 3px;
    border: 1px solid #d0e2f4;
    margin-top: 9px;
}

.keepseal-profile section > h2 {
    margin: 0 0 8px;
}

.keepseal-industry {
    padding: 2px 8px 4px;
}

.keepseal-industry + .keepseal-industry {
    padding-top: 7px;
    border-top: 1px dashed #a6c5df;
}

.keepseal-industry h3 {
    margin: 0 0 4px;
    color: #075985;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
}

.keepseal-industry h3 span {
    margin-left: 9px;
    color: #526475;
    font-size: 11px;
    font-weight: normal;
}

.keepseal-profile .keepseal-translation {
    color: #526475;
    font-size: 11px;
}

.keepseal-facts {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    margin: 0 8px 5px;
}

.keepseal-facts dt {
    margin: 0;
    padding: 5px 10px 5px 0;
    border-bottom: 1px solid #d5e2eb;
    color: #526475;
    font-size: 11px;
    line-height: 1.5;
}

.keepseal-facts dd {
    margin: 0;
    padding: 5px 0;
    border-bottom: 1px solid #d5e2eb;
    color: #12364b;
    font-size: 12px;
    line-height: 1.45;
}

.keepseal-tax {
    font-weight: bold;
    letter-spacing: .04em;
}

.keepseal-footer {
    padding: 8px 12px;
    border-top: 1px solid #9dbbce;
    background: #c7dde7;
    color: #12364b;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
}

.keepseal-footer p {
    margin: 0 0 5px;
    font-size: inherit;
    line-height: inherit;
}

.keepseal-footer p:last-child {
    margin-bottom: 0;
}

.keepseal-footer a {
    color: #075985;
}

.keepseal-sidebar {
    margin: 5px 5px 0 0;
    color: #123458;
    font: 11px/1.45 Arial, Tahoma, sans-serif;
    text-align: left;
}

.keepseal-sidebar h2,
.keepseal-sidebar h3 {
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #74a7cd;
    background: linear-gradient(#5198c6, #075480);
    color: #fff;
    font: bold 11px/1.4 Arial, Tahoma, sans-serif;
    text-align: center;
    text-transform: uppercase;
}

.keepseal-sidebar nav {
    background: #005a82;
}

.keepseal-sidebar nav p {
    margin: 0;
    border-bottom: 1px solid #397e9e;
}

.keepseal-sidebar nav a {
    display: block;
    padding: 9px 6px;
    color: #fff;
    font: bold 11px/1.35 Arial, Tahoma, sans-serif;
    text-decoration: none;
}

.keepseal-sidebar nav a::before {
    content: "»";
    padding-right: 6px;
}

.keepseal-sidebar nav a:hover {
    background: #076c98;
    color: #ffffb0;
}

.keepseal-sidebar > p {
    margin: 0;
    padding: 7px;
    background: #eef5f8;
    border: 1px solid #d5e6ef;
    overflow-wrap: anywhere;
}

.keepseal-sidebar > h3 {
    margin-top: 7px;
}

.keepseal-sidebar a:focus-visible {
    outline: 2px solid #fff5b0;
    outline-offset: -3px;
}

.keepseal-profile a:focus-visible,
.keepseal-masthead a:focus-visible,
.keepseal-masthead:focus-visible,
.keepseal-footer a:focus-visible,
.company-shell a:focus-visible {
    outline: 3px solid #075985;
    outline-offset: 3px;
}

.keepseal-masthead a:focus-visible,
.keepseal-masthead:focus-visible {
    outline-color: #fff;
}

@media (max-width: 820px) {
    html,
    body {
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .company-shell,
    #pjax-root {
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
    }

    #pjax-root > tbody,
    #pjax-root > tbody > tr,
    #pjax-root > tbody > tr > td {
        display: block;
        width: 100% !important;
    }

    .company-shell > tbody > tr > td:first-child,
    .company-shell > tbody > tr > td:last-child:not(:nth-child(2)),
    .company-sidebar,
    #divAdLeft,
    #divAdRight {
        display: none !important;
    }

    .company-content {
        width: auto !important;
        max-width: 100%;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu {
        height: auto;
        background-color: #edf5fa;
        background-image: none;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu > tbody > tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu > tbody > tr > td {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        padding: 0 !important;
        white-space: normal;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu > tbody > tr > td:has(> img) {
        display: none;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu a.text_menu {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 9px;
        line-height: 1.4;
    }

    #pjax-root > tbody > tr:nth-child(2) > td > .bg_menu a.text_menu_left {
        display: block;
        padding: 7px 9px;
    }

    .company-content form[name="addnew_form"],
    .company-content form[name="addnew_form"] > table {
        width: 100%;
        max-width: 100%;
    }

    .company-content form[name="addnew_form"] > table > tbody > tr,
    .company-content form[name="addnew_form"] > table > tbody > tr > td {
        display: block;
        width: auto;
        height: auto;
        text-align: left;
    }

    .company-content form[name="addnew_form"] > table > tbody > tr > td:first-child {
        padding: 8px 0 4px;
    }

    .company-content form[name="addnew_form"] > table > tbody > tr > td:nth-child(3) {
        display: none;
    }

    .company-content form[name="addnew_form"] input:not([type="image"]),
    .company-content form[name="addnew_form"] textarea {
        box-sizing: border-box;
        width: calc(100% - 16px);
        max-width: 100%;
        min-width: 0;
        font: 14px Arial, Tahoma, sans-serif;
    }

    .company-content form[name="addnew_form"] textarea {
        resize: vertical;
    }

    .company-content form[name="addnew_form"] input:focus-visible,
    .company-content form[name="addnew_form"] textarea:focus-visible {
        outline: 3px solid #075985;
        outline-offset: 2px;
    }

    .company-shell table,
    #pjax-root table {
        max-width: 100%;
    }

    .keepseal-masthead {
        gap: 10px;
        min-height: 96px;
        height: auto;
        padding: 12px;
    }

    .keepseal-logo {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .keepseal-brand {
        font-size: 21px;
    }

    .keepseal-legal {
        font-size: 9px;
    }

    .keepseal-profile {
        padding: 0 2px 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    .keepseal-profile h1,
    .keepseal-profile h2,
    .keepseal-industry h3,
    .keepseal-facts dd {
        font-size: 14px;
    }

    .keepseal-facts dt,
    .keepseal-profile .keepseal-translation {
        font-size: 12px;
    }

    .keepseal-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .keepseal-facts dt {
        padding: 7px 0 2px;
        border-bottom: 0;
    }

    .keepseal-facts dd {
        padding: 0 0 6px;
    }

    .keepseal-footer {
        padding: 8px 12px;
    }
}

.keepseal-sidebar-facts { padding: 10px 8px; line-height: 1.6; }
.company-content { padding-top: 5px; }
.keepseal-article-cell { padding-top: 10px; }
.keepseal-footer-cell { padding: 6px 0; }
.keepseal-languages { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px; padding: 0 10px; background: #edf5fa; border-bottom: 1px solid #9dbbce; font: 11px/1.4 Arial, Tahoma, sans-serif; }
.keepseal-languages a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; color: #123458; text-decoration: none; box-sizing: border-box; }
.keepseal-languages a[aria-current="true"] { font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
.keepseal-languages a:hover { background: #d5e6ef; }
.keepseal-languages a:focus-visible { outline: 2px solid #075985; outline-offset: -3px; }
.keepseal-languages img { display: block; width: 24px; height: 16px; border: 1px solid #b4c7d2; object-fit: cover; }
