/* 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 */
  overflow-x: hidden;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
}

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


@media (max-width: 767px) {
  iframe#calculationFrame {
      min-height: 1300px;
  }
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
}

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

.dnd-section .dnd-column {
  padding: 0 15px;
}

@media screen and (max-width: 1352px) {
  .content-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }
}

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

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

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: 18px;
  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;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
  font-size: 18px;
  line-height: 1.2;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0; 
  border-color: #D0D0D0;
  color: #E6E6E6;
}

button.non-link, 
.hs-button.non-link, 
.button.non-link {
  cursor: default;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}

.button.button--small {
  font-size: 15px;
  padding: 8px 15px;
}

.button.button--light {
  color: #4F4F4F;
  background-color: #FFF;
  font-weight: 700;
}
/* Fields */
.hs-form-field {
  margin-bottom: 1.88rem;
}

/* Labels */
form label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

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

.form-title:empty {
  display: none;
}

/* Help text */
form legend {
  font-size: 15px;
}

/* 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: 18px;
  font-weight: 500;
  line-height: 1.5;
  padding: 16px 20px;
  width: 100%;
}

form input[type=text]:focus,
form input[type=search]:focus,
form input[type=email]:focus,
form input[type=password]:focus,
form input[type=tel]:focus,
form input[type=number]:focus,
form input[type=file]:focus,
form select:focus,
form textarea:focus {
  outline: none;
}

form textarea {
  min-height: 120px !important;
  resize: vertical;
}

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

/* Inputs - checkbox/radio */
form .hs-fieldtype-checkbox,
form .hs-fieldtype-radio {
  margin-bottom: 50px;
}

form .hs-fieldtype-checkbox > label,
form .hs-fieldtype-radio > label {
  display: block;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

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

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

form .inputs-list > li:not(:last-child) {
  margin-bottom: 20px;
}

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

form .hs-form-radio-display,
form .hs-form-checkbox-display,
form .hs-form-booleancheckbox > label{
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 0;
}

form input[type='checkbox'],
form input[type='radio'] {
  appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  min-width: 24px;
  background-color: transparent;
  background-position: 50%;
  background-repeat: no-repeat;
  border: 1px solid rgba(35, 35, 35, 0.20);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  margin-right: 10px;
  vertical-align: middle;
}

form input[type=checkbox]:disabled,
form input[type='radio']:disabled {
  background-color: #e6e6e6;
  cursor: not-allowed;
}

form input[type='radio'] {
  border-radius: 50%;
}

form input[type='checkbox'] + *,
form input[type='radio'] + * {
  display: inline;
  float: none;
  margin-left: 0 !important;
  vertical-align: middle;
}

form input[type='checkbox']:checked {
  border-color: rgba(35, 35, 35, 0.20);
}

form input[type='checkbox']:checked + span::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid #E01C15;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

form input[type='radio']:checked {
  border-color: rgba(35, 35, 35, 0.20);
}

form input[type='radio']:checked + span::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E01C15;
}

/* Form field dropdown */
form select {
  border: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='14' viewBox='0 0 26 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.80469 1.25L13.216 12.75L24.6272 1.25' stroke='%23E01C15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: calc(100% - 20px) center;
}

form select.placeholder {
  color: rgba(35, 35, 35, 0.60);
}

/* Inputs - date picker */
.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 20px;
  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;
}

form .custom-input-file input[type='file'] {
  display: none;
}

