/* 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.)
*/

/* Global box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Background and body setup */
body {
  background-color: #020202;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

/* East Asian language support */
html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Typography */
p {
  line-height: 1.5;
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

@media (max-width: 600px) {
  p {
    font-size: 1rem;
  }
}

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

a {
  color: #00ccff;
  text-decoration: none!important;
  cursor: pointer;
}
a:hover {
  text-decoration: underline!important;
}

/* Lists */
ul, ol {
  margin: 0 0 1.4rem;
  padding-left: 1.25rem;
}
ul.no-list {
  list-style: none;
  padding-left: 0;
}

/* Buttons */
button,
.button,
.hs-button {
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  font-size: 1rem;
}

button:hover,
.button:hover,
.hs-button:hover {
  background-color: #222;
  border-color: #666;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #444;
  border-color: #444;
  color: #aaa;
  cursor: not-allowed;
}

/* No button style */
.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: none;
}

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

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

form legend {
  font-size: 0.875rem;
  color: #ccc;
}

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 {
  width: 100%;
  padding: 0.7rem;
  background-color: #111;
  border: 1px solid #444;
  color: #fff;
  font-size: 0.875rem;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100%;
  border: none;
}

/* Checkbox / Radio */
form .inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

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

/* Datepicker */
.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 {
  box-shadow: none;
}
.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  color: #fff;
}

/* File input */
form input[type="file"] {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #ccc;
}

/* Rich Text */
form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin-bottom: 1.4rem;
}
form .hs-richtext img {
  max-width: 100%;
  height: auto;
}

/* GDPR consent */
.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
  color: #aaa;
}

/* 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 {
  background: #00ccff;
  color: #000;
  font-weight: bold;
  border: none;
}
form input[type="submit"]:hover,
form .hs-button:hover {
  background: #00aacc;
}

/* Captcha */
.grecaptcha-badge {
  margin: 0 auto;
}

/* Search (for HubSpot search input v1) */
.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;
}
.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: #ccc;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

/* Code & block elements */
pre {
  overflow: auto;
  background: #111;
  color: #eee;
  padding: 1rem;
  border-radius: 4px;
}

code {
  background: #222;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

blockquote {
  border-left: 2px solid #555;
  padding-left: 0.7rem;
  color: #ccc;
}

/* Horizontal rules */
hr {
  border: none;
  border-bottom: 1px solid #444;
  margin: 2rem 0;
}

/* Image alt text */
img {
  font-size: 0.583rem;
  max-width: 100%;
  height: auto;
  display: block;
}
/* === Base Button Styles === */
button,
.button,
.hs-button {
border: 2px solid #47BC87;
  padding-top: 16px;
  padding-right: 25px;
  padding-bottom: 16px;
  padding-left: 25px;
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
  background-color: rgba(71, 188, 135, 1.0);
  border-radius: 100px!important;
  color: #000!important;
  font-size: 16px;
  text-transform: none;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, #00AEEE 0%, #47BC87 50.5%, #97C93C 100%) !important;
}

button:hover,
.button:hover,
.hs-button:hover {
  background-color:#020202!important;
  border-color:1px solid #47BC87!important;
  color: #fff!important; /* Optional: Accent color on hover */
    text-decoration:none;
}
.hs-button:hover {
  
  background:#000!important;
  border:1px solid #47BC87!important;
  color:#fff!important;
}
button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #fff;
  border-color: #2e2e2e;
  color: #000;
  cursor: not-allowed;
}

/* === No Button Styling === */

/* === Global Background Fix === */
/* === Form Section Container === */
.form_section {
  padding: 3rem 2rem; /* Generous internal padding */
  background: #0d0d0d !important;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 255, 195, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

/* === Fieldset & Field Gaps === */
.hs-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.hs-form-field {
  margin-bottom: 2rem; /* Extra breathing room between fields */
}

/* === Labels === */
.hs-form label,
.hs-form legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* === Inputs, Selects, Textareas === */
.hs-form input[type],
.hs-form select,
.hs-form textarea {
  width: 100%;
  padding: 1rem 1.25rem; /* Increased padding inside fields */
  font-size: 1rem;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #e5e5e5;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(0, 255, 195, 0.05);
}

.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  border-color: #00ffc3;
  background-color: #222;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 195, 0.25);
}

/* === Placeholder Styling === */
.hs-form ::placeholder {
  color: #888;
  transition: opacity 0.3s ease;
}
.hs-form input:focus::placeholder,
.hs-form textarea:focus::placeholder {
  opacity: 0.5;
}

