body {
  background-image: linear-gradient(to right, #325d87, #31ae83);
  width: 100%;
  overflow-x: hidden;
}

body > .container-fluid {
  padding: 0;
  max-width: 1800px;
}

.page-header {
  background-color: #004250;
  background-repeat: repeat-x;
  position: static;
  padding: 0 1.5rem;
  margin-top: 3.125rem;
}

.page-bound {
  /*max-width: 75rem; */
  margin: auto;
  max-width: 1800px;
}

.page-header .page-bound {
  position: relative;
}

.header-logo a,
.header-logo img {
  display: block;
  max-width: 100%;
  margin: 0;
}

button.page-header__toggle {
  padding: .75rem 1.5rem .75rem 1.5rem;
  color: white;
  display: none;
  background: transparent;
  border: none;
}

.header-nav__toggle {
  display: none;
}

.toggle-indicator {
  display: inline-block;
  vertical-align: middle;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.toggle-indicator:last-child {
  margin-left: .75rem;
}

.toggle-indicator:last-child {
  margin-right: .75rem;
}
  
.toggle-indicator__piece {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -2px;
  transition: opacity 0.2s ease-out 0.4s, margin 0.2s ease-out 0.4s, transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.toggle-indicator__piece--1 {
  margin-top: -.5rem;
}

.toggle-indicator__piece--3 {
  margin-top: .25rem;
}

.toggle-indicator__piece::before {
  background: white;
}

.toggle-indicator__piece::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: .25rem;
  transition: background 0.2s ease-out;
}



@media (max-width: 959px) {
  .header-search__label, .header-search__go-text {
    display: none !important;
  }
  .header-search__submit {
    top: 0;
    right: 10px !important;
  }
  .header-search {
    display: none !important;
  }
  .header-search.is-active {
    display: block !important;
    padding-left: 4em;
    background: white;
  }
  .header-logo img {
    max-height: 3rem;
  }
  .page-header  {
    padding-left: 0;
    padding-right: 0;
  }
  .page-header__content {
    clear: both;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-align: stretch;
    align-items: stretch;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  .page-header__toggle.is-active {
    color: #00a69d;
  }
  
  .page-header__toggle.is-active .toggle-indicator__piece::before {
    background: #00a69d;
  }

  .page-header__toggle.is-active .toggle-indicator__piece--1 {
    transform: rotate(-45deg);
    margin-top: -2px;
  }

  .is-active .toggle-indicator__piece--1, .is-active .toggle--indicator__piece--2, .is-active .toggle-indicator__piece--3 {
    transition: opacity 0.2s ease-out, margin 0.2s ease-out, transform 0.25s ease-out 0.4s, -webkit-transform 0.25s ease-out 0.4s;
  }

  .page-header__toggle.is-active .toggle-indicator__piece--2 {
    opacity: 0;
  }

  .page-header__toggle.is-active .toggle-indicator__piece--3 {
    transform: rotate(45deg);
    margin-top: -2px;
  }

  .header-utility__list {
    display: none;
  }

  .header-utility__list.is-active {
    display: block;
  }
  
  button.page-header__toggle {
    display: block;
    position: absolute;
    right: -2.25rem;
    top: 0;
    font-size: .813rem;
    margin-right: .75rem;
  }

  .header-nav {
    display: none;
  }

  .header-nav.is-active {
    display: block;
  }
  
  .header-nav > ul {
    margin-top: 0;
  }
  
  .header-nav {
    -webkit-box-ordinal-group: 3;
    order: 2;
    background: white;
  }
  
  .header-nav li {
    position: relative;
  }
  
  .header-nav > ul > li {
    background-color: white;
  }
  
  .header-nav a {
    padding: .75rem 6rem .75rem 1.5rem;
    border-bottom: 1px solid #e8efed;
  }

  .header-nav__toggle {
    display: block;
  }
  
  .header-nav__toggle {
    width: 3.75rem;
    height: 3rem;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid #e8efed;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }

  .header-nav__toggle::before {
    content: '\f054';
    display: block;
    position: absolute;
    font-weight: 400;
    left: 45%;
    top: 30%;
    font-family: 'Font Awesome 6 Pro';
    text-indent: 0;
    transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
  }

  .header-nav__toggle.is-active::before {
    transform: rotate(90deg);
  }

  .header-nav {
    -webkit-box-ordinal-group: 3;
    order: 2;
    background: #fff;
  }

  .header-nav li li a {
    padding-left: 3rem;
    border-bottom-color: #f8f8f8;
  }

  .header-nav li ul.is-active {
    max-height: 100em;
    transition: max-height 0.4s cubic-bezier(0.7, 0, 0.1, 1);
  }

  .header-nav li ul {
    overflow: hidden;
  }

  .header-nav li li a {
    padding-left: 3rem;
    border-bottom-color: #f8f8f8;
  }
  
  .header-nav li li li a {
    padding-left: 4.5rem;
  }
}

.header-logo a {
  padding: .625rem 0;
}

@media screen and (min-width: 960px) {
    .page-header {
        padding: 0 3rem;
    }

    .header-logo__image--small {
        display: none !important;
    }

    .header-logo {
        float: left;
        width: 13.75rem;
    }
}

@media (min-width: 1100px) {
    .page-header__content {
        padding-left: 12.5rem;
    }
}

@media screen and (max-width: 1380px) {
    .page-header {
        background-size: 120rem 18.438rem;
    }
}
  
/** Login/Logout **/
.header-user {
  background: #e8efed;
  text-align: center;
}

.header-user button {
  padding-left: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
}

.header-user__icon,
.header-utility__icon {
  color: #00a69d;
}

@media (min-width: 960px) {
  .header-user {
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
  }
  
  .header-user button {
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
}

/** Header Utility Menu **/
.header-utility__list {
  list-style: none;
  margin: 0;
}

.header-utility__item {
  display: inline-block;
}

.header-utility__item a {
  display: block;
}

li.header-utility__item > a {
  color: #fff !important;
}

@media (min-width: 960px) {
    .header-utility {
        text-align: right;
        padding: 3.75rem 6rem 0 0;
        padding-top: 0;
    }

    li.header-utility__item > a {
        padding-bottom: .75rem;
        padding: 1.125rem .75rem;
        opacity: 0.9;
    }

    .header-utility__icon.fa, .header-search__search-icon {
        color: #ffa805;
    }
}

/** Main Menu **/
.header-nav ul {
  list-style: none;
}

.header-nav li {
  position: relative;
}

.header-nav a {
  font-weight: 600;
  display: block;
}

.header-nav > ul > li > ul {
  margin-left: -.625rem !important;
  display: none;
}

.header-nav > ul > li > ul.is-active {
    display: block;
}

.header-nav > ul > li:last-child a[href$="join-pamed"] {
  background-color: white;
  padding: .625rem;
  color: rgba(0, 57, 74, 1);
  border-radius: .625rem;
  border: thin double #004250;
}


@media (min-width: 960px) {
  .header-nav {
    margin-left: 8.75rem;
  }

  .header-nav > ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
  }

  .header-nav > ul > li:first-child {
    padding-left: 0px !important;
  }

  .header-nav > ul > li {
    flex: auto !important;
  }

  .header-nav > ul > li {
    display: inline-block;
    flex: 1 0 auto;
  }

  .header-nav > ul > li > a {
    color: white;
    font-size: 1.125rem;
    padding-bottom: 1.25rem !important;
    padding-right: .125rem !important;
    cursor: default;
  }
  
  .header-nav > ul > li > a:last-child {
    cursor: pointer;
  }

  .header-nav > ul > li > ul {
    min-width: auto;
    margin-right: -1.375rem;
  }

  .header-nav > ul > li > ul {
    min-width: 12em;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: .75rem 0;
    text-align: left;
    background: #00a69d;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: opacity 0.15s ease-out, visibility 0s linear 0.15s, z-index 0s linear 0.15s;
  }

  .header-nav > ul > li > ul > li > a {
    font-size: 1.125rem;
  }

  .header-nav > ul > li > ul > li > a {
    padding: .75rem 1.5rem;
    color: #fff;
  }

  .header-nav > ul > li:hover > ul {
    opacity: 1;
    z-index: 100;
    visbility: visible;
    transition: opacity 0.2s ease-out 0.5s, z-index 0s linear 0.5s, visibility 0s linear 0.5s;
  }

  .header-nav > ul > li:hover > a, .header-nav > ul > li:hover > button {
    color: #00a69d;
  }
   
  .header-nav > ul > li:last-child {
    padding-right: 0px !important;
  }

  .header-nav > ul > li:last-child a[href$="join-pamed"] {
    background-color: #ffa805;
  }

  .header-nav > ul > li:last-child > a[href$="join-pamed"] {
    padding: .313rem .625rem .313rem .625rem !important;
    border-radius: .188rem;
    margin-top: .375rem;
    margin-left: .938rem;
  }
}

@media screen and (min-width: 960px) and (max-width: 1380px) {
  .header-nav {
    margin: 0px !important;
  }

  .header-nav > ul {
    width: 100%;
    margin: 0px !important;
  }

  .header-nav > ul > li {
    margin-top: -.625rem;
  }

  .header-nav > ul > li > a, .header-nav > ul > li > button {
    padding: .75rem 0 2.25rem;
    font-size: 1.063rem;
    position: relative;
  }

  .header-nav > ul > li > a, .header-nav > ul >li > button {
    padding: .75rem 1.563rem 2.25rem !important;
  }

  .header-nav > ul > li:last-child a {
    padding: .625rem !important;
  }
}

/** Logo **/
.header-logo a, .header-logo img {
  display: block;
  max-width: 100%;
  margin: 0;
}

.header-logo a {
  padding: .625rem 0;
}

@media (min-width: 960px) {
  .header-logo {
    float: left;
    margin-top: -1.875rem;
    width: 100%;
    max-width: 12.5rem;
  }
}

@media (min-width: 960px) {
  .header-nav > ul > li:hover > ul {
    opacity: 1;
    z-index: 100;
    visibility: visible;
    transition: opacity 0.2s ease-out 0.5s, z-index 0s linear 0.5s, visibility 0s linear 0.5s;
    margin-top: 0;
    display:block;
  }
  
  .header-nav > ul > li > ul > li > a {
    white-space: pre-wrap;
  }
  
  .header-nav > ul > li > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* Search */
.header-search__input.is-active {
  width: 35rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  border-color: #00a69d !important;
}

 .header-search__submit {
  display: block;
  width: 3.75rem;
  padding: .75rem 0;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  color: #00a69d;
  background: white;
  border: 1px solid #e8efed;
  font-size: .906rem;
  font-weight: 700;
}

.header-search__label {
  display: block;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  margin-top: .688rem;
  margin-bottom: auto !important;
}

.header-search__close-icon {
  display: none !important;
}

.header-search {
  position: relative;
}

span.header-search__search-text {
  color: white !important;
}

.header-search__input {
  padding: 12px 72px 14px 24px !important;
  margin: 0 !important;
}

@media (min-width: 960px) {
  
  .header-search {
  position: absolute;
  right: 0;
}
  
  .header-search__label.is-active ~ .header-search__submit > .header-search__search-icon {
    color: white;
  }
  
  .header-search {
    top: 6px;
  }
  .header-search__search-icon {
    padding-right: 3px;
  }
  .header-search__label,
  .header-search__input,
  .header-search__submit {
    transition: all 0.2s ease-out !important;
  }

  .header-search__label.is-active .header-search__close-icon {
    display: inline-block !important;
    padding: 0 12px;
  }

  .header-search__label.is-active .header-search__search-icon,
  .header-search__label.is-active .header-search__search-text {
    display: none;
  }
  
  .header-search__label {
    left: auto;
    right: 0;
    top: 0;
    padding: .813rem;
    margin-top: 0 !important;
    color: #65747c;
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
    z-index: 2;
    cursor: pointer;
  }
  
  .header-search__label.is-active {
    right: 35rem;
    background: #00a69d;
    color: white;
    opacity: 1;
  }
  
  .header-search__input.is-active {
    width: 35rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border-color: #00a69d;
  }
  
  .header-search__input.is-active + .header-search__submit {
    transform: translateX(0);
    opacity: 1;
  }
  
  .header-search__submit {
    width: 4.5rem;
    background: #00a69d;
    color: white;
    border-color: #00a69d;
    transform: translateX(100%);
    opacity: 0;
    z-index: 4;
  }

  .header-search__input {
    border: none !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 0px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    z-index: 3;
  }
}