form .custom-input-file .input-button {
  border: 1px solid rgba(35, 35, 35, 0.20);
  background-color: #F4F4F4;
  min-width: 150px;
  margin-bottom: 0;
  color: #4F4F4F;
  cursor: pointer;
  width: 100%;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

form .custom-input-file .input-file-icon {
  display: inline-block;
  height: 74px;
  width: 76px;
  margin-bottom: 25px;
  cursor: pointer;
}

form .custom-input-file .input-file-text {
  color: #4F4F4F;
}

form .custom-input-file .input-button.selected {
  flex-direction: row;
}

form .custom-input-file .input-button.selected .input-file-icon {
  width: 28px;
  height: 28px;
  margin-left: 20px;
  margin-bottom: 0;
}


/* Headings and text */
form .hs-richtext,
form .hs-richtext p {
  font-size: 18px;
  margin: 0 0 1.4rem;
}

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

/* GDPR */
.legal-consent-container {
  margin-bottom: 2rem;
}

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

/* Validation */
.hs-form-required {
  color: #E01C15;
}

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

.hs-error-msg {
  font-weight: normal;
  font-size: 16px;
  color: #E01C15;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.legal-consent-container .hs-error-msgs label {
  color: #E01C15 !important;
}

.hs_error_rollup {
  margin-bottom: 15px;
}

.hs-error-msgs label {
  color: #e01c15;
}


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




/* Two columns */
form fieldset.form-columns-2 .hs-form-field:first-child .input{
  margin-right: 35px;
}

form fieldset.form-columns-1 textarea {
  width: 100% !important;
}

form fieldset.form-columns-1 input[type=text], form fieldset.form-columns-1 input[type=tel], form fieldset.form-columns-1 input[type=email],
form fieldset.form-columns-1 input[type=number], form fieldset.form-columns-1 input[type=password] { 
  width: 100% !important;
}

@media screen and (max-width: 480px) { 
  form  fieldset[class='form-columns-2'] .hs-form-field:first-child .input{
    margin-right: 8px;
  }

  form input[type=email], form input[type=file], form input[type=number], form input[type=password], form input[type=search], form input[type=tel], form input[type=text], form select, form textarea {
    width: 100% !important;
  }
}
/* 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;
}
/* Menu */

.menu--desktop {
    display: block;
}

.menu--mobile {
    display: none;
}

@media (max-width: 1250px) {
    .menu--desktop {
        display: none;
    }

    .menu--mobile {
        display: block;
    }
}

/* Menu items */

.menu__item {
    position: relative;
}

.menu__item > span.menu__link { 
    pointer-events: none !important;
}

.menu__link {
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
    text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
    font-weight: bold;
}

@media (min-width: 992px) and (max-width: 1150px) {
    .menu__link {
        font-size: 15px;
    }
}

@media (max-width: 1250px) {
    .menu__item {
        display: block;
        width: 100%;
    }

    .menu__link {
        display: block;
        font-size: 16px;
        color: #52575D;
    }
}

/* Menu items - top level */

.menu__item--depth-1 {
    display: inline-block;
    padding: 12px 0;
}

.menu__item--depth-1:not(:last-child) {
    margin-right: 50px;
}

.menu__item--depth-1 > .menu__link { 
    font-size: 25px;
    line-height: 1.2;
    font-weight: 400;
    position: relative;
}

.menu__item--depth-1 > .menu__link:after { 
    background: #E01C15;
    position: absolute;
    bottom: -12px;
    left: 0;
    content: "";
    display: block;
    height: 3px;
    transition: width .3s;
    width: 0;
}

.menu__item--depth-1:hover > .menu__link:after,
.menu__item--depth-1 > .menu__link--active-link:after { 
    width: 100%;
}

.menu__item--depth-1 > span.menu__link::after { 
    background-color: transparent !important;
}

.menu__item--depth-1.menu__item--has-submenu:hover > .menu__link:after,
.menu__item--depth-1.menu__item--has-submenu > .menu__link--active-link:after,
.menu__item--depth-1.nav__item--mega-branch:hover > .menu__link:after,
.menu__item--depth-1.nav__item--mega-branch > .menu__link--active-link:after { 
    width: calc(100% + 9px);
}

@media (max-width: 1250px) {
    .menu__item--depth-1 {
        border-top: 1px solid #EBEBEB;
        padding: 0;
    }

    .menu__item--depth-1 > .menu__link {
        padding: 16px 0 16px 0;
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 600;
        color: #232323;
    }

    .menu__item--depth-1 > .menu__link:after { 
        opacity: 0;
    }

    .menu__item--depth-1 > .menu__link--active-link:after {
        content: none;
    }
}


/* Menu items - mega */
.menu__item--mega {
    position: static;
}

.nav-mega {
    align-items: center;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 0;
    justify-content: flex-start;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 0;
    top: 100%;
    transform-origin: center top;
    width: 0;
}

.hs-inline-edit .nav-mega {
    display: none;
}

.menu__item--open .nav-mega {
    animation: pop .2s ease-in-out forwards;
    z-index: 6;
    height: auto;
    min-height: 450px;
    max-height: calc(100vh - 136px);
    opacity: 1;
    overflow-y: auto;
    padding: 40px;
    width: auto;
}

.nav-mega__loc {
    display: flex;
    align-self: flex-start;
    align-items: center;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
    color: #232323;
}

.nav-mega__block {
    display: grid;
    grid-template-columns: 60px auto;
    gap: 10px;
}

.nav-mega__icon img {
    display: inline-block;
    max-width: 59px;
    max-height: 59px;
    margin-top: -14px;
    width: 100%;
    height: auto;
}

.nav-mega__submenu {
    display: block;
    width: 100%;
}

.nav-mega__submenu--level-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 50px;
    width: 100%;
}

