/* The frame of every page: the page's white sheet, the header with the site navigation, and the footer. Loaded after the
   older stylesheets of the portal's two layouts, whose element rules it undoes inside its own blocks only. */

:root {
    --site-brand: #006990;
    --site-brand-dark: #00516f;
    --site-ink: #1f2a37;
    --site-muted: #566270;
    --site-line: #d7dee6;
    --site-tint: #e8f2f6;
    --site-focus: 0 0 0 3px rgba(0, 105, 144, .35);
    --site-ease: cubic-bezier(.2, .8, .2, 1);
}

body.site-body {
    background: #f6f4f2;
    color: var(--site-ink);
    font-family: Arial, Helvetica, sans-serif;
}

.site-body .page-container {
    box-sizing: border-box;
    width: auto;
    max-width: 1140px;
    height: auto;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 24px;
    border: 0;
    background: #fff;
}

.site-skip {
    position: absolute;
    z-index: 100;
    top: -60px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 0 0 6px 6px;
    background: var(--site-brand-dark);
    color: #fff;
}

.site-body a.site-skip:focus {
    top: 0;
    color: #fff;
}

/* Logos and tools */

.site-header {
    padding: 20px 0 0;
    font-size: calc(15px * var(--text-scale, 1));
    line-height: 1.4;
}

.site-header *,
.site-footer * {
    box-sizing: border-box;
}

.site-body .site-header a,
.site-body .site-header a:hover,
.site-body .site-header a:focus,
.site-body .site-header a:active {
    font: inherit;
    text-decoration: none;
}

.site-body .site-header a:focus-visible,
.site-body .site-header button:focus-visible,
.site-body .site-header summary:focus-visible,
.site-body .site-footer a:focus-visible {
    outline: 0;
    border-radius: 6px;
    box-shadow: var(--site-focus);
}

.site-header__top {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
}

.site-header__brand {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    align-items: center;
    min-width: 0;
}

.site-header__logo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: center;
}

.site-header__logo p {
    margin: 0;
}

.site-header__logo img,
.site-header__program img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.site-header__aside {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.site-header__tools {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 32px;
}

.site-header .goog-te-gadget-simple {
    padding: 4px 8px !important;
    border: 1px solid var(--site-line) !important;
    border-radius: 6px;
    background: #fff;
    font-size: 13px !important;
    white-space: nowrap;
}

.site-header .goog-te-gadget-simple a {
    color: var(--site-ink);
}

.site-text-size {
    display: inline-flex;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    overflow: hidden;
}

.site-text-size button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--site-line);
    background: #fff;
    color: var(--site-ink);
    cursor: pointer;
    font: 600 14px/1 Arial, Helvetica, sans-serif;
    transition: background-color .15s var(--site-ease);
}

.site-text-size button:first-child {
    border-left: 0;
    font-size: 12px;
}

.site-text-size button:last-child {
    font-size: 17px;
}

.site-text-size button:hover {
    background: var(--site-tint);
}

.site-body .site-text-size button:focus-visible {
    border-radius: 0;
    box-shadow: inset 0 0 0 2px var(--site-brand);
}

.site-text-size button[disabled] {
    background: #fff;
    color: #9aa8b7;
    cursor: not-allowed;
}

.site-body .site-header a.site-header__promo {
    display: block;
    max-width: 330px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--site-tint);
    color: var(--site-ink);
    font-size: calc(13px * var(--text-scale, 1));
    transition: background-color .15s var(--site-ease);
}

.site-body .site-header a.site-header__promo:hover {
    background: #d8eaf1;
}

.site-header__promo strong {
    display: block;
    font-weight: 700;
}

