/****
SisterSites in Secondary Navigation
Secondary Navigation
SocialLinks in Secondary Navigation
Search Form
Google Translate
Main Navigation
FOOTER
MegaMenu
Breadcrumbs
****/

/* SisterSites in Secondary Navigation */

.currentSiteLogo:before {
    content: " ";
    height: 3px;
    background-color: #00a79e;
    display: block;
    position: absolute;
    top: 0;
    width: 80%;
    }

/* Secondary Navigation */
#secondary_nav_wrap .nav-menu {
    z-index:16;
    
}
#secondary_nav_wrap .nav-item {
    font-size: 14px;
    font-size: .8rem;
    
}
#secondary_nav_wrap .nav-item a {
    color: #000;
}

#secondary_nav_wrap .nav-item > a.open,
#secondary_nav_wrap .nav-item > a:hover {
    color: #00a79e;
    background-color: transparent;
    text-decoration: none;
}
#secondary_nav_wrap .nav-menu li.nav-item > a {
    letter-spacing: .22em;
}

#secondary_nav_wrap .sub-nav {
    border: none;
    background-color: #454545;
    color: #fff;
    padding: 0.5em;
}
#secondary_nav_wrap .sub-nav a {
    color: #fff;
    font-size: 14px;
    font-size: .75rem;
}
#secondary_nav_wrap .sub-nav li.nav-item a {
    padding: 0.25rem;
    letter-spacing: .03em !important;
}
.sr-text {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;  
}

/* SocialLinks in Secondary Navigation */

.social-buttons li {
    width: 25px;
    height: 25px;
    padding: 4px;
    text-align: center;
    background-color: #667375;
    border-radius: 50%;
    line-height: 1;
}

.social-buttons li a {
    font-size: .9rem;
    transition: 250ms;
    padding: 0;
}
footer .social-buttons a, 
footer .social-buttons .btn {
    margin-top: 0;
    margin-bottom: 0;
}
.social-buttons a.text-white:hover {
    color: #fff !important;
}

.social-buttons a.text-white:focus,
.social-buttons a.text-white:active
{
    color: #171f29 !important;
}


/* Search Form */

.searchForm {
    height: 36px;
}

.form-control, .is-focused .form-control {
    background-image: linear-gradient(to top, #009792 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);
}

/* Google Translate*/

select.googleTranslate {
    border: 0;
    cursor: pointer;
    background-color: #171F29;
    text-align: center;
    line-height: 1.5em;
    width: 11.5rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 2.5rem;
    font-size: .8rem;
    border-radius: 0;
    margin: 0;
        margin-top: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 26px;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 17px) calc(1em + -4px), calc(100% - 12px) calc(1em + -4px);
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

/* Main Navigation */

.nav-top-border {
    border-top: 2px solid #98a8ab;
}

   /* mega menu list */
    .nav-menu {
        display: block;
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
        z-index: 15;
    }

    /* a top level navigation item in the mega menu */
    .nav-item {
        list-style: none;
        display: inline-block;
        padding: 0;
        margin: 0;
    }

    /* first descendant link within a top level navigation item */
    .nav-item > a {
        position: relative;
        display: inline-block;
        padding: 0.5em 1em;
        margin: 0 0 -1px 0;
        border: 1px solid transparent;
    }
    
    .accessible-megamenu-panel-group li.nav-item,
    #primary_nav_wrap .nav-item > a {
     font-size: .85rem; 
     font-weight: bold;
    }
    .accessible-megamenu .nav-item a {
     letter-spacing: .12em;
    }
    #footer_nav_wrap .nav-item > a {
     font-size: .8rem; 
     font-weight: bold;
    }
    #primary_nav_wrap  .nav-item > a.open,
    #primary_nav_wrap  .nav-item > a:hover,
    #footer_nav_wrap  .nav-item > a.open,
    #footer_nav_wrap  .nav-item > a:hover {
        color: #00a79e;
        background-color: transparent;
        text-decoration: none;
    }
    .breadcrumb-item a:hover,
    .breadcrumb-item a:focus {
        text-decoration: none;
    }
    /* focus/open states of first descendant link within a top level 
       navigation item */
    .nav-item > a:focus,
    .nav-item > a.open {
        border: 1px solid #dedede;
    }

    /* open state of first descendant link within a top level 
       navigation item */
    .nav-item > a.open {
        background-color: #fff;
        border-bottom: none;
        z-index: 99999;
        border: 1px solid transparent !important;
    }

    /* sub-navigation panel */
    .sub-nav {
        position: absolute;
        display: none;
        top: 2.6em;
        margin-top: -1px;
        padding: 0.5em 1em;
    }

    /* sub-navigation panel open state */
    .sub-nav.open {
        display: block;
    }

    /* list of items within sub-navigation panel */
    #secondary_nav_wrap .sub-nav ul {
        display: inline-block;
        vertical-align: top;
        margin: 0 1em 0 0;
        padding: 0;
    }

    /* list item within sub-navigation panel */
    .sub-nav li {
        display: block;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }


