*{ box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; }

.navigation a{ transition:all ease 0.3s; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a{ max-width:100%; text-overflow: inherit; }

.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a{ margin:0; width:auto; padding: 10px 20px !important; color: #3d949f; text-transform: capitalize; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper{ background-color:#ececec; text-align: left; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li ul li:hover{ background-color: transparent; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li > a{ margin:0; padding:1.3rem !important; vertical-align: middle; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li:hover a, .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-2 ul.hs-menu-children-wrapper li:hover a,
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.active a, .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-2 ul.hs-menu-children-wrapper li.active a
  { color:#000; } 

.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-2 ul.hs-menu-children-wrapper{ position:static; opacity: 1; visibility: visible ; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-2 ul.hs-menu-children-wrapper li a{ color:#000000; padding:10px 20px !important; line-height:1.2; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.hs-menu-depth-1 > ul.hs-menu-children-wrapper{ padding:10px 0px; min-width:300px; }   
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1{ display:inline-block; margin-right:-4px; float:none; vertical-align:middle;  }


.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:last-child:hover{ background-color: transparent; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:last-child{ padding-left:20px; }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:last-child a{ background-color:#8ec96f; padding: 10px 30px !important; vertical-align: middle; display: inline-block; border-radius: 5px;  }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:last-child:hover a{ background-color:#fff; color:#8ec96f;  }

.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper{ z-index: -1;}
.navigation li.hs-menu-item.hs-menu-depth-1.hs-item-has-children:hover .hs-menu-children-wrapper { z-index: 10; }

span.expandMenu i{ margin:0; }      


.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:nth-child(3) > ul.hs-menu-children-wrapper > li:last-child a{  color:#1f4998 }
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:nth-child(2) > ul.hs-menu-children-wrapper > li > a{ color:#000; font-weight:700; }
/* .navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:nth-child(2) > ul.hs-menu-children-wrapper > li > a:hover{ color:#3d949f; } */
.navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:nth-child(2) > ul.hs-menu-children-wrapper > li.hs-menu-depth-2 > ul > li > a{ color:#3d949f; }



@media(max-width:767px){
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li:last-child{ padding:10px 15px; }
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1{ display:block; margin-right:0; width:100%; text-align:left; }
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal > ul{ width:100%; }
  .navigation.pd-navigation-menu{ display:block !important; min-height:inherit; }
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li:last-child a{ width:auto; }
  
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-1>ul.hs-menu-children-wrapper{ padding:0;  }
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li>a{ padding:12px 20px !important; width:100%; }
  
  span.expandMenu{ width:20px; height:20px;display: inline-block; position: absolute; top: 28px; right: 15px; transform: translateY(-50%); }
  span.expandMenu i{ width:20px; height:2px; background-color:#fff; position: absolute; left: 0; top: 0; margin: 0; transition:all ease 0.3s; }
  span.expandMenu i:first-child{ top:50%; transform: translateY(-50%); }
  span.expandMenu i:last-child{ transform: rotate(90deg) translateY(-50%); top: 50%; transform-origin: top; }
  span.expandMenu.open i:last-child{ transform: rotate(180deg) translateY(-50%); }
  
  
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-1>ul.hs-menu-children-wrapper{ min-height:inherit; position:static; opacity: 1 !important; visibility: visible !important; transition:none; display:none; }
  
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-2 ul.hs-menu-children-wrapper{ display:none; }
  
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a{ padding:15px 20px !important; }
  
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-1>ul.hs-menu-children-wrapper a.child-trigger-new span,
  .navigation .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.hs-menu-depth-1>ul.hs-menu-children-wrapper a.child-trigger-new span:after{ background-color: #37949f; }
  
  .pd-logo img{ max-width:220px; }
  .login-logout .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a{ padding:0; padding-right:50px; }
}

@media(max-width:480px){
  .pd-logo img{ max-width:180px; }
}



@media (min-width: 768px){  /*  used to be 961 - need to change back? */

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

}
@media (max-width: 767px){   /* used to be 960 - need to change back?  */

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

     /* Set Mobile Menu Background Color */
        /* Set Link Color */
   /* Set Link Hover Color */
  /* Toggle Button
  ========================================================================== */

  a.mobile-trigger-new {
    display: inline-block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: 10px;          /* Position Button at top right of screen  */
    right: 10px;        /*******************************************/
    width: 28px; /* Button width */
    height: auto; /* Button height */      
    padding: 3px 0px !important;
    background: #4bb3c1; /* Background color */
    z-index: 99999999999; /* Z-index to keep button on top of other layers */
    -webkit-transition: background-color 0.2s linear; /* Button color transition effect */
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-transition:color .2s ease-in; 
    -moz-transition:color .2s ease-in;
    transition:color .2s ease-in;
    border: 1px solid #E2E2E2;
  }

  a.mobile-trigger-new:hover {
    text-decoration: none; /* Removes link text underline on button */
    color: #E2E2E2;
    border-color: #E2E2E2 !important;
  }

  a.mobile-trigger-new span{
    display: inline;
  }

  a.mobile-trigger-new span:before{
    position: absolute;
    content: 'Menu'; /* Change the text on the closed toggle button */
    display: none;
  }

  a.mobile-trigger-new span:after{
    position: relative;
    right: 2px;
    content: 'Close'; /* Change the text on the open toggle button */
    background-color: #4bb3c1;
    opacity: 0;
    transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -webkit-transition: opacity .4s ease-in-out; 
    display: none
  }

  /* Change button when menu is open */
  .mobile-open a.mobile-trigger-new{
    -webkit-transition:background-color 0.2s linear; /* Button color transition effect */
    -moz-transition:background-color 0.2s linear; /* Button color transition effect */
    transition:background-color 0.2s linear; /* Button color transition effect */
    background: transparent; /* Changes button background to be slightly darker than open menu color */  
  }

  .mobile-open a.mobile-trigger-new span:after{
    opacity: 1; 
  }
  .pd-navigation-menu.navigation .hs-menu-wrapper {
    display:none;
  }


  /* Toggle Button Icon & Animations
  ========================================================================== */

  a.mobile-trigger-new i {
    display: inline;
    position: relative;
    top: -5px;
    margin-left: 5px;
    -webkit-transition-duration: 0s;
    -webkit-transition-delay: .2s;
    -moz-transition-duration: 0s;
    -moz-transition-delay: .2s;
    transition-duration: 0s;
    transition-delay: .2s;
  }
  a.mobile-trigger-new  i:before, a.mobile-trigger-new i:after {
    position: absolute;
    content: '';
  }
  a.mobile-trigger-new  i, a.mobile-trigger-new  i:before, a.mobile-trigger-new  i:after {
    width: 15px; /* Icon line width */
    height: 2px; /* Icon line height */
    background-color: #E2E2E2; /* Icon color */
    display: inline-block;
  }
  a.mobile-trigger-new  i:before {
    margin-top: -6px; /* Position top line */
    -webkit-transition-property: margin, -webkit-transform;
    -webkit-transition-duration: .2s;
    -webkit-transition-delay: .2s, 0;
  }
  a.mobile-trigger-new  i:after {
    margin-top: 6px; /* Position bottom line */
    -webkit-transition-property: margin, -webkit-transform;
    -webkit-transition-duration: .2s;
    -webkit-transition-delay: .2s, 0;
  }
  .mobile-open a.mobile-trigger-new i {
    background-color: rgba(0,0,0,0.0);
    -webkit-transition-delay: .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger-new i:before {
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0, .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger-new i:after {
    margin-top: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition-delay: 0, .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  /* Child Toggle Button
  ========================================================================== */

  a.child-trigger-new {
    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);
  }
  a.child-trigger-new:hover {
    text-decoration: none;
  }


  /* Child Toggle Button Icon & Animations
  ========================================================================== */

  a.child-trigger-new span {
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new span:after {
    position: absolute;
    content: '';
  }
  a.child-trigger-new span, a.child-trigger-new span:after {
    width: 10px; /* Icon line width */
    height: 1px; /* Icon line height */
    background-color: #E2E2E2; /* Icon color */
    display: block;
  }
  a.child-trigger-new span:after {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new.child-open span:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new.child-open span {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
}