.header-section {
  border-bottom: 1px solid rgba(254, 254, 253, 0.15);
}

.header-section .content-wrapper {
  position: relative;
}

.head-logo {
  width: calc(var(--col-2) / var(--size-unit) * 1em);
}

.head-rside {
  width: calc(var(--col-8) / var(--size-unit) * 1em);
  justify-content: center;
}

.head-cta {
  display: flex;
  align-items: center;
  justify-content: right;
  width: calc(var(--col-2) / var(--size-unit) * 1em);
}

.head-ctaside {
  {# width: calc(135 / var(--size-unit) * 1em); #}
  padding-left: calc(16 / var(--size-unit) * 1em);
}

/*
.head-rside .menu {
  width: calc(100% - 190px);
}
*/

.rmenu-ctas {
  display: none;
}

.transparent-header .head-ctaside a.cta_button {
  background: transparent;
  color: var(--base_color);
}

.transparent-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 10;
}

.header-section {
  position: relative;
  width: 100%;
  z-index: 99;
}

.header-section.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
}

.header-section .menu .hs-menu-wrapper>ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.header-section .menu ul>li.hs-menu-depth-1 {
  margin-left: calc(16 / var(--size-unit) * 1em);
  margin-right: calc(16 / var(--size-unit) * 1em);
  display: inline-block;
  position: relative;
  opacity: 1 !important;
  line-height: 0;
}

.header-section .menu ul>li.hs-menu-depth-1:first-of-type::before {
  content: '';
  display: block;
  width: calc(12 / var(--size-unit) * 1em);
  height: calc(12 / var(--size-unit) * 1em);
  top: calc(8 / var(--size-unit) * 1em);
  left: calc(-40 / var(--size-unit) * 1em);
  position: absolute;
  background: #fff;
  border-radius: 50%;
  display: none !important;
}

.header-section .menu ul>li.hs-menu-depth-1:last-child {
  margin-right: 0;
}

.header-section .menu ul>li.hs-menu-depth-1.hs-item-has-children a {
  padding-right: calc(22 / var(--size-unit) * 1em);
}

.header-section .menu ul>li.hs-menu-depth-1 a {
  position: relative;
  padding: 0 0 calc(22 / var(--size-unit) * 1em);
  transition: unset !important;
}

.header-section .menu ul>li.hs-menu-depth-1.hs-item-has-children {
  position: relative;
}

.header-section .menu ul>li.hs-menu-depth-2>a {
  padding: 0 0 calc(13 / var(--size-unit) * 1em);
  display: inline-block;
}

.header-section .menu ul>li.hs-menu-depth-2:last-child a {
  padding-bottom: 0;
}

.header-section .menu ul>li.hs-menu-depth-1>ul.hs-menu-children-wrapper {
  background-color: var(--secondary_color4);
  min-width: calc(200 / var(--size-unit) * 1em);
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: calc(15 / var(--size-unit) * 1em);
  top: 100%;
  visibility: hidden;
  z-index: 2;
}

.header-section .hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  -webkit-box-orient: unset;
  -webkit-box-direction: unset;
      -ms-flex-direction: unset;
          flex-direction: unset;
}

.header-section .menu ul>li.hs-menu-depth-1:hover>ul.hs-menu-children-wrapper {
  visibility: visible;
}

.header-section .menu ul>li.hs-menu-depth-1.hs-item-has-children>a {
  position: relative;
}