/* FOOTER */

footer ul li a {
    text-transform: inherit;
}


/* FOOTER, Copyright links */
ul.copyright li a {
    padding: 0;
}
.copyright a,
.copyright .date {
    position: relative;
    font-size: .725rem!important;
}

.copyright li:last-child a:after {
    content: "";
} 

.copyright a:after,
.copyright .date:after {
  content: " | ";
  /*position: absolute;*/
  white-space: nowrap;
  padding-left: .2rem;
  padding-right: .4rem;
  color: #98a8ab;
  font-size: 1rem;
}

.copyright a:hover:after {
    color: #98a8ab;
    
}
.copyright a.ot-sdk-show-settings {
    font-weight: 700;
    cursor: pointer;
    color: #98a8ab;
}
.copyright a.ot-sdk-show-settings:hover {
    color: #fff;
    
}
.copyright .date {
    /*padding: 0.9375rem;*/
    font-size: .75rem;
}

@media(max-width: 1199px){
   .sign-up-wrapper{
       flex-wrap: wrap !important;
   }
   
   .sign-up-wrapper a {
       margin-top: .5rem !important;
   }
   .accessible-megamenu-panel-group li.nav-item, 
   #primary_nav_wrap .nav-item > a {
    font-size: .75rem;
    }
}


/* END FOOTER, Copyright links */



/* Mega Menu*/
/*
Copyright © 2013 Adobe Systems Incorporated.
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.megamenu {
  position: relative;
}

.accessible-megamenu {
    position: relative;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 3.077em;
    color: #454545;
}

.accessible-megamenu h2,
.accessible-megamenu h3,
.accessible-megamenu h4 {
    font-size: 1em;
    display: inline;
    padding: 0;
    line-height: inherit;
    border-bottom: 0;
}

.nav-icon {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item {
    position: relative;
    display: block;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 3.077em;
    float: left;
    color: #454545 !important;
}


.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded] {
    position: relative;
    display: block;
    line-height: 3em;
    height: 3em;
    padding-left: 0.769em;
    padding-right: 0.769em;
    color: #454545 !important;
    text-decoration: none;
    box-shadow: inset 1px 1px 0 #fff;
    z-index: inherit;
}


.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:hover,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:focus {
    color: #333 !important;
    outline-offset: -1px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:hover,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded]:focus,
.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded].open {
    margin-left: 0;
    z-index: 1002;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded].open {
    background: #f5f8fa none;
    padding-bottom: 2px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item:first-child a[aria-expanded] {
    border-bottom-left-radius: 3px;
}

.accessible-megamenu > .accessible-megamenu-top-nav-item:first-child a[aria-expanded].open {
    border-bottom-left-radius: 0px;
    border-left: 1px solid #b3b3b3;
    border-left-color: rgba(0,0,0,0.3);
    left: -1px;
    margin-right: -1px;
}

.accessible-megamenu .accessible-megamenu-panel {
    position: absolute;
    display: block;
    left: -1px;
    color: #454545;
    margin: 0;
    padding: 0 1.5em 0.769em;
    /*padding: 0 0.769em 0.769em;*/
    width: 100%;
    line-height: normal;
    cursor: default;
    visibility: hidden;
    top: -9999em;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
       -moz-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
        -ms-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
         -o-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
            transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
}