.nav-mega__submenu .nav-mega__item:not(:last-child) {
    margin-bottom: 5px;
}

.nav-mega__submenu .nav-mega__link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #4F4F4F;
}

.nav-mega__submenu .nav-mega__link:not(a) {
    pointer-events: none;
    cursor: auto;
}

.nav-mega__submenu .nav-mega__link:hover,
.nav-mega__submenu .nav-mega__link:focus {
    color: #e01c15;
}

.nav-mega__submenu .nav-mega__link--active-link {
    font-weight: 500;
    color: #4F4F4F;
}

.nav-mega__item--depth-2 > .nav-mega__link {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 21px;
    color: #232323;
}


/* Menu items - submenus */

.menu__submenu {
    padding: 10px 0;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: #fff;
    display: none;
    left: 0;
    position: absolute;
    text-align: left;
    text-transform: none;
    top: 100%;
    width: 240px;
    z-index: 999;
}

.menu__item--open > .menu__submenu {
    display: block;
    animation: pop .2s ease-in-out forwards;
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
    transform: unset;
}

.menu__submenu .menu__item {
    border-bottom: 1px solid #D1D6DC;
    padding: 0;
    width: 100%;
}

.menu__submenu .menu__item:last-child { 
    border-bottom-color: transparent;
}

.menu__submenu .menu__link {
    display: block;
    padding: 0.7rem 1.05rem;
    transition: background-color 0.3s;
    width: 100%;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.2;
}

ul.menu__submenu--level-3 {
    margin-top: -10px;
    left: 100%;
    top: 0;
}

/* Flyouts for the last one top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n+1) .menu__submenu--level-3 {
    left: auto;
    right: 100%;
    top: 0;
}

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
    padding-right: 25px;
}

@media (max-width: 1250px) {
    .menu__submenu {
        border: none;
        border-radius: 0;
        box-shadow: none;
        position: static;
        transform: unset;
        width: 100%;
    }

    .menu--mobile .menu__submenu {
        background-color: #fff;
    }

    .menu__submenu .menu__item {
        background-color: #FFF;
        border-bottom: none;
        padding: 0;
    }

    .menu__submenu .menu__link {
        display: block;
        padding: 12px 0;
        transition: none;
        width: 100%;
    }

    .menu__submenu .menu__item .menu__link:hover,
    .menu__submenu .menu__item .menu__link:focus {
        background-color: inherit;
        transition: none;
    }

    .menu__item--has-submenu > .menu__link {
        width: calc(100% - 30px);
    }

    .menu__submenu--level-3 .menu__item .menu__link {
        padding: 7px 10px;
    }
}

/* Menu icons */