.header-section .menu ul>li.hs-menu-depth-1>.child-trigger {
  position: absolute;
  background-image: url('https://20315204.fs1.hubspotusercontent-na1.net/hubfs/20315204/Arrow-Down-white.svg');
  right: 3px;
  top: 8px;
  width: 12px;
  cursor: pointer;
  height: 12px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.header-section .menu ul>li.hs-menu-depth-2.hs-item-has-children {
  position: relative;
}

.header-section .menu ul>li.hs-menu-depth-2>.child-trigger {
  position: absolute;
  top: 0px;
  right: 20px;
}

.header-section .menu ul>li.hs-menu-depth-2>.child-trigger i {
  position: relative;
}

.header-section .menu ul>li.hs-menu-depth-1>a {
  padding: 0;
  position: relative;
  display: inline-block;
  color: #090909;
  overflow: hidden;
  line-height: 0 !important;
}

.header-section .menu ul>li.hs-menu-depth-1>a span {
  display: inline-block;
  height: 100%;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
  color: #ffffff;
  line-height: 110% !important;
}

.header-section .menu ul > li.hs-menu-depth-1 a {
  font-size: calc(17 / var(--size-unit) * 1em);
}

.header-section .dis-flex.vmiddle {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.header-section .hs-menu-wrapper ul {
  position: relative;
  top: 5px;
}

.header-section .hs-menu-wrapper li.hs-menu-depth-1 a .btn--clip,
.mobile-trigger .btn--clip {
  height: calc(19 / var(--size-unit) * 1em) !important;
  overflow: clip;
  position: relative;
  z-index: 1;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.header-section .hs-menu-wrapper li.hs-menu-depth-1 a .btn--clip > span,
.mobile-trigger .btn--clip > span {
  display: block !important;
}

.header-section .hs-menu-wrapper li.hs-menu-depth-1 a .original--state,
.header-section .hs-menu-wrapper li.hs-menu-depth-1 a .hover--state,
.mobile-trigger .original--state,
.mobile-trigger .hover--state {
  -webkit-transition: all ease 0.4s;
  transition: all ease 0.4s;
}

.header-section .hs-menu-wrapper li.hs-menu-depth-1 a:hover .original--state,
.header-section .hs-menu-wrapper li.hs-menu-depth-1 a:hover .hover--state,
.mobile-trigger:hover .original--state,
.mobile-trigger:hover .hover--state {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.soundBtn {
  display: inline-flex;
  background: rgba(254, 254, 253, 0.12);
  border-radius: var(--image-radius);
  cursor: pointer;
  width: 30px;
  height: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  transition: all ease 0.4s;
}

.soundBtn:hover {
  opacity: 0.9;
}

.soundBtn__on {
  display: none;
}

.soundBtn.enable .soundBtn__on {
  display: block;
}

.soundBtn.enable .soundBtn__off {
  display: none;
}

/*
@media(max-width:1280px) {
  .head-rside .menu {
    width: calc(100% - 135px);
  }

  .head-ctaside {
    width: 135px;
  }
}
*/

@media (min-width: 1025px) {
  .header-section .hs-menu-wrapper {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    overflow: visible !important;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }

  .header-section .mobile-trigger {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .header-section {
    padding: 16px 0 !important;
  }

  .head-logo {
    width: 200px;
  }

  .head-rside {
    width: 100%;
  }

  .head-ctaside {
    display: block;
  }

  .header-section .menu .hs-menu-wrapper>ul {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .header-section .menu ul>li.hs-menu-depth-1 ul.hs-menu-children-wrapper {
    min-width: inherit;
  }

  .mobile-open .rmenu-ctas {
    display: block;
    padding: 10px 20px;
  }

  .mobile-open .rmenu-ctas span {
    display: block;
  }

  .header-section .menu ul>li.hs-menu-depth-1 a:after {
    background: #fff;
  }

  .header-section .hs-menu-wrapper {
    top: 37px !important;
  }

  .header-section .menu ul>li.hs-menu-depth-1>a span {
    color: #090909 !important;
  }

  .header-section .hs-menu-wrapper {
    z-index: 9;
    padding: 0;
    background-color: var(--white_color);
    display: none;
    left: 0;
    max-width: 100%;
    overflow-y: scroll;
    position: absolute;
    right: 0;
    top: 64px;
    width: 100%;
    margin: 0 auto;
    height: auto;
  }

  .header-section .menu ul>li.hs-menu-depth-1 {
    width: 100%;
    padding: 10px 20px;
    border-bottom: 1px solid var(--base_color);
    margin: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-1:not(:first-child)>a {
    padding: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-1>a {
    margin: 0;
    padding: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-1 ul.hs-menu-children-wrapper {
    position: relative;
    display: none;
    visibility: visible;
  }

  .header-section .menu ul>li.hs-menu-depth-1 .child-trigger {
    background-image: url('https://20315204.fs1.hubspotusercontent-na1.net/hubfs/20315204/Arrow-Down-white.svg');
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 14px;
    right: 22px;
    top: 15px;
    width: 14px;
    position: absolute;
  }

  .header-section .menu ul>li.hs-menu-depth-1 .child-trigger.child-open {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
  }

  .header-section .menu ul>li.hs-menu-depth-1>ul.hs-menu-children-wrapper {
    opacity: 1;
    left: 0;
    top: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-2,
  .header-section .menu ul>li.hs-menu-depth-3 {
    border-bottom: 1px solid var(--base_color);
    margin-bottom: 12px;
  }

  .header-section .menu ul>li.hs-menu-depth-2:last-child,
  .header-section .menu ul>li.hs-menu-depth-3:last-child {
    border: none;
    margin: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-1>ul.hs-menu-children-wrapper {
    padding: 20px 22px 15px;
    margin-top: 0;
  }

  .header-section .menu ul>li.hs-menu-depth-2>ul.hs-menu-children-wrapper {
    position: relative;
    display: none;
    visibility: visible;
    left: 0;
  }

  .soundBtn {
    display: none !important;
  }
}

@media(max-width:767px) {
  .head-logo {
    width: 163px;
  }
}

/* Header Update */
.header-section.transparent-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 32px 0;
  border-bottom: 0;
}

.header-section.transparent-header .primary-button a span {
  color: var(--base_color) !important;
}

.header-section.transparent-header .rmenu-ctas.primary-button a span {
  color: #fefefd !important;
}

.mobile--logo {
  display: none !important;
}

.head-logo a {
  display: inline-block;
}

.mobile-trigger .line {
  display: none !important;
}

.mobile-trigger {
  width: auto !important;
  height: auto !important;
  padding: calc(8 / var(--size-unit) * 1em) !important;
  line-height: 0 !important;
}

.desktop--logo {
  max-width: 184px !important;
}

@media (max-width: 1024px) {
  .header-section .mobile-trigger {
    cursor: pointer;
    display: inline-block !important;
    position: absolute;
    padding: 0 !important;
    top: 0 !important;
    right: 20px !important;
  }

  .header-section .mobile-trigger .btn--inner {
    display: block;
    position: relative;
    overflow: hidden;
    padding: calc(12 / var(--size-unit) * 1em) calc(14 / var(--size-unit) * 1em);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    border-radius: var(--image-radius);
  }
  
  .header-section .mobile-trigger .btn--inner::before {
    content: '';
    background-color: rgba(254, 254, 253, 0.12);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
  }
  
  .header-section .mobile-trigger .original--state > span
  .header-section .mobile-trigger .hover--state > span {
    font-size: calc(15 / var(--size-unit) * 1em);
    line-height: 110%;
    letter-spacing: -0.01em;    
  }
  
  .mobile-open .rmenu-ctas {
    padding: calc(15 / var(--size-unit) * 1em) calc(20 / var(--size-unit) * 1em);
    display: none !important;
  }

  .desktop--logo,
  .logo-title {
    display: none !important;
  }

  .mobile--logo {
    display: block !important;
  }

  .head-logo a {
    display: inline-block;
  }

  .header-section .hs-menu-wrapper {
    top: 48px !important;
    background: #fff !important;
  }

  .head-ctaside a span {
    font-size: 15px;
    letter-spacing: -.01em;
    line-height: 110%;
  }
  
  .head-ctaside a::after {
    height: 1px;
    left: 0;
    right: 0;
  }

  .head-ctaside {
    display: block;
    width: auto;
    padding: 0;
    position: absolute;
    top: 1px;
    right: 85px;
  }
  
  .header-section.transparent-header .primary-button a span {
    color: #fff !important;
  }

  .header-section .white-text .primary-button a::before {
    background-color: rgba(254, 254, 253, 0.12) !important;
  }
  
  .header-section .primary-button a img {
    filter: brightness(0) invert(1);
  }
  
  .mobile-trigger .btn--clip {
    display: block;
  }
}

@media (max-width: 648px) {
  .header-section.transparent-header {
    padding: 16px 0;
  }
  
  .header-section.transparent-header .content-wrapper {
    padding: 0 !important;    
  }
  
  .head-ctaside.tertiary-button a.cta_button {
    padding-bottom: 6px !important;
  }
  
  .header-section.transparent-header > .content-wrapper > .dis-flex.vmiddle {
    position: relative;
    padding: 0 16px;
  }
     
  .header-section .mobile-trigger {
    top: 50% !important;
    transform: translateY(-50%);
  }

  .head-ctaside {
    top: 50% !important;
    transform: translateY(-50%);
    position: absolute;
    line-height: 0;
  }

  .head-ctaside.tertiary-button a.cta_button {
    line-height: 0;
  }  
}
