a.nolink {
  pointer-events: none;
  cursor: pointer;
}

.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: 15px 10px 15px 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 {
  max-width: 30%;
}
.header__cta .button,
.header__cta .button:focus {
  width: 100%;
  max-width: 180px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border-radius: 0;
  padding: 7px 15px;
}

.header__menu {
  height: 100%;
  display: none;
  width: 100%;
}
.header__menu ul {
  list-style: none;
  padding: 0;
}
.header__menu > nav > ul {
  margin: 0;
}

.header__menu > nav > ul > li > a, 
.header__menu > nav > ul > li .header__link-wrapper {
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;*/  
  cursor: pointer;
  padding: 24px 10px 26px;
}
.header__menu .fa-angle-down:before {
  content: "\f078";
  display: inline-block;
  font-family: FontAwesome;
  font-size: 10px;
}
.header__menu > nav > ul > li .header__link-wrapper__sublist {
  background-color: transparent;
  padding: 0;
  margin-bottom: 10px;
}
.header__menu > nav > ul > li .header__link-wrapper__sublist h3 {
  color: #9F308D;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}
/*.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 .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: -7px;
}*/
.header__link-wrapper .expand-trigger i {
  display: block;
  text-align: right;
  font-size: 24px;
}
.header__menu nav ul li .header__item-content {
  /*-webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;*/
  display: none;
  width:-moz-fit-content;
  width:-webkit-fit-content;
  width:-ms-fit-content;
  width: fit-content;
}
.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 h3 {
  font-size: 16px;
  font-weight: 400;
  color: #9F308D;
  margin-bottom: 0;
}
.header__subitem p {
  font-size: 16px;
  margin-top: 0;
}

.header__subitem__menu,
.header__subitem__resource {
  display: inline-block;
}
.header__subitem__menu ul {
  display: none;
  margin-top: 10px;
}
.header__subitem__menu ul li {
  display: block !important;
  margin-bottom: 20px;
}
.header__subitem__menu ul li a,
.header__subitem__menu ul li a span {
  color: #000;
}
.header__subitem__menu ul li a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.header__subitem__menu ul li a span {
  display: block;
  font-size: 13px;
  font-weight: 400;
}
/*.header__menu > nav > ul > li > .header__subitem__menu ul li a.current-page:not(span) {
  color: #0085ca !important;
}*/

.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;*/
  padding-top: 32px;
  margin: 0 auto;
}
.header__subitem__copy p:last-child {
  margin-bottom: 0;
}
.header__subitem__copy img {
  margin-bottom: 20px;
}
.header__subitem__resource h5,
.header__subitem__resource h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 auto;
}
.header__subitem__resource h5 {
  font-weight: 400;
  color: #9F308D !important;
}
.header__subitem__resource h3 {
  font-weight: 700;
  color: #000;
  margin-top: 5px;
}
.header__subitem__resource img {
  max-height: 125px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.header__subitem__resource a img {
  transition: all 0.3s ease;
}
.header__subitem__resource a img:hover {
  opacity: 0.6;
}

.subitem-col.four:last-child{
  
}
.dropdown-text{
  margin-bottom:24px;
}
.dropdown-cta{
    width: 100%;
    max-width: 160px;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 0;
  border: 2px solid #0085ca;
    padding: 10px 15px;
    display: inline-block;
    background: #0085ca;
    line-height: 1.2;
    text-align: center;
    color: #fff !important;
  transition: all 0.2s ease-in-out 0s;
}

.dropdown-cta:hover{
  background: #000;
  border: 2px solid #0085ca;
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: linear-gradient(to right,#c46ad9,#0085ca,#2ce2cd);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

@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 10px 0 0;
  }
  .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__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;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;*/
    background-color: transparent;
  }
  .header__menu nav > ul > li {
    display: inline-block;
    width: auto;
    margin: 0 0 0 -4px;
  }
  .header__menu nav > ul > li.active .header__item-content {
    display: block;
    visibility: visible;
    opacity: 1;
  }
  .header__menu > nav > ul > li:hover > .header__item-content{
    display:block;
    opacity: 1;
    visibility: visible;
  }
  .saas-theme .header__menu > nav > ul > li.active > .header__link-wrapper {
    position: relative;
    z-index: 1;
  }
  .header__menu nav > ul > li .expand-trigger {
    display: none;
  }
  .header__menu nav > ul > li > a, 
  .header__menu nav > ul > li > .header__link-wrapper {
    background-color: transparent;
  }
  .header__menu > nav > ul > li .header__link-wrapper a {
    position: relative;
  }
  .header__menu > nav > ul > li .header__link-wrapper a.current-page {
    color: #000 !important;
  }
  .header__menu > nav > ul > li .header__link-wrapper a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: transparent;
    transition: ease all .3s;
  }
  .header__menu > nav > ul > li .header__link-wrapper:hover a:after,
  .header__menu > nav > ul > li .header__link-wrapper a.current-page:after {
    background: #000;
  }
  .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: #afafaf;
  }
  .header__menu nav > ul > li > .header__link-wrapper:hover {
    position: relative;
    z-index: 1;
  }
  .header__menu nav ul li .header__link-wrapper__sublist {
    width: 100%;
  }
  .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__menu nav ul li .header__subitem__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
  }
  
  .header__item-content {
    visibility: hidden;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
    padding: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0 2px 40px rgba(0,0,0,0.1);
    margin: 0 auto;
  }
  .header__menu > nav > ul > li:nth-last-child(1) > .header__item-content {
    -webkit-transform: translateX(-74%);
    -ms-transform: translateX(-74%);
    transform: translateX(-74%);
  }
  .header__menu > nav > ul > li:nth-last-child(2) > .header__item-content,
  .header__menu > nav > ul > li:nth-last-child(3) > .header__item-content {
    left: 0;
  }

  .header__subitem {
    padding: 0;
  }
  /*.header__subitem,
  .header__subitem__menu > *,
  .header__subitem__copy > * {
    max-width: 280px;
  }*/
  .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__menu nav > ul > li {
    position: relative;
  }
  /*.header__subitem,*/
  .subitem-col {
    position: relative;
    width: 244px;
  }
  /*.subitem-col.one {
    width: 100%;
  }
  .subitem-col.two {
    width: 50%;
  }*/
  /*.subitem-col .hs-menu-wrapper,*/
  .subitem-col {
    margin: 35px 45px 25px;
  }
  .header__subitem__resource .subitem-col {
    margin-bottom: 35px;
  }
  .subitem-col:not(:last-child):after {
    content: '';
    position: absolute;
    top: 0;
    background: #E6E6E6;
    width: 1px;
    height: 100%;
  }
  .subitem-col:not(:last-child):after {
    right: -40px;
  }
  
  .header__subitem__menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: visible;
    opacity: 1;
    position: relative;
    display: block;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .header__subitem__menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper li:last-child {
    margin-bottom: 0;
  }
  .header__subitem__menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    white-space: normal;
  }
}
@media screen and (min-width: 1200px) {
  .header__menu {
    padding-left: 10px;
  }
  .header__menu > nav > ul > li {
    font-size: 14px;
  }
}

