.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header__top {
  background-color: rgba(119,119,119,.66);
  padding: 6px 0 3px 0;
  text-align: center;
}

.header__top__link {
  font-family: Oswald;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
  color: rgb(0, 0, 0);
}

.header__top__description {
  font-family: Oswald;
  font-weight: 400;
  font-size: 16px;
  color: rgb(29, 53, 87) !important;
}

.header__container {
  display: flex;
  padding: 10px 40px 5px 40px;
  background-color: #ffff;
  max-width: 100%;
  box-shadow: rgba(0,0,0,.25) 0 3px 11px 0;
}

.header__container__phone {
  display: none;
}

.header__container__logo {
  position: relative;
  width: 16.66%
  margin-right: 50px;
}

.header__container__logo img {
  max-width: 100%;
  max-width: 205px;
  height: auto;
}

.header__container__menu {
  position: relative;
   width: 58.33%;
}

.header__container__cta {
  position: relative;
  width: 25%;
  max-width: 400px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__container__cta__top-button {
  text-align: end;
  margin-bottom: 25px;
}

.header__container__cta__top-button a {
  font-family: "Oswald";
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
}

.header__container__cta__button a {
  background-color: #e31a38;
  line-height: 22px;
  text-decoration: none;
  transition: all .2s ease;
  color: #ffff;
  font-weight: 700;
  font-family: Arial;
  padding: 16px 30px;
}

.hs-menu-item {
  width: max-content;
}

.hs-menu-item a {
  font-size: 14px; 
  color: #000;
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

.hs-menu-depth-1 a::after {
  content: '';
  width: 100%;
  height: 2px;
  display: block;
  transition: all 0.3s ease-in-out;
  background-color: #000;
  transform: scaleX(0);
  opacity: 0;
}

.hs-menu-depth-1.hs-item-has-children {
  position: relative;
  
}

.hs-menu-depth-1.hs-item-has-children::after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: -13px;
  top: 11px;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}

.hs-menu-depth-1 ul {
  background-color: #fff;
}

.hs-menu-depth-2 {
  margin: 0;
/*   min-width: max-content;
  width: 100%; */
}

.hs-menu-depth-2 a {
  text-decoration: none;
  padding: 15px 30px 15px 15px;
  white-space: normal !important;
}

.hs-menu-depth-2 a::after {
  display:none;
}

.hs-menu-depth-2 .hs-item-has-children {
  position: relative;
}

.hs-menu-depth-2.hs-item-has-children::after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 10px;
  height: 10px;
  right: 13px;
  top: 23px;
  transition: all 0.3s ease-in-out;
}

.hs-menu-depth-2.hs-item-has-children ul {
  transition: all 0.3s ease-in;
  top:0 !important;
  left: 155px !important;
}

.hs-menu-depth-3 {
  margin: 0;
/*   min-width: max-content;
  width: 100%; */
}

ul li, ol li {
    margin: 1rem;
}

.header__container__hamburger {
  display: none;
  width: 25px;
  cursor: pointer;
}