@media (min-width: 1251px) {
    .menu__submenu .menu__child-toggle {
        margin-left: auto;
    }

    .menu__child-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .menu__item--depth-1 > .menu__child-toggle {
        position: static;
        right: 0;
        top: 0;
        vertical-align: middle;
    }

    .menu__child-toggle-icon {
        height: 6px;
        width: 6px;
        margin-left: 2px;
        border-style: solid;
        border-color: #2c2f34;
        border-width: 0px 1px 1px 0px;
        transform: rotate(45deg);
    }

    .menu__submenu .menu__child-toggle-icon {
        transform: rotate(315deg);
    }
}

@media (max-width: 1250px) {
    .menu__child-toggle {
        display: inline-flex;
        align-items: center;
        background-position: center right 30px;
        background-repeat: no-repeat;
        background-size: 20px;
        border: none;
        cursor: pointer;
        height: 55px;
        padding: 15px 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
    }

    .menu__child-toggle-icon {
        display: inline-flex;
        align-items: center;
        width: 16px;
        height: 16px;
        margin-left: auto;
        transition: transform 0.4s;
        border: none;
    }
    
    .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
        transform: rotate(180deg);
        transition: transform 0.4s;
    }
}


/* Nav popup */

.menu__nav-popup { 
    display: none;
}

.menu__nav-content {
    position: relative;
    padding: 15px 15px 100px 15px;
}

.menu__nav-popup.open {
    background-color: #FFF;
    display: block;
    left: 0;
    min-height: calc(100vh - 80px);
    position: fixed;
    right: 0;
    top: 80px;
    z-index: 1010;
    height: calc(100vh - 80px);
    overflow-x: hidden;
}

.menu__extra {
    margin-top: 60px;
}

.menu__meta {
    margin-bottom: 25px;
}

.menu__meta .hs-menu-item {
    display: block;
    width: 100%;
}

.menu__meta .hs-menu-item:not(:last-child) { 
    margin-bottom: 14px;
}

.menu__meta .hs-menu-item a {
    font-size: 0.8888rem;
    color: rgba(35, 35, 35, 0.60);
}

.menu__meta .hs-menu-item.active-branch a {
    color: #e01c15;
}

.menu__close-toggle {
    position: fixed;
    right: 15px;
    top: 24px;
    height: 42px;
    margin-right: 0;
    text-align: center;
    width: 30px;
    cursor: pointer;
    z-index: 1020;
    display: none;
    color: #000;
}

.menu__close-toggle svg {
    width: 24px;
    height: 24px;
    display: inline-flex;
}

.menu__close-toggle.show {
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 767px) { 
    .menu__button .button {
        width: 100%;
        display: block;
    }
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

@keyframes headerStickyActive {
  from {
    opacity: 0;
    transform: scale(1.1) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0%)
  }
}

@keyframes headerStickyInactive {
  from {
    transform: translateY(20%);
  }
  to {
    transform: translateY(0%);
  }
}

body.nav-open {
  overflow: hidden !important;
}

.header {
  width: 100%;
  min-height: 100px;
  transition: 0.3s;
  background-color: #fff;
  z-index: 1030;
}

.header--sticky-active {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  animation: .2s ease-in-out headerStickyActive;
}

.header--sticky-inactive {
  animation: .2s ease-in-out headerStickyInactive;
}

.header--sticky-active.scrolled-down {
  transform: translateY(-100%);
  animation: none;
}

.header--sticky-active.scrolled-up {
  transform: translateY(0);
  animation: none;
}

.hs-inline-edit .header {
  position: static !important;
  transform: none !important;
}

@media (max-width: 1250px) {
  .header {
    min-height: 90px;
  }
}

