.page-center1 {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    float: none !important;
}
.terrific-header-outer {
    padding: 18px 20px;
    position: fixed;
    background-color: #fff;
    left: 0;
    z-index: 9999;
    width: 100%;
    float: none;
  box-shadow: 0px 5px 8px #00000014 !important;
 
}



.terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li a {
    font-size: 16px;
    line-height: 45px;
    font-weight: 400;
    color: #494c4f !important;
}
.logo a img {
    max-width: 100%;
    vertical-align: middle;
}
.terrific-header-outer a.logo-name {
    margin: 0;
    color: black;
    font-family: sans-serif;
    font-size: 16px !important;
    line-height: 29px !important;
    font-weight: 720;
    vertical-align: middle;
}


.terrific-header-outer .logo-outer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.terrific-header-outer .menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: no-wrap;
    flex: 0 20%;
}
.logo a img {
    max-width: 100%;
    width:35px !important;
}
.terrific-header-outer .button {
    flex: 0 20%;
}
/* .terrific-header-outer .terrific-menu {
    flex: 0 60%;
} */
.terrific-header-outer .logo{
    flex: 0 20%;
}
.terrific-header-outer .menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

@media (min-width: 1001px) {
  .terrific-header-outer .menu-bar {
    flex: 0 824px;
  }
}

@media (max-width: 1000px) {
  .terrific-header-outer .menu-bar {
    flex: unset;
  }
}

.terrific-header-outer .logo-name a p {
    margin: 0;
}

.terrific-header-outer .hs-menu-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding-left: 0;
  background-color: #fff;
}

li.hs-menu-item.hs-menu-depth-1 {
    padding: 0 27px;
}
.terrific-header-outer .terrific-mind-button a {
    color: #fff !important;
  border-radius:4px !important;
    display: inline-block;
    font-size: 16px !important;
    line-height: 29px;
    padding: 7px 25px 7px !important;
    text-decoration: none;
    transition: all .2s;
    background-color: black !important;
    font-weight: 400;
    letter-spacing: .3px;
  font-size:16px;
}


.terrific-header-outer .terrific-mind-button a:hover {
    background:red!important;
    color: #fff!important;
  border:none !important;
}
.terrific-header-outer .hs-menu-wrapper ul li:hover a{
    color: black !important;
}
.terrific-header-outer .hs-menu-wrapper ul li:active a{
    color: black !important;
}
/* .terrific-header-outer .hs-menu-wrapper  ul li:first-child a{
color:black;

} */

.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  color:#FFFFFF;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  color:#333333 !important;
}

/* 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: 140px !important;
}

@media screen and (max-width: 1080px){
a.logo-name {
    display: none !important;
}
}

/* Fix menu disappearing on desktop after toggling mobile menu */
@media screen and (min-width:1001px) {
      .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 screen and (max-width: 1000px){

  
}

@media (max-width: 1000px){


  /* 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: 10px;
    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:#333333;
  }

.custom-menu-primary .hs-menu-wrapper > ul li {
    border: none !important;
    padding: 10px 12px;
} 
/*   .custom-menu-primary .hs-menu-wrapper>ul {
    padding: 15px !important;
} */
  
  .custom-menu-primary .hs-menu-wrapper > ul > li a {
    font-size: 22px;
    line-height: 20px;
    overflow: visible;
}
.terrific-header-outer  .custom-menu-primary.js-enabled .hs-menu-wrapper {
    width: 100%;
    position: relative;
    top: 60px;
    left: 0;
    z-index: 99999;
    background-color: white !important;
}
  /* Toggle Button
    ========================================================================== */

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

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


  /* 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: 26px; /* Icon line width */
    height: 3.5px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: black; /* Icon color */
    display: inline-block;
  }
  .mobile-trigger i:before{
    top: -7px; /* Position top line */
    height:3.4px !important;
  }
  .mobile-trigger i:after{
    top: 7px; /* Position bottom line */
    height:3.2px !important;
  }
  .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: black; /* Icon color */
  }


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

  .child-trigger{
  // display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    //top: -22px;
    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: absolute;
        padding-top: 0px;
        margin: 0px 0 0px 0;
        top: 7px;
        width: 100%;
        left: 0;
        min-height: 0;
    }

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

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

  /* Mobile Menu Styles */
  .terrific-header-outer .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative; /**************************************************************/
    top: 60px;            /* Positions the menu to drop from the very top of the screen */
    left: 0;          /**************************************************************/
    padding: 0px 5px;
    z-index:99999;
  }
 .terrific-header-outer .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 */
 .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
  }
 .terrific-header-outer .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 */