@media (min-width: 1025px) and (max-width: 1325px) {
  .header__menu {
    margin-right: 10px;
  }
  .header__menu > nav > ul > li .header__link-wrapper {
    padding: 24px 5px 26px;
  }
  .header__menu > nav > ul > li .header__link-wrapper a {
    font-size: 12px;
  }
  .header__menu > nav > ul > li .header__link-wrapper__sublist h3 {
    font-size: 14px;
  }
  .header__subitem__menu ul li {
    margin-bottom: 10px;
  }
  .header__subitem__menu ul li a {
    font-size: 13px;
  }
  .header__subitem__menu ul li a span {
    font-size: 12px;
  }
  .subitem-col {
    margin: 20px 25px 10px;
  }
  .subitem-col:not(:last-child):after {
    right: -25px;
  }
  .header__subitem__resource:after {
    left: -25px;
  }
  .header__subitem__menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    padding-left: 15px;
  }
  .header__cta .button, 
  .header__cta .button:focus {
    font-size: 11px;
    max-width: 115px;
    padding: 7px 5px;
  }
}

@media (min-width: 1025px) and (max-width: 1100px) {
  .header__menu > nav > ul > li .header__link-wrapper a {
    font-size: 11px;
  }
}

@media (min-width: 1150px) and (max-width: 1325px) {
  .header__menu > nav > ul > li .header__link-wrapper {
    padding: 24px 10px 26px;
  }
}

@media(max-width: 1024px) {
  .header__menu {
    max-height: 500px !important;
    overflow: hidden !important;
    overflow-y: scroll !important;
  }
  .header__subitem.header__subitem__menu ul {
    display: block;
  }
  .header__subitem.header__subitem__menu .expand-trigger {
    display: none !important;
  }
  .header__cta {
    max-width: 38%;
  }
  .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: 10px;
  }
  .header__menu > nav > ul {
    padding-bottom: 15px;
  }
  .header__menu > nav > ul > li > a, 
  .header__menu > nav > ul > li .header__link-wrapper {
    padding: 5px 0;
  }
  .header__menu > nav > ul > li .header__link-wrapper a,
  .header__menu > nav > ul > li .header__link-wrapper span,
  .header__menu > nav > ul > li .header__link-wrapper i {
    display: inline-block;
    vertical-align: middle;
  }
  .header__menu > nav > ul > li .header__link-wrapper a {
    width: calc(100% - 15px);
  }
  .header__menu > nav > ul > li .header__link-wrapper i {
    width: 10px;
  }
  .header__subitem__copy {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .header__link-wrapper.header__link-wrapper__sublist {
    padding: 5px 0 9px !important;
  }
  .header__subitem__menu,
  .header__subitem__menu .hs-menu-wrapper > ul,
  .header__item-content {
    width: 100% !important;
  }
  .header__subitem__resource,
  .header__subitem__menu .hs-menu-wrapper.flyouts li.hs-item-has-children:not(.active) ul.hs-menu-children-wrapper:not(.active),
  .header__subitem__menu .hs-menu-wrapper ul li a span {
    display: none !important;
  }
  .header__subitem__menu .hs-menu-wrapper.flyouts li.hs-item-has-children a,
  .header__subitem__menu .hs-menu-wrapper.flyouts li.hs-item-has-children .expand {
    display: inline-block;
  }
  .header__subitem__menu .hs-menu-wrapper.flyouts li.hs-item-has-children .expand {
    position: relative;
    top: -2px;
    margin-left: 10px;
  }
  .header__subitem__menu .hs-menu-wrapper.flyouts li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    padding-left: 20px;
    margin-top: 20px;
  }
  .header__subitem__menu ul li {
    margin-bottom: 15px;
  }
  .header__subitem__menu ul li a {
    font-weight: 500;
  }
}

@media(max-width: 480px) {
  .header__logo img {
    max-width: 90%;
  }
  .header__cta .button, 
  .header__cta .button:focus {
    font-size: 12px;
    padding: 7px 10px;
  }
}