.header-section{border-bottom: 1px solid var(--primary_color)}
.header-top {padding:6px 0;}
.header-tclose .header-top{display:none;}
.header-top .header-tinner{position:relative;}
.header-top .h-close { position: absolute; right: 0; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.header-top .h-close a { border-radius: 3px; background: rgba(33, 33, 33, 0.30); padding: 2px; height: 18px; width: 18px; display: flex ; align-items: center; justify-content: center; }
.header-top .detail-content  a{padding:0 0 1.5px; text-decoration:none !important; border-bottom:1px solid var(--third_color);}
.header-top a, .header-top span { color: var(--third_color); line-height: 140%; letter-spacing: -0.061px; }
.header-inner{padding:17px 0;}
.head-logos{width:187.2px;} {# 156 #}
.head-logos img {
  width: 100%;
}
.head-menus{width:calc(100% - 349px); padding:0 25px;}
.header-btn{width:161px;}
.resheader-btn{display:none;}

/*************************************Depth 1****************************************************/
.header-section .menu .hs-menu-wrapper > ul{display: flex; flex-wrap: wrap; width: 100%; justify-content:flex-end} 
.header-section .menu ul > li.hs-menu-depth-1 {margin-right:24px;display: inline-block; }
.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:26px;}


/*************************************Depth 2****************************************************/
.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 13px;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 { min-width: 200px; display: block; left: 0; right: 0; margin: 5px auto 0; padding: 15px; top: 100%; visibility: hidden; z-index: 2; background-color: var(--primary_color); border-radius: 6px; }
.header-section .hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper{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://7071155.fs1.hubspotusercontent-na1.net/hubfs/7071155/Spacetoco%20Theme%202025/Home/Arrow%20Down-1%20%285%29.svg');
  background-color: var(--primary_color);
  border-radius: 3px;
  right: 0;
  padding: 2px;
  top: 5px;
  width: 18px;
  cursor: pointer;
  height: 18px;
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: center;
}


/*************************************Depth 3****************************************************/
.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-3 > a{padding:10px 15px;display: inline-block;font-size:inherit;}

@media(min-width:1025px){  
.header-section .hs-menu-wrapper{display:flex !important;overflow:visible !important; justify-content:flex-end;}
.header-section .mobile-trigger{display: none!important;}
}

@media(max-width:1024px){  
  .header-section .menu .hs-menu-wrapper > ul{justify-content:flex-start;}
  .header-section .menu ul>li.hs-menu-depth-1 ul.hs-menu-children-wrapper{min-width:inherit;} 
  .header-section .menu ul > li.hs-menu-depth-1{margin:0}
  .mobile-open .resheader-btn{display:block;padding:20px 14px 10px;}
  .header-btn{display:none}
  .head-menus{width:calc(100% - 156px); padding:0;}
  .header-inner{position:relative;padding:16px 0 !important;}
  
/**********************************************Toggle Icon***************************************/
.header-section .mobile-trigger {border-radius:12px;background-color:var(--primary_color); box-shadow: 0px 44px 12px 0px rgba(166, 166, 166, 0.00), 0px 28px 11px 0px rgba(166, 166, 166, 0.01), 0px 16px 10px 0px rgba(166, 166, 166, 0.05), 0px 7px 7px 0px rgba(166, 166, 166, 0.09), 0px 2px 4px 0px rgba(166, 166, 166, 0.10); cursor: pointer; display: inline-block !important; padding: 15px 0; position: absolute; right:14px; top:18px; height:45px; width:45px; z-index: 12; }
.header-section .mobile-trigger .line {display: block;width:21px;height:2px;position:absolute;left: 0;border-radius: 4px; margin:0 auto; right:0;}
.header-section .mobile-trigger .line.line-3{top:60%;}
.header-section .mobile-trigger.active-re .line-3 { transform: translateY(-23px) translateX(0) rotate(-45deg); -webkit-transform: translateY(-23px) translateX(0) rotate(-45deg); -moz-transform: translateY(-23px) translateX(0) rotate(-45deg);}
.header-section .mobile-trigger.active-re .line.line-3 {top:103%;}
.header-section .mobile-trigger .line.line-2{top:21px;}
.header-section .mobile-trigger.active-re .line-2 { opacity: 0;}
.header-section .mobile-trigger .line.line-1{top:15px;}
.header-section .mobile-trigger.active-re .line-1{top:18px;}
.header-section .mobile-trigger.active-re .line-1 { transform: translateY(5px) translateX(0) rotate(45deg); -webkit-transform: translateY(5px) translateX(0) rotate(45deg); -moz-transform: translateY(5px) translateX(0) rotate(45deg);}

/**********************************************Depth 1***************************************/
.header-section .hs-menu-wrapper { z-index: 9; padding:10px 0 20px; background-color: var(--base_color); display: none; left: 0; max-width: 100%; overflow-y: scroll; position: absolute; right: 0; top:82px; width: 100%; margin: 0 auto; height: auto; }  
  .header-section .menu ul > li.hs-menu-depth-1 {width: 100%; padding: 10px 14px; border-bottom: 1px solid var(--third_color); }
 .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;}
  .header-section .menu ul > li.hs-menu-depth-1 > a,  .header-section .menu ul > li.hs-menu-depth-2 > a{color:var(--third_color);}
/**********************************************Depth 2***************************************/
.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 {
        height: 14px;
        right: 14px;
        top:15px;        
        width: 14px;
        position: absolute;
  background-position: center;
        background-repeat: no-repeat;
        background-size: 10px;
    }
  
.header-section .menu ul > li.hs-menu-depth-1 .child-trigger.child-open {
    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 rgba(0, 0, 0, 0.1); 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:10px;}
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    top: 100%
}
 .header-section .menu ul>li.hs-menu-depth-1 a:hover, .header-section .menu ul>li.hs-menu-depth-1.hs-item-has-children.active>a,
  .header-section .menu ul>li.hs-menu-depth-1.hs-item-has-children.actives>a{color:var(--third_color)} 
  
