/*------------------------------------*\
    #HEADER
\*------------------------------------*/

/**
 * Global block at the top of each page containing the navigation, logo, and other potential contents
 */
.centered-header {
  text-align: center;
}

.c-header {
  background-color: var(--color-neutral-white);
  display: flex;
  flex-direction: column;
  left: 0;
  max-height: calc(100% - 90px);
  min-height: calc(100% - 90px);
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overflow-y: scroll;
  position: absolute;
  right: 0;
  top: 90px;
  transition: transform var(--sticky-speed), opacity var(--sticky-speed), visibility var(--sticky-speed);
  will-change: transform;
  z-index: 3;
}

@media all and (min-width: 47em) {
  .c-header {
    min-height: 0;
    overflow: visible;
    position: fixed;
    top: 0;
  }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) and (min-width: 47em) and (max-width: 959px) {
  .c-header {
    max-height: 157px;
  }
}

@media all and (max-width: 751px) {
  .c-header[aria-hidden="true"] {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
}

@media all and (min-width: 47em) {
  .c-header .c-header__close {
    display: none;
  }
}

.c-header .c-header__inner:first-child {
  order: 2;
}

@media all and (min-width: 47em) {
  .c-header .c-header__inner:first-child {
    order: 2;
  }
}

.c-header .c-header__inner:last-child {
  order: 1;
}

@media all and (min-width: 47em) {
  .c-header .c-header__inner:last-child {
    order: 2;
  }
}

.c-header .c-logo {
  transition: transform 0.15s;
  transform-origin: left;
}

.c-header__inner {
  padding: 1rem 0;
  width: 100%;
}

@media all and (min-width: 47em) {
  .c-header__inner {
    align-items: center;
    display: flex;
  }
}

.c-header__inner--np {
  padding: 0;
}

.c-header__inner--main {
  background: #fff;
  padding: 0;
  transition: all 0.15s;
}

@media all and (min-width: 47em) {
  .c-header__inner--main {
    will-change: padding;
  }
}

@media all and (min-width: 47em) {
  .c-header__nav-btn {
    display: none;
  }
}

.c-header__mobile {
  height: 90px;
  padding: 10px 24px 10px 14px;
}

@media all and (min-width: 47em) {
  .c-header__mobile {
    display: none;
  }
}

.c-header__mobile .c-header__inner {
  align-items: center;
  display: flex;
}

@media all and (min-width: 47em) {
  .c-header__mobile .c-header__inner {
    height: 220px;
  }
}

.c-header__mobile .c-logo {
  display: inline-block;
  margin-right: auto;
  padding-right: 1em;
}

@media all and (min-width: 47em) {
  body {
    padding-top: 183px;
  }
}

@media all and (min-width: 960px) {
  body {
    padding-top: 123px;
  }
}

.hanger-primary-nav-search {
  display: none;
}

#mobile-header .js-nav-trigger:hover,
#mobile-header .js-nav-trigger:focus {
  background-color: #fff;
}

@media all and (min-width: 47em) {
  .hanger-header-wrapper {
    margin: auto;
    max-width: 1380px;
    order: 2;
    width: 100%;
  }
}

@media all and (min-width: 47em) and (min-width: 60em) {
  .hanger-header-wrapper {
    padding: 0 2rem;
  }
}

@media all and (min-width: 47em) {
  .hanger-header-wrapper .stuck .hanger-header-layout {
    padding: 0 1rem;
    width: 100%;
  }

  .hanger-header-wrapper .hanger-header-layout {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 1rem;
    width: 100%;
  }

  .hanger-header-wrapper .hanger-header-layout::after {
    clear: both;
    content: '';
    display: block;
  }

  .hanger-header-wrapper .hanger-logo {
    float: left;
    width: 100%;
  }

  .hanger-header-wrapper .hanger-logo .c-logo {
    margin-bottom: .5rem;
    margin-left: 0;
    max-width: 150px;
    transform: translateY(-5px);
  }
}

@media all and (min-width: 47em) and (min-width: 60em) {
  .hanger-header-wrapper .hanger-logo .c-logo {
    transform: translateY(0);
  }
}

@media all and (min-width: 47em) and (min-width: 70em) {
  .hanger-header-wrapper .hanger-logo .c-logo {
    margin-bottom: 1rem;
    max-width: 200px;
  }
}

@media all and (min-width: 47em) {
  .hanger-header-wrapper .hanger-primary-nav {
    float: left;
    line-height: 50px;
    text-align: right;
    width: calc(100% - 55px);
  }

  .hanger-header-wrapper .hanger-primary-nav * {
    text-align: left;
  }

  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 40px;
  }
}

@media all and (min-width: 47em) and (min-width: 47em) {
  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    font-size: 17px;
  }
}

@media all and (min-width: 47em) and (min-width: 60em) {
  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    font-size: 16px;
  }
}

@media all and (min-width: 47em) and (min-width: 70em) {
  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    font-size: 17px;
  }
}

@media all and (min-width: 47em) and (min-width: 90em) {
  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    font-size: 22px;
  }
}

@media all and (min-width: 47em) and (min-width: 60em) {
  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__link {
    line-height: 50px;
  }
}

@media all and (min-width: 47em) {
  .hanger-header-wrapper .hanger-primary-nav-search {
    display: block;
    float: right;
    width: 44px;
  }
}

@media all and (min-width: 47em) and (min-width: 60em) {
  .hanger-header-wrapper .hanger-header-layout {
    padding: 15px 1rem;
  }

  .hanger-header-wrapper .hanger-logo {
    width: 200px;
  }

  .hanger-header-wrapper .hanger-logo .c-logo {
    margin-bottom: 0;
    max-width: 200px;
  }

  .hanger-header-wrapper .hanger-primary-nav {
    width: calc(100% - 255px);
  }

  .hanger-header-wrapper .hanger-primary-nav .c-primary-nav__list {
    float: right;
  }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) and (min-width: 47em) and (max-width: 959px) {
  .show-my-clinic .c-header {
    max-height: 192px;
  }
}