header{
  transition: 0.5s ease-in-out;
  margin: 0 50px;
  width: calc(100% - 100px) !important;
  box-shadow: none !important;
  border-radius: 5px;
  padding: 0 10px 0 20px;
  background: #EBF1FF;
}
header .nav{
  padding: 0 !important;
}

html {
  overflow-x: hidden;
}
a.cta {
  text-decoration: none;
}
body{
  padding-top: 10px;
}
body .navbar .cta {
    background: #0036BC !important;
    color:#D8DFE4;
   padding:15px 30px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: -0.07em;
  text-align: left;
  border-radius: 5px;
    white-space: nowrap;
}
body .navbar .submenu{
  top: calc(100% - 5px) !important;
}
body .navbar .desktop-menu > ul > li > a{
  padding: 10px 0;
}
body .navbar li a span, body .navbar #btn{
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400;
  letter-spacing: normal;
}
body .navbar .language  {
display: flex;
    flex-wrap: nowrap;
    max-width: max-content;
    width: 100%;
overflow: visible;
  border: 0;
}
body .navbar .language a{
  border: 1px solid rgba(0, 6, 40, 0.20) !important;
  min-width: 50px;
}
body .navbar .language a[data-lang="en"]{
  border-radius: 4px 0 0 4px;
  margin-right: -1px;
}
body .navbar .language a[data-lang="en"].active{
  border-radius: 4px;
}
body .navbar .language a[data-lang="fr-ca"]{
  border-radius: 0 4px 4px 0;
  margin-left: -1px;
}
body .navbar .language a[data-lang="fr-ca"].active{
  border-radius: 4px;
}
body .navbar .language a {

  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.07em;
  text-align: center;
   
}
body .cta span {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.07em;
  text-align: left;
    color:#D8DFE4;

}
body .navbar .cta:hover {
    background: #1F62FF !important;

}
/* search css start */
.header-right-wrapper {
  display: flex;
}
span.search-close, span.search-open {
  cursor: pointer;
  display: block;
  height: auto;
  width: 20px;
}
.navbar-search-icon {
  height: 100% !important;
  width: 100% !important;
  display: block;
}
.hs-search-field__form {
  display: flex;
  flex-wrap: wrap;
}
.search-tab input {
  background-color: #fff;
  background-image: url(https://resources.epiqsolutions.com/hubfs/Header/s3.png);
  background-position: center left 15px;
  background-repeat: no-repeat;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 16px !important;
  padding: 7px 15px 7px 44px !important;
  width: 100% !important;
  background-size: 15px;
}
.search-tab input:focus-visible {
  outline: none;
}

.header-search {
 
}
span.search-close img {
  filter: brightness(0%);
}
.search-tab {
  top: -50px  !important;
}
body .navbar .desktop-menu > nav > .ul > li > a:not(.cta):before{
  display: none;
}
.xiphos-fix-header .search-tab {
     margin: 0;
    max-width: 668px;
    position: absolute;
    right: 240px;
    top:15px !important;
    transition: all .4s ease;
    width: 100%;
    z-index: 99;
}

.search-tab .hs-search-field__suggestions-container {
  background: #fff;
  width: 100%;
  margin: 5px 0 0;
  border-radius: 3px;
}
.search-tab .hs-search-field__suggestions-container li {
  padding: 10px 0;
  border-bottom: 1px solid #F2F2F2;
}
.search-tab .hs-search-field.hs-search-field--initialized {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.search-tab .hs-search-field__suggestions-container ul {
  padding: 0 15px;
}
.search-tab .hs-search-field.hs-search-field--initialized .hs-search-field__bar {
  width: 100%;
  position: relative;
}
span.clear-text{
  background: #fff;
  position: absolute;
  right: 10px;
  top: 10px;
  color: #000628;
  font-size: 14px;
  cursor: pointer;
}
.search-tab .hs-search-field__suggestions-container li.results-for:hover {
  background: inherit;
}
.search-tab .hs-search-field__suggestions-container li.results-for {
  border-bottom: none;
  color: #ACACAC;
  text-transform: capitalize;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  text-align: left;
  padding: 17px 0 10px;
}
.search-tab .hs-search-field__suggestions-container ul a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
  text-transform: capitalize;
}
.search-tab .hs-search-field__suggestions-container ul a span {
  text-transform: capitalize !important;
}
.search-tab .hs-search-field__suggestions-container ul li:last-child {
  margin-bottom: 20px;
}
/*-- header css----*/
.mid-absolute {
  position: fixed !important;
  left: 0;
  width: 100%;
  display: block;
  z-index:999999;
  box-shadow: 2px 2px 3px #00000024;
}
body .mobile-menu nav ul li a {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 36px; 
}
body .mobile-menu nav ul li a span {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 8px;
}
body .mobile-menu nav ul li ul li a span {
  margin: 0;
}
body .mobile-menu .language {
  margin: 0px 0 35px 0; 
}
body .mobile-menu .cta {
  max-width: max-content; 
  padding: 25px 16px;
}

.button-fixed{
  overflow-y: hidden;
}
.button-fixed .burger.open {
  position: fixed;
  right: 20px;
}
body .mobile-menu.show {
  display: block;
  overflow-y: scroll !important;
}
body .navbar .desktop-menu{
  justify-content: flex-start;
  flex: 1;
  gap: 80px;
}
body .navbar .nav{
  justify-content: flex-start;
  gap: 30px;
  
}
body .navbar .desktop-menu nav{
  margin-left: auto;
}
header .menu-expand{
  display: none;
  cursor: pointer;
}



header .main-menu{
  display: flex;
  margin-left: auto;
}


header .main-menu .lvl-1{
  display: flex;
  text-transform: uppercase;
  gap: 6px;
}
header .main-menu .lvl-1 > li{
  position: relative;
}
header .main-menu .lvl-1 > li > a{
  padding: 23px 10px;
  display: block;
  display: flex;
  align-items: center;
  gap: 6px;
}
header .main-menu a{
  color: #000;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
}
header .main-menu .lvl-1 .megamenu-wrapper{
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  background: #EBF1FF;
  width: max-content;
  flex: 1;
  padding: 30px 20px;
  border-radius: 5px;
border: 1px solid rgba(0, 6, 20, 0.20);
}
header .main-menu .lvl-1 .submenu{
  position: absolute;
  top: 100% !important;
  left: -10px;
  background: #EBF1FF;
  width: max-content;
  flex: 1;
  padding: 16px 10px;
  border-radius: 5px;
  border: 1px solid rgba(0, 6, 20, 0.20);
  width: 240px;
  display: none;
  flex-direction: column;
  gap: 6px;
}
header .main-menu .lvl-1 li:hover > .submenu{
  display: flex;
}
header .main-menu .lvl-1 .submenu > li a{
  display: block;
  text-transform: none;
  font-weight: 500;
}
header .main-menu .lvl-1 .submenu > li a:hover{
  background: #fff;
}
header .main-menu .lvl-1 .megamenu-wrapper ul{
  width: 325px;
}
header .main-menu .lvl-1 .megamenu-wrapper.active{
  left: 50%;
  transform: translate(-50%, 0);
  min-height: 360px;
}

header .main-menu .lvl-1 .megamenu-wrapper .right{
  display: flex;
}
header .main-menu .lvl-1 .megamenu-wrapper .left ul, header .main-menu .lvl-1 .megamenu-wrapper .right ul{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
header .main-menu .lvl-1 .megamenu-wrapper .right ul{
  display: none;
}
header .main-menu .lvl-1 .megamenu-wrapper li{
  display: block;
}

header .main-menu .lvl-1 .megamenu-wrapper li a{
  display: block;
  font-weight: 500;
  display: flex;
  gap: 8px;
}
header .main-menu .lvl-1 .megamenu-wrapper li a.bolded{
  font-weight: 700;
}
header .main-menu .lvl-1 .megamenu-wrapper li a svg{
  margin-top: 6px;
}
header .main-menu .lvl-1 .megamenu-wrapper li a span{
  text-transform: none;
  color: rgba(0,0,0,0.5);
}
header .main-menu .lvl-1 .megamenu-wrapper li a.bolded svg{
  margin-top: 4px;
}
header .main-menu .lvl-1 .megamenu-wrapper li a:hover{
  background: #fff;
}
header .main-menu .lvl-1 .megamenu-wrapper .left li a.active{
  background: #fff;
}
header .main-menu .lvl-1 .megamenu-wrapper.active .left{
  padding-right: 24px;
  border-right: 1px solid rgba(0, 6, 20, 0.20);
}
header .main-menu .lvl-1 .megamenu-wrapper.active .right{
  padding-left: 24px;
  padding-right: 24px;
}
header .main-menu .lvl-1 .megamenu-wrapper .right{
  display: flex;
  flex-direction: column;
}
header .main-menu .lvl-1 .megamenu-wrapper .right .img-wrapper img{
  width: 85%;
      filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, .4));
    -webkit-filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, .4));
  display: none;
  -webkit-transform: translateZ(0);
}
header .main-menu .lvl-1 .megamenu-wrapper .right .item-1 .img-wrapper img{
  display: block;
}
header .main-menu .lvl-1 .megamenu-wrapper .right .img-wrapper{
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 6, 20, 0.20);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  {# background: linear-gradient(0deg,rgba(227, 234, 246, 1) 0%, rgba(227, 234, 246, 0) 100%); #}
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
}
header .main-menu .lvl-1 .megamenu-wrapper .left ul.mobile.active{
  background: none !important;
}
header .main-menu .lvl-1 .megamenu-wrapper .right ul li a{
  padding: 7px 10px;
}
header .main-menu .lvl-1 .megamenu-wrapper .right ul{
  overflow: visible !important;
  gap: 0;
}
header .main-menu .lvl-1 .megamenu-wrapper .left ul.mobile{
  display: none;
}
header .main-menu .lvl-1 .megamenu-wrapper .left ul.mobile.active{
  display: block !important;
}
header #btn.mobile{
    display: none !important;
}

