.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;
  flex-wrap: normal;
}
.header__mega-menu a {
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
  font-size: 13px;
  line-height: 16px;
  color: #000000;
}
.header__mega-menu a.button {
  color: #fff;
}

.header__hamburger {
  margin: 1em 0 1em 25px;
  font-size: 28px;
  order: 1;
  width: 24px;
  height: 42px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-open .header__hamburger .fa,
.header__hamburger img {
  display: none; 
}
.mobile-open .header__hamburger img {
  display: block;
}

.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%;
  display: inline-block;
}
.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 (min-width: 280px) {
  .header__cta {
    font-size: 10px;
    margin: 0 0 0 8px;
  }
}
.header__menu {
  height: 100%;
  display: none;
  width: 100%;
}
.header__menu > span > div > ul {
  white-space: nowrap;
}
.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__menu ul > li li a {
  transition: .3s color !important;
}
.header__mega-menu .active-branch > a,
.header__menu ul > li li a:hover,
.header__menu ul > li li a:focus {
  color: #36ABFB;
}



@media screen and (min-width: 992px) {
  .header__mega-menu {
    padding: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .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: flex-end;
    margin: 0 40px 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 ul > li {
    width: auto;
    cursor: pointer;
    padding-left: 40px;
  }
  .header__menu ul > li.hs-item-has-children span.down-arrow {
    background: url(https://f.hubspotusercontent30.net/hubfs/5563037/menu-down-arrow.svg) no-repeat right center;
    background-size: 9px 8px;
    width: 4px;
    height: 0px;
    position: absolute;
    right: 6px;
    top: calc(50% + 2px);
    z-index: 1;
    transform: translate(100%,-50%);
    box-sizing: content-box;
    padding: 3px 0 10px 15px !important;
  }
  .header__menu ul > li.hs-item-has-children > ul {
    background: #EFF4F7;
    padding: 35px 12px 16px 26px;
    min-width: 232px;
    margin-top: 10px;
  }
  .header__menu ul > li.hs-item-has-children > ul {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .header__menu ul > li.hs-item-has-children.active > ul {
    opacity: 1 !important;
    visibility: visible !important;
  }
  .header__menu ul > li.hs-menu-depth-1 > a {
    border-bottom: 2px solid #fff;
  }
  .header__menu ul > li.hs-item-has-children.active > a {
    border-bottom: 2px solid #36ABFB;
  }
  .header__menu ul > li.hs-item-has-children.active::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 9px 8px;
    border-color: transparent transparent #eff4f7 transparent;
    position: absolute;
    bottom: -2px;
    right: -16px;
    transform: translateY(100%);
  }
  .header__menu ul > li li {
    padding: 0 0 20px 0;
    transition: none;
  }
  .header__menu ul > li li a {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    transition: none;
  }
  .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; this padding is causing the logo to appear very tiny. removing it for now. -ebaboolal 2022-10-21 */
  }
  .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__logo > span:last-of-type {
  display: none;
}

@media(min-width: 992px) {
  .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;
  }
  .header__menu .util-nav,  
  .header__menu .footer__right-col__bottom,
  .header__menu .footer__social {
    display: none !important;
  }
}

@media(max-width: 1100px) and (min-width: 992px) {
  .header__mega-menu .header__cta a.button-wide {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media(max-width: 950px) and (min-width: 992px) {
  .header__menu {
    margin: 0 15px 0 0;
    height: 92px;
    align-items: center;
    display: flex !important;
    justify-content: flex-start;
  }
  .header__menu > nav > ul > li .header__link-wrapper:not(.header__link-wrapper__sublist) {
    padding: 24px 12px 28px;
  }
  .header__logo {
    max-width: 120px;
  }
  .header__menu ul > li {
    padding-left: 20px;
  }
}
@media(max-width: 850px) and (min-width: 992px) {
  .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: 991px) {
  .header__menu {
    max-height: 500px;
    order: 2;
    padding: 40px 0;
    overflow: scroll;
  }
  .header__menu > span > div > ul {
    width: 100%;
  }
  .header__subitem.header__subitem__menu ul {
    display: block !important;
  }
  .header__subitem.header__subitem__menu .expand-trigger {
    display: none !important;
  }
  .header__cta {
    max-width: 38%;
    width: 100%;
    text-align: right;
  }
  .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__cta a {
    min-width: 0;
    padding: 8px 38px 9px;
    padding: 8px 15px 9px;
    max-width: 150px;
    width: 100%;
  }
  .main-header.mobile-open {
    background: #000;
    color: #fff;
  }
  .header__menu li.hs-menu-item.hs-menu-depth-1 > a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }
  .header__menu li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > a::after {
    content: "";
    background: url(https://f.hubspotusercontent30.net/hubfs/5563037/white-angle.svg) no-repeat center center;
    background-size: contain;
    width: 21px;
    height: 12px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .header__menu li.hs-menu-item.hs-menu-depth-1.active > a::after {
    transform: rotate(180deg);
  }
  .header__menu li.hs-menu-item.hs-menu-depth-1.hs-item-has-children.active > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .mobile-open .header__logo > span:first-of-type {
    display: none;
  }
  .mobile-open .header__logo > span:last-of-type {
    display: block;
  }
  .header__menu .util-nav {
    border-bottom: 1px solid #7C7671;
    border-top: 1px solid #7C7671;
    padding: 24px 0 2px;
  }
  .header__menu .util-nav  li.hs-menu-item.hs-menu-depth-1 {
    margin: 0 0 15px;
  }
  .header__menu .util-nav  li.hs-menu-item.hs-menu-depth-1 > a {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.86;
    color: #FFFFFF;
  }
  .header__menu .util-nav  li.hs-menu-item.hs-menu-depth-1 > a::after {
    display: none;
  }
  .header__menu .footer__right-col__bottom {
    border-top: 0;
  }
  .header__menu .footer__social {
    flex: 365px 0 1;
    padding-top: 24px;
  }
}