/* New header code  */
.s-megamenu .content-wrapper{
  padding:0px 15px;
}
.s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3{
  padding-left: 0px;
}
.s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3:first-child{
  border-left:none;
}

.s-megamenu .hs-menu-wrapper>ul li.megasidebar1 .sub-menu >.solution-footerbar >.footerbarlist >ul >li >a.fm-link{
  margin-bottom:0px;color:#fff !important;
}
.s-megamenu .hs-menu-wrapper>ul li.megasidebar1 .sub-menu >.solution-footerbar >.footerbarlist >ul >li >a.fm-link:hover{
  cursor:pointer;color:#c3d4ca !important;
}
.s-megamenu .solution-footerbar >.footerbarlist >ul >li >a, .s-megamenu .solution-footerbar ul li{
  color:#fff;
  font-family: Montserrat !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 135%;
  letter-spacing: -1%;
}
.s-megamenu .solution-footerbar ul {
  padding: 6px 25px !important;
  box-shadow: unset !important;
  background: #301a42 !important;
  border-radius: 0px !important;
  align-items: center;
  pointer-events: unset !important;
}

.s-megamenu.hover-arrow .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children.megasidebar1>ul.sub-menu li.hs-menu-depth-4> a:hover,
.s-megamenu.hover-arrow .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children.megasidebar1>ul.sub-menu li a:hover,
.s-megamenu.hover-arrow .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children.megasidebar1>ul.sub-menu >li:nth-child(2n) ul li.hs-menu-depth-3>a:hover{
  color:#BD3927 !important;cursor:pointer;
}
.s-megamenu .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-3>a{
  display: inline-flex !important;
  align-items: flex-start;
  gap: 5px;
}