header .main-menu .lvl-1 .megamenu-wrapper li.indent{
  padding-left: 20px;
}

@media only screen and (max-width:1440px){
  body .navbar .desktop-menu nav .ul {
    gap: 20px;
  }
  .xiphos-fix-header .search-tab {
    max-width: 630px;
  }  

} 

@media only screen and (max-width:1280px){
  body .navbar .desktop-menu li a{
    width: 100%;
    justify-content: space-between;
    font-size: 20px;
  }
  body .navbar .desktop-menu li a i{
    width: 20px;
    font-size: 20px;
    text-align: center;
    transition: all ease-in-out 0.2s;
  }
  body .navbar .desktop-menu li ul{
    padding: 10px 10px 0 !important;
  }
  body .navbar .desktop-menu li ul li a{
    font-size: 16px;
  }
  body .navbar .desktop-menu li ul li a span{
    font-weight: 600;
  }
  body .navbar .desktop-menu li a i.rotate{
    transform: rotate(-180deg);
  }
  body .navbar .language a{
    min-width: 40px;
    font-size: 14px;
    padding: 5px !important;
  }
      header .menu-expand {
        display: block;
        position: absolute;
        right: 10px;
        width: 24px;
        top: 5px;
    }
  .header-right-wrapper{
    width: 100%;
    margin-top: 20px;
  }
  body .navbar{
    position: relative !important;
  }
  body .navbar .desktop-menu{
    display: none;
    position: absolute;
    flex-direction: column;
    background: #fff;
    top: 45px;
    left: -20px;
    height: unset;
    width: calc(100% + 30px);
    border-radius: 5px;
    padding: 20px;
    max-height: 60vh;
    overflow: auto;
  }
  body .navbar .desktop-menu nav .ul li, body .navbar .desktop-menu nav .ul li a{
    width: 100%;
  }
  body .navbar .desktop-menu nav{
    margin-left: unset;
    width: 100%;
  }
  body .navbar .desktop-menu nav .ul{
    flex-direction: column;
    align-items: flex-start;
  }
  body .navbar .desktop-menu .submenu{
    all: unset;
    display: none;
  }
  .header-search {
            position: absolute;
        right: 50px;
        top: 7px;
  }
  span.search-open{
    width: 18px;
  }

  .xiphos-fix-header .search-tab{
    max-width: 100%;
            max-width: 100%;
        right: 5px;
        top: 60px !important;
  }
  .search-tab input{
    font-family: 'DM Sans', sans-serif;
    padding: 7px 10px !important;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid #efefef;
  }
} 
@media screen and (max-width:559px){
  .mid-absolute {
    position: relative !important;
    top:0 !important;
    font-size: 14px !important;
  }
  body .mobile-menu .cta {
  max-width: max-content; 
        white-space: nowrap;  }
  
  header {
    background: #ebf1ff;
    border-radius: 5px;
    box-shadow: none !important;
    margin: 0 10px;
    padding: 10px 10px 10px 20px;
    transition: .5s ease-in-out;
    width: calc(100% - 20px) !important;
}
}
@media screen and (max-width: 1280px) {
  header .logo img{
    width: 120px !important;
  }
      span.clear-text {
        cursor: pointer;
        right: 10px;
        top: 8px;
        font-family: 'DM Sans', sans-serif;
        color: #000000;
        background: #fff;
    }

  body .navbar ul {
    padding: 0;
    width: 100%;
  }
  body .mobile-menu nav ul li a {
    font-size: 28px;
  }
  body .mobile-menu nav ul li a span {
    margin-bottom: 20px;
    margin-top: 15px;
  }
  body .mobile-menu .cta {
  max-width: max-content; 
    padding: 15px 16px;
  }
  body .mobile-menu.show ul li:nth-child(4) span {
    margin-bottom: 0;
  }
  body .mobile-menu nav {
    margin-top: 20px;
  }
  body .mobile-menu {
    padding-top: 20px;
position:fixed;
top:0;
background:EBF1FF;
  }
  body.button-fixed {
    background: #ebf1ff !important;
    height: 100% !important;
  }
  /*   mobile search css start */
  .mobile-search img {
    max-width: 23px !important;
  }
  .mobile-search {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 34px 0 0;
    position: relative;
    height: 57px;
    width: 98%;

  }
  body .navbar .nav{
    gap: 20px;
  }
  .mobile-search .msearch-tab {
    width: 100%;
  } 
  .mobile-search.search-outer {
    background: #fff;
    padding: 19px 0;
    position: relative;
    border-radius: 3px 3px 0 0;
  } 
  .mobile-search .msearch-tab input {
    border: none;
    padding: 0 0 0 63px;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #000614;
  } 
  .mobile-search .msearch-tab input:focus:focus-visible {
    outline: none;
  } 
  .mobile-search .hs-search-field__suggestions-container {
    background: #fff;
    /* 	height: 64vh; */
    left: 0;
    padding: 0 20px;
    position: absolute;
    top: 43px;
    width: 100%;
    z-index: 11;
    border-radius: 0 0 3px 3px;
  }
  .mobile-search .hs-search-field__suggestions-container.suggestions-box {
    height: 64vh;
  } 
  .mobile-search .msearch-open {
    position: absolute;
    z-index: 1;
    left: 0;
  }
  .search-outer.mobile-search .msearch-open {
    left: 20px;
  }  
  .search-outer .msearch-close {
    position: absolute;
    right: 3px;
    background: #fff;
    width: 30px;
  }  
  .mobile-search .hs-search-field__suggestions-container li a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #000614;
    text-decoration: none;
  }  
  .mobile-search .hs-search-field__suggestions-container li {
    padding: 10px 0 20px;
    border-bottom: 1px solid #F2F2F2;
  } 
  body .mobile-menu {
    padding-left: 20px;
  }
  .mobile-search .hs-search-field__suggestions-container li.results-for {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
    color: #ACACAC;
    border-bottom: none;
  }
  
  header .main-menu .img-wrapper{
    display: none;
  }
  header .main-menu{
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: -20px;
    width: calc(100% + 40px);
    background: #fff;
    border-radius: 6px;
    max-height: 600px;
    overflow: auto;
    padding: 10px 0;
  }
  header .main-menu .lvl-1{
    flex-direction: column; 
  }
  header .main-menu .lvl-1 > li > a{
    padding: 10px 20px;
  }
  header{
    padding: 10px 20px;
  }
  header #btn{
    margin: 10px 20px;
    display: none !important;
    width: calc(100% - 40px);
    text-align: center;
  }
  header #btn.mobile{
    display: block !important;
  }
  header .main-menu .lvl-1 li:hover > .submenu{
    display: none;
  }
  header .main-menu .lvl-1 ul{
    position: relative !important;
    width: 100% !important;
    left: unset !important;
    top: unset !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  header .main-menu .lvl-1 .megamenu-wrapper{
    position: relative !important;
    width: 100% !important;
    padding: 16px 20px !important;
  }
  header .main-menu .lvl-3{
    padding: 5px 20px;
  }
  header .main-menu .lvl-1 .megamenu-wrapper .left > ul{
    display: block !important;
  }
} 
