.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;
  position: relative;
}

.header__mega-menu a {
  text-decoration: none;
}

.header__hamburger {
  margin: 0.5em 0 0.5em 8px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.header__logo {
  width: 63px;
  -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;
}

.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__cta--primary {
  background-color: #185BC5;
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 24px;
  padding: 12px 24px;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono';
}

.header__cta--primary:focus,
.header__cta--primary:hover {
  color: #fff !important;
  background-color: #276bf4;
}

.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 .link-description {
  display: block;
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.71;
  color: #FFFFFF;
  opacity: 0.8;
  text-transform: none;
  margin-top: 6px;
}

.header__menu>nav>ul>li>a,
.header__menu>nav>ul>li .header__link-wrapper {
  background: #1b3a73;
  /*width: calc(100% - 32px);*/
  padding: 24px 16px 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;
  flex-grow: 0 !important;
}

.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: -3px;
  left: 4px;
  width: 30px;
  text-align: left;
}


.header__link-wrapper .expand-trigger svg {
  transition: all .3s ease;
}

.header__link-wrapper.open .expand-trigger svg {
  transform: rotate(180deg);
}

.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 a:not([class*="button"]) {
  color: #00B1E2;
}

.header__subitem a {
  padding: 0px 0px 10px;
  display: inline-block;
  opacity: 1;
  width: 100%;
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0em;
  text-transform: capitalize;
}

.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;
  padding: 12px 0;
}

.header__subitem__menu.header__subitem__resources ul {
  margin-bottom: 0;
  padding: 0;
  max-width: 100%;
}

.only-resources .header__subitem__menu.header__subitem__resources ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.header__subitem__menu.header__subitem__resources .button {
  width: 100%;
}

.header__subitem__menu ul li {
  margin-bottom: 0.46666em;
}

/* ONLY LINKS */

.header__item-content.only-links {
  height: auto !important;
  width: minmax(200px, auto);
  padding: 15px 25px 15px;
}

.header__item-content.only-links a {
  color: #fff;
  font-family: IBM Plex Mono, monospace;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 0px;
}


@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;
    justify-content: flex-end;
    margin: 0 24px 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;
    height: 560px;
  }

  .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 .expand-trigger i {
    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, .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: column;
    position: absolute;
    transform: translate(0, 99%);
    padding: 27px 0px 0px;
    bottom: 0;
  }

  .header__subitem {
    max-width: 240px;
    padding: 0 18px 5px;
    /*  flex: 240px 1 1; */
  }

  .header__subitem.header__subitem__menu li {
    display: flex;
    flex-direction: column;
  }

  .header__item-content:not(.only-links) .header__subitem:not(.header__subitem__resources) {
    max-width: unset;
  }

  .columns-two.header__subitem:not(.header__subitem__resources)>ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
    max-width: unset;
  }

  /* Columns Three */

  .columns-two-category {
    width: 100%;
    text-align: left;
    font-family: Work Sans;
    font-size: 20px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 20px;
  }

  .columns-two-container {
    display: grid;
    margin-bottom: 5px;
    grid-template-columns: 115px 300px;
    align-items: center;
  }

  .columns-two-container .columns-two-container-1 {
    width: 115px;
  }

  .columns-two-container .columns-two-container-2 {
    width: 100%;
  }

  .columns-two-container img {
    height: 100px !important;
    width: 100px !important;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }

  /* Columns Three */

  .columns-three-container {
    display: grid;
    margin-bottom: 5px;
    grid-template-columns: 115px minmax(auto, 250px);
  }

  .columns-three-container .columns-three-container-1 {
    width: 110px;
  }

  .columns-three-container .columns-three-container-2 {
    width: 100%;
  }

  .columns-three-container .columns-three-container-2 {
    width: 100%;
  }

  .columns-three-container img {
    height: 100px !important;
    width: 100px !important;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }


  .columns-three.header__subitem:not(.header__subitem__resources)>ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    max-width: unset;
  }

  .header__item-content:not(.only-links) .header__subitem:not(.header__subitem__resources)>ul a {
    text-transform: uppercase;
  }

  .header__subitem.header__subitem__resources {
    max-width: 100%;
    padding: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    border-top: 1px solid #6b6b6b;
  }

  .header__subitem.header__subitem__resources.header__subitem__menu li {
    margin-bottom: 0;
  }

  .only-resources .header__subitem.header__subitem__resources {
    max-width: 100%;
  }

  .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: 12px;
    color: #bbb;
    line-height: 1.5;
    letter-spacing: 0px;
  }

  .header__subitem__menu>*,
  .header__subitem__copy>* {
    max-width: 240px;
  }

  .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__menu>nav>ul>li {
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 16px;
}

@media screen and (min-width: 1025px) {
  .header__menu {
    padding-left: 16px;
  }

  .header__subitem {
    max-width: 240px;
    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:not(.only-links):not(.header__subitem__resources) {
    gap: 72px;
  }
}


.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;
}

