/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*,
*:before,
*:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^='ja'] body,
html[lang^='zh'] body,
html[lang^='ko'] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #ccc;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
/* ==========================================================================
   Buttons
   ========================================================================== */

/* Button State Utilities
   Used across modules for toggling button visibility
   ========================================================================== */

.button-active {
  display: block !important;
}

.button-hidden {
  display: none !important;
}

/* Clickable Button Styles
   Standard clickable button with uppercase text and rounded corners
   ========================================================================== */

.clickable-button {
  cursor: pointer;
  border-radius: 15px !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
}

.clickable-button:hover {
  cursor: pointer;
  border-radius: 15px !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
}

/* Disabled Button Styles
   Gray button for non-interactive states
   ========================================================================== */

.disabled-button {
  background-color: #f0f0f0;
  border: 1px solid #a9a9a9;
  color: #a9a9a9 !important;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 15px;
  font-size: 18px;
  cursor: not-allowed;
}

.disabled-button:hover {
  background-color: #f0f0f0 !important;
  color: #a9a9a9 !important;
  border: 1px solid #a9a9a9 !important;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 15px !important;
  font-size: 18px;
  cursor: not-allowed;
}

/* Button Link Styles
   Button styled as a text link
   ========================================================================== */

.button-link {
  background: none !important;
  min-width: 100px;
  border: none;
  padding: 0 !important;
  color: #000000 !important;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
}

.button-link:hover {
  border: none;
}

/* Disabled Button Link Styles
   Disabled state for button links
   ========================================================================== */

.disabled-button-link {
  background: none !important;
  min-width: 100px;
  border: none;
  padding: 0 !important;
  color: #d8d8d8;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
}

.disabled-button-link:hover {
  border: none;
  color: #d8d8d8;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
Note: Header styles are in Portal Header.module/module.css (kept with the module)
*/

/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts
  .hs-item-has-children:hover
  > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts
  .hs-item-has-children:hover
  > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts
    .hs-item-has-children:hover
    > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts
    .hs-item-has-children:hover
    > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}
/* Snackbar notification styles */

.snackbar {
  visibility: hidden;
  min-width: 300px;
  max-width: 500px;
  background-color: #f44336;
  color: #fff;
  /*text-align: left;*/
  padding: 16px;
  padding-right: 40px;
  border-radius: 4px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: visibility 0s, opacity 0.5s ease;
  opacity: 0;
}

/* Success variant - green */
.snackbar.success {
  background-color: #4caf50;
}

/* Warning variant - orange/amber */
.snackbar.warning {
  background-color: #ff9800;
}

/* Error variant - red (default) */
.snackbar.error {
  background-color: #f44336;
}

/* Show animation */
.snackbar.show {
  visibility: visible;
  opacity: 1;
}

/* Snackbar close button - positioned top right */
.snackbar-close {
  position: absolute;
  top: 0px;
  right: 8px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  /*line-height: 1;*/
}

.snackbar-close:hover,
.snackbar-close:focus {
  background: none;
  border: none;
  color: #fff;
  outline: none;
}
/* ==========================================================================
   Info Box Component
   Reusable information callout boxes for displaying messages to users
   ========================================================================== */

/* Base Info Box
   ========================================================================== */

.info-box {
  background-color: #e8f4fc;
  border: 1px solid #0073aa;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  gap: 15px;
}

.info-box .info-box-icon {
  flex-shrink: 0;
}

.info-box .info-box-icon i {
  font-size: 24px;
  color: #0073aa;
}

.info-box .info-box-content {
  flex: 1;
}

.info-box .info-box-content p {
  margin: 0;
  color: #004a6e;
  font-size: 15px;
  line-height: 1.6;
}

.info-box .info-box-content p + p {
  margin-top: 8px;
}

.info-box .info-box-content a {
  color: #0073aa;
  font-weight: 600;
  text-decoration: none;
}