.site-header__more {
    color: var(--site-brand-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

/* Navigation */

.site-nav {
    display: flex;
    gap: 16px;
    align-items: stretch;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--site-brand);
}

.site-body .site-nav__items {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-body .site-nav__items li {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-body .site-header .site-nav__items a,
.site-body .site-header a.site-nav__signin,
.site-account summary {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 600;
    white-space: nowrap;
}

.site-body .site-header .site-nav__items a:hover,
.site-body .site-header a.site-nav__signin:hover,
.site-account summary:hover,
.site-account[open] summary {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.site-body .site-header .site-nav__items a[aria-current]::after {
    position: absolute;
    right: 14px;
    bottom: 8px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    content: "";
}

.site-body .site-header .site-nav a:focus-visible,
.site-body .site-header .site-account summary:focus-visible {
    box-shadow: inset 0 0 0 2px #fff;
}

.site-account {
    position: relative;
    flex: 0 0 auto;
}

.site-account summary {
    list-style: none;
}

.site-account summary::-webkit-details-marker {
    display: none;
}

.site-account__name {
    overflow: hidden;
    max-width: 160px;
    text-overflow: ellipsis;
}

.site-account__caret {
    transition: transform .2s var(--site-ease);
}

.site-account[open] .site-account__caret {
    transform: rotate(180deg);
}

.site-account__menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    min-width: 240px;
    max-width: min(340px, 90vw);
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 30, 50, .24);
}

.site-body .site-account__who {
    float: none;
    margin: 0 0 8px;
    padding: 8px 12px 12px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: calc(14px * var(--text-scale, 1));
    overflow-wrap: anywhere;
    text-align: left;
}

.site-account__who strong,
.site-account__who span {
    display: block;
}

.site-account__who strong {
    font-weight: 700;
}

.site-body .site-account__who span {
    margin-top: 2px;
    color: var(--site-muted);
    font-size: calc(13px * var(--text-scale, 1));
}

.site-body .site-header .site-account__menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    color: var(--site-ink);
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 400;
}

.site-body .site-header .site-account__menu a:hover {
    background: var(--site-tint);
    color: var(--site-brand-dark);
}

.site-body .site-header .site-account__menu a:focus-visible {
    box-shadow: var(--site-focus);
}

.site-body .site-menu-button {
    display: none;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: #fff;
    color: var(--site-ink);
    cursor: pointer;
    font: 600 15px/1 Arial, Helvetica, sans-serif;
}

.site-banner:has(*) {
    margin: 16px 0 0;
}

.site-banner img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.site-banner p {
    margin: 0;
}

.site-body #content {
    padding-top: 24px;
}

.site-body .site-title {
    margin: 0 0 12px;
    color: var(--site-ink);
    font-size: calc(22px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.25;
}

.site-body .site-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid #bcdbe6;
    border-radius: 6px;
    background: var(--site-tint);
    color: var(--site-ink);
}

/* Footer */

.site-footer {
    margin: 32px 0 0;
    padding: 24px 0 32px;
    border-top: 1px solid var(--site-line);
    color: var(--site-muted);
    font-size: calc(13px * var(--text-scale, 1));
    line-height: 1.5;
    text-align: center;
}

.site-footer__mark {
    display: block;
    height: 64px;
    margin: 0 auto 12px;
}

.site-body .site-footer p {
    margin: 0 0 8px;
}

.site-body .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
}

.site-body .site-footer a,
.site-body .site-footer a:hover,
.site-body .site-footer a:focus {
    color: var(--site-brand-dark);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
}

.site-body .site-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__disclaimer {
    max-width: 110ch;
    margin: 0 auto;
    font-size: calc(12px * var(--text-scale, 1));
    text-align: left;
}

/* The older pages: the same calm surfaces and buttons as the facility search. */

/* Content on the left, the member's sidebar on the right; the page is written the other way around. */
.site-classic #content:has(> #rightSidebar) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
    width: auto;
}

.site-classic #content:has(> #rightSidebar)::before,
.site-classic #content:has(> #rightSidebar)::after {
    display: none;
}

.site-classic #content:has(> #rightSidebar) > #rightSidebar {
    float: none;
    grid-row: 1;
    grid-column: 2;
    width: auto;
    margin: 0;
}