.s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-3>a {
  gap: 10px;
}
.s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4>a{
  margin-bottom:0px !important;
}
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3>a{
  display: flex;
}
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4>a, .s-megamenu.hover-arrow .hs-menu-wrapper ul li ul li>a{
  display: flex !important;align-items: baseline;
}
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4>a:after,
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li ul li>a:after,
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3>a:after{
  opacity:0;
  background: url(https://www.thespotonagency.com/hubfs/Arrow%201.svg) no-repeat;
  transition: all 400ms ease;
  content: "";
  height: 8px;
  width: 20px;
  display: block;
}
.m-icon-hover{
  display:none;
}

.s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a:hover img.m-icon-hover{
  display:block;
}
.s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a:hover img.m-icon{
  display:none;
}
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4>a:hover:after,
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li >ul li >a:hover:after,
.s-megamenu.hover-arrow .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3>a:hover:after{
  opacity:1;margin-left: 5px;
}
.s-megamenu .solution-footerbar{
  position: absolute;
  background: #301A42;
  flex-wrap: nowrap;
  width: 100%;
  left: 0px;
}

.s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li >ul >li.hs-menu-depth-3{

  background:transparent;
}
.s-megamenu  .hs-menu-wrapper>ul li.megasidebar1 ul li a{
  background: transparent !important;
  border: 0px !important;
  color: #2A2B2F !important;
}
.s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li:hover>a{
  color: #2A2B2F !important;
}
.s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a, .s-megamenu  .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a >span{
  font-family: Montserrat !important;
  font-weight: 500 !important;
  font-size: 14px !important;margin-bottom:0px !important;
  line-height: 120%;
  letter-spacing: 8%;
  color:#301A42 !important;
}
.s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a{
  align-items: center !important;
  gap: 10px;
}
.s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a img{
  background: #fff;
  width: 29px;
  height: 29px;
  padding: 5px;
  border-radius: 50px;
  object-fit: scale-down;
}
.s-megamenu.hover-box ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a:hover img{
  background: #fff;
}
.s-megamenu.hover-box ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a{
  width: stretch;
}
.s-megamenu.hover-box ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a img{
  background: #f4efea;
}
.s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a b {
  display: none;
}
.s-megamenu .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul .header-btn a.cta_button:hover {
  color: #2A2B2F !important;
}
.s-megamenu  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li a span{
  margin:0px;
}
.s-megamenu .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul .header-btn a.cta_button {
  background: #C3D4CA;
  color: #2A2B2F;
  font-family: Montserrat !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  width: fit-content;
  padding: 17px 30px;
  float: left;
}
.s-megamenu  .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a b{
  color:#BD3927;line-height:10px
}


.s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-4>a:hover,
.s-megamenu.hover-box ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a:hover{
  background: #F4EFEA !important;cursor:pointer;
}
.s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4 >a, .s-megamenu ul li.megasidebar1 >ul >li:nth-child(2n) ul li.hs-menu-depth-3 >a{
  font-family: Montserrat !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 135%;    margin-bottom: 0px !important;
  letter-spacing: -1%;

}
.s-megamenu  .hs-menu-wrapper>ul li.megasidebar1 >ul >li >a{
  font-family: Montserrat !important;
  font-size: 14px !important;
  font-style: SemiBold !important;
  font-weight: 600 !important;
  line-height: 120%;margin-bottom:0px !important;color:#301A42 !important;
}
.s-megamenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul >li.hs-item-has-children.megasidebar1 >ul.sub-menu li a:hover{
  box-shadow: unset !important;
  border: 0px !important;
  color: #301A42;
}
.s-megamenu ul li.megasidebar1 >ul >li:nth-child(2n) >ul{
  display: flex;
  flex-direction: column !important;
  flex-wrap: nowrap;background:transparent !important;
}
.s-megamenu.hover-box ul li.megasidebar1 >ul >li:first-child >ul{
  background:transparent;
}
.s-megamenu ul li.megasidebar1 >ul >li:first-child >ul >li:last-child{
  border-right: unset;
}
.s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) {
  border-radius: 0px 10px 10px 0px;
}
@media(min-width:992px){
  /* new changes codes starts   */
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n){
    position:relative;
  }
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n){
    background: url('https://wearespoton.com/hubfs/wave-img.png') center center / cover no-repeat, #FBF8F5 !important

  }
  .s-megamenu.hover-box ul li.megasidebar1 >ul.hs-menu-children-wrapper >li.hs-menu-depth-2:first-child >a{
    display:none;
  }
  .s-megamenu.hover-arrow .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3 >a,
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >a{
    position:relative;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3 >a:after,
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >a:after{
    content: "";
    display:block !important;
    background: url(https://wearespoton.com/hubfs/Arrow%203.svg) no-repeat !important;
    height: 8px  !important;
    width: 20px  !important;margin-left:0px !important;filter: none !important;
  }
.s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >a{
    display:flex !important;gap:10px;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child:hover ul >li.hs-menu-depth-3:hover > a:after,
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n):hover >a:after{
    transform: none !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child:hover ul >li.hs-menu-depth-3 > a:hover:after,
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >a:hover:after{
    margin-left:4px !important;
  }
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >a{
    font-family: Montserrat !important;
    font-weight: 500 !important;
    font-size: 14px !important;margin-bottom:0px !important;
    line-height: 120%;
    letter-spacing: 8%;
    color:#301A42 !important;
    text-transform: uppercase;
    padding-top: 25px;
  }
  .s-megamenu ul li.megasidebar1>ul>li.hs-menu-depth-2:nth-child(2n) >ul{
    padding-top: 0px;
  }
  /* new changes codes ends  */
  .s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-3:first-child >a >span{
    content:"0";
  }
  .s-megamenu  .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >ul{
    background:transparent;    min-width: unset;padding:0px 20px;padding-right:0px !important
  }
  .s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-3>a >span{
    background: #dfdcee;
    border-radius: 50px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .s-megamenu.hover-arrow .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li.hs-menu-depth-2:nth-child(2n) >ul{
    padding:10px 0px !important;
  }
  .s-megamenu.hover-arrow ul li.megasidebar1 >ul >li:first-child >ul >li {
    padding-left: 20px !important;
  }
  .s-megamenu.hover-arrow .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3 >ul{
    padding:0px !important;
  }
  .s-megamenu.hover-arrow ul li.megasidebar1 >ul >li:nth-child(2n){
    background:#f4efea;
  }
  .s-megamenu.hover-arrow .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children.megasidebar1>ul.sub-menu li.hs-menu-depth-4> a{
    padding-left:0px; padding-right:0px;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3 >a {
    padding-left:0px !important;padding-right:0px !important;padding-top: 0px;align-items: baseline;
  }
   .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3 >a:hover,
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 >ul>li.hs-menu-depth-2:nth-child(2n) >a:hover{
     background:transparent !important;
  }
  .s-megamenu  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.hs-menu-depth-2 >ul.hs-menu-children-wrapper{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .s-megamenu ul li.megasidebar1 >ul >li:first-child >ul >li{
    border-left: 1px solid #F4EFEA;padding-left: 15px !important;padding-right: 15px !important;
  }

  .s-megamenu ul li.megasidebar1 >ul li.hs-item-has-children >a::after{
    display:none !important;
  }
  .s-megamenu ul li.megasidebar1 >ul >li{
    background: #FBF8F5;
    padding:25px;flex:auto;padding-bottom: 60px !important;
  }
  .s-megamenu.hover-box ul li.megasidebar1 >ul >li:first-child{
    background:#fff;
  }
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) >ul{
    min-width: 272px !important;
  }
  .s-megamenu ul li.megasidebar1 >ul{
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 !important;
    transform: translateX(-29.2%) !important;
    background: #FBF8F5;
    width: 1175px;

    max-width: 1180px;
    min-width: unset !important;
    overflow: hidden;
  }
  .s-megamenu ul li.megasidebar1 ul li >ul{ 
    border-radius: 0 !important;
    box-shadow: unset !important;
    display: flex !important;
    left: 0px !important;
    position: relative !important;
    top: unset !important;
    transform: unset !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    opacity: 1 !important;background:transparent !important;
  }
  .s-megamenu ul li.megasidebar1 ul li >ul li >ul{
    display: flex;
    flex-direction: column !important;
    flex-wrap: wrap;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3{
    min-width: 267px;
    padding-bottom: 25px;
    width: 267px !important;
    background:transparent; 
  }
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a , .s-megamenu ul li.megasidebar1>ul>li ul li.hs-menu-depth-4>a{
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #2A2B2F !important;
    letter-spacing: -1%;
    line-height: 135%;
  }
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul.sub-menu >li.hs-menu-depth-3>a:hover , .s-megamenu ul li.megasidebar1>ul >li ul.sub-menu >li.hs-menu-depth-4 >a:hover{
    color: #2A2B2F !important;
  }
}
@media(max-width:991px){
  /*  new code  */
  .s-megamenu .hs-menu-wrapper li.megasidebar1 .parent-subopen.hs-menu-depth-2 >ul.hs-menu-children-wrapper.sub-menu span.mobile-toggle{
    display:none;
  }
  /* new code ends   */
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul >li.parent-subopen >a:after {
    top: 28px !important;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul >li.parent-subopen >a{
    line-height: 310%;
    padding: 10px 25px !important;
  }
  .s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a b {
    display: block;
  }
  .s-megamenu.hover-box .hs-menu-wrapper>ul li.megasidebar1>ul li.hs-menu-depth-3>a {
    gap: 5px;
    align-items: flex-start;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >ul
  {
    padding-top: 0px !important;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a b {
    line-height: 10px;
  }
  .s-megamenu ul li.megasidebar1>ul>li:nth-child(2n) ul li.hs-menu-depth-3>a img{
    display:none;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul.hs-menu-children-wrapper >li.hs-menu-depth-2.parent-subopen >ul >li >ul{
    display: block !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li ul.hs-menu-children-wrapper { 
    background:#FBF8F5;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul >li:first-child >ul.hs-menu-children-wrapper {
    padding-bottom: 5px;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li >a{
    padding: 15px 25px !important;margin:0px;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-4>a {
    padding: 10px 25px !important;
  }
  .s-megamenu  .header-main .header-outer .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul > li {
    margin: 0px !important;
    width: calc(100% - 0px) !important;
  }
  .s-megamenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-item-has-children.megasidebar1>ul.sub-menu >li:nth-child(2n) ul li.hs-menu-depth-3>a{
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #2A2B2F !important;
    letter-spacing: 0px;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 ul li.hs-menu-depth-4 >a{
    font-size: 15px !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul.hs-menu-children-wrapper >li.hs-menu-depth-2:nth-child(2n){
    border-bottom:none;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li a{
    background:transparent !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li.parent-subopen>a {
    color: #2A2B2F;
    font-weight: 400 !important;
    font-size: 16px;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li ul.hs-menu-children-wrapper >li.hs-menu-depth-1 {
    border-bottom:1px solid #EBEBEB;
  } 
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar2  ul.hs-menu-children-wrapper >li.hs-menu-depth-1,
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1  ul.hs-menu-children-wrapper >li.hs-menu-depth-2{
    border-bottom:1px solid #EBEBEB;
  } 
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar2  ul.hs-menu-children-wrapper >li.hs-menu-depth-2:nth-child(2n), 
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li ul.hs-menu-children-wrapper,
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul > li > a{
    border-bottom:0px;
  }

  /*   .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul > li > a {
  border-bottom: 1px solid #EBEBEB;
} */
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul > li{
    border-bottom: 1px solid #EBEBEB;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li ul.hs-menu-children-wrapper >li.hs-menu-depth-4,
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.hs-menu-depth-3 ul.hs-menu-children-wrapper,
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.hs-menu-depth-3{
    border-bottom:0px;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar1 ul li:first-child >ul >li.hs-menu-depth-3{
    border-bottom: 0px;
  }
  .s-megamenu.hover-box  .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >ul{
    border:0px; !important;
  }
  .s-megamenu.hover-box  .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a::after{
    display:none;
  }
  .s-megamenu.hover-box ul li.megasidebar1 >ul >li.parent-subopen >ul >li >ul{
    display:block !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li .mobile-toggle.menu-subopen{
    border-bottom:0px !important;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul >li >a:after {
    top: 16px !important;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul >li >a{
    font-size:16px !important; font-weight:600 !important;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a, .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul li.hs-menu-depth-3 >a >span{
    font-size:14px !important; 
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.hs-menu-depth-2 >a{
    font-size: 14px !important;
    color: #2A2B2F;
  }
  .s-megamenu .hs-menu-wrapper>ul li.megasidebar1 >ul >li >a{
    font-weight: 600 !important;
  }
  .s-megamenu .mainmenu .menu-toggle{
    top:26px;
  }
  .s-megamenu ul li.megasidebar1 >ul >li >a{
    margin-top:0px !important;
  }
  .s-megamenu .header-main .header-outer .mainmenu .hs-menu-wrapper>ul .hs-item-has-children>a:after{
    right:25px;
  }
  .s-megamenu ul li.megasidebar1 >ul{
    transform: translateX(0%) !important;
  }
  .s-megamenu .solution-footerbar{
    display:none;
  }
}
/* New header code ends  */









.logo-light{
  display:none;
}
.sub-menu-header {
  ; 
  color: #fff; 
  font-weight: 700; 
  font-size: 16px; 
  line-height: 1.25; 
}
.new_block_header .header-main .header-outer .left .logo {
  max-width: 200px !important;
}
.header{
  background-color: ;
}
.header.headerfixed {
  background-color: ; 
}

.header__container-inner-wrapper {
  max-width: ;
}


.header .news-listing__entry-row--author,
.header .news-listing__entry-summary,
.header .upcoming-events__event-date,
.header .event_details__date--small {
  color: ;
}

.header .news-listing__header a,
.header .upcoming-events__header a,
.header .news-listing__entry a,
.header a.icon-card__link {
  color: ;
}

.header .news-listing__header a:hover,
.header .news-listing__header a:focus
.header .upcoming-events__header a:hover,
.header .upcoming-events__header a:focus,
.header .news-listing__entry a:hover,
.header .news-listing__entry a:focus,
.header a.icon-card__link:hover,
.header a.icon-card__link:focus {
  color: ;
}

.header .news-listing__header a:active,
.header .upcoming-events__header a:active,
.header .news-listing__entry a:active,
.header a.icon-card__link:active {
  color: ;
}

.header h3.form-title {
  color: ;
}

.header .news-listing__header h3,
.header .upcoming-events__header h3 {
  color: ;
}

.header .news-listing__entry h4,
.header h4.upcoming-events__event-title {
  color: ;
}

.header h6.news-listing__entry-date,
.header .upcoming-events__event-subtitle h6 {
  color: ;
}

/* Logo */

.header__logo .logo-company-name {
  color: ;
}

/* Main Navigation */

.header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li>a {
  ;
  color: ; 
}

.header__container--lower .navigation-primary .level-1 > .has-submenu:after {
  border-color:  transparent transparent transparent;
} 
.header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li:hover > a,
.header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li:focus > a { 
  color: ;
}

.header__container--lower .navigation-primary .level-1 > .has-submenu:hover:after,
.header__container--lower .navigation-primary .level-1 > .has-submenu:focus:after,
.header__container--lower .navigation-primary .level-1 > li.has-submenu.active-item:hover:after,
.header__container--lower .navigation-primary .level-1 > li.has-submenu.active-item:focus:after {
  border-color: transparent transparent  transparent;
}

.header__container--lower .navigation-primary .level-1 > li:active > a {
  color: ;
}

.header__container--lower .navigation-primary .level-1 > .has-submenu:active:after,
.header__container--lower .navigation-primary .level-1 > li.has-submenu.active-item:active:after {
  border-color: transparent transparent  transparent;
}

.header__container--lower .navigation-primary .level-1 > li.active-item > a {
  color: ;
}

.header__container--lower .navigation-primary .level-1 > li.has-submenu.active-item:after {
  border-color:  transparent transparent transparent;
}

.header__container--lower .navigation-primary .submenu.level-1 > li > a.active-item:after {
  background-color: ;
}

/* Main Navigation - Child Menus */

.header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li a {
  ; 
}

@media (min-width: 992px) { 
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li:hover > a,
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li:focus > a,
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li.active > a{
    color: ;
  }
}

/* Main Navigation - Mobile Menu */

@media (max-width: ) {  
  body .header__mobile-menu-icon,
  body .header__mobile-menu-icon:after,
  body .header__mobile-menu-icon:before {
    background-color: ;
  }

  body .menu-arrow-icon,
  body .menu-arrow-icon:after {
    background-color: ;
  }
}



.megasidebar4 ul li:hover:nth-child(3) a{box-shadow: none !important;
  border-color: #fff !important;}

/************ New Home Menu Css *************/

header.header.main_header.new_block_header .header-main {
  box-shadow: none;
}

.header.new_block_header {
  background-color: transparent;
}
.new_block_header .header-main {
  background-color: transparent;
  box-shadow: none;
}
.new_block_header.main_header {
  position: absolute !important;
}
.new_block_header .mainmenu ul li a {
  font-family: Montserrat !important;
  font-weight: 400 !important;
  font-size: 16px;
}
.new_block_header .content-wrapper {
  max-width: 1200px;

}
.header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li>a:hover {
  color: #BD3927 !important;
}
/*************** Responsive *************/
@media(max-width:991px){
  .active-branch.mobile-menu li a {
    color: #2a2b2f !important;
  }
}


@media (min-width: 992px) {
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li a:hover {
    border-color: transparent;
  }
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul ul li a{
    background-color:transparent !important;
  }
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li:hover > a, .header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li:focus > a {color: #bd3927}

  .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {color: #2a2b2f !important}
  .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a:hover {box-shadow: unset;}
  .s-megamenu.hover-arrow .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a:hover {color: #2a2b2f !important;}
  .s-megamenu.hover-box .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-4 a:hover,
  .s-megamenu.hover-box .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar2 ul.hs-menu-children-wrapper li a:hover,
  .s-megamenu.hover-box .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar3 ul.hs-menu-children-wrapper li a:hover,
  .s-megamenu.hover-box .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar5 ul.hs-menu-children-wrapper li a:hover,
  .s-megamenu.hover-box .header-main .header-outer .mainmenu .hs-menu-wrapper>ul li.megasidebar6 ul.hs-menu-children-wrapper li a:hover{
    background: #F4EFEA !important;
  }
  .s-megamenu .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.megasidebar1 ul.hs-menu-children-wrapper li a:hover {color:unset !important;}
}


@media (max-width: 991px) {
  .header-main .header-outer .mainmenu .hs-menu-wrapper>ul>li.parent-subopen>a {

    color: #BD3828;
  }




  .mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {color:#343434}
}














/* Footer bar */
.s-megamenu .solution-footerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;

  box-sizing: border-box;
  width: 100%;
  min-height: 64px;
    padding: 15px 32px 15px 32px;
      border-radius: 0 0 10px 10px;
  background: #301a42;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

/* Left and right wrappers */
.s-megamenu .solution-footerbar__left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 24px;
}

.s-megamenu .solution-footerbar__right {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-left: auto;
}

/*
 * Repeat the footer class to override the existing
 * high-specificity menu link rules without changing other links.
 */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar a {
  box-sizing: border-box;
  position: static !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
}

/* Remove menu-generated arrows */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar a::before,
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar a::after {
  display: none !important;
  content: none !important;
}

/* Left links */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-footerbar__link {
  display: inline-block !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.s-megamenu .solution-footerbar__divider {
  color: #fff;
}

/* Right announcement: keep all items in one row */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

/* Override menu span styles */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > span {
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}

/* Coming Soon badge */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-badge {
  flex: 0 0 auto;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  background-color: #dfdcee !important;
  color: #2a2b2f !important;
  white-space: nowrap;

  transition:
    background-color 350ms ease,
    color 350ms ease;
}

/* Platform text */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-text {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  white-space: nowrap;
}

/* Join the waitlist */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-cta {
  flex: 0 0 auto;
  padding: 0 !important;
  background: transparent !important;
  color: #C8B1DC !important;
  white-space: nowrap;
  transition: color 350ms ease;
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-cta:empty {
  display: none !important;
}

/* Image arrow */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > img.solution-growth-arrow {
  position: static !important;
  display: block !important;
  float: none !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  transform: none !important;

  transition:
    transform 350ms ease,
    filter 350ms ease;
}

/* Hover and keyboard focus */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-badge {
  background-color: #DFDCEE !important;
  color: #2A2B2F !important;
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-cta {
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> img.solution-growth-arrow {
  transform: translateX(4px) !important;
}

.s-megamenu .solution-footerbar a:focus-visible {
  outline: 2px solid #dfdcee;
  outline-offset: 5px;
}

/* Smaller desktop menus: allow two rows */
@media (min-width: 992px) and (max-width: 1199px) {
  .s-megamenu .solution-footerbar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 24px;
  }

  .s-megamenu .solution-footerbar__right {
    margin-left: 0;
  }

  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* Preserve your existing mobile behavior */
@media (max-width: 991px) {
  .s-megamenu .solution-footerbar {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > span,
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > img.solution-growth-arrow {
    transition: none !important;
  }

  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link:is(:hover, :focus-visible)
  > img.solution-growth-arrow {
    transform: none !important;
  }
}



/* Default: light floral badge with dark text */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-badge {
  background-color: #DFDCEE !important;
  color: #2A2B2F !important;

  transition:
    background-color 350ms ease,
    color 350ms ease;
}

/* Smooth image-arrow movement */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > img.solution-growth-arrow {
  transform: translateX(0) !important;

  transition:
    transform 350ms ease,
    filter 350ms ease;
}

/* Hover / focus: badge turns red, text turns white */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-badge {
  background-color: #BD3927 !important;
  color: #fff !important;
}

/* Arrow turns white and moves right */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> img.solution-growth-arrow {
  transform: translateX(5px) !important;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > .solution-growth-badge,
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > img.solution-growth-arrow {
    transition: none !important;
  }

  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link:is(:hover, :focus-visible)
  > img.solution-growth-arrow {
    transform: none !important;
  }
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link {
   
    padding: 3px 13px 3px 13px !important;
    color: #2a2b2f;
    font-size: 14px;
    font-weight: 400;
    border-radius: 999px;
    background-color :transparent;
}


/* Smooth transition for the whole announcement pill */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link {
  padding: 4px 14px 4px 4px !important;
  border-radius: 999px;
  transition: background-color 350ms ease;
}

/* Keep the badge light floral, including on hover */

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-badge {
  background-color: #bd3927 !important;
    color: #fff !important;
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-badge
{
	  background-color: #dfdcee !important;
    color: #2a2b2f !important;
}



/* Whole pill becomes dark purple */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible) {
  <!-- background-color: #bd3927 !important; -->
  <!-- color: #fff !important; -->
}

/* Announcement text turns white */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-text,
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > .solution-growth-cta {
  transition: color 350ms ease;
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-text,
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> .solution-growth-cta {
}

/* Arrow turns white and moves right */
.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link > img.solution-growth-arrow {
  transform: translateX(0) !important;
  transition:
    transform 350ms ease,
    filter 350ms ease;
}

.s-megamenu .hs-menu-wrapper
.solution-footerbar.solution-footerbar.solution-footerbar
a.solution-growth-link:is(:hover, :focus-visible)
> img.solution-growth-arrow {
  transform: translateX(4px) !important;
}

@media (prefers-reduced-motion: reduce) {
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link,
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > span,
  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link > img.solution-growth-arrow {
    transition: none !important;
  }

  .s-megamenu .hs-menu-wrapper
  .solution-footerbar.solution-footerbar.solution-footerbar
  a.solution-growth-link:is(:hover, :focus-visible)
  > img.solution-growth-arrow {
    transform: none !important;
  }
}




/* Hidden until opened with showModal() */
dialog.growth-waitlist-popup:not([open]) {
  display: none;
}

dialog.growth-waitlist-popup {
  position: fixed;
  inset: 0;

  box-sizing: border-box;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 44px 36px 36px;
  overflow-y: auto;

  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #301a42;
  box-shadow: 0 24px 80px rgb(0 0 0 / 25%);

  font-family: "Montserrat", sans-serif;
  text-align: left;
}

dialog.growth-waitlist-popup::backdrop {
  background: rgb(20 10 30 / 65%);
}

.growth-waitlist-popup .growth-waitlist-close {
  position: absolute;
  top: 10px;
  right: 12px;

  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #301a42;

  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.growth-waitlist-popup .growth-waitlist-close:hover {
  background: #dfdcee;
}

.growth-waitlist-popup .growth-waitlist-close:focus-visible {
  outline: 2px solid #301a42;
  outline-offset: 3px;
}

.growth-waitlist-popup #growth-waitlist-title {
  margin: 0 24px 14px 0;
  color: #301a42;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.growth-waitlist-popup #growth-waitlist-description {
  margin: 0 0 20px;
color: #2A2B2F;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.6;
}

.growth-waitlist-popup .growth-waitlist-form {
  width: 100%;
  min-width: 0;
}

@media (max-width: 575px) {
  dialog.growth-waitlist-popup {
    padding: 40px 22px 26px;
  }

  .growth-waitlist-popup #growth-waitlist-title {
    font-size: 24px;
  }
}



.growth-waitlist-content .input input {
    border: 1px solid #E8E0FF;
    width: 100%;
    padding: 15px 25px;
    color: #000;
        background-color: #FAF9F7;
    border-color: #e1e1e1;
    border-radius: 6px;
    margin-top: 4px;
}

.growth-waitlist-content label {
    color: #2a2b2f!important;
    font-family: Montserrat;
    font-size: 14px;
    font-style: SemiBold;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 20px;
    padding-bottom: 5px;
}

.growth-waitlist-content .input.hs-button {
    background-color: #bd3927!important;
    border-color: #bd3927!important;
    border-radius: 50px;
    font-family: Montserrat!important;
    font-size: 16px;
    font-weight: 500 !important;
    height: 50px;
    padding: 0 20px;
}


.growth-waitlist-content form input[type='submit'], .growth-waitlist-content  form .hs-button
{
  font-weight:500 !important;
  font-size: 15px;
    font-family: 'Montserrat' !important;
}