.header__container__hamburger span {
    background-color: #000;
    display: block;
    height: 2px;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.header__mobile {
  display: none;
}

.menu-item-span {
  display: none;
}

.hs-menu-wrapper ul {
  flex-wrap: nowrap;
}

main.body-container-wrapper {
  padding-top: 80px;
}

/* main.body-container-wrapper-landing-page {
  padding-top: 0;
}
 */
@media screen and (min-width: 1170px) {
  
  .hs-menu-depth-3:hover a {
  background-color: #1d3557 !important;
  color: #fff !important;
  }
  
  .hs-menu-depth-2.hs-item-has-children:hover::after{
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%0A%3Csvg width='15' height='15' viewBox='0 0 384 512' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M342.6 233.4C355.1 245.9 355.1 266.2 342.6 278.7L150.6 470.7C138.1 483.2 117.8 483.2 105.3 470.7C92.8 458.2 92.8 437.9 105.3 425.4L274.7 256L105.4 86.6C92.9 74.1 92.9 53.8 105.4 41.3C117.9 28.8 138.2 28.8 150.7 41.3L342.7 233.3L342.6 233.4Z' fill='white'/%3E%3C/svg%3E%0A");
    
  }
  
  .hs-menu-depth-2.hs-item-has-children:hover .hs-menu-depth-3 a {
  background-color: #fff;
  color: #000;
  }
  
  .hs-menu-depth-2:hover.hs-menu-depth-2 a {
  background-color: #1d3557;
  color: #fff;
  }
  
  .hs-menu-depth-1.hs-item-has-children:hover::after{
    transform: rotate(180deg);
  }
  
  .hs-menu-depth-1 a:hover::after {
  opacity: 1;
  transform: scaleX(1);
  }
  
  .header__container__cta__button a::hover {
  background-color: #dd1733;
  }
  
  .header__top__link:hover {
    font-family: Oswald;
    display: unset;
    text-decoration: underline;
    font-weight: bold;
    color: rgb(0, 0, 0);
  }

  .header__top__link:focus {
    font-family: Oswald;
    display: unset;
    text-decoration: underline;
    font-weight: bold;
    color: rgb(0, 0, 0);
  }
  
  .hs-menu-depth-2 {
     min-width: max-content;
     width: 100%;
  }
  
  .hs-menu-depth-3 {
     min-width: max-content;
     width: 100%;
  }
}

@media screen and (max-width: 1170px) {
 
  .header__top {
    display: none;
  }
  
  .header__container__menu {
    display: none;
  }
  
  .header__container__logo img {
    max-height: 85px;
  }
  
  .header__container__hamburger {
    display: block;
    z-index: 20;
  }
  
  .header__mobile {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
/*     min-width: 40vw; */
/*     width: 40vw; */
    width: 320px;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    overflow-y: scroll;
    background-color: #1d3557;
  }
  
  .header__mobile::-webkit-scrollbar{
    display: none;
  }
  
  .header__mobile ul {
    background-color: #1d3557;
    flex-direction: column;
    height: 100vh;
    padding: 200px 20px 0 50px;
  }
  
  .header__mobile ul::-webkit-scrollbar{
    display: none;
  }
  
  .header__mobile ul a {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
  }
  
  .open.header__mobile {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  
  .open.header__container__hamburger span {
    background-color: #fff;
  }
  
  .open.header__container__hamburger span:first-of-type {
    transform-origin: top right;
    transform: rotate(-45deg) translateY(-1px);
  }
  
  .open.header__container__hamburger span:nth-of-type(2) {
    opacity: 0;
    transform: translateX(100%);
  }
  
  .open.header__container__hamburger span:last-of-type {
    transform-origin: bottom right;
    transform: rotate(45deg) translateY(2px);
  }
  
  .header__container__cta {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 65%;
    max-width: 100%;
    margin-bottom: 0;
  }
  
  .header__container__cta__top-button {
    margin-bottom: 0;
    margin-right: 10px;
  }
  
  .hs-menu-item {
    margin: 0;
    width: max-content;
/*     width: 100%; */
    margin-bottom: 10px;
/*     max-width: 100% */
    max-width: 90%;
  }
  
  .hs-menu-item a {
    padding: 12px 0;
  }
  
  .hs-menu-item a::after {
    background-color: #fff;
    width: 100%;
  }
  
  .hs-menu-item.hs-item-has-children::after {
    display: none;
  }
  
  .hs-menu-depth-1.hs-item-has-children ul {
    padding: 0;
    height: unset;
    top: 0 !important;
  }
  

  .hs-menu-depth-2.hs-item-has-children ul {
    left: 10px !important;
  }
  
  .header__overlay {
    background-color: rgba(0,0,0,.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }
  
  .open.header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
   .hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
    display: none;
  }
  
  .show.hs-menu-children-wrapper {
    position: static !important;
    display: block  !important;
    opacity: 1  !important;
    padding-left: 10px !important;
  }
  
  .menu-item-span {
    position: absolute;
    right: -20px;
    top: 13px;
    transition: all 0.3s ease-in-out;
    display: inline;
  }
  
  .rotate.menu-item-span {
    transform: rotate(180deg) translateY(4px);
  }
  
  .hs-menu-depth-2.hs-item-has-children span {
    top: 14px;
    right: 0;
  }
  
  .hs-menu-depth-2.hs-item-has-children a {
    padding-right: 20px;
    max-width: max-content;
  }
  
  .hs-menu-depth-1 a {
    display: block;
    position: relative;
    width: max-content;
    max-width: 100%;
  }
  
  .hs-menu-depth-3 a {
    max-width: 100% !important;
  }
  
  main.body-container-wrapper {
    padding-top: 23px;
  }
  
  .header__mobile__cta {
    display: none;
  }
}

@media screen and (max-width: 730px) {
  
  .header__container__phone {
    display: block;
  }
  
  .header__container__logo img {
    max-height: 60px;
  }
  
  .header__container__cta {
    display: none;
  }
  
  .header__mobile__cta {
    position: absolute;
    top: 140px;
    left: 48px;
    display: block;
    width: 100%;
    max-width: 80%;
  }
  
  .header__mobile__cta__top-button {
    display: none;
  }
  
  .header__mobile__cta__button a {
    background-color: #e31a38;
    line-height: 22px;
    text-decoration: none;
    color: #ffff;
    font-weight: 700;
    font-family: Arial;
    padding: 16px 30px;
    display: flex;
    justify-content: center;
  }
  
  main.body-container-wrapper {
    padding-top: 0px;
  }
  
}
  