/* ==========================================================================
Custom Menu Primary
========================================================================== */


{% set ulColor       = "" %} /* Set ul background color */
{% set liColor       = "" %} /* Set li background Color */
{% set aColor        = "" %} /* Set link Color */
{% set aColorHover   = "" %} /* Set link Hover Color */

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{ 
  background:; 
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
  background:;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  color:;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{
  color:;
}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul ul{}
.custom-menu-primary .hs-menu-wrapper > ul ul li{
  background:;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  color:;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  color:;
}

/* Override max width on menu links */
.custom-menu-primary .hs-menu-wrapper > ul li a, 
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
}

/* Fix menu disappearing on desktop after toggling mobile menu */
@media screen and (min-width:991px) {
  .custom-menu-primary .hs-menu-wrapper { 
    display:block;
  }
}



.mobile-trigger, .child-trigger{
  display: none; /* Hide button on Desktop */
}

@media (max-width: 991px){


  /* Variables
  ========================================================================== */

  {% set menuColorMobile = "#000000" %}   /* Set Mobile Menu Background Color */
  {% set aColorMobile = "#ffffff" %}      /* Set Link Color */
  {% set aColorHoverMobile = "#ffffff" %} /* Set Link Hover Color */


  .custom-menu-primary,
  .custom-menu-primary .hs-menu-wrapper > ul,
  .custom-menu-primary .hs-menu-wrapper > ul li,
  .custom-menu-primary .hs-menu-wrapper > ul li a{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color:;
  }


  /* Toggle Button
  ========================================================================== */

  .mobile-trigger{
    display: inline-block !important; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: -63px;          /* Position Button at right of screen  */
    right: 10px;        /*******************************************/
    width: auto; /* Button width */
    height: auto; /* Button height */      
    padding: 7px 10px 8px 10px;
    background: transparent; /* Background color */
    border: 1px solid #002c6b;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: ; 
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color:;
    background-color: ; 
    border-color: #002c6b;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    color:;
    background-color: ; 
    border-color: #002c6b;
  }


  /* Toggle Button Icon
  ========================================================================== */

  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:before, .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after{
    width: 22px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    color: #002c6b;
    background-color: #002c6b;
    display: inline-block;
  }
  .mobile-trigger i:before{
    top: -6px; /* Position top line */
  }
  .mobile-trigger i:after{
    top: 6px; /* Position bottom line */
  }

  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after,  
  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
    background-color:#002c6b; /* Icon color */
  }


  /* Child Toggle Button
  ========================================================================== */

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 55px !important; /* Button width */
    min-width: 55px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  .child-trigger:hover{
    text-decoration: none;
  }
  .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .child-trigger i:after{
    position: absolute;
    content: '';
  }
  .child-trigger i, .child-trigger i:after{
    width: 10px; /* Icon line width */
    height: 2px; /* Icon line height */
    background-color:#fff; /* Icon color */
    display: block;

  }
  .child-trigger i:after{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .child-trigger.child-open i:after{
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .child-trigger.child-open i{
  }


  /* Menu Styles on Mobile Devices
  ========================================================================== */  

  .custom-menu-primary.js-enabled{
    position: relative;
    padding-top: 44px; /* Makes room for button */
    margin: 10px 0 10px 0;
  }

  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-wrapper,
  .custom-menu-primary.js-enabled .hs-menu-children-wrapper{
    display: none;
  }

  /* Make child lists appear below parent items */
  .custom-menu-primary ul.hs-menu-children-wrapper{
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    display: none;
  }

  /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative; /**************************************************************/
    top: 0;             /* Positions the menu to drop from the very top of the screen */
    left: 0;          /**************************************************************/
    padding: 0;
  }
  .custom-menu-primary .hs-menu-wrapper{
    background-color:; /* Menu background color set off global menuColorMobile variable */
    width: 100%; /* Full screen width */
  }

  /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li a{
    font-size: 22px; /* Font size of top level list items */
    line-height: 45px;
    overflow: visible;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
    /*     border-top: 1px dotted rgba(255, 255, 255, .35); */
    /* Adds transparent dark highlights to top of top level list items */
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
    padding: 0 10px;
    color:; /* link color set by global mobile-aColor variable */
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a:hover{
    color:; /* link hover color set by global mobile-aColorHover variable */
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
    background-color: rgba(255, 255, 255, .08);
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    text-indent: 10px; /* Indent Child lists */
    font-size: 16px; /* Font size of child lists */
  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
    text-indent: 30px; /* Indent Child lists */
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a {
    text-indent: 50px; /* Indent Child lists */
  }
}



.header-section { width: 100%; display: inline-block; background: transparent; position: relative; z-index: 9; }
.header-section .container { width: 100%; padding: 0 45px; }
.header-section .header-inner { width: 100%; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.header-section .header-inner .header-top { margin: 0; width: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.header-section .header-inner .header-menu { margin: 0; width: auto; display: inline-block; }
.header-section .header-inner .header-top .top-col { width: 33.33%; display: inline-block; margin: 0; }
.header-section .header-inner .header-top .top-col a { width: max-content; display: flex; margin: 0; justify-content: space-between; align-items: center; color: #fff; font-size: 16px; font-weight: 700; font-family: 'Open Sans', sans-serif; line-height: 0; transition: opacity .3s ease-in-out, color .3s ease-in-out; }
.header-section .header-inner .header-top .top-col a span { height: 16px; width: 16px; display: inline-block; line-height: 0; margin: 0 5px 0 0; }
.header-section .header-inner .header-top .top-col a span svg { height: 16px; width: 16px; display: inline-block; line-height: 0; fill: #ED1C24; }
.header-section .header-inner .header-top .top-col:last-child { width: auto; }
.header-section .header-inner .header-top .top-col:first-child a { margin: 0 25px 0 auto; }
.header-section .header-inner .header-top .top-col:nth-child(2) { width: auto; padding-right: 40px; }
/* .header-section .header-inner .header-top .top-col:nth-child(3) { width: 34.50%; } */
.header-section .header-inner .header-top .top-col:nth-child(4) { width: 33.33%; }
.header-section .header-inner .header-top .top-col:nth-child(2) a span { display: none; }
.header-section .header-inner .header-top .top-col:nth-child(2) a { background: #ED1C24; padding: 20px 10px; border-radius: 5px; }
.header-section .header-inner .header-top .top-col a:hover { color: #ED1C24; }
.header-section .header-inner .header-top .top-col a:hover span svg { fill: #fff; }
.header-section .header-inner .header-top .top-col:nth-child(2) a:hover { background: #fff; }
.header-section .header-inner .header-menu { width: auto; display: inline-block; margin-top: 15px; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul { display: flex; padding: 0; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul > li { position: relative; list-style: none; padding: 0 0 0 30px; line-height: 0; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul > li a { font-family: Open Sans, sans-serif; font-size: 14px; font-weight: 700; line-height: 30px; color: #fff; width: 100%; display: inline-block; transition: opacity .3s ease-in-out, color .3s ease-in-out; letter-spacing: 1px; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul li a:hover { color: #ed1c24; }
.header-section .header-inner a#menu-icon { display: none; }

.header-section .header-inner .header-logo { width: 153px; height: 97px; display: inline-block; margin: 0; }
.header-section .header-inner .header-logo a { width: 100%; display: inline-block; }
.header-section .header-inner .header-logo a img { width: 100%; display: inline-block; object-fit: contain; object-position: center; }
.header-section .header-inner .header-right { width: auto; display: inline-block; margin-right: 0; }

.header-section .header-inner .megamenu { position: absolute; opacity: 0; visibility: hidden; background-color: #fff; border: 1px solid #ccc; width: 900px; display: none; padding: 15px 10px; top: 100%; z-index: -1; left: 50%; right: 50%; transform: translateX(-50%); }
.header-section .header-inner .megamenu .megamenu-inner { width: 100%; display: flex; align-items: flex-start; justify-content: flex-start; }
.header-section .header-inner .megamenu .menu-part { width: 100%; display: inline-block; width: 300px; border-left: 1px solid #ccc; padding: 0 10px; }
.header-section .header-inner .megamenu .menu-part ul { width: 100%; padding: 0; margin: 0; display: inline-block; line-height: 0; vertical-align: top; }
.header-section .header-inner .megamenu .menu-part ul li { width: 100%; display: inline-block; line-height: 0; vertical-align: top; margin: 0; padding: 0; }
.header-section .header-inner .megamenu .menu-part ul li a { width: 100% !important; display: inline-block; color: #777; padding: 6px 9px; font-weight: 600; line-height: 16px; margin: 0; -webkit-transition: color .3s ease-in-out; -moz-transition: color .3s ease-in-out; -ms-transition: color .3s ease-in-out; -o-transition: color .3s ease-in-out; transition: color .3s ease-in-out; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.header-section .header-inner .megamenu .menu-part strong { width: 100%; display: inline-block; font-size: 15px; color: #000; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; padding: 6px 9px; height: auto; line-height: 16px; margin-bottom: 7px; }
.header-section .header-inner .megamenu .menu-part:first-child { border-left: none; }
.header-section .header-inner .megamenu .menu-part ul li a:hover { color: #ccc; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul li:hover .megamenu { display: inline-block; z-index: 9; opacity: 1; visibility: visible; }
.header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(2) a, .header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(7) a , .header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(8) a { color: red; }
.header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(2) a:hover, .header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(7) a:hover , .header-section .header-inner .megamenu .menu-part:first-child ul li:nth-child(8) a:hover { opacity:0.5; }
.header-section .header-inner .header-menu .hs-menu-wrapper > ul > li a i { display: none; }
.header-section .megamenu {  display: none; }


@media(max-width:1199px){
  .header-section .header-inner .header-menu .hs-menu-wrapper ul li { padding: 0 0 0 15px; }
  .header-section .header-inner .header-top .top-col:nth-child(2) { padding-right: 15px; }
/*   .header-section .header-inner .header-top .top-col:nth-child(3) { width: 36.5%; } */
  .header-section .header-inner .header-top .top-col:first-child a { margin: 0 15px 0 auto; }
  .header-section .header-inner .megamenu { left: 26%; right: 26%; transform: translateX(-28%); }
}

@media(max-width:991px){
  .header-section .header-inner .header-menu ul { background:#034ea2; flex-direction: column; }
  .mobile-open .mobile-trigger i { background: transparent; }
  .mobile-open .mobile-trigger i:before { top: 0; transform: rotate(45deg); background: #fff; }
  .mobile-open .mobile-trigger i:after { top: 0; transform: rotate(-45deg); background: #fff; }
  .header-section .header-inner .header-menu ul li { padding: 0 !important; margin: 0; }
  .header-section .header-inner .header-menu ul li a { padding: 10px 16px; color:#fff; }
  .header-section .header-inner .header-menu { display: inline-block; position: absolute; top: 100%; left: 0; right: 0; padding: 0; margin: 0; }
  .header-section { position: relative; z-index: 99; }
  .header-section .header-inner .btn-grp { display: none; }
  .header-section .header-inner .header-menu ul li:last-child{ display: inline-block; }
  .header-section .header-inner .header-menu ul li:nth-last-child(2){ display:inline-block; }
  .mobile-open .mobile-trigger { border-color: #002D3C; }
  .mobile-trigger {border: none;border-radius: 0;right: 15px;background: #034ea2;padding: 13px 14px 14px;color: #fff; top: -60px; }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after { color: #fff; background-color: #fff; }
  .header-section .hs-menu-wrapper.flyouts .hs-menu-children-wrapper { visibility: unset; }
  .header-section .header-inner .header-menu ul li:hover ul.hs-menu-children-wrapper { visibility: unset; }
  .header-section .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper { margin-top: 0; background: unset; border-radius: unset; box-shadow: unset; padding: 0; }
  .header-section .header-inner .header-top { display: none; position: absolute; line-height: 0; width: 100%; height: auto; background: #034ea2; top: 100%; left: 0; right: 0; padding: 20px 16px; margin: 0;}
  .header-section .container { width: 100%; padding: 0 15px; }
  .header-section .header-inner .header-top.open { line-height: 0; display: inline-block; position: absolute; width: 100%; height: auto; background: #034ea2; top: 100%; left: 0; right: 0; padding: 20px 16px; margin: 0; }
  .header-section .header-inner a#menu-icon i.fa.fa-home { color: #fff; font-size: 30px; line-height: 30px; }
  .header-section .header-inner a#menu-icon { margin: 0 70px 0 0; display: inline-block; width: auto; padding: 6px 12px; background: #034ea2; }
  .header-section .header-inner .header-top .top-col { width: 100% !important; margin-bottom: 15px; }
  .header-section .header-inner .header-top .top-col a { margin: 0 !important; }
  .header-section .header-inner .header-logo { width: 116px; height: 77px; }
  .header-section .header-inner { padding-bottom: 0; }
  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after { background: #fff; }
  .mobile-open .mobile-trigger:hover i { background: transparent; }

  .header-section .header-inner .megamenu { display: none; transform: unset; max-width: 100%; width: 100%; position: unset; }
  .header-section .header-inner .header-menu .hs-menu-wrapper > ul > li a { width:auto; display:  inline-block; }
  .header-section .header-inner .megamenu .megamenu-inner { flex-wrap: wrap; }
  .header-section .header-inner .megamenu .menu-part { width: 100%; padding: 0; border: none; padding:0; }
  .header-section .header-inner .megamenu .menu-part ul { background: transparent; /* line-height: 1.2; */ }
/*   .header-section .header-inner .megamenu .menu-part ul li { line-height:1.2; } */ 
  .header-section .header-inner .header-menu .hs-menu-wrapper > ul > li.open-menu .megamenu { visibility: visible; display: block; opacity: 1; padding: 0 0 15px 0; }
  .header-section .header-inner .header-menu .hs-menu-wrapper > ul > li a i { margin: 0; font-size: 20px; font-weight: bold; width: 30px; height: 50px; position: absolute; top: 0; right: 15px; display: flex; align-items: center; justify-content: center; z-index: 9999; transform: rotate(0deg); transition: 0.3s ease-in-out; }
  .header-section .header-inner .header-menu .hs-menu-wrapper > ul > li a:hover i { color: #fff; }
  .header-section .header-inner .header-menu .hs-menu-wrapper > ul > li.open-menu a i { transform: rotate(90deg); }
  .header-section .header-inner .megamenu .menu-part strong { position: relative; margin:0; padding: 10px 10px; line-height: 26px; }
  .header-section .header-inner .megamenu .menu-part .hs-menu-wrapper { display: inline-block; }
  /*   .header-section .header-inner .megamenu .menu-part strong:after { content: ''; position: absolute; top: 18px; right: 14px; border-right: 1px solid black; border-top: 1px solid black; height: 7px; width: 7px; transform: rotate(45deg); } */
  /*   .header-section .header-inner .megamenu .menu-part strong.active:after {  transform: rotate(133.5deg); } */
  /*   .header-section .header-inner .megamenu .menu-part .hs-menu-wrapper { display: inline-block; } */

}