/* Header DND sections */
.header .dnd-section {
  padding: 0;
}

/* Header container */
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header__nav-column {
  display: flex;
  flex-direction: column;
}

.header__navbar {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-left: 30px;
  padding-top: 24px;
  padding-bottom: 0;
}

@media (max-width: 1250px) {
  .header__nav-column {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .header__navbar {
    flex-wrap: wrap;    
    margin-left: 0;
    padding-top: 0;
  }
}


/* Topnav */
.header__topnav {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-left: 30px;
  padding: 10px 0;
}

@media (max-width: 1250px) {
  .header__topnav { 
    margin-left: 0;
    padding: 0;
  }

  .header__topnav .header__meta {
    display: none;
  }
}

/* Meta menu */
.header__meta .hs-menu-item:not(:last-child) {
  margin-right: 20px;
}

.header__meta .hs-menu-item a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(35, 35, 35, 0.60);
  text-decoration: none;
}

.header__meta .hs-menu-item a:hover,
.header__meta .hs-menu-item a:focus,
.header__meta .hs-menu-item.active-branch a {
  color: #E01C15;
}


/* Navigation skipper */
.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */
 
.header__logo {
  margin-right: 15px; 
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 259px;
  overflow: hidden;
  /*min-width: fit-content;*/
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 21px;
  margin-top: 0.7rem; 
}

.header__logo {
  padding-top: 39px;
  padding-bottom: 39px; 
}

.header__logo #hs-link-site_logo_hs_logo_widget {
  display: block;
  line-height: 0;
}

.menu--desktop .menu__wrapper {
  min-width: 551px;
}