.site-classic #content:has(> #rightSidebar) > .site-main {
    grid-row: 1;
    grid-column: 1;
    min-width: 0;
}

.site-classic .site-main > .site-title {
    margin-bottom: 16px;
    line-height: 1.2;
}

.site-classic .site-main > .x8,
.site-classic .site-main > .x7,
.site-classic .site-main > .portlet {
    float: none;
    width: auto;
    margin: 0 0 24px;
}

.site-classic div.portlet {
    border-color: var(--site-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.site-classic .portlet-header,
.site-classic #rightSidebar .portlet-header {
    box-sizing: border-box;
    height: auto;
    padding: 12px 16px;
    border: 0;
    border-radius: 0;
    background: var(--site-brand);
    filter: none;
}

.site-classic .portlet-header h2,
.site-classic .portlet-header h3,
.site-classic .portlet-header h4 {
    padding: 0;
    color: #fff;
    font-size: calc(17px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

.site-classic .portlet-header h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: calc(17px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
}

.site-classic .portlet-content {
    padding: 20px 16px;
    overflow-x: auto;
}

.site-classic .mega-menu {
    padding: 6px !important;
}

.site-classic .mega-menu li {
    margin: 0;
}

.site-classic .mega-menu li a,
.site-classic .site-links a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    background: none;
    color: var(--site-ink);
    font-size: calc(14px * var(--text-scale, 1));
    font-weight: 600;
}

.site-classic .mega-menu li a:hover,
.site-classic .site-links a:hover {
    background: var(--site-tint);
    color: var(--site-brand-dark);
    text-decoration: none;
}

.site-classic .mega-menu li.selected a {
    margin: 0;
    background: var(--site-tint);
    color: var(--site-brand-dark);
}

.site-classic #rightSidebar div.portlet {
    margin: 0 0 20px;
}

.site-classic .site-links {
    margin: 0;
    padding: 6px;
    list-style: none;
}

.site-classic .site-links li {
    margin: 0;
    list-style: none;
}

.site-classic .site-info {
    margin: 0;
    padding: 14px 16px 10px;
    border-top: 1px solid var(--site-line);
}

.site-classic .site-info:has(+ .site-links) {
    padding-bottom: 0;
}

.site-classic .site-info h3 {
    margin: 0 0 4px;
    color: var(--site-ink);
    font-size: calc(14px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

.site-classic .site-facts {
    margin: 0;
}

.site-facts > div {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 5px 0;
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.4;
}

.site-classic .site-facts dt {
    margin: 0;
    color: var(--site-muted);
    font-weight: 400;
}

.site-classic .site-facts dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-align: right;
}

.site-alert {
    margin: 0 0 20px;
    padding: 16px 18px 18px;
    border-radius: 10px;
    background: var(--site-brand-dark);
    color: #fff;
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.45;
}

.site-classic .site-alert h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: calc(16px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

.site-classic .site-alert p {
    margin: 0 0 12px;
}

.site-alert strong {
    font-weight: 700;
}

.site-classic .site-alert a,
.site-classic .site-alert a:hover,
.site-classic .site-alert a:focus {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #fff;
    color: var(--site-brand-dark);
    font: 600 calc(14px * var(--text-scale, 1))/1.3 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background-color .15s var(--site-ease);
}

.site-classic .site-alert a:hover {
    background: var(--site-tint);
}

.site-classic .site-alert a:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .6);
}

.site-help {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
}

.site-classic .site-help h2 {
    margin: 0 0 2px;
    color: var(--site-ink);
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
}

.site-classic .site-help p {
    margin: 0;
    color: var(--site-muted);
    font-size: calc(14px * var(--text-scale, 1));
}

.site-classic .site-help p a {
    color: var(--site-brand-dark);
    font: inherit;
    font-weight: 600;
}

.site-classic .site-notify {
    margin: 0 0 20px;
}

.site-classic .site-notify a,
.site-classic .site-notify a:hover,
.site-classic .site-notify a:focus {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    color: var(--site-ink);
    font: 600 calc(15px * var(--text-scale, 1))/1.3 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background-color .15s var(--site-ease), border-color .15s var(--site-ease);
}

.site-classic .site-notify a:hover {
    border-color: var(--site-brand);
    background: var(--site-tint);
}

.site-classic .site-notify svg {
    flex: 0 0 auto;
    color: var(--site-brand);
}

.site-notify__text {
    flex: 1 1 auto;
}

.site-notify__count {
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 13px;
    background: var(--site-brand);
    color: #fff;
    font-size: calc(13px * var(--text-scale, 1));
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.site-status {
    display: flex;
    gap: 14px;
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid #bcdbe6;
    border-radius: 10px;
    background: var(--site-tint);
    color: var(--site-ink);
    font-size: calc(15px * var(--text-scale, 1));
    line-height: 1.5;
}

.site-status svg {
    flex: 0 0 auto;
    color: var(--site-brand);
}

.site-classic .site-status p {
    margin: 0;
}

.site-classic .site-status p + p {
    margin-top: 6px;
}

.site-classic .site-status a {
    color: var(--site-brand-dark);
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-actions {
    margin: 0 0 28px;
}

.site-classic .site-actions h2 {
    margin: 0 0 10px;
    color: var(--site-ink);
    font-size: calc(17px * var(--text-scale, 1));
    font-weight: 600;
    line-height: 1.3;
}

.site-classic .site-actions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    list-style: none;
    overflow: hidden;
}

.site-classic .site-actions li {
    margin: 0 -1px -1px 0;
    border-right: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
    list-style: none;
}

.site-classic .site-actions li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.site-classic .site-actions a,
.site-classic .site-actions a:hover,
.site-classic .site-actions a:focus {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 18px;
    color: var(--site-muted);
    font: 400 calc(14px * var(--text-scale, 1))/1.4 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background-color .15s var(--site-ease);
}

.site-classic .site-actions a:hover {
    background: var(--site-tint);
}

.site-actions svg {
    flex: 0 0 auto;
    color: var(--site-brand);
}

.site-actions strong {
    display: block;
    color: var(--site-brand-dark);
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 600;
}

.site-classic .site-actions a:focus-visible,
.site-classic .site-notify a:focus-visible,
.site-classic .site-links a:focus-visible,
.site-classic .mega-menu a:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--site-brand);
}