/**********************************************Depth 3***************************************/
.header-section .menu ul > li.hs-menu-depth-2 > ul.hs-menu-children-wrapper{position: relative;display:none;visibility:visible;left:0;}
}

@media(max-width:767px){
 .header-top {padding:7.5px 0; text-align:left;} 
  .header-top .detail-content a { padding: 0 0 0.5px}
}

/* Header updates */
.header-section .menu ul > .active > a,
.header-section .menu li.hs-menu-depth-2 a:hover,
.header-section .menu ul > li.hs-menu-depth-1 > a:hover {
  opacity: 0.5;
}

.header-section .menu li.hs-menu-depth-2 a {
  font-weight: 400 !important;
}

@media (min-width: 1025px) {
  .header-inner {
    padding: 0;
  }

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

  .header-section .menu li.hs-menu-depth-1 a[href="#"],
  .header-section .menu li.hs-menu-depth-1 a[href="javascript:void(0)"],
  .header-section .menu li.hs-menu-depth-1 a[href="javascript:;"] {
    cursor: default;
  }

  .header-section .menu ul > li.hs-menu-depth-1 > .child-trigger {
    background-position: 3px 60%;
    background-image: url(https://7071155.fs1.hubspotusercontent-na1.net/hubfs/7071155/images/2025/arrow-down.svg);
    width: 19px;
    display: inline-block;
    content: '';
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .header-section .menu ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper {
    margin: 0 auto;
    background: #fff;
    border: 1px solid #FCC22D;
    -webkit-box-shadow: 0px 28px 11px rgba(166, 166, 166, 0.01), 0px 16px 10px rgba(166, 166, 166, 0.05), 0px 7px 7px rgba(166, 166, 166, 0.09), 0px 2px 4px rgba(166, 166, 166, 0.1);
            box-shadow: 0px 28px 11px rgba(166, 166, 166, 0.01), 0px 16px 10px rgba(166, 166, 166, 0.05), 0px 7px 7px rgba(166, 166, 166, 0.09), 0px 2px 4px rgba(166, 166, 166, 0.1);
    border-radius: 0px 0px 12px 12px;
  }
}

@media (max-width: 1024px) {
  .header-section .hs-menu-wrapper {
    background-color: #fff;
    padding: 0;
    border-bottom: 1px solid #FCC22D;
  }
  
  .header-section .menu ul > li.hs-menu-depth-1 a:hover,
  .header-section .menu ul > li.hs-menu-depth-1.hs-item-has-children.active > a,
  .header-section .menu ul > li.hs-menu-depth-1.hs-item-has-children.actives > a,
  .header-section .menu ul > li.hs-menu-depth-1 > a,
  .header-section .menu ul > li.hs-menu-depth-2 > a {
    color: #212121;
  }

  .header-section .menu ul > li.hs-menu-depth-1 {
    border-bottom: 1px solid rgba(111, 116, 130, 0.4);
    padding: 14px;
  }
  
  .header-section .menu ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper {
    background: transparent;
    border-radius: 0;
    top: 0 !important;
    border: 0;
    margin-top: 2px;
    padding: 20px 16px 7px;
  }

  .header-section .menu li.hs-menu-depth-2 a {
    color: #212121 !important;
    font-size: 16px !important;
  }

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

  .header-section .menu ul > li.hs-menu-depth-2, .header-section .menu ul > li.hs-menu-depth-3 {
    border-bottom: 0;
    margin-bottom: 7px;
  }
  
  li.hs-menu-depth-1.actives {
    background: #FEF3D6;
  }
  
  li.hs-menu-depth-1.actives > a:hover {
    opacity: 0.5;
  }
  
  .mobile-open .resheader-btn {
    padding: 18px 14px 23px;
  }
  
  .mobile-open .resheader-btn a {
    display: block;
  }
}
