/* XR 1.8.3 — compact Emmet header. No navigation entries are changed. */
body.xsp183-compact-header #header > .top-header .top-menu li {
    padding-top: 6px; padding-bottom: 6px;
}
body.xsp183-compact-header #header > .top-header .contact-info li {
    padding-top: 6px; padding-bottom: 6px;
}
body.xsp183-compact-header #header > .top-header .social-profile.type1 a {
    margin-top: 5px; margin-bottom: 5px; font-size: 19px;
}
body.xsp183-compact-header #header > .site-header > .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding-top: 8px; padding-bottom: 8px;
}
/* Bootstrap clearfix pseudo-elements must not become extra flex items. */
body.xsp183-compact-header #header > .site-header > .container::before,
body.xsp183-compact-header #header > .site-header > .container::after,
body.xsp183-compact-header #header > .site-header > .container > .clearfix {
    display: none;
}
body.xsp183-compact-header #header > .site-header > .container > .site-logo {
    float: none; display: block; flex: 0 1 auto; min-width: 0; margin: 0;
}
body.xsp183-compact-header #header .site-logo .home-link {
    display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}
body.xsp183-compact-header #header .site-logo .header-logo { margin: 0; }
body.xsp183-compact-header #header .site-logo .header-logo img {
    width: auto; height: auto; max-height: 48px; max-width: 148px; display: block;
}
body.xsp183-compact-header #header .site-logo .site-description { padding: 0; min-width: 0; overflow-wrap: anywhere; }
body.xsp183-compact-header #header .site-logo .site-title { font-size: 22px; line-height: 1.15; }
body.xsp183-compact-header #header .site-logo .site-tagline { font-size: 12px; line-height: 1.25; }
body.xsp183-compact-header #header > .site-header > .container > #navbar {
    display: block; float: none; flex: 1 1 0; min-width: 0; min-height: 0;
    height: auto; padding: 0; margin: 0; text-align: center;
}
@media (min-width: 992px) {
    body.xsp183-compact-header #header > .site-header > .container > .site-logo { max-width: 25%; }
    body.xsp183-compact-header #header #main-menu.sf-menu {
        display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
        column-gap: 12px; row-gap: 0; font-size: 13px; line-height: 1.35;
        margin: 0; padding: 0;
    }
    body.xsp183-compact-header #header #main-menu.sf-menu > li {
        display: block; float: none; margin: 0; padding: 0; min-width: 0; max-width: 100%;
    }
    body.xsp183-compact-header #header #main-menu.sf-menu > li > a {
        padding: 7px 4px; border-radius: 5px; overflow-wrap: anywhere;
    }
    body.xsp183-compact-header #header #main-menu.sf-menu > li > a:hover,
    body.xsp183-compact-header #header #main-menu.sf-menu > li > a:focus-visible {
        background: #edf4fc;
    }
    /* Undo Emmet's centered-layout offsets on dropdown items only. Preserve
       Superfish show/hide, hover, focus, current items, colors and toleft class. */
    body.xsp183-compact-header #header #main-menu.sf-menu ul li {
        display: block; float: none; margin: 0;
    }
    body.xsp183-compact-header #header #main-menu.sf-menu > li > ul { left: 0; right: auto; margin: 0; }
    body.xsp183-compact-header #header #main-menu.sf-menu > li > ul.toleft { left: auto; right: 0; }
    body.xsp183-compact-header #header #main-menu.sf-menu ul ul { left: 100%; right: auto; margin: 0; }
    body.xsp183-compact-header #header #main-menu.sf-menu ul ul.toleft { left: auto; right: 100%; }
}
@media (max-width: 991px) {
    /* Keep Emmet's original mobile select and its original navigation behavior. */
    body.xsp183-compact-header #header #navbar .mobile-menu .select-wrapper { width: 100%; max-width: 390px; margin: 0 auto; }
    body.xsp183-compact-header #header .site-logo .header-logo img { max-width: 130px; max-height: 42px; }
}
@media (max-width: 599px) {
    body.xsp183-compact-header #header > .site-header > .container { flex-direction: column; gap: 6px; padding-top: 7px; padding-bottom: 7px; }
    body.xsp183-compact-header #header > .site-header > .container > #navbar { width: 100%; flex: 0 1 auto; }
    body.xsp183-compact-header #header .site-logo .home-link { justify-content: center; }
    body.xsp183-compact-header #header > .top-header .contact-info li { overflow-wrap: anywhere; padding-top: 2px; padding-bottom: 4px; }
}
