/* ==========================================================================
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:992px) {
  .custom-menu-primary .hs-menu-wrapper { 
    display:block !important;
  }
}




/* ==========================================================================
Mobile Menu - Hubspot Standard Toggle Menu
========================================================================== */


/**
* Special Note
*
* When the menu is open, a class of .mobile-open is applied to the body. You can 
* use this for custom styling on any element when the menu is in the open position.                     
*/

.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 */

  /* 
  * Menu Reset
  *
  * Remove styling from desktop version of custom-menu-primary. Place any 
  * additional CSS you want removed from the mobile menu in this reset 
  */

  .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: -60px;          /* Position Button at right of screen  */
    right: 10px;      
    width: auto; 
    height: auto;      
    padding: 7px 10px 8px 10px;
    background: transparent; 
    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: 1px; /* Icon line height */
    background-color:; /* 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 { background: #f5f5f5; display: block; padding: 20px 0; }
.header .head-inner { display: flex; align-items: center; justify-content: space-between; }
.header .head-inner .header-left { gap: 46px; display: flex; justify-content: center; align-items: center; }
.header .head-inner .header-left .logo { max-width: 170px; width: 100%; }
.header .head-inner .header-left .logo img { vertical-align: bottom; width: 100%; height: 100%; }
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper { width: fit-content; box-shadow: 0 4px 8px 0 rgb(0 0 0 / 65%), 0 6px 20px 0 rgb(0 0 0 / 56%); padding: 8px 12px 21px; }
.header .head-inner .header-left .main-menu .hs-menu-wrapper ul { gap: 24px; }
.header .head-inner .header-left .main-menu .hs-menu-wrapper ul li a { font-size: 18px; font-weight: 500; color: #216F2E; }
.header .head-inner .header-left .main-menu .hs-menu-wrapper ul li.hs-item-has-children a::after { content: "\f078"; font-family: fontAwesome; position: relative; font-size: 12px; padding: 0 8px; }
.header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper { gap: 0; background-color: #fff; position: absolute; z-index: 99999; width: 100%; }
.header .head-inner .header-left .main-menu ul li:nth-last-child(1), .header .head-inner .header-left .main-menu ul li:nth-last-child(2), .header .head-inner .header-left .main-menu ul li:nth-last-child(3) { display: none; }
.header .head-inner .header-left .main-menu ul ul li.hs-menu-item.hs-menu-depth-2 { display: flex; }
.header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper li a { font-size: 16px; color:#216F2E; font-weight: 500; }
.header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper li { font-size: 16px; color: #216F2E; margin: 6px 0 0; border-radius: 4px; border: 1px solid transparent; padding: 4px 10px; }
.header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper li:hover { background: rgba(33, 111, 46, 0.1); border: 1px solid #216f2e; }
.header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper li a::after { content: none !important; }
.header .head-inner .header-right { display: flex; align-items: center; gap: 15px; }
.header .head-inner .header-right .search-bar a>img { vertical-align: middle; }
.header .head-inner .header-right .search-bar .search-input { display: none; position: absolute; z-index: 999; width: fit-content; background: #f5f5f5; padding: 12px; border-radius: 5px; box-shadow: 0 4px 8px 0 rgb(0 0 0), 0 6px 20px 0 rgb(0 0 0 / 81%); top: 135px; left: 48%; gap: 10px; }
.header .head-inner .header-right .search-bar .search-input button.ser-sub { padding: 5px 20px; background: #216F2E; border: 2px solid transparent; }
.header .head-inner .header-right .search-bar .search-input button i.fa.fa-search { font-size: 22px; }
.header .head-inner .header-right .search-bar .search-input form { background: none; margin: 0; padding: 0; width: 100%; display: flex; align-items: center; gap: 10px; }
.header .head-inner .header-right .search-bar .search-input form input, .header .head-inner .header-right .search-bar .search-input form input:hover, .header .head-inner .header-right .search-bar .search-input form input:focus { width: 100%; max-width: 260px; padding: 7px 12px; font-size: 16px; color: #216F2E; border: 2px solid #216F2E; border-radius: 5px; outline: none; }
.header .head-inner .header-right .search-bar .search-input form input::placeholder { font-size: 16px; color: #216F2E; }
.header .head-inner .header-right .search-bar .search-input form input.hs-button.primary.large { padding: 17px 20px; font-size: 16px; font-weight: 500; color: white; border: 2px solid #216F2E; line-height: 0; background: #216F2E; }
.header .head-inner .header-right .search-bar .search-input h3.form-title { display: none; }
.header .head-inner .header-right .search-bar .search-input form .hs-form-field { margin-bottom: 10px; }
.header .head-inner .header-right .search-bar .search-input .submitted-message { background: transparent; color: #216F2E; font-size: 18px; line-height: 40px; }
.header .head-inner .header-right .search-bar .search-input .hs-error-msg, .header .head-inner .header-right .search-bar .search-input label.hs-main-font-element, .header .head-inner .header-right .search-bar .search-input ul.no-list.hs-error-msgs, .header .head-inner .header-right .search-bar .search-input .hs_error_rollup { display: none; }
.header .head-inner .header-right .contact-btn a.con-btn {font-size: 18px; color: #216F2E; font-weight: 600; line-height: 2; }
.header .head-inner .header-right .main-cta { gap: 10px; display: flex; align-items: center; justify-content: center; width: fit-content; }
.header .head-inner .header-right .main-cta a.primary-cta { border: 2px solid #216F2E; border-radius: 5px; padding: 5px 16px; width: fit-content; font-size: 18px; font-weight: 600 !important; color: #216F2E; background: transparent; }
.header .head-inner .header-right .main-cta a.primary-cta:hover, .header .head-inner .header-right .main-cta a.primary-cta:focus { background: #216F2E; color: #fff; }
.header .head-inner .header-right .main-cta a.secondary-cta { font-size: 18px; background: #216F2E; color: #fff; padding: 5px 20px; border: 2px solid #216F2E; border-radius: 5px; width: fit-content; font-weight: 600 !important; }
.header .head-inner .header-right .main-cta a.secondary-cta:hover, .header .head-inner .header-right .main-cta a.secondary-cta:focus { color: #216F2E; background: transparent; }
.header { transition: transform 0.5s ease, top 0.5s ease; position: relative; z-index: 999; width: 100%; }
.header.hidden { transform: translateY(-100%); }
.header.fixed { position: fixed; top: 0; }


@media (max-width:991px) {
  .header .head-inner .header-right { display: none; }
  .header .head-inner .header-left { justify-content: space-between; width: 100%; }
  .mobile-trigger i, .mobile-trigger i:after, .mobile-trigger i:before { background-color: #216F2E !important; }
  .mobile-trigger { top: -7px; right: 25px; padding: 0; }
  .custom-menu-primary.js-enabled { width: 100%; height: 100%; margin: 0; position: absolute; top: 50px; left: 0; }
  .custom-menu-primary.js-enabled .hs-menu-wrapper { width: 100%; padding: 0 12px 10px; background-color: #f5f5f5; }
  .header .head-inner .header-left .main-menu ul li:nth-last-child(1), .header .head-inner .header-left .main-menu ul li:nth-last-child(2), .header .head-inner .header-left .main-menu ul li:nth-last-child(3) { display: block; }
  .header .head-inner .header-left .logo { max-width: 140px; }
  .header .head-inner .header-left .main-menu .hs-menu-wrapper ul li.hs-item-has-children a::after { content: none; }
  .child-trigger i, .child-trigger i:after { background-color: #216F2E; }
  .header .head-inner .header-left .main-menu ul ul li.hs-menu-item.hs-menu-depth-2 { padding: 0; }
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper { width: 100%; box-shadow: none; padding: 8px 12px 15px; background: #fff; }
  .header .head-inner .header-left .main-menu ul ul.hs-menu-children-wrapper li a { font-size: 15px; width: 100% !important; }
}