@media (max-width: 1250px) {
  .header__logo {
    min-width: 160px;
    padding: 21px 0;
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  .header__logo {
    min-width: 120px;
  }
}

/* Meta control */
.header__control {
  display: flex;
  align-items: center;
  min-width: fit-content;
  min-height: 42px;
  margin-left: 20px;
}

.header__control .header__element:not(:last-child){
  margin-right: 18px;
}

@media (max-width: 1250px) {
  .header__control {
    margin-left: 0;
    margin-right: 0;
  }

  .header__control .header__element:not(:last-child){
    margin-right: 20px;
  }
  
}

@media (max-width: 991px) {
  .header__control .header__element:not(:last-child){
    margin-right: 15px;
  }
}

/* Search bar */
.header__search {
  width: auto;
}

.header__search .site-search__open {
  width: 48px;
  height: 42px;
  padding: 11px 14px;
  background-color: #F5F3F0;
  border-color: #F5F3F0;
  border-radius: 0;
  color: #E01C15;
}

.header__search .site-search__open:hover,
.header__search .site-search__open:focus {
  background-color: #F5F3F0;
  border-color: #F5F3F0;
  color: #E01C15;
}

@media (max-width: 1250px) {
  .site-search__close svg {
    max-width: 18px;
  }
}

@media (max-width: 991px) {
  .header__search .site-search__open {
    /*
    padding: 0;
    width: 24px;
    height: 24px;
    */
  }
}

/* Language switcher */
.language-switcher {
  background-color: transparent;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  padding-right: 12px;
}

.language-switcher .globe_class {
  background-image: none;
  width: 10px;
}

.language-switcher .lang_switcher_class {
  position: static;
}

.language-switcher .lang_list_class {
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 60px;
  padding: 5px 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.language-switcher .lang_list_class li {
  background-color: transparent;
}

.language-switcher:hover .lang_list_class,
.language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.language-switcher .lang_list_class:before,
.language-switcher .lang_list_class:after {
  opacity: 0;
}

.language-switcher .lang_list_class.first-active::after {
  border-bottom-color: #fff;
  top: -22px;
  transition: 0.3s;
}

.language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.language-switcher .lang_list_class li:first-child {
  padding-top: 10px;
  border-top: none;
}

.language-switcher .lang_list_class li:last-child {
  padding-bottom: 10px;
  border-bottom: none;
}

.language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.language-switcher-label-current,
.language-switcher .lang_list_class li a {
    font-weight: 500;
    font-size: 18px;
    color: #8a8a8a;
}

.language-switcher__label {
  display: flex;
  position: relative;
}

.language-switcher__label-current {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  min-height: 48px;
  padding-left: 5px;
  padding-right: 5px;
  font-weight: 600;
}

.language-switcher__label-current:after {
  content: "";
  display: block;
  height: 6px;
  width: 6px;
  margin-left: 12px;
  border-style: solid;
  border-color: #2c2f34;
  border-width: 0px 1px 1px 0px;
  transform: rotate(45deg);
  margin-top: -2px;
}

@media (max-width: 991px) {
  .language-switcher {
    padding-right: 5px;
  }

  .language-switcher__label-current {
    min-height: 40px;
    margin-left: 5px;
  }
}

/* Navigation */
#nav-toggle {
  display: none;
}


/* Mobile toggles */
.header__nav-toggle {
  display: none;
}

@media (max-width: 1250px) {
  .header__nav {
    width: 100%;
  }

  .header__nav-toggle {
    display: inline-flex;
  }

  .header__button {
    display: none;
  }

  .header__nav-toggle,
  .site-search__open {
    cursor: pointer;
    position: relative;
  }

  .header__nav-toggle.hide {
    display: none;
  }

  .header__nav-toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__nav-toggle:after,
  .site-search__open:after {
    display: none;
    font-size: 19px;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__nav-toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__nav-toggle {
    background-color: transparent;
    border-color: transparent;
    height: 42px;
    width: 30px;
    padding: 10px 0;
    color: #4F4F4F;
  }

  .header__nav-toggle:hover,
  .header__nav-toggle:focus {
    background-color: transparent;
    border-color: transparent;
    color: #4F4F4F;
  }

  .nav-open .header__logo {
    z-index: 9999;
  }

  .nav-open .header__control {
    z-index: 9999;
    margin-right: 30px;
  }

  .nav-open .header__nav-toggle {
    display: none;
  }
}
.footer-top {
    padding-top: 84px;
    padding-bottom: 84px;
    background-color: #F5F3F0;
}

.footer-top p,
.footer-top a {
    color: #4F4F4F;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.footer-top p {
    margin-bottom: 15px;
}

.footer-top a {
    display: block;
}

.footer-top a[href="javascript:void(0);"]:hover {
    cursor: auto;
    color: #4f4f4f;
}

.footer__menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts ul {
    display: flex;
    flex-direction: row;
}

.footer__menu .hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
    display: none !important;
}

.footer__menu .hs-menu-wrapper .hs-menu-item{
    position: relative;
    padding-left: 17px;
    line-height: 24px;
}

.footer__menu .hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-item {
    flex: 0 1 42%;
}
.footer__menu .hs-menu-wrapper.hs-menu-flow-vertical .hs-menu-item {
    flex: 0 1 100%;
}

.footer__menu .hs-menu-wrapper .hs-menu-item::before {
    content: ">";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    color: #E01C15;
}

.footer__menu .hs-menu-wrapper .hs-menu-item:not(:last-child) {
    margin-bottom: 5px;
}

.footer-top__one {
    margin-bottom: 60px;
}

.footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
}

.footer .col-copyright {
    display: flex;
}

.footer__copyright {
    margin-top: auto;
}

.footer__copyright p{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #4F4F4F !important;
}

.footer__social {
    margin-bottom: 15px;
}

.footer__policy {
    text-align: right;
}

.footer__policy a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    color: #4F4F4F !important;
}

.footer__policy a:not(:last-child){
    margin-right: 40px;
}