.site-classic .site-facilities {
    max-height: 340px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
}

.site-classic .site-facilities li {
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid var(--site-line);
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.45;
    list-style: none;
}

.site-classic .site-facilities li:first-child {
    border-top: 0;
}

.site-facilities strong,
.site-facility__name {
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 600;
}

.site-facilities strong,
.site-facilities span {
    display: block;
}

.site-facilities span {
    color: var(--site-muted);
}

.site-facility-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
}

.site-facility {
    flex: 1 1 260px;
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.45;
}

.site-classic .site-facility h3 {
    margin: 0 0 4px;
    color: var(--site-muted);
    font-size: calc(13px * var(--text-scale, 1));
    font-weight: 400;
    text-transform: none;
}

.site-classic .site-facility p {
    margin: 0 0 8px;
}

.site-classic .btn,
.site-classic .btn:visited {
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #9aa8b7;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: var(--site-brand-dark);
    font: 600 14px/1.3 Arial, Helvetica, sans-serif;
    text-shadow: none;
    transition: background-color .15s var(--site-ease), border-color .15s var(--site-ease);
}

.site-classic a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-brand-dark) !important;
    font: 600 14px/1.3 Arial, Helvetica, sans-serif !important;
}

.site-classic a.btn.btn-orange {
    color: #fff !important;
}

.site-classic .btn:hover,
.site-classic .btn:focus {
    border-color: var(--site-brand);
    background: var(--site-tint);
    color: var(--site-brand-dark);
    text-decoration: none;
}

.site-classic .btn.btn-orange,
.site-classic .btn.btn-orange:visited,
.site-classic .form .field input.btn-orange {
    border-color: var(--site-brand);
    background: var(--site-brand) !important;
    color: #fff !important;
}