@media(min-width: 1025px) {
  .header__item-content:not(.only-links) {
    width: 100%;
    left: 0;
  }
}

.header__menu .nav-blog__post-tag,
.nav-blog__post h3 {
  color: #FFFFFF;
}

.header__menu .nav-blog__post-tag {
  background-color: #3B4154;
  display: inline-block;
  font-family: 'IBM Plex Mono';
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 8px;
  text-transform: uppercase;
}

.header__menu .nav-blog__post h3 {
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  font-family: 'IBM Plex Mono';
  letter-spacing: 0px;
}

.header__menu .nav-blog__post h3:hover {
  color: #3184f7;
}

.header__menu .nav-blog__featured-img {
  height: 175px;
  width: 100%;
}

.header__menu .nav-blog__post {
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  height: inherit !important;
  margin: 0;
  padding: 0 0 0;
  border-bottom: 0;
}

.header__menu .nav-blog__post:not(:last-child) {
  margin-bottom: 16px;
}

.header__menu .nav-blog__meta-container {
  padding: 15px;
  width: 100%;
  text-align: center;
}


@media(min-width: 1025px) and (max-height: 740px) {
  .header__menu nav>ul>li.active.show-resources-and-submenu .header__item-content {
    height: 600px;
    overflow: scroll;
  }
}

@media(min-width: 1025px) and (max-height: 600px) {
  .header__menu nav>ul>li.active.show-resources-and-submenu .header__item-content {
    height: 500px;
    overflow: scroll;
  }
}

@media(max-width: 1024px) {

  .header__logo {
    order: 1;
  }

  .header__cta {
    order: 2;
  }

  .header__hamburger {
    order: 3;
  }

  .header__menu {
    max-height: calc(100vh - 75px);
    overflow: auto;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    order: 4;
  }

  .header__subitem a {
    padding: 0px 0px 5px;
    font-size: 14px;
  }

  .header__subitem.header__subitem__menu ul {
    display: block !important;
    margin: 0;
  }

  .header__subitem.header__subitem__menu li {
    display: block;
  }

  .header__subitem.header__subitem__menu li img {
    width: 60px;
    height: 60px !important;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }
  .header__link-wrapper .expand-trigger {
    text-align: right;
  }
  /* ONLY LINKS */

  .header__item-content.only-links {
    height: auto !important;
    width: 100%;
    padding: 20px;
  }

  .header__item-content.only-links a>div {
    padding: 5px 0px;
  }

  .header__item-content.only-links a {
    display: block;
    letter-spacing: 0;
  }

  /* Columns Two */

  .columns-two-category {
    width: 100%;
    text-align: left;
    font-family: Work Sans;
    font-size: 20px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 20px;
  }

  .columns-two-container {
    display: grid;
    margin-bottom: 15px;
    grid-template-columns: 70px 1fr;
    align-items: center;
  }

  .columns-two-container-2>div {
    display: none;
  }



  /* Columns Three */

  .columns-three-container {
    display: grid;
    margin-bottom: 15px;
    grid-template-columns: 70px 1fr;
    align-items: center;
  }

  .columns-three-container-2>div {
    display: none;
  }

  .header__subitem:nth-child(2) {
    padding: 10px !important;
    border-top: 1px solid;
  }

  .only-resources .header__subitem__menu.header__subitem__resources ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .header__menu .nav-blog__post {
    padding: 0;
    background: none !important;
  }

  .header__menu .nav-blog__meta-container {
    padding: 0 5px;
    background: none !important;
  }

  .header__subitem.header__subitem__menu .expand-trigger {
    display: none !important;
  }

  .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:not(.header__subitem__resources) 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__menu>nav>ul>li .header__link-wrapper a {
    display: flex;
    flex-grow: 1 !important;
  }

  .header__menu>nav>ul>li .header__link-wrapper>a.current-page,
  .header__menu>nav>ul>li .header__link-wrapper>a:hover {
    border-bottom: 0px !important;
  }

  .header__subitem__copy {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .header__link-wrapper.header__link-wrapper__sublist {
    padding: 14px 0 18px !important;
  }

  .only-resources .header__subitem__menu ul li {
    margin-bottom: 0;
    padding: 40px 0;
    border-bottom: 1px solid #fff;
  }

  .only-resources .header__subitem__menu ul li:first-of-type {
    padding-top: 0;
  }

  .only-resources .header__subitem__menu ul li:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media(max-width: 419px) {
  .header__cta--primary {
    padding: 12px 12px;
  }
}

@media(max-width: 400px) {
  .hamburger-box {
    width: 30px !important;
  }

  .container-fluid .row-fluid .main-header .page-center {
    padding: 0 15px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px !important;
  }

  .header__cta--primary {
    font-size: 10px;
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .hamburger {
    right: 0px !important;
  }
}