@media screen and (max-width: 1070px) {
    .footer {
        background-color: transparent !important;
    }

    .footer-top .col-address {
        margin-bottom: 40px;
    }
    .footer-top {
        padding-top: 45px;
        padding-bottom: 5px;
        background-color: rgba(207, 194, 180, 0.33);
    }
    .footer-top .row-fluid,
    .footer-bottom .row-fluid {
        flex-wrap: wrap;
    }
    .footer-top .col-address {
        width: 100%;
    }
    .footer .social-links {
        justify-content: center !important;
    }
    .footer .col-copyright {
        justify-content: center;
        margin-bottom: 15px;
        width: 100%;
    }
    .footer .col-policy {
        width: 100%;
    }
    .footer__policy {
        text-align: center;
    }
    .footer__policy a {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 15px;
        line-height: 1;
    }
    .footer__policy a:not(:last-child) {
        margin-right: 0;
        padding-right: 15px;
        border-right: 1px solid #23232366;
    }
    .footer__menu .hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-item {
        flex: 0 1 100%;
    }
    .footer__social {
        margin-bottom: 30px;
    }
    .footer__social .social-links__link:not(:last-child) {
        margin-right: 30px;
    }
    .footer-bottom {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer-top .col-address {
        margin-bottom: 30px;
    }

    .footer-top__one {
        margin-bottom: 30px;
    }

    .col-address-accordion {
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .panel-mobile {
        display: none;
        padding-bottom: 20px;
        padding-top: 10px;
    }

    .accordion-mobile .heading-wrapper {
        margin-bottom: 0;
        padding: 6.5px 0;
    }

    .accordion-mobile {
        border-bottom: 1px solid #23232333;
        position: relative;
    }
 
    .accordion-mobile::after {
        content: '';
        width: 22px;
        height: 22px;
        background-position: center;
        background-repeat: no-repeat;
        display: block;
        position: absolute;
        right: 0;
        top: 8px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M5.5 8.25L11 13.75L16.5 8.25' stroke='%23E01C15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .accordion-mobile.active::after {
        transform: rotate(180deg);
    }

    .footer-top {
        padding-bottom: 130px;
        position: relative;
    }

    .footer-top:after {
        content: '';
        display: block;
        background-repeat: no-repeat;
        height: 80px;
        width: 100%;
        background-size: cover;
        background-image: url(https://26107554.fs1.hubspotusercontent-eu1.net/hubfs/26107554/raw_assets/public/cms-theme-regiobank/images/content/hero-banner-triangle-fixed.svg);
        position: absolute;
        bottom: 0;
    }

    .accordion-mobile .heading {
        font-size: 15px;
        line-height: 20px;
    }
}




/* Cookie */
#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a, 
#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
    font-family: 'TheSans C5'!important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
    color: #4F4F4F !important;
}

#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button,
#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button {
    border: 1px solid #E01C15!important;
    border-radius: 0 !important;
    text-transform: uppercase;
    min-width: 130px;
    height: 42px;
}

#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button {
    background: #E01C15!important;
    color: #fff!important;
    font-family: 'TheSans C5'!important;
    font-size: 18px!important;
    font-style: normal!important;
    font-weight: 700!important;
    line-height: 1.2!important;
    text-align: center!important;
}

#hs-banner-parent div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button {
    color: #E01C15!important;
    font-family: 'TheSans C5'!important;
    font-size: 18px!important;
    font-style: normal!important;
    font-weight: 700!important;
    line-height: 1.2!important;
    text-align: center!important;
    background-color: transparent;
    margin: 0!important;
}

@media screen and (max-width: 767px) { 
    .footer__policy a { 
        line-height: 1;
    }

    .footer-top:after {
        height: 50px;
    }

    .footer-top {
        padding-bottom: 90px;
    }
}
/* 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%;
}

.hover-zoom--basic img {
  transition: transform 2s .1s cubic-bezier(.3,.5,.5,1);
}

.hover-zoom--basic:hover img {
  transform: scale(1.05);
}

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

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}