/* ==========================================================================
   layout/_header.scss
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 101;
  height: 4.375rem;
  box-shadow: 0 1px 1.25rem 0 rgba(198, 137, 131, 0.15);
  border-bottom: 1px solid rgba(172, 110, 119, 0.2);
  background-color: #fff;
}
@media print, screen and (min-width: 48em) {
  .header {
    height: 7.8125rem;
  }
}
.header__container {
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
  max-width: 88.125rem;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}
@media print, screen and (min-width: 40em) {
  .header__container {
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
  }
}
.header__grid {
  display: flex;
  flex-flow: row wrap;
  margin-right: -0.9375rem;
  margin-left: -0.9375rem;
  height: 100%;
  align-items: center;
}
@media print, screen and (min-width: 40em) {
  .header__grid {
    margin-right: -0.9375rem;
    margin-left: -0.9375rem;
  }
}
.header__logo {
  flex: 1 1 0px;
  width: auto;
  margin-left: 0.9375rem;
  margin-right: 0.9375rem;
}
@media print, screen and (min-width: 40em) {
  .header__logo {
    flex: 0 0 auto;
    width: calc(25% - 1.875rem);
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
  }
}
.header__logo a {
  display: block;
}
.header__logo img {
  width: 5rem;
}
@media print, screen and (min-width: 48em) {
  .header__logo img {
    width: 6.875rem;
  }
}
@media print, screen and (min-width: 64em) {
  .header__logo img {
    width: 9.3125rem;
  }
}
.header__content {
  flex: 1 1 0px;
  width: auto;
  margin-left: 0.9375rem;
  margin-right: 0.9375rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: center;
}
@media print, screen and (min-width: 40em) {
  .header__content {
    flex: 0 0 auto;
    width: calc(75% - 1.875rem);
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
  }
}
.header__nav {
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 47.99875em) {
  .header__nav {
    display: none !important;
  }
}
@media print, screen and (min-width: 48em) {
  .header__extras {
    display: none !important;
  }
}
.header__responsive-btn {
  position: relative;
  z-index: 102;
  width: 2.75rem;
  height: 2.75rem;
  box-shadow: none;
  margin: 0 0 0 0.625rem;
  padding: 0;
  background: transparent;
}
@media print, screen and (min-width: 48em) {
  .header__responsive-btn {
    display: none !important;
  }
}
[data-whatinput="mouse"] .header__responsive-btn {
  outline: 0;
}
.header__responsive-btn:focus,
.header__responsive-btn:hover {
  background: inherit;
  box-shadow: inherit;
}
.header__responsive-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 0.125rem;
  margin-top: -0.0625rem;
  margin-left: -0.625rem;
  background: #c68983;
  font-size: 0;
  transition: background-color 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.nav-open .header__responsive-btn span {
  height: 0;
}
.header__responsive-btn span:after,
.header__responsive-btn span:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  transition:
    transform 0.3s,
    background-color 0.3s;
}
.nav-open .header__responsive-btn span:after,
.nav-open .header__responsive-btn span:before {
  height: 0.125rem;
}
.header__responsive-btn span:before {
  transform: translateY(-0.375rem);
}
.header__responsive-btn span:after {
  transform: translateY(0.375rem);
}
.nav-open .header__responsive-btn span:before {
  transform: rotate(45deg);
}
.nav-open .header__responsive-btn span:after {
  transform: rotate(-45deg);
}
.header.initialized {
  transition:
    height 0.6s,
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header.initialized .header__logo img {
  transition: transform 0.6s;
}
.header.initialized.is-not-top {
  background: #fff;
}
@media print, screen and (min-width: 40em) {
  .header.initialized.is-unpinned .header__logo img {
    transform: scale(0.64);
  }
}
@media print, screen and (min-width: 40em) {
  .header.initialized.is-unpinned {
    height: 4.375rem;
  }
}
@media print, screen and (min-width: 40em) {
  .header.initialized.is-pinned {
    height: 7.8125rem;
  }
}
@media print, screen and (max-width: 34.37375em) {
  body:not(.nav-open) .header.initialized.is-unpinned {
    transform: translateY(-100%);
  }
  body:not(.nav-open) .header.initialized.is-pinned {
    transform: translateY(0);
  }
}
.bg-mainfooter {
  background: #faf8f8;
  background: linear-gradient(180deg, #faf8f8, #faeded);
  padding-bottom: 0.9375rem;
}