.site-classic .btn.btn-orange:not([disabled]):hover,
.site-classic .btn.btn-orange:not([disabled]):focus,
.site-classic .form .field input.btn-orange:not([disabled]):hover {
    border-color: var(--site-brand-dark);
    background: var(--site-brand-dark) !important;
}

.site-classic .btn:focus-visible,
.site-classic input:focus-visible,
.site-classic select:focus-visible {
    outline: 0;
    box-shadow: var(--site-focus);
}

.site-classic .btn[disabled],
.site-classic .btn.btn-orange[disabled] {
    border-color: var(--site-line);
    background: #f0f3f6 !important;
    color: #66717e !important;
    cursor: not-allowed;
}

.site-classic .btn:active {
    top: 0;
}

/* Forms of the older pages */

.site-classic .portlet-content .form .field {
    float: none;
    overflow: hidden;
    margin: 0 0 14px;
}

.site-classic .form.label-inline .field label {
    margin: 0 10px 0 0;
    padding: 9px 12px 0 0;
    color: var(--site-ink);
    font-size: calc(13px * var(--text-scale, 1));
    line-height: 1.4;
}

.site-classic .form.label-inline .field .requiredStar {
    padding-top: 9px;
}

.site-classic .portlet-content input[type="text"],
.site-classic .portlet-content input[type="password"],
.site-classic .portlet-content input[type="email"],
.site-classic .portlet-content input[type="tel"],
.site-classic .portlet-content select,
.site-classic .portlet-content textarea {
    box-sizing: border-box;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #aeb9c5;
    border-radius: 6px;
    background-color: #fff;
    color: var(--site-ink);
    font: 400 calc(14px * var(--text-scale, 1))/1.4 Arial, Helvetica, sans-serif;
    transition: border-color .15s var(--site-ease), box-shadow .15s var(--site-ease);
}

.site-classic .portlet-content input[type="text"][style*="200px"],
.site-classic .portlet-content input[type="password"],
.site-classic .site-window-form input[type="text"] {
    width: 280px !important;
}

.site-classic .portlet-content textarea {
    width: 100%;
    max-width: 520px;
    min-height: 120px;
    resize: vertical;
}

.site-classic .portlet-content input:hover:not([disabled]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.site-classic .portlet-content select:hover,
.site-classic .portlet-content textarea:hover {
    border-color: #7d8a98;
}

.site-classic .portlet-content input:focus-visible,
.site-classic .portlet-content select:focus-visible,
.site-classic .portlet-content textarea:focus-visible {
    border-color: var(--site-brand) !important;
    outline: 0;
    background-color: #fff;
    box-shadow: var(--site-focus);
}

.site-classic .portlet-content input[disabled] {
    background-color: #f0f3f6;
    color: var(--site-muted);
}

.site-classic .portlet-content p,
.site-classic .portlet-content .billingEditor .field {
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.5;
}

.site-classic .portlet-content .billingEditor p {
    display: flow-root;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e8edf2;
}

.site-classic .portlet-content .billingEditor p strong,
.site-classic .portlet-content .billingEditor p .paymentLabel {
    color: var(--site-muted);
    font-weight: 400;
}

.site-classic .portlet-content .billingEditor .field_help {
    margin: 0;
    padding: 6px 0 8px;
    border-bottom: 1px solid #e8edf2;
    color: var(--site-muted);
    font-size: calc(13px * var(--text-scale, 1));
}

.site-classic .portlet-content .buttonRight,
.site-classic .portlet-content .buttonrow {
    display: flex;
    clear: both;
    flex-wrap: wrap;
    gap: 10px;
    float: none;
    margin: 18px 0 0;
}

.site-classic .portlet-content .form.label-inline .buttonRight,
.site-classic .portlet-content .form.label-inline .buttonrow {
    margin-left: 145px;
}

/* Tables of the older pages */

.site-classic .portlet-content table:not(.form-table) {
    border-collapse: collapse;
}

.site-classic .portlet-content table thead th {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    background: #f1f5f8 !important;
    color: var(--site-ink);
    font: 600 calc(13px * var(--text-scale, 1))/1.4 Arial, Helvetica, sans-serif;
    text-align: left;
    text-transform: none;
}

.site-classic .portlet-content table tbody tr {
    border: 0;
    background: #fff;
}

.site-classic .portlet-content table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--site-line);
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 1.4;
}