.info-box .info-box-content a:hover {
  text-decoration: underline;
}

.info-box .info-box-content strong {
  font-weight: 600;
}

/* Info Box Variants
   ========================================================================== */

/* Warning variant - orange/yellow */
.info-box.info-box--warning {
  background-color: #fff8e6;
  border-color: #f5a623;
}

.info-box.info-box--warning .info-box-icon i {
  color: #f5a623;
}

.info-box.info-box--warning .info-box-content p {
  color: #8a6914;
}

/* Success variant - green */
.info-box.info-box--success {
  background-color: #e6f7ed;
  border-color: #2f774f;
}

.info-box.info-box--success .info-box-icon i {
  color: #2f774f;
}

.info-box.info-box--success .info-box-content p {
  color: #1e5235;
}

/* Error variant - red */
.info-box.info-box--error {
  background-color: #fdeaea;
  border-color: #d32f2f;
}

.info-box.info-box--error .info-box-icon i {
  color: #d32f2f;
}

.info-box.info-box--error .info-box-content p {
  color: #8b1a1a;
}

/* Registration Info Box
   Specific styling for event registration user info
   ========================================================================== */

.registration-info-box {
  margin-bottom: 25px;
}

.registration-info-box .info-box-content .user-name {
  font-weight: 600;
  font-size: 16px;
}

.registration-info-box .info-box-content .user-email {
  color: #0073aa;
}

/* Already Registered Modal
   Modal displayed when user is already registered for an event
   ========================================================================== */

.already-registered-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.already-registered-modal.active {
  opacity: 1;
  visibility: visible;
}

.already-registered-modal .modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.already-registered-modal .modal-icon {
  margin-bottom: 20px;
}

.already-registered-modal .modal-icon i {
  font-size: 48px;
  color: #f5a623;
}

.already-registered-modal .modal-content h3 {
  margin: 0 0 15px 0;
  font-size: 22px;
  color: #333333;
}

.already-registered-modal .modal-content p {
  margin: 0 0 25px 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
}

