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


 /* Set ul background color */
 /* Set li background Color */
 /* Set link Color */
 /* Set link Hover Color */

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

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

/* Override max width on menu links */
.custom-menu-primary.new .hs-menu-wrapper > ul li a, 
.custom-menu-primary.new .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;
}

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

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

@media (max-width: 767px){


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

     /* Set Mobile Menu Background Color */
        /* Set Link Color */
   /* 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.new,
  .custom-menu-primary.new .hs-menu-wrapper > ul,
  .custom-menu-primary.new .hs-menu-wrapper > ul li,
  .custom-menu-primary.new .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:#2b2b2b;
  }


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

  .custom-menu-primary.new .mobile-trigger {
    display:  inline-block!important; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: 0;          /* Position Button at right of screen  */
    right: -5%;        /*******************************************/
    width: 50%; /* Button width */
    height: 65px; /* Button height */      
    padding: 7px 10px 8px 10px;
    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: #e1e1e1!important; 
    opacity: 0;
    z-index: 99
  }
  .custom-menu-primary.new .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color: transparent!important;
    background-color: #e1e1e1!important; 
    border-color: transparent;
  }

  /* Change button when menu is open */
  .custom-menu-primary.new .mobile-open .mobile-trigger{
    color:#518dcb;
    background-color: #e1e1e1!important; 
    border-color: transparent;
  }
  
  .close-animate-icon.mobile-trigger {
    display: block;
    position: absolute!important;
    top: 30px;
    right: 13%;
    border: none!important;
    background-color: transparent!important;
    z-index: 0;
  }
  .close-animate-icon.mobile-trigger span {
    position: absolute; 
    width: 35px;
    height: 2px;
    background-color: #2b2b2b;
    transition: .3s!important;
    -webkit-transition: .3s!important;
    -moz-transition: .3s!important;
    -ms-transition: .3s!important;
    -o-transition: .3s!important;
  }

  .close-animate-icon.mobile-trigger span.t {
    top: 0;   
  }
  .close-animate-icon.mobile-trigger span.m {
    top: 10px;   
  }
  .close-animate-icon.mobile-trigger span.b {
    top: 20px;  
  }

  .close-animate-icon.mobile-trigger.active span.t {
    transform: translateY(10px) rotate(-135deg);
    -webkit-transform: translateY(10px) rotate(-135deg);
    -moz-transform: translateY(10px) rotate(-135deg);
    -ms-transform: translateY(10px) rotate(-135deg);
    -o-transform: translateY(10px) rotate(-135deg);
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition-duration: 0s;
    -ms-transition: .3s;
    -o-transition: .3s;
    width: 32px;
    border-radius: 3px;
  }
  .close-animate-icon.mobile-trigger.active span.m {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition-duration: 0s;
    -ms-transition: .3s;
    -o-transition: .3s;
    width: 32px;
    border-radius: 3px;
  }
  .close-animate-icon.mobile-trigger.active span.b {
    top: 10px; 
    opacity: 0;
    transition: 0s;
    -webkit-transition: 0s;
    -moz-transition-duration: 0s;
    -ms-transition: 0s;
    -o-transition: 0s;
  }


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

  .custom-menu-primary.new .mobile-trigger i{
    display: none;
    position: relative;
    top: -4px;
  }
  .custom-menu-primary.new .mobile-trigger i:before, .custom-menu-primary.new .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .custom-menu-primary.new .mobile-trigger i, .custom-menu-primary.new .mobile-trigger i:before, .custom-menu-primary.new .mobile-trigger i:after{
    width: 35px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: #2b2b2b; /* Icon color */
    display: inline-block;
  }
  .custom-menu-primary.new .mobile-trigger i:before{
    top: -10px; /* Position top line */
  }
  .custom-menu-primary.new .mobile-trigger i:after{
    top: 10px; /* Position bottom line */
  }
  .child-trigger i, .child-trigger i:after {
    background-color: transparent!important;  
  }
  
  .custom-menu-primary.new .mobile-trigger:hover i, .custom-menu-primary.new .mobile-trigger:hover i:before, .custom-menu-primary.new .mobile-trigger:hover i:after,  
  .custom-menu-primary.new .mobile-open .mobile-trigger i, .custom-menu-primary.new .mobile-open .mobile-trigger i:before, .custom-menu-primary.new .mobile-open .mobile-trigger i:after{
      background-color: #2b2b2b; /* Icon color */
  }


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

  .custom-menu-primary.new .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 10px;
    right: 70px;
    width: 55px !important; /* Button width */
    min-width: 55px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    border: none!important;
    transition: .35s;
    -webkit-transition: .35s;
    -moz-transition: .35s;
    -ms-transition: .35s;
    -o-transition: .35s;
    
  }
  .custom-menu-primary.new .child-trigger:hover{
    text-decoration: none;
  }
  .custom-menu-primary.new .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
  }
  .custom-menu-primary.new .child-trigger i:after{
    transform: rotate(0)!important;
    -webkit-transform: rotate(0)!important;
    -moz-transform: rotate(0)!important;
    -ms-transform: rotate(0)!important;
    -o-transform: rotate(0)!important;
    position: absolute;
    content: url("//cdn2.hubspot.net/hubfs/1550950/menu-arrow-down.png");
  }
  .custom-menu-primary.new .child-trigger i, .child-trigger i:after{
    width: 10px; /* Icon line width */
    height: 1px; /* Icon line height */
    background-color: transparent; /* Icon color */
    display: block;

  }
  .custom-menu-primary.new .child-trigger i:after{

  }
  .custom-menu-primary.new .child-trigger.child-open i:after{
  }
  .custom-menu-primary.new .child-trigger.child-open i{
    -webkit-transform: translateY(10px) rotateX(180deg);
    -moz-transform: translateY(10px) rotate(180deg);
    -ms-transform: translateY(10px) rotate(180deg);
    -o-transform: translateY(10px) rotate(180deg);
    transform: translateY(10px) rotateX(180deg);
    transition: .35s;
    -webkit-transition: .35s;
    -moz-transition: .35s;
    -ms-transition: .35s;
    -o-transition: .35s;
  }

    
  /* Menu Styles on Mobile Devices
     ========================================================================== */  
     
   .custom-menu-primary.new.js-enabled{
       position: relative;
       padding-top: 44px; /* Makes room for button */
       margin: 10px 0 10px 0;
   }

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

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

  /* Mobile Menu Styles */ 
  .custom-menu-primary.new.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.new .hs-menu-wrapper{
    background-color:#e1e1e1!important; /* Menu background color set off global menuColorMobile variable */
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
   .custom-menu-primary ul {
        position: relative;
        float: none !important;
   }
  .custom-menu-primary.new .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    padding-top: 145px;
    z-index: 12;
  }
  .custom-menu-primary.new  .hs-menu-wrapper > ul > li a{
    font-size: 18px; /* Font size of top level list items */
    padding: 25px 0;
    line-height: 1.35;
    overflow: visible;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary.new  .hs-menu-wrapper li.active {
    background-color: #cecece;
  }
  .custom-menu-primary.new  .hs-menu-wrapper li.no-border a {
    border-bottom: none!important;

  }
  .custom-menu-primary.new  .hs-menu-wrapper > ul > li{
    display: block;
  }
  .custom-menu-primary.new  .hs-menu-wrapper li.hs-menu-depth-1 > a {
    border-bottom: solid 1px #2b2b2b;
    display: block;
    margin-left: 7%;
    width: 83%!important;
  }
   .custom-menu-primary.new  .hs-menu-wrapper .hs-menu-depth-2 > ul {
    display: block;
  }
  .custom-menu-primary.new  .hs-menu-wrapper >  ul li a{
    color:#2b2b2b; 
  }
  .custom-menu-primary.new  .hs-menu-wrapper > ul li a:hover{
    color:#518dcb; 
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary.new  .hs-menu-wrapper > ul ul li{
    position: relative
  }
  .custom-menu-primary.new  .hs-menu-wrapper > ul ul li a{
    font-size: 16px; /* Font size of child lists */
  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary.new  .hs-menu-wrapper > ul ul ul li a{
  }
  .custom-menu-primary.new  .hs-menu-wrapper > ul ul ul ul li a{
  }

/* STANDARDS OVERRIDES */
.custom-menu-primary.new  .hs-menu-wrapper>ul li a {
    width: 100%!important;
    font-family: Georgia;
    font-style: italic;
}
.custom-menu-primary.new  .hs-menu-wrapper>ul ul > li a {
    margin: 0!important;
}
.custom-menu-primary.new  .hs-menu-wrapper>ul ul ul > li a {
    margin: 0!important;
}
.custom-menu-primary.new  .hs-menu-wrapper>ul ul > li {
    
}
.custom-menu-primary.new  .hs-menu-wrapper>ul ul ul > li {
   
}
.custom-menu-primary.new  .hs-menu-wrapper>ul ul li {
    position: relative!important;
}
.custom-menu-primary.new  .hs-menu-wrapper> ul ul {
    margin-bottom: 45px;
    padding-left: 12%;
    background-color: #cecece;
}
.custom-menu-primary.new  .hs-menu-wrapper> ul ul ul {
    margin-bottom: 45px;
    padding-left: 15px;
}
.span12.widget-span.widget-type-cell.menu-bar {
    position: relative;
    background-color: #e1e1e1!important;
    padding-bottom: 17px;
}
.span12.widget-span.widget-type-cell.menu-bar .page-center {
    padding: 0;
}
.span12.widget-span.widget-type-cell.menu-bar:before {
    content: "MENU";
    color: #2b2b2b;
    font-family: 'Georgia';
    font-style: italic;
    font-size: 24px;
    position: absolute;
    top: 23px;
    left: 7%;
}
.mobile-menu-google {
    position: absolute!important;
    top: 95px!important;
    width: 100%!important;
    z-index: -1!important;
    opacity: 0;
    transition: 0s!important;
    -webkit-transition: 0s!important;
    -moz-transition: 0s!important;
    -ms-transition: 0s!important;
    -o-transition: 0s!important;
}
.mobile-menu-google.active {
    z-index: 999999!important;
    opacity: 1;
    transition: 1s!important;
    -webkit-transition: 1s!important;
    -moz-transition: 1s!important;
    -ms-transition: 1s!important;
    -o-transition: 1s!important;
}
.mobile-menu-google .hs-button.primary {
    top: 0 !important;
    position: absolute !important;
    margin: 0 !important;
    right: 0 !important;
    left: auto !important;
    opacity: 0;
    z-index: 99!important;
    width: 80px!important;
    height: 52px!important;
    border-radius: 30px!important;
    opacity: 0!important;
}
.mobile-menu-google .hs-form {
    margin: 0!important;
}
.mobile-menu-google .input {
    position: relative !important;
    width: 84% !important;
    height: 40px !important;
    margin-left: 6%;
}
.mobile-menu-google input[type="text"] {
    width: 100%!important;
    height: 52px!important;
    background: #fff!important;
    border-radius: 0!important;
    border-radius: 30px!important;
    top: 0!important;
    left: 0!important;
    margin: 0 auto!important;
    right: 0!important;
    padding-left: 65px!important;
    font-size: 18px;
    color: #2b2b2b;
    letter-spacing: 1px;
    font-family: 'Georgia';
}
.mobile-menu-google .input:before {
    position: absolute;
    top: 0;
    left: 0;
    content: url("//cdn2.hubspot.net/hubfs/1550950/search-icon.png");
    height: 52px;
    width: 52px;
    z-index: 99;
}
.mobile-menu-google .input:after {
    position: absolute;
    top: 14px!important;
    right: 25px!important;
    content: url("//cdn2.hubspot.net/hubfs/1550950/go-arrow.png?t=1456374743902");
    z-index: 90;
    opacity: 1!important;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    float: none!important;
}
.custom-menu-primary a {
    color: #2b2b2b!important;
}
.custom-menu-primary ul > {
    color: #2b2b2b!important;
}
.custom-menu-primary .hs-menu-wrapper>ul ul li a:hover, .custom-menu-primary .hs-menu-wrapper>ul ul li.active a {
    background-color: transparent!important;
}
.span12.widget-span.widget-type-cell.menu-bar.active {
    padding-bottom: 60px;
}
}
.header-container .widget-type-google_search .input.active:after {
    opacity: 1;
}
@media (min-width: 767px) {
    
    .mobile-menu-google {
        display: none!important;
    }
    
} 

@media (max-width: 767px) {
    .menu-bar {
        background: none!important;
    } 
    .custom-menu-primary.new  .hs-menu-wrapper li.hs-menu-item.hs-menu-depth-2 > a {
    width: 60%!important;
  }
}
@media (max-width: 480px) {
    .custom-menu-primary.new .child-trigger {
        right: 30px!important;
    }
}


    
    
