.headerMain {
  background: #194F90;
}
.topHeader {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 20px 0px;
  gap: 12px;
  
  min-height: 130px; /* layoutshift fix */
}
.logoSectionHeader {
  width: 45%;
 width: 400px;
}

@media (max-width: 1255px) {
  .logoSectionHeader {
    width: 25%;
  }
}

@media (max-width: 1080px) {
  .logoSectionHeader {
    width: 35%;
  }
}

.site-logo__image {
  max-width: 150px; 
}
.bottomHeader {
  background: #003057;
  display: flex;
  align-items: center;
  padding: 0px;
  justify-content: space-evenly;
  
  min-height: 50px /* layoutshift issue */
}

.contentBottomHeader {
  min-height: 50px; 
}

.hs-menu-item a {
  color: #fff;
}
.headerMain .topHeader .button--light {
  color: #00223d;
  font-weight: 600;
}
.headerMain .searchSectionHeader .hs-search-field__input {
  background: transparent;
  color: #000;
  border: none;
  border-bottom: 1px #000 solid;
  border-radius: 0px;
  padding-left: 0px; 
  padding-bottom: 2px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M505 442.7 405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E");
  filter: invert(1);
  color: #000;
  background-repeat: no-repeat;
  background-size: 17px;
  background-position: right;
  

}

.headerMain .searchSectionHeader .hs-search-field  {
  width: 200px;
}

.headerMain .searchSectionHeader .hs-search-field__input::placeholder {
  color: #000;
}

.ctaSectionHeader {
  width: 300px; 
}

.ctaSectionHeader ul li {
  list-style-type: none;
}
.ctaSectionHeader ul li:nth-child(2) {
  margin-left: 10px;
}
.header-menu.header-menu--secondary {
  display: flex;
}
.headerMain .topHeader .header__cta.button--outlined.button--light {
  color: #fff;
  
  width: 160px; /* for layoutshift issue */
}

.headerMain .topHeader .header__cta.button--outlined.button--light:hover {
  color: #00223d;
}
.hs-menu-item .hs-menu-children-wrapper li a {
  color: #007aff;
  opacity: 1;
  font-weight: 500;
}
.hs-menu-item .hs-menu-children-wrapper li a:hover {
  color: #003057;
}
.hs-menu-wrapper .hs-item-has-children::before {
  background: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  content: "";
  display: block; 
  position: absolute;  
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 5px solid #fff;
  left: inherit;
  top: 45%;
  right: 5px; 
}
.bottomHeader .searchSectionHeader, .bottomHeader .ctaSectionHeader {
  display: none;
}
/* header menu */
.bottomHeader .header-menu.header-menu--primary {
  list-style-type: none !important;
  display: flex;
  color: #fff !important;
}

@media (min-width: 1171px) {
  .bottomHeader .header-menu.header-menu--primary {
    width: 1180px;
  }
}


.bottomHeader .header-menu.header-menu--primary a {
  color: #fff;
}
.header-menu__children {
  height: 0%;
  overflow: hidden;
  display: none;
}
.header-menu__parent {
  position: relative;
  padding: 10px 30px;
  
  width: auto; /* Laytshift  */
  max-width: 300px; /* Laytshift  */
  min-width: 100px; /* Layoutshift  */
}
.header-menu__sub-menu-toggler {
  padding: 5px;
  border: none;
  position: absolute;
  right: 0;
}

@media (min-width: 770px) {
  .header-menu__sub-menu-toggler
  {
    top: 50%;
    transform: translateY(-50%);
  }
}

.header-menu__sub-menu-toggler svg {
  width: 10px;
  fill: #fff;
}

.header-menu__child {
  margin-bottom: 0px;
  padding: 8px 0;

}
.header-menu__child:hover {
  background-color: #003057;
}

.header-menu__parent.header-menu__parent--has-children .header-menu__children li a
{
  padding: 0px 20px;
  display: flex;
  line-height: 25px;
}

@media screen and (min-width: 769px) {
  .header-menu__parent.header-menu__parent--has-children:hover .header-menu__children 
  {
    position: absolute;
    display: block;
    height: auto;
    z-index: 10;
    background: #194f90;
    padding: 0px 0px;
    list-style-type: none !important; 
    width: 260px;
    margin-top: 10px;
  }
  .nav__toggler
  {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  /* Tablet */
  .topHeader .searchSectionHeader, .topHeader .ctaSectionHeader
  {
    display: none;
  }
  .bottomHeader .searchSectionHeader, .bottomHeader .ctaSectionHeader
  {
    display: block;
  }
  .headerMain .bottomHeader { 
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 10;
    height: calc(102% - var(--nav-height));
    display: none;
  }
  .contentBottomHeader
  {
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;

    display: flex;
    flex-direction: column;
    overflow: scroll;
  }
  .hs-menu-item a
  {
    padding-left: 0px;
  }
  .navigationSectionHeader
  {
    margin-top: 20px;
  }
  .site-logo__image { 
    max-width: 90px; 
  }
  .hs-menu-item.hs-menu-depth-1
  {
    margin-bottom: 15px;;
  }
  .ctaSectionHeader
  {
    margin-top: auto;
    margin-bottom: 10vh;
    
    
  }
  .bottomHeader .header-menu.header-menu--primary { 
    flex-direction: column;
  }
  .header-menu__parent { 
    padding-left: 0px;
  }
  .header-menu__children 
  {
    position: relative;
    display: block; 
    padding-left: 0px;
  }
  .openSubMenu .header-menu__children 
  {
    display: block;
    height: auto;
    transition: all 0.5s ease;
    padding-top: 10px;
  }
  .logoSectionHeader {
    width: 35%;
  }
  .nav__toggler.burger-toggler
  {
    padding: 5px;
    border: none;
    margin-left: 10px;
  }
  .nav__toggler.burger-toggler svg 
  {
    fill: #fff;
    width: 25px;
  }
  .hs-tools-menu.hs-collapsed
  {
    display: none !important;
  }
  .hs-search-field__suggestions
  {
    position: relative;
  }
}


.topHeader .loginSectionHeader .fancy-list__link .fancy-list__text:before {
  display: none;
}

.loginSectionHeader {
  min-width: 120px;
}

/* this was done becuase the click link area took too much space - with this fix the click area is only the logo */
.site-logo__link {
  display: inline-block;
}

.mysmsheader .logoSectionHeader { 
  width: 25%;
}

@media (max-width: 980px) {
  .mysmsheader .logoSectionHeader { 
    width: 10%;
  }
  
  .mysmsheader  .topHeader {
    gap: 4px;
  }
}

/* STICKY NAVIGATION  */

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
}


/* header fixes 31 july */
@media screen and (max-width: 1422px){
  .logoSectionHeader {
    width: 25%;
  }
}
@media screen and (max-width: 768px){
 .burger-toggler[aria-expanded=true] i  .headerMain .bottomHeader {
    display: block;
  }
  ul.header-menu__children {
    list-style:none !important;
}
@media screen and (max-width: 350px){
  .mysms_btn a {
      padding: 0.3em 6px;
      font-size: 12px;  
  }
}