/* The notifications window */

#facebox {
    left: 50% !important;
    width: 680px;
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
}

#facebox .popup {
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(16, 32, 48, .28);
}

#facebox .popup > table,
#facebox .popup > table > tbody,
#facebox .popup > table > tbody > tr,
#facebox .popup > table td.body {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    background: #fff;
}

#facebox .popup > table > tbody > tr > td.tl,
#facebox .popup > table > tbody > tr > td.tr,
#facebox .popup > table > tbody > tr > td.bl,
#facebox .popup > table > tbody > tr > td.br,
#facebox .popup > table > tbody > tr > td.b {
    display: none;
}

#facebox .popup > table td.body {
    padding: 18px 20px 20px;
}

#facebox .header {
    display: flex;
    justify-content: flex-end;
    float: none;
    height: auto;
    margin: -6px -8px 6px 0;
    background: none;
}

#facebox .close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: background-color .15s var(--site-ease);
}

#facebox .close:hover {
    background: var(--site-tint);
}

#facebox .close:focus-visible {
    outline: 0;
    box-shadow: var(--site-focus);
}

#facebox .content,
#facebox .content td,
#facebox .content a {
    font: 400 calc(14px * var(--text-scale, 1))/1.45 Arial, Helvetica, sans-serif;
}

#facebox .content p {
    margin: 0 0 12px;
    padding: 0;
    background: none;
    color: var(--site-ink);
    font: 600 calc(17px * var(--text-scale, 1))/1.35 Arial, Helvetica, sans-serif;
}

#facebox .content div.txt {
    margin: 14px 0 18px;
}

#facebox .content a {
    color: var(--site-brand-dark) !important;
}

#facebox .content a.unread {
    font-weight: 700;
}

#facebox .content table thead th {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    background-color: #f1f5f8 !important;
    color: var(--site-ink);
    font: 600 calc(13px * var(--text-scale, 1))/1.4 Arial, Helvetica, sans-serif;
}

#facebox .content table tbody tr {
    border: 0;
    background: #fff;
}

#facebox .content table tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--site-line);
    vertical-align: middle;
}

#facebox .dataTables_wrapper input,
#facebox .dataTables_wrapper select {
    min-height: 34px;
    padding: 4px 8px;
    border: 1px solid #aeb9c5;
    border-radius: 6px;
    font: inherit;
}

#facebox .dataTables_length,
#facebox .dataTables_filter {
    margin: 0 0 12px;
    color: var(--site-muted);
    font-size: 13px;
}

#facebox .dataTables_info,
#facebox .dataTables_paginate {
    border: 0;
    color: var(--site-muted);
    font-size: 13px;
}

#facebox .dataTables_paginate a,
#facebox .dataTables_paginate span {
    margin: 0;
    padding: 2px 3px;
    background: none;
    font-size: 13px;
}

.facebox_overlayBG {
    background-color: #10202f;
}

/* Pages of their own window: nominations, contact, terms */

.site-window .page-container {
    max-width: 960px;
}

.site-window #content {
    padding-top: 24px;
}

.site-window #content > .portlet,
.site-window #content > .x12 {
    float: none;
    width: auto;
    margin: 0 0 24px;
}

.site-window .paragraph:not(.portlet) .portlet-content {
    padding: 0;
}

/* A page that is one message */

.site-message {
    max-width: 60ch;
    padding: 24px 0 40px;
}

.site-classic .site-message h1 {
    margin: 0 0 8px;
    color: var(--site-ink);
    font: 600 calc(24px * var(--text-scale, 1))/1.25 Arial, Helvetica, sans-serif;
}

