.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 a {
  text-decoration: none;
}

.header__hamburger {
  margin: 1em 8px 1em 0;
  font-size: 28px;
}
.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: #41b6e6;
  padding: 6px 8px;
  color: #fff;
}
@media screen and (min-width: 280px) {
  .header__cta {
    font-size: 10px;
    margin: 0 0 0 8px;
  }
}
.header__menu {
  height: 100%;
  display: none;
  width: 100%;
}
.header__menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__menu > nav {
  width: 100%;
}
.header__menu > nav > ul {
  background: #31137c;
  margin: 0;
  position: relative;
}
.header__menu > nav > ul > li {
  width: 100%;
}
.header__menu > nav > ul > li a {
  transition: all 0.3s ease;
}

@media (min-width: 1025px) {
  .header__menu>nav>ul>li .mega-3 > li > a {
    font-weight: 700;
  }
}

.header__menu > nav > ul > li .header__link-wrapper {
  /*background: #1b3a73;
  /*width: calc(100% - 32px);*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
}
.header__menu > nav > ul > li > a,
.header__menu > nav > ul > li .header__link-wrapper > a {
  padding: 24px 18px 28px;
}
.header__menu > nav > ul > li .header__link-wrapper.has-dropdown > a {
  padding-right: 36px;
}
.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;
  position: relative;
  top: -4px;
  */

  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-60%);
  z-index: 2;
}
.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: #41b6e6;
}
.header__subitem.no-headline a {
  padding: 14px 0;
  display: inline-block;
  opacity: 1;
  width: 100%;
  font-size: 16px;
  letter-spacing: 0.4px;
}
.header__subitem.no-headline li {
  margin: 0;
  padding: 0 20px;
}
.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: #41b6e6;
}
.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;
}
@media screen and (min-width: 1025px) {
  .header__mega-menu {
    padding: 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;
    margin: 0 30px 0 0;
  }
  .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__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, 0.07) 1px 1px 7px 0;
    position: relative;
    z-index: 1;
  }

  .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);
  }
  .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, 0.07) 1px 1px 7px 0;
    position: relative;
    z-index: 1;
  }
  .header__menu nav ul li .header__link-wrapper__sublist {
    width: 100%;
  }
  .header__search {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-left: auto;
  }

  .header__search #search {
    margin-left: 20px;
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
  }

  .header__search #search .search-open,
  .active #search .search-closed {
    opacity: 0;
    pointer-events: none;
  }

  .active #search .search-open {
    opacity: 1;
    pointer-events: initial;
  }

  #search > div {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
  }

  .header__cta {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
    margin: 0 0 0 20px;
  }
  .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__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-image: url("data:image/svg+xml,%3Csvg height='7' viewBox='0 0 9 7' width='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m79.5070755 11.3113208 4.375 7h-8.75z' fill='%2331137c' fill-rule='evenodd' transform='matrix(1 0 0 -1 -75.132075 18.311321)'/%3E%3C/svg%3E");
  width: 9px;
  height: 7px;
  display: inline-block;
  margin-top: 1px;
}

@media (min-width: 1025px) {
  .header__menu nav > ul > li {
    position: relative;
    font-size: 16px;
  }
  .header__item-content.mega {
    min-width: 550px;
  }
  .header__subitem.no-headline {
    min-width: 160px;
  }
  .header__menu nav > ul > .mobile__button {
    display: none;
  }
}

.header__search_form {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  width: calc(100% - 32px);
  top: 14px;
  height: 47px;
  right: 0;
  z-index: 2;
  background: #fff;
}

.header__search_form_close {
  position: absolute;
  top: 9px;
  right: 8px;
  cursor: pointer;
}

.header__search.active .header__search_form {
  opacity: 1;
  right: 32px;
  pointer-events: initial;
}

.header__search_form form {
  display: flex;
}

.header__search_form form .hs-form-field {
  width: calc(100% - 57px);
  margin: 0;
  border: 1px solid #31137c;
}

.header__search_form .hs-form-field:not(.is-floating) > label {
  font-size: 11px;
  top: 11px;
}

.header__search_form form .hs-form-field input {
  min-height: 47px;
  height: 47px;
  border-radius: 0;
  font-size: 14px;
  width: 100%;
}

.header__search_form form button {
  width: 57px;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all .3s;
  background: #31137c;
}

.header__search_form form button:hover {
  background: #000;
}


@media (max-width: 1024px) {
  .header__menu {
    max-height: 500px;
    overflow-y: auto;
  }
  .header__subitem.header__subitem__menu ul {
    display: block !important;
  }
  .header__subitem.header__subitem__menu .expand-trigger {
    display: none !important;
  }
  .header__mega-menu {
    position: relative;
    padding: 15px 0;
  }
  .header__hamburger {
    position: absolute;
    top: 13px;
    right: 0;
    margin: 0;
  }
  .header__logo img {
    width: 150px !important;
  }
  .header__cta,
  .header__item-content.mega .level-3-icon {
    display: none;
  }
  .header__mega-menu .header__cta a.button-wide {
    font-size: 14px;
    padding: 20px;
  }
  .header__menu nav > ul > .mobile__button {
    background: #fff;
    text-align: center;
    padding-top: 15px;
  }
  .header__menu nav > ul > .mobile__button a.button,
  .header__menu nav > ul > .mobile__button a.button:focus {
    background: rgb(49, 19, 124);
    color: #fff;
    width: 99%;
  }
  .header__menu nav > ul > .mobile__button a.button:after {
    display: none;
  }
  .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 > a {
    padding: 14px 0 16px;
  }
  .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__item-content {
    box-shadow: none !important;
  }
  .header__subitem.no-headline li {
    padding: 0 10px;
  }
  .header__subitem.no-headline li a {
    border: 0 !important;
    padding-top: 0;
  }
  .header__item-content.mega .mega__top-link,
  .header__item-content.mega .mega__top-link a {
    font-size: 16px;
    line-height: 18px;
  }
  .header__item-content.mega .mega__top-link a strong {
    font-size: 20px;
  }
  .header__item-content.mega .mega-1 {
    padding-bottom: 20px;
  }
  .header__item-content.mega .mega-1 .eyebrow {
    margin-top: 20px;
  }
  .header__item-content.mega .mega-3,
  .header__item-content.mega .mega-4 {
    margin-left: 20px;
  }



  .header__search #search {
    display: none;
  }

  .header__search_form {
    position: relative;
    width: 100%;
    opacity: 1;
    top: unset;
    right: unset;
    pointer-events: initial;
  }

  .header__search_form form button {
    background: #41b6e6;
  }
}