.accessible-megamenu .accessible-megamenu-panel.open {
    visibility: visible;
    top: 3.6rem;
    max-height: 600px;
    opacity: 1;
    z-index: 1001;
    -webkit-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
       -moz-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
        -ms-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
         -o-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
            transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
}

.accessible-megamenu .accessible-megamenu-panel a {
    display: inline-block;
    font-size: .92em;
    line-height: 1.2em;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4 {
    width: 878px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li {
    width: 22%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4b {
    width: 878px;
    left: -6.462em;
    border-top-left-radius: 3px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4b > ol > li {
    width: 22%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-3 {
    width: 724px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li {
    width: 30%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-1 {
    width: 615px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li {
    width: auto;
}

.accessible-megamenu .accessible-megamenu-panel ol {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.accessible-megamenu .accessible-megamenu-panel ol > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li {
    float: left;
    display: block;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    border-left: 1px solid rgba(0,0,0, 0.3);
    box-shadow: inset 1px 0 0 #fff;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li:first-of-type {
    padding-left: 0;
    border-left: none;
    box-shadow: none;
}

.accessible-megamenu .accessible-megamenu-panel > p {
    color: #454545;
    font-size: 1.2em;
    line-height: 1.1em;
}

.accessible-megamenu .accessible-megamenu-panel > ol > li > h3 > a {
    font-weight: bold;
    color: #454545;
    font-size: 1.2em;
    margin-bottom: 6px;
    padding-top: .4em;
    padding-bottom: 0;
    line-height: 1.1em;
}

.accessible-megamenu .accessible-megamenu-panel ol ol > li > a {
    width: auto;
    text-indent: -2.333em;
    padding-left: 2.333em;
}


.accessible-megamenu .accessible-megamenu-panel > h2 > a {
    font-weight: bold;
    color: #454545;
    font-size: 1.5em;
    margin-bottom: 0;
    margin-top: .8em;
    padding-bottom: 0;
    line-height: 1.4em;
}

.accessible-megamenu .accessible-megamenu-panel > h2 > a:hover,
.accessible-megamenu .accessible-megamenu-panel > h2 > a:focus,
.accessible-megamenu .accessible-megamenu-panel > ol > li > h3 > a:hover,
.accessible-megamenu .accessible-megamenu-panel > ol > li > h3 > a:focus {
    color: #333;
}

.accessible-megamenu .accessible-megamenu-panel hr {
    border-width: 1px 0px;
    border-style: solid;
    border-top-color: rgba(0,0,0, 0.3);
    border-bottom-color: #fff;
}

/* hides redundant header links in panel when megamenu is not initialized */
.accessible-megamenu:not(.js-accessible-megamenu) .accessible-megamenu-panel > h2 {
    display: none;
}

.accessible-megamenu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 1em;
  width: 33px;
  height: 33px;
}

.accessible-megamenu-toggle > span:not(.sr-only) {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #000;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 0 0;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              margin 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

.accessible-megamenu-toggle > span {
  margin-top: 5px;
}

.accessible-megamenu-toggle > span:nth-last-child(1) {
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
.accessible-megamenu-toggle[aria-expanded=true] > span
{
  margin-top: 0;
  opacity: 1;
  transform: rotate(45deg) translate(4px, -3px);
  background: #000;
  border-radius: 0;
}

/*
 * But, hide the middle one.
 */
.accessible-megamenu-toggle[aria-expanded=true] > span:nth-last-child(2)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * the last one should go the other direction.
 */
.accessible-megamenu-toggle[aria-expanded=true] > span:nth-last-child(1)
{
  transform: rotate(-45deg) translate(0px, 7px);
}

@media (max-width: 1199px) {
  .accessible-megamenu > .accessible-megamenu-top-nav-item {
    position: static;
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-4,
  .accessible-megamenu .accessible-megamenu-panel.cols-4b,
  .accessible-megamenu .accessible-megamenu-panel.cols-3,
  .accessible-megamenu .accessible-megamenu-panel.cols-1 {
    width: auto;
    left: 0;
    right: 0;
  }

  .accessible-megamenu .accessible-megamenu-panel.open {
    max-height: inherit
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-4b > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li {
    width: 44%;
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li {
    width: 100%;
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li {
    min-height: 256px;
  }

  .accessible-megamenu .accessible-megamenu-panel > ol > li {
    float: left;
    display: block;
    margin-right: 1em;
    margin-bottom: 1em;
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li:nth-of-type(3),
  .accessible-megamenu .accessible-megamenu-panel.cols-4b > ol > li:nth-of-type(3),
  .accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li:nth-of-type(3)  {
    padding-left: 0;
    border-left: none;
    box-shadow: none;
  }
}

@media (max-width: 434px) {
  .accessible-megamenu-toggle {
    display: block;
    z-index: 3;
  }

  .accessible-megamenu-toggle ~ .accessible-megamenu > .accessible-megamenu-top-nav-item {
    height: 0;
    overflow: hidden;
    visibility: collapse;
  }

  .accessible-megamenu-toggle[aria-expanded=true] ~ .accessible-megamenu > .accessible-megamenu-top-nav-item {
    height: auto;
    overflow: visible;
    visibility: visible;
  }

  .accessible-megamenu {
    height: auto;
    padding-top: 3.077em;
    z-index: 2;
  }

  .accessible-megamenu > .accessible-megamenu-top-nav-item {
    border-right: 0;
    float: none;
    width: 100%;
    height: auto;
  }

  .accessible-megamenu > .accessible-megamenu-top-nav-item a[aria-expanded] {
    box-shadow: none;
  }

  .accessible-megamenu .accessible-megamenu-panel,
  .accessible-megamenu .accessible-megamenu-panel.open {
    position: relative;
    top: 0;
    border: 0;
    box-shadow: none;
    padding-bottom: 0;
  }

  .accessible-megamenu .accessible-megamenu-panel.open {
    padding-bottom: 0.769em;
    max-height: 350px;
    overflow: auto;
  }


}

@media (max-width: 414px) {
  .accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-4b > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-1 > ol > li {
    width: 100%;
  }

  .accessible-megamenu .accessible-megamenu-panel.cols-4 > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-4b > ol > li,
  .accessible-megamenu .accessible-megamenu-panel.cols-3 > ol > li  {
    padding-left: 0;
    border-left: none;
    box-shadow: none;
  }
}

/* BREADCRUMBS */
.breadcrumb {
    font-size: .75rem;
    font-weight: 500;
    background-color: transparent;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: #009791;
    content: ">";
}


/* PAGINATION BLOG NEWS */
.pagination {
    display: block;
    border-radius: 0;
}
.nav-link {
    display: inline-flex;
}
.pagination,
.pagination a {
    color: #009791;
}
.pagination a:hover,
.pagination a:focus {
    color: #000;
}

@media (max-width: 1199px) {
    .navbar-collapse {
        position: fixed;
        display: block;
        top: 0px;
        height: 100vh;
        width: 250px;
        left: 0;
        margin-right: 0 !important;
        z-index: 1032;
        visibility: visible;
        background-color: #999;
        overflow-y: visible;
        border-top: none;
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        max-height: none !important;
        -webkit-transform: translate3d(-250px, 0, 0);
        -moz-transform: translate3d(-250px, 0, 0);
        -o-transform: translate3d(-250px, 0, 0);
        -ms-transform: translate3d(-250px, 0, 0);
        transform: translate3d(-250px, 0, 0);
        -webkit-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -moz-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -o-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -ms-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
        transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
    }
    
    .nav-open .navbar-collapse {
        -webkit-transform: translate3d(0px, 0, 0);
        -moz-transform: translate3d(0px, 0, 0);
        -o-transform: translate3d(0px, 0, 0);
        -ms-transform: translate3d(0px, 0, 0);
        transform: translate3d(0px, 0, 0);
    }
   .navbar-collapse::after {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    display: block;
    content: "";
    z-index: 1;
}


}
        