.site-classic .site-message p {
    margin: 0 0 20px;
    color: var(--site-muted);
    font-size: calc(15px * var(--text-scale, 1));
    line-height: 1.55;
}

.site-classic .site-message p a {
    color: var(--site-brand-dark);
    font: inherit;
    font-weight: 600;
}

/* The facility search in the portal's own color. */

.site-body .club-search,
.site-body .club-dialog,
.site-body .club-popup-frame,
.site-body #noNewMemberDialog,
.site-body #RODialog,
.site-body #AFNDialog {
    --cs-primary: #006990;
    --cs-primary-dark: #00516f;
    --cs-tint: #e8f2f6;
    --cs-current: #d8eaf1;
    --cs-focus: 0 0 0 3px rgba(0, 105, 144, .35);
}

/* Small screens */

@media (max-width: 860px) {
    .site-body .page-container {
        padding: 0 16px;
    }

    .site-header {
        padding-top: 12px;
    }

    .site-header__top {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-header__logo img,
    .site-header__program img {
        max-height: 44px;
    }

    .site-header__logo {
        gap: 4px 16px;
    }

    .site-header__brand {
        flex: 1 1 0;
        gap: 8px 16px;
    }

    .site-body .site-menu-button {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .site-header__aside {
        flex: 1 1 100%;
        flex-direction: row;
        flex-wrap: wrap;
        order: 3;
        align-items: center;
        justify-content: space-between;
    }

    .site-header__promo {
        display: none !important;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-body .site-nav__items {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .site-body .site-header .site-nav__items a {
        flex: 1 1 auto;
        border-radius: 6px;
    }

    .site-body .site-header .site-nav__items a[aria-current] {
        background: rgba(255, 255, 255, .16);
    }

    .site-body .site-header .site-nav__items a[aria-current]::after {
        display: none;
    }

    .site-account {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .28);
    }

    .site-account__name {
        max-width: none;
    }

    .site-account__menu {
        position: static;
        width: auto;
        max-width: none;
        margin-top: 8px;
        box-shadow: none;
    }
}

@media (max-width: 860px) {
    .site-classic #content:has(> #rightSidebar) {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-classic #content:has(> #rightSidebar) > .site-main {
        grid-row: 1;
        grid-column: 1;
    }

    .site-classic #content:has(> #rightSidebar) > #rightSidebar {
        grid-row: 2;
        grid-column: 1;
    }

    .site-classic .site-main > .x7,
    .site-classic #content > .x7 {
        width: auto;
    }
}

@media (max-width: 560px) {
    .site-classic .site-actions ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-classic .form.label-inline .field {
        display: block;
        overflow: visible;
    }

    .site-classic .form.label-inline .field label {
        display: block;
        float: none;
        width: auto;
        margin: 0 0 4px;
        padding: 0;
        text-align: left;
    }

    .site-classic .form.label-inline .field input[type="text"],
    .site-classic .form.label-inline .field input[type="password"],
    .site-classic .form.label-inline .field input[type="email"],
    .site-classic .form.label-inline .field select {
        box-sizing: border-box;
        float: none;
        width: 100%;
        height: 42px;
        margin: 0;
        font-size: 16px;
    }

    .site-classic .form.label-inline .field label {
        display: inline-block;
    }

    .site-classic .form.label-inline .field .requiredStar {
        position: static;
        padding: 0 0 0 2px;
    }

    .site-classic .portlet-content .form.label-inline .buttonRight,
    .site-classic .portlet-content .form.label-inline .buttonrow {
        margin-left: 0;
    }

    .site-classic .portlet-content input[type="text"][style*="200px"],
    .site-classic .portlet-content input[type="password"] {
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-footer * {
        transition-duration: .01ms !important;
    }
}

@media print {
    .site-header__aside,
    .site-nav,
    .site-menu-button,
    .site-skip {
        display: none;
    }
}
