/* Shared site theme. Bootstrap supplies the grid, controls, spacing and navigation. */
:root {
  --site-background: #1c1c1c;
  --site-surface: #111827;
  --site-primary: #0070e0;
  --site-radius: .5rem;
  --bs-body-font-family: "Arimo", Arial, sans-serif;
  --bs-body-bg: var(--site-background);
  --bs-body-color: #fff;
  --bs-body-line-height: 1.5;
}
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; }
img { max-width: 100%; object-fit: contain; }
h1, h2, h3, h4, h5, h6, .entryHeader { font-family: "Archivo", Arial, sans-serif; line-height: 1.2; }
h1, h1.display-1 { font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3, h4 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
p { line-height: 1.65; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #80c4ff; outline-offset: 4px; }
.btn { font-weight: 600; min-height: 44px; white-space: normal; }
.btn-primary { --bs-btn-bg: var(--site-primary); --bs-btn-border-color: var(--site-primary); }
.button-secondary { --bs-btn-bg: #d6d6d6; --bs-btn-color: #111; --bs-btn-hover-bg: #bfc6ce; --bs-btn-hover-color: #111; }
.site-header { position: relative; z-index: 1040; min-height: 68px; }
.site-header .offcanvas { --bs-offcanvas-width: min(24rem, 90vw); }
.site-header .nav-link { font-size: 1.2rem; padding: .65rem; border-radius: .25rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { background: #ffffff12; color: #fff; }
.site-footer { position: relative; background: #000; color: #fff; margin-top: auto; }
.background-container {
  min-height: 100vh;
  padding-bottom: 2rem;
  background: linear-gradient(#0008, #0009), url("../images/Registration.jpg") 49% center / cover no-repeat;
}
.above-overlay { position: relative; }
.background-container > .container, .background-container form.container,
.background-container > div > .container { max-width: 860px; }
.form-group, .form-group2 { margin-bottom: 1rem; }
#registrationForm .form-group { margin-bottom: .625rem; }
label { display: block; font-family: "Archivo", Arial, sans-serif; margin-bottom: .4rem; }
.form-control, .form-select { min-height: 44px; border: 2px solid var(--site-primary); background-color: #fff; color: #111; font-size: 1rem; }
.form-control:focus, .form-select:focus { background-color: #fff; color: #111; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--site-primary); }
input[type="checkbox"] + label { display: inline; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding-bottom: 2rem; }
.form-actions .btn { margin: 0; }
.initially-hidden.initially-hidden { display: none; }
.loader { display: none; width: 1rem; height: 1rem; border: 3px solid #ddd; border-top-color: var(--site-primary); border-radius: 50%; animation: spin 1s linear infinite; }
.loader-visible { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
hr.solid, hr.solid-thin { border: 0; border-top: 2px solid currentColor; opacity: .75; }
hr.solid-thin { margin-block: 0; }
/* Hash links are retained for session details and browser Back support. */
.session-modal { display: none; position: fixed; inset: 0; z-index: 1055; padding: 1rem; background: #000b; align-items: center; justify-content: center; }
.session-modal:target { display: flex; }
.session-details-open { overflow: hidden; }
.session-modal .content { position: relative; width: min(100%, 42rem); max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; color: #18202b; border-radius: var(--site-radius); padding: 2.5rem 1.25rem 1.25rem; }
.session-modal table { width: 100%; overflow-wrap: anywhere; }
.session-modal th { width: 30%; }
.session-modal h1 { font-size: 1.75rem; }
.session-accordion { background: #e9ecef; color: #18202b; cursor: pointer; padding: 1rem; width: 100%; text-align: left; border: 0; border-radius: .25rem; }
.session-accordion::after { content: '+'; float: right; }
.session-accordion.active::after { content: '\2212'; }
.panel { display: none; padding: 1rem; }
.panel ol { margin-bottom: 0; }
.page-content, .parragraph { width: min(100% - 2rem, 960px); margin: 2rem auto 4rem; }
.page-about { background: linear-gradient(#000b, #000b), url("../images/aboutPage.jpg") center / cover fixed; }
.page-heading { text-align: center; padding: 2rem 1rem 0; }
.big { font-size: clamp(2rem, 5vw, 3.5rem); }
.semi-big { font-size: clamp(1.4rem, 3vw, 2rem); }
.success-message { width: min(100% - 2rem, 800px); min-height: 70vh; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; text-align: center; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--site-radius); }
.gallery a { display: block; }
.gallery a:hover img { filter: brightness(1.1); }
.home-nextsessions { margin: 2rem auto; max-width: 960px; padding: 1rem; overflow-x: auto; }
.home-nextsessions table { width: 100%; }
.home-nextsessions th, .home-nextsessions td { padding: .75rem; }
.card-item, #creditCard { min-height: 48px; width: 100%; background: #fff; color: #111; border-radius: .25rem; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.card-item label { color: #111; margin: 0; cursor: pointer; }
#apple-pay-button { height: 48px; width: 100%; display: inline-block; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: white; }
.btn-GooglePay { height: 48px; width: 100%; background: #000; }
.btn-ApplePay, .btn-GooglePayOutline { background: #000; }
#paymentProcessing { position: fixed; inset: auto 0 35%; z-index: 1060; min-height: 48px; background: var(--site-primary); color: #fff; align-items: center; justify-content: center; }
.payment-summary { width: 100%; }
.payment-summary th:first-child, .payment-summary td:first-child { width: 40%; }
.page-payment .form-group2 label { font-size: .875rem; }
.page-payment .background-container { padding-bottom: 3rem; }
@media (max-width: 575.98px) {
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .background-container .px-4 { padding-inline: 1rem !important; }
  .session-modal { padding: .5rem; }
  .session-modal .content { max-height: calc(100dvh - 1rem); padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