/* === Textarea === */
.hs-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* === Required Asterisk === */
.hs-form .hs-form-required {
  color: #EF6B51;
  margin-left: 0.25rem;
}

/* === Checkboxes & Radios === */
.hs-form .inputs-list {
  list-style: none;
  padding-left: 0;
}

.hs-form .inputs-list > li {
  margin: 0.75rem 0;
  color: #ccc;
}

.hs-form input[type=checkbox],
.hs-form input[type=radio] {
  accent-color: #00ffc3;
  margin-right: 0.5rem;
  cursor: pointer;
}

/* === Date Icon Overlay === */
.hs-dateinput {
  position: relative;
}
.hs-dateinput::before {
  content: '📅';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #aaa;
  font-size: 1rem;
}

/* === Rich Text Area === */
.hs-form .hs-richtext,
.hs-form .hs-richtext p {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* === Error Messages === */
.hs-input.invalid.error,
.hs-form .invalid .hs-input {
  border-color: #EF6B51;
  background-color: #2b0000;
  box-shadow: 0 0 0 2px rgba(239, 107, 81, 0.3);
}

.hs-error-msg {
  color: #EF6B51;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  padding-left: 0.25rem;
}

/* === Submit Button === */
.hs-form input[type=submit],
.hs-form .hs-button {
  background: linear-gradient(135deg, #00ffc3, #47bc87);
  color: #000;
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 255, 195, 0.2);
}

.hs-form input[type=submit]:hover,
.hs-form .hs-button:hover {
  background: linear-gradient(135deg, #00dab0, #00ffc3);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 255, 195, 0.4);
}

/* === File Upload Field === */
.hs-form input[type=file] {
  padding: 0.5rem 0;
  border: none;
  background-color: transparent;
  color: #aaa;
}

/* === Captcha Centering === */
.grecaptcha-badge {
  margin: 0 auto;
}
/* ========== Form Wrapper Styles ========== */
#banner-form {
  max-width: 100%;
  padding: 20px;
  border-radius:20px;
  background: #f8fcff; /* light background like in your screenshot */
}

/* ========== Black Placeholder Text ========== */
#banner-form input::placeholder,
#banner-form textarea::placeholder {
  color: #000 !important;
  opacity: 1 !important;
}

/* ========== 2-Column Responsive Grid ========== */
#banner-form .hs-form-field {
  box-sizing: border-box;
  width: 48%;
  margin: 1% 1%;
  display: inline-block;
  vertical-align: top;
}

/* ========== Full Width for Textareas ========== */
#banner-form .hs-form-field.hs-message,
#banner-form textarea {
  width: 98% !important;
}

/* ========== Responsive: Mobile View ========== */
@media (max-width: 768px) {
  #banner-form .hs-form-field {
    width: 100% !important;
    margin: 0 0 15px 0;
  }

  #banner-form textarea {
    width: 100% !important;
  }
}

/* ========== Field Input and Label Spacing ========== */
#banner-form input[type="text"],
#banner-form input[type="email"],
#banner-form input[type="tel"],
#banner-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 5px;
}

/* ========== Reduce space between fields ========== */
#banner-form .hs-form-field {
  margin-bottom: 10px;
}

/* ========== Label Styling ========== */
#banner-form label {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  color: #1a1a1a;
}

/* ========== Submit Button ========== */
#banner-form input[type="submit"] {
  background-color: #ff6b3c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

#banner-form input[type="submit"]:hover {
  background-color: #e55a2d;
}





/* === Responsive Design === */
@media (max-width: 768px) {
  .form_section {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .hs-form input,
  .hs-form select,
  .hs-form textarea {
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }

  .hs-form .hs-button {
    width: 100%;
  }
}
/* 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
*/


/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/
.tridiagonal-ai-footer {
  background-color: #020202;
  color: #fff;
  font-family: sans-serif;
  width: 100%;
}
.footer-img{
height:80px;
width:auto;}
.footer-top {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

.footer-address {
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Bottom Bar with Updated Green Background */
.footer-bottom-bar {
  background-color: rgba(67,189,148,1.0) !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  color: #fff;
  font-size: 0.875rem;
}

.footer-bottom-text {
  flex: 1;
  text-align: left;
}

.footer-social-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background: white;
  color: rgba(67,189,148,1.0);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-text {
    text-align: center;
  }
}

/*****************************************/
/* Start your style declarations here    */
/*****************************************/
/* 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%;
}

/* 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;
  }
}