.already-registered-modal .modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.already-registered-modal .modal-buttons button {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.already-registered-modal .modal-buttons button:active {
  transform: scale(0.98);
}

.already-registered-modal .modal-buttons .btn-secondary {
  background-color: #f5f5f5;
  border: 1px solid #dddddd;
  color: #333333;
}

.already-registered-modal .modal-buttons .btn-secondary:hover {
  background-color: #eeeeee;
}

.already-registered-modal .modal-buttons .btn-primary {
  background-color: #2f774f;
  border: 1px solid #2f774f;
  color: #ffffff;
}

.already-registered-modal .modal-buttons .btn-primary:hover {
  background-color: #256640;
}

/* Mobile Responsive
   ========================================================================== */

@media only screen and (max-width: 600px) {
  .info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .info-box .info-box-icon {
    margin-bottom: 10px;
  }

  .already-registered-modal .modal-content {
    padding: 20px;
    margin: 15px;
  }

  .already-registered-modal .modal-buttons {
    flex-direction: column;
  }

  .already-registered-modal .modal-buttons button {
    width: 100%;
  }
}
/* ==========================================================================
   Waiver Components
   Shared styles for waiver functionality across modules:
   - Custom Registration
   - Dynamic Event Booking
   - Waiver Agreements
   ========================================================================== */

/* Checkbox Input Styling
   Visual feedback for waiver checkbox state
   ========================================================================== */

.checkbox-input {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  padding: 10px;
  align-items: center;
}

.checkbox-input > input {
  height: 20px;
  width: 20px;
}

.checkbox-input > label {
  margin: 0;
}

/* Checkbox State Classes
   ========================================================================== */

.unchecked {
  background-color: #ffadb0;
  border: 2px solid red;
}

.checked {
  background-color: #90ee90;
  border: 2px solid green;
}

/* Waiver Container (Full-screen overlay)
   ========================================================================== */

.waiver-container {
  position: fixed;
  z-index: 2000;
  background: #ffffff;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 30px 0;
}

.waiver-container .header-content {
  text-align: center;
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

.waiver-parent {
  overflow-y: hidden;
}

/* Waiver Module Blocks
   ========================================================================== */

.waiver-module-block {
  padding: 10px;
  background: #f8f8f8;
  border-radius: 20px;
  margin-bottom: 50px;
}

.waiver-module-inside {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  overflow-y: scroll;
  padding: 0 25px;
  max-height: calc(100vh - 450px);
}

.waiver-module-agreement > div {
  text-align: center;
}

/* Waiver Header Styling
   ========================================================================== */

.waiver-header {
  background-color: yellow;
  border: 2px solid red;
  text-align: center;
}

.waiver-subheader {
  background-color: yellow;
  border: 2px solid red;
  text-align: left;
  padding: 15px;
}

.waiver-bold-text {
  font-weight: bold;
}

.waiver-header-block {
  background-color: yellow;
  border: 3px solid red;
  display: flex;
  flex-direction: row;
}

/* Waiver Block Layout
   ========================================================================== */

.waiver-block {
  display: flex;
  flex-direction: row;
}

.small-sub-block {
  width: 10%;
  min-width: 40px;
  padding-left: 5px;
}

.large-sub-block {
  width: 90%;
}

/* Agreement Button Container
   Fixed to bottom of viewport
   ========================================================================== */

.agreement-button-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  align-items: center;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  z-index: 2001;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Signature Section
   ========================================================================== */

.signature-section {
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.name-input-container {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.name-input-container label {
  flex-shrink: 0;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}

.field-required {
  color: #dc3545;
  margin-left: 4px;
}

.waiver-name-input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.waiver-name-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.name-validation-message {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: 14px;
}

.validation-warning {
  display: block;
  text-align: center;
}

.button-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Waiver Mobile Styles
   ========================================================================== */

@media (max-width: 600px) {
  .name-input-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .name-input-container label {
    margin-bottom: 8px;
  }

  .waiver-name-input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .waiver-module-inside {
    padding: 0 5px;
    width: 98%;
    max-height: calc(100vh - 400px);
  }

  .waiver-module-block {
    margin-bottom: 150px;
  }

  .agreement-button-container {
    padding: 15px;
  }
}

/* Contact Info Display
   Inline label + value layout for waiver contact details
   ========================================================================== */

.contact_info_display .field-group-2 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
}

.contact_info_display .field-group-2 label {
  flex-shrink: 0;
  padding-top: 0;
}

.contact_info_display .field-group-2 > div {
  width: auto;
}
/* ==========================================================================
   Custom Form Components
   Styles for custom login, password reset, and booking forms
   ========================================================================== */

/* Booking Module Form
   Form layout for event booking modules
   ========================================================================== */

.booking-module-form-inside fieldset .input {
  margin: 0 !important;
}

.booking-module-form-inside fieldset.form-columns-3 > div {
  width: calc(33.33% - 13.33px) !important;
}

.booking-module-form-inside fieldset.form-columns-2 > div {
  width: calc(50% - 10px) !important;
}

.booking-module-form-inside fieldset.form-columns-1 > div {
  width: 100% !important;
}

.booking-module-form-inside fieldset {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

/* Login Widget Remember Me Checkbox
   ========================================================================== */

input#hs-login-widget-remember {
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: middle;
}

label[for='hs-login-widget-remember'] {
  display: inline-block;
  vertical-align: middle;
  line-height: 20px;
  margin: 0;
}

#hs_login_reset {
  display: none;
}

/* Password Reset Form
   ========================================================================== */

.custom-password-reset-form-container {
  width: 400px;
}

.custom-password-reset-form-container-parent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.password-reset-form .hs-form-field {
  padding-bottom: 30px;
  margin-bottom: 0;
  background-color: rgba(248, 248, 248, 1);
}

.password-reset-form .hs-button {
  margin-top: 0 !important;
  width: 100%;
}

.password-reset-form .actions {
  background-color: rgba(248, 248, 248, 1);
}

.password-reset-form .form-input-validation-message {
  background-color: rgba(248, 248, 248, 1) !important;
  margin-bottom: 0 !important;
  padding-bottom: 16px;
}

.password-reset-form label {
  margin-bottom: 0 !important;
}

/* Login Form
   ========================================================================== */

.custom-login-form-container {
  width: 400px;
}

.custom-login-form-container-parent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-login-form .hs-form-field {
  padding-bottom: 30px;
  margin-bottom: 0;
  background-color: rgba(248, 248, 248, 1);
}

.custom-login-form .hs-button {
  margin-top: 0;
  width: 100%;
}

.custom-login-form .actions {
  background-color: rgba(248, 248, 248, 1);
}

/* Custom Login Page Layout
   Split-screen login page with background image
   ========================================================================== */

section.custom-login-page {
  position: relative;
  flex-grow: 1;
}

.custom-login-page-container {
  max-width: 50%;
  padding: 40px;
  z-index: 9;
  position: relative;
  min-height: 825px;
}

section.custom-login-page:before {
  content: '';
  position: absolute;
  right: 0;
  width: 50%;
  background-image: url('https://48952529.fs1.hubspotusercontent-na1.net/hubfs/48952529/2025-SectionForumViaFerrata.png');
  height: 100%;
  background-size: cover;
  background-position: center;
}

.custom-login-page-container button {
  background: #ffffff !important;
  border: 3px solid #2f774f !important;
  color: #000000 !important;
}

.custom-login-page-container .form-oauth {
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}

/* Login Info Box
   Information callout for login page
   Note: Uses shared .info-box styles from _info-box.css
   ========================================================================== */

.login-info-box {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Container
   ========================================================================== */

.form-container {
  padding: 5px;
}

/* Mobile Responsive Forms
   ========================================================================== */

@media only screen and (max-width: 1000px) {
  .custom-login-page-container {
    max-width: 100%;
    width: 100%;
  }

  section.custom-login-page:before {
    display: none;
  }
}
/* ==========================================================================
   System Pages
   Styles for HubSpot system pages (error pages, search results, etc.)
   ========================================================================== */

/* System Page Content
   Main content area for system pages
   ========================================================================== */

.system-page-content {
  text-align: center;
  padding: 15px 0;
  margin: 0;
}

/* System Page Branding
   Logo/branding area for system pages
   ========================================================================== */

.system-page-branding img {
  width: 200px;
  display: block;
  margin: 0 auto;
}

/* System Page Details
   Call-to-action section on system pages
   ========================================================================== */

.system-page-details {
  text-align: center;
  padding: 50px 15px;
  background: #f8f8f8;
  border-radius: 20px;
  margin-top: 50px;
}

.system-page-details h4 {
  margin-top: 0;
  color: #1d3447;
}

.system-page-details a {
  display: inline-block;
  padding: 15px 40px;
  background: #1d3447;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 15px;
  min-width: 200px;
  text-align: center;
  margin: 0 5px;
}

/* System Page Details Container
   Wrapper for system page details
   ========================================================================== */

.system-page-details-container {
  padding-top: 25px;
}

.system-page-details-container h4 {
  margin: 0;
  padding-bottom: 10px;
}

.system-page-details-container a {
  display: block;
  color: #000000;
}

/* Email Preferences
   Styling for email subscription management pages
   ========================================================================== */

.email-prefs {
  background-color: #f0f5f7 !important;
  padding: 48px;
  border-radius: 15px;
}

/* Search Results
   HubSpot search results page styling
   ========================================================================== */

.hs-search-field__form {
  background-color: rgba(248, 248, 248, 1);
}

.hs-search-field__button {
  border-radius: 15px;
  height: 50px;
}

.hs-search-field__button:hover {
  border-radius: 15px;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}