.header__mega-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.header__mega-menu .header__menu a {
  text-decoration: none;
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #2D3235;
}
.header__mega-menu .header__menu .active-branch > a,
.header__mega-menu .header__menu a:hover,
.header__mega-menu .header__menu a:focus {
  color: #9441d2;
}
.header__mega-menu .header__menu .header__cta.header__cta--mobile a {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  width: 100%;
  text-align: center;
  display: block;
}
.header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1.hs-item-has-children > a {
  padding-right: 20px;
  position: relative; 
  z-index: 1;
}
.header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
  float: none;
  display: inline-block;
  width: auto;
  margin: 0 15px;
}
.header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-1::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  background: url(https://5935225.fs1.hubspotusercontent-na1.net/hubfs/5935225/2022%20Theme/img/down-chevron.svg) no-repeat center center;
  background-size: contain;
  width: 12px;
  height: 7px;
  transform: translateY(-50%);
  transition: .3s all;
}
.header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-1.active::before {
  transform: translateY(-50%) rotate(180deg);
}
.header__mega-menu ul.hs-menu-children-wrapper {
  position: absolute;
  background: #fff;
  padding: 32px;
  border-radius: 32px;
  box-shadow: 0px 8px 16px -6px rgb(43 15 65 / 12%), 0px 18px 40px -4px rgb(43 15 65 / 6%);
  min-width: 230px;
}
.header__mega-menu ul.hs-menu-children-wrapper li.hs-menu-item.hs-menu-depth-2 {
  margin: 0 0 15px;
}
.header__mega-menu ul.hs-menu-children-wrapper li.hs-menu-item.hs-menu-depth-2:last-of-type {
  margin: 0;
}
.header__hamburger {
  margin: 1em 8px 1em 0;
  font-size: 28px;
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  box-shadow: 0px 8px 16px -6px rgb(43 15 65 / 12%), 0px 18px 40px -4px rgb(43 15 65 / 6%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header__hamburger.active {
  background: #AA5EE2;
}
.header__hamburger.active svg path {
  fill: #fff;
}
.header__logo {
  width: 40%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-grid-column-align: left;
  justify-self: left;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.header__logo a {
  width: 100%;
}
.header__logo img {
  -o-object-fit: contain;
  object-fit: contain;
  max-width: 100%;
}
.header-container .header__logo .hs_cos_wrapper_type_logo a img {
  margin-top: 0;
  display: block;
}
.header__cta {
  font-size: 8px;
  max-width: 30%;
}
.header__cta .btn {
  background-color: #00B1E2;
  padding: 6px 8px;
  color: #fff;
}
@media screen and (max-width: 950px) {
  .header__cta a {
    font-size: 14px;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    margin: 0 10px;
  }
}
.header__menu {
  height: 100%;
  display: none;
  width: 100%;
}
.header__menu ul {
  list-style: none;
  padding: 0;
}
.header__menu > nav > ul {
  background: #11254A;
  margin: 0;
}
.header__menu > nav > ul > li {
  width: 100%;
}
.header__menu > nav > ul > li a {
  transition: all 0.3s ease;
}
.header__menu > nav > ul > li a:hover {
  opacity: 0.6;
}
.header__menu > nav > ul > li > a, .header__menu > nav > ul > li .header__link-wrapper {
  background: #1b3a73;
  /*width: calc(100% - 32px);*/
  padding: 24px 18px 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
}
.header__menu > nav > ul > li .header__link-wrapper__sublist {
  padding: 0;
  background-color: transparent;
}
.header__menu > nav > ul > li .no-headline .header__link-wrapper__sublist {
  display: none !important;
}
.header__link-wrapper {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.header__link-wrapper a, .header__link-wrapper .expand-trigger {
  display: block;
  color: #fff;
}
.header__link-wrapper .expand-trigger {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  align-self: flex-end;
  position: relative;
  top: -4px;
}
.header__link-wrapper .expand-trigger i {
  display: block;
  text-align: right;
  font-size: 24px;
}
.header__item-content {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: none;
}
.header__item-content.open {
  max-height: 99rem;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.header__subitem {
  padding: 1rem 1rem 0;
}
.header__subitem:last-child {
  padding-bottom: 1rem;
}
.header__subitem.no-headline {
  padding: 0 !important;
  margin: -27px -4px -33px;
}
.header__subitem * {
  color: #fff;
}
.header__subitem a {
  color: #00B1E2;
}
.header__subitem.no-headline a {
  padding: 14px 20px;
  display: inline-block;
  opacity: 1;
  width: 100%;
  font-size: 13px;
}
.header__subitem.no-headline li {
  margin: 0;
}
.header__subitem h4 {
  font-size: 14px;
  margin-bottom: 1.2em;
}
.header__subitem h3 {
  font-size: 16px;
  margin-bottom: 0;
}
.header__subitem p {
  font-size: 12px;
  margin-top: 0;
}
.header__subitem__copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  max-width: calc(100% - 62px);
  -ms-flex-item-align: center;
  align-self: center;
  margin: 0 auto;
  padding-top: 32px;
}
.header__subitem__copy p:last-child {
  margin-bottom: 0;
}
.header__subitem__copy img {
  margin-bottom: 20px;
}
.header__subitem__menu ul {
  display: none;
  line-height: 1.2;
  margin-top: 10px;
}
.header__subitem__menu.no-headline ul {
  display: block !important;
  margin-bottom: 0;
}
.header__subitem__menu ul li {
  margin-bottom: 0.46666em;
}
.header__subitem__resource h6 {
  margin: 8px 0 0;
  text-transform: uppercase;
  color: #00B1E2;
}
.header__subitem__resource h4 {
  margin: 11px 0 15px;
}
.header__subitem__resource h4 a {
  color: #fff;
  transition: all 0.3s ease;
}
.header__subitem__resource h4 a:hover {
  opacity: 0.6;
}
.header__subitem__resource img {
  max-height: 140px;
  margin: 8px 0 18px;
  object-fit: contain;
}
.header__subitem__resource a img {
  transition: all 0.3s ease;
}
.header__subitem__resource a img:hover {
  opacity: 0.6;
}
.header__cta.header__cta--desktop {
  display: none;
}
.header__cta.header__cta--mobile {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: 769px) {
  .header__mega-menu {
    padding: 24px 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .header__hamburger {
    display: none;
  }
  .header__logo {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: auto;
  }
  .header__menu {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: auto;
    flex: auto 1 1;
    justify-content: center;
  }
  .header__menu > nav > ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: transparent;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;
  }
  .header__cta.header__cta--desktop {
    display: block;
  }
  .header__cta.header__cta--mobile {
    display: none;
  }
  .header__menu nav > ul > li {
    width: auto;
    cursor: pointer;
  }
  .header__menu nav > ul > li.active .header__item-content {
    visibility: visible;
    opacity: 1;
  }
  .saas-theme .header__menu > nav > ul > li.active > .header__link-wrapper {
    box-shadow: rgba(0,0,0,.07) 1px 1px 7px 0;
    position: relative;
    z-index: 1;
  }

  .header__menu > nav > ul > li.active > .header__link-wrapper > a {
    opacity: .6;
  }
  .header__menu nav > ul > li.active .expand-trigger i {
    -webkit-transform: translateX(6px) rotate(-180deg);
    -ms-transform: translateX(6px) rotate(-180deg);
    transform: translateX(6px) rotate(-180deg);
    opacity: 0.6;
  }
  .header__menu nav > ul > li > a, .header__menu nav > ul > li > .header__link-wrapper {
    background-color: transparent;
    color: #00558C;
  }
  .header__menu nav > ul > li > a a, .header__menu nav > ul > li > a i, .header__menu nav > ul > li > .header__link-wrapper a, .header__menu nav > ul > li > .header__link-wrapper i {
    color: #00558C;
  }
  .header__menu nav > ul > li > .header__link-wrapper:hover {
    box-shadow: rgba(0,0,0,.07) 1px 1px 7px 0;
    position: relative;
    z-index: 1;
  }
  .header__menu nav ul li .header__link-wrapper__sublist {
    width: 100%;
  }
  .header__cta {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin: 0;
  }
  .header__cta .btn {
    font-size: 18px;
    padding: 7px 30px 8px;
  }
  .header__link-wrapper .expand-trigger i {
    -webkit-transform: translateX(6px);
    -ms-transform: translateX(6px);
    transform: translateX(6px);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .header__link-wrapper__sublist .expand-trigger {
    display: none;
  }
  .header__item-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: initial;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    visibility: hidden;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    position: absolute;
    -webkit-transform: translate(0, 100%);
    -ms-transform: translate(0, 100%);
    transform: translate(0, 100%);
    padding: 27px 4px 33px;
    bottom: 0;
  }

  .header__subitem {
    max-width: 280px;
    padding: 0 18px 5px;
    flex: 280px 1 1;
  }
  .header__subitem h6 {
    font-size: 10px;
  }
  .header__subitem h4 {
    font-size: 16px;
  }
  .header__subitem h3 {
    font-size: 16px;
    margin-bottom: 6px;
    margin-top: 0;
  }
  .header__subitem p {
    font-size: 14px;
    padding: 0 12px;
  }
  .header__subitem li {
    font-size: 14px;
  }
  .header__subitem__menu > *,
  .header__subitem__copy > * {
    max-width: 280px;
  }
  .header__subitem__copy:not(:last-child) {
    border-right: 1px solid #ccc;
  }
  .header__subitem__menu ul {
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .header__subitem__menu ul li a {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .header__subitem__menu ul li a:hover {
    opacity: 0.6;
  }
  .header__subitem__resource img {
    display: none;
  }
}
@media screen and (min-width: 1200px) {
  .header__menu {
    padding-left: 50px;
  }
  .header__menu > nav > ul > li {
    font-size: 16px;
  }
  .header__subitem {
    max-width: 280px;
    padding: 0 36px 10px;
  }
  .header__subitem h6 {
    font-size: 14px;
  }
  .header__subitem h4 {
    font-size: 18px;
  }
  .header__subitem h3 {
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
  }
  .header__subitem p {
    font-size: 16px;
    padding: 0 24px;
  }
  .header__subitem li {
    font-size: 18px;
  }
  .header__subitem__resource {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 3fr;
    grid-template-columns: 2fr 3fr;
    grid-gap: 16px;
    max-width: 560px;
    min-width: 500px;
  }
  .header__subitem__resource + .header__subitem{
    min-width: 270px;
  }
  .header__subitem__resource > a {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
  }
  .header__subitem__resource > .header__subitem__inner-content {
    -ms-grid-column: 2;
    -ms-grid-row: 1;
  }
  .header__subitem__resource img {
    display: block;
    max-height: none;
    max-width: 100%;
    margin: initial;
  }
}


.header__menu .fa-angle-down:before {
  content: "";
  background: url(https://cdn2.hubspot.net/hubfs/142915/chevron-down-saas.svg) no-repeat center center;
  background-size: contain;
  width: 11px;
  height: 9px;
  display: inline-block;33
  margin-top: 1px;
}

.header ul.hs-menu-children-wrapper {
  display: none;
}

@media(min-width: 768px) {
  .header__menu nav > ul > li {
    position: relative;
  }
  .header__item-content:not(.only-links) {
    min-width: 550px;
    right: 0;
  }
  .header__subitem.no-headline {
    min-width: 160px;
  }
}

@media(max-width: 1100px) and (min-width: 769px) {
  .header__mega-menu .header__cta a.button-wide {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media(max-width: 950px) and (min-width: 769px) {
  .header__menu {
    margin: 0 15px 0 0;
    justify-content: flex-end;
  }
  .header__menu > nav > ul > li .header__link-wrapper:not(.header__link-wrapper__sublist) {
    padding: 24px 12px 28px;
  }
  .header__logo {
    max-width: 120px;
  }
}
@media(max-width: 850px) and (min-width: 769px) {
  .header__menu nav > ul > li > .header__link-wrapper a {
    font-size: 13px;
  }
  .header__item-content:not(.only-links) {
    min-width: 430px;
    right: 0;
  }
}

@media(max-width: 768px) {
  .header__menu {
    height: 372px;
    overflow: scroll;
  }
  .header__subitem.header__subitem__menu ul {
    display: block !important;
  }
  .header__subitem.header__subitem__menu .expand-trigger {
    display: none !important;
  }
  .header__cta {
    max-width: 38%;
  }
  .header__mega-menu .header__cta a.button-wide {
    font-size: 14px;
    padding: 20px;
  }
  .header__subitem__menu ul li:last-of-type,
  .header__subitem__menu.no-headline ul,
  .header__subitem.no-headline {
    margin: 0 !important;
  }
  .header__subitem__menu ul li:last-of-type {
    padding-bottom: 30px;
  }
  .header__menu > nav > ul > li > a, 
  .header__menu > nav > ul > li .header__link-wrapper {
    padding: 14px 18px 18px;
  }
  .header__subitem__copy {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .header__link-wrapper.header__link-wrapper__sublist {
    padding: 14px 0 18px !important;
  }

  .header__menu .hs-menu-wrapper > ul {
    max-width: 400px;
    display: block !important;
    margin: 24px auto 0 auto !important;
    width: 100%;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    display: block;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 > a {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #000000;
    opacity: 1;
    border-top: 1px solid #EDEFF0;
    width: 100%;
    font-family: 'Open Sans';
    padding: 16px 0;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1.active-branch > a {
    color: #9441d2;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1:first-of-type > a {
    border-top: none;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-1::before {
    background: url('https://5935225.fs1.hubspotusercontent-na1.net/hubfs/5935225/2022%20Theme/img/purple-caret.svg') no-repeat center center;
    top: 27px;
    transform: none;
    right: 10px;
    transform: rotate(180deg);
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-1.active::before {
    transform: rotate(0deg);
  }
  .header__mega-menu ul.hs-menu-children-wrapper {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 16px;
  }
  .header__mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    padding-right: 0;
  }
  .header__hamburger {
    margin: 16px 0;
  }
}


/* Search */
.header__search {
  position: relative;
}
@media screen and (min-width: 769px) {
  .header__search {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin: 0;
  }
}
.header__search svg {
  width: 20px;
  cursor: pointer;
  vertical-align: top;
  display: block;
  margin-right: 20px;
}
.header__search svg path {
  fill: #9441D2;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  -ms-transition: all .3s ease;
  transition: all .3s ease;
}
.header__search svg:hover path {
  fill: #AA5EE2;
}
.header__search .hs-search-field {
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  background: #FFFFFF;
  border: 1px solid #2D3235;
  padding: 10px;
}
@media (max-width: 380px) {
  .header__search {
    position: static;
  }
  .header__search .hs-search-field {
    top: 100%;
    right: 0;
    width: 100%;
  }
}


.hs-editor-hide-until-active {
  display: none;
}

.inpage-editor-active-field .hs-editor-hide-until-active {
  display: block;
}

.hs-search-field {
  position: relative;
}

.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
  flex: 1;
}

.hs-search-field__bar button svg {
  height: 10px;
}

.hs-search-field__suggestions {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hs-search-field--open .hs-search-field__suggestions,
.inpage-editor-active-field .hs-search-field__suggestions {
  position: absolute;
  width: 100%;
  border: 1px solid #cdcdcd;
  background-color: #fff;
  box-shadow: 1px 10px 16px -9px rgba(122, 122, 122, 0.75);
}

.hs-search-field__suggestions li {
  display: block;
  padding: 0;
  margin: 0;
}

.hs-search-field__suggestions .results-for {
  font-weight: bold;
}

.hs-search-field__suggestions a,
.hs-search-field__suggestions .results-for {
  display: block;
  padding: 0 10px;
  line-height: 1.7rem;
}

.hs-search-field__suggestions a:hover,
.hs-search-field__suggestions a:focus {
  background-color: rgba(0, 0, 0, 0.1);
  outline: none;
}

.hs-search-field__input:focus {
  outline-style: solid;
}

.hs-search-field__suggestions-container {
  position: absolute;
  flex-basis: 100%;
  top: calc(100% + 10px);
  left: -10px;
  width: calc(100% + 20px);
}

.hs-search-field__form {
  display: flex;
  position: relative;
  width: 250px;
}
@media (max-width: 380px) {
  .hs-search-field__form {
    width: 100%;
  }
}

.hs-search-field__label {
  flex-basis: 100%;
}

.hs-search-field__bar--button-beneath .hs-search-field__input {
  flex-basis: 100%;
}

.hs-search-field__bar--button-beneath .hs-search-field__button {
  margin-top: 0.725rem;
  margin-right: 0.725rem;
}

.hs-search-field__bar--button-align-right .hs-search-field__button {
  margin-right: 0;
  margin-left: 0.725rem;
  order: 2;
}

.hs-search-field__bar--button-beneath .hs-search-field__suggestions-container {
  min-width: 75%;
  flex-basis: auto;
  flex-grow: 1;
}

.hs-search-field__button--labelled .hs_cos_wrapper_type_icon {
  margin-right: 0.5rem;
}

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