/*  .terrific-header-outer  .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 */
  } */
 .terrific-header-outer .custom-menu-primary .hs-menu-wrapper >  ul li a{
    padding: 0 10px;
    color:#494c4f!important;; /* link color set by global mobile-aColor variable */
  }
 .terrific-header-outer .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 */
 .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul ul li{
    background-color: rgba(255, 255, 255, .08);
  }
  .terrific-header-outer .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 */
 .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
    text-indent: 30px; /* Indent Child lists */
  }
 .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a{
    text-indent: 50px; /* Indent Child lists */
  }
  .header-inner .row-fluid-wrapper .row-fluid {
    display: block;
  }
  .header-menu .hs-menu-wrapper ul li.hs-menu-depth-1 {
    padding: 10px 20px;
    text-align: left;
    display: block;
    border:none !important;
    box-sizing: border-box;
  }
  .header-menu .hs-menu-wrapper ul li.hs-menu-depth-1 a {
    font-size: 14px;
    color: #fff !important;
  }
  .header-menu .hs-menu-wrapper ul li.hs-menu-depth-1 ul li a {
    font-size: 12px;
    text-align: left;
  }
  .header-menu .hs-menu-wrapper ul li.hs-menu-depth-1 ul li {
    border:none !important;
    padding: 8px 0 5px;
  }
  .custom-menu-primary ul.hs-menu-children-wrapper{
  padding:10px 0;
  }
  .mobile-open .mobile-trigger i:after{
    content:none !important;
  }
  .mobile-trigger i,.mobile-trigger i:before{
    transform: rotate(0deg);
    transition: .8s all;
  }
  .mobile-open .mobile-trigger i{
    transform: rotate(47deg);
    transition: .8s all;
    height: 3.4px
  }
  .mobile-open .mobile-trigger i:before{
    transform: rotate(-96deg);
    transition: .8s all;
    top: 0px;
  }
/*   .custom-menu-primary .hs-menu-wrapper > ul li {
    border-top: 1px solid rgba(0, 0, 0, .1) !important;
} */
.header-cta-wrap {
    padding-right: 20px;
}
  .header-menu-wrap.custom-menu-primary.js-enabled {
    order: 2;
}
 
button.hamburger.hamburger--spring {
    opacity: 0;
}

@media (max-width: 1000px){
  .terrific-header-outer .terrific-mind-button {
    margin-right: 70px;
}
}
@media screen and (max-width: 767px){
.terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li{
    padding:18px 10px !important;
  }
.terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li a {
    font-size: 18px !important;
    line-height: 20px !important;
    overflow: visible;
}
  
  .terrific-header-outer .terrific-mind-button a {
    padding: 5px 12px 5px !important;
    font-size: 17px;
}
 .logo a img {
   
    width: 30px !important;
}
}
@media screen and (max-width: 480px){
  
.terrific-header-outer {
    padding: 15px 15px 15px 10px;
}
.mobile-trigger {
    top: 12px !important;
}
  .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li {
    padding: 15px 13px !important;
}
  .terrific-header-outer .custom-menu-primary .hs-menu-wrapper > ul > li a {
    font-size: 16px !important;
    
}
/* .terrific-header-outer  .custom-menu-primary.js-enabled .hs-menu-wrapper {
    top: 40px;
  }
   */
   .terrific-header-outer .terrific-mind-button a {
    padding: 5px 12px 5px !important;
}
  


}
@media screen and (max-width: 390px){
  .custom-menu-primary.js-enabled .hs-menu-wrapper {
    top: 51px;
}
  .terrific-header-outer .logo {
    flex: 0 12%;
}
  .terrific-header-outer .menu-bar {
    flex: 0 76%;
}
  .terrific-header-outer .terrific-mind-button {
    margin-right: 50px;
}
}
