/* Modern responsive primary navigation. Loaded after the legacy theme styles. */

.all-wrapper {
  padding-top: 0;
}

.mobile-header-w.photorecept-header {
  position: relative;
  z-index: 9998;
  display: block;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e7e7e4;
  box-shadow: 0 3px 14px rgba(30, 36, 38, 0.05);
}

.mobile-header-w.photorecept-header .photorecept-header__inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 32px), 1240px);
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  table-layout: auto;
  background: #fff;
}

.mobile-header-w.photorecept-header .mobile-logo {
  display: block;
  width: 150px !important;
  padding: 0;
  line-height: 0;
  text-align: left;
}

.mobile-header-w.photorecept-header .mobile-logo a {
  display: block;
  color: #111;
}

.mobile-header-w.photorecept-header .mobile-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.photorecept-menu-toggle,
.photorecept-menu-close,
.photorecept-submenu-toggle,
.photorecept-menu-backdrop {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  appearance: none;
}

.os-icon-favorite::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M8 14s6-3.33 6-8.5A3.5 3.5 0 0 0 8 3.05 3.5 3.5 0 0 0 2 5.5C2 10.67 8 14 8 14Zm0-1.16C6.8 12.1 3 9.35 3 5.5A2.5 2.5 0 0 1 7.55 4.05L8 4.77l.45-.72A2.5 2.5 0 0 1 13 5.5c0 3.85-3.8 6.6-5 7.34Z'/%3E%3C/svg%3E");
}

.mobile-header-w.photorecept-header .photorecept-menu-toggle {
  display: none;
}

.mobile-header-w.photorecept-header .photorecept-primary-navigation {
  position: static;
  display: block;
  min-width: 0;
  padding: 0;
  background: #fff !important;
  text-align: left;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu li a {
  border: 0;
  text-decoration: none;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 8px;
  color: #222 !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li > a::before,
.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a::before {
  display: none !important;
  content: none !important;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li > a::after {
  position: absolute;
  right: 8px;
  bottom: 15px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: #079ca5;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li:hover > a,
.mobile-header-w.photorecept-header .photorecept-primary-menu > li:focus-within > a,
.mobile-header-w.photorecept-header .photorecept-primary-menu > .current-menu-item > a,
.mobile-header-w.photorecept-header .photorecept-primary-menu > .current-menu-ancestor > a {
  color: #087c83 !important;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li:hover > a::after,
.mobile-header-w.photorecept-header .photorecept-primary-menu > li:focus-within > a::after,
.mobile-header-w.photorecept-header .photorecept-primary-menu > .current-menu-item > a::after,
.mobile-header-w.photorecept-header .photorecept-primary-menu > .current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: 0;
  z-index: 100;
  display: none;
  width: max-content;
  min-width: 245px;
  max-width: min(340px, calc(100vw - 32px));
  max-height: min(68vh, 620px);
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
  background: #fff !important;
  border: 1px solid #e5e7e5;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(25, 31, 32, 0.14);
}

.mobile-header-w.photorecept-header .photorecept-primary-menu > li:nth-last-child(-n + 3) > .sub-menu {
  right: 0;
  left: auto;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu li:hover > .sub-menu,
.mobile-header-w.photorecept-header .photorecept-primary-menu li:focus-within > .sub-menu {
  display: block;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #303536 !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: normal;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a:hover,
.mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a:focus-visible {
  background: #edf8f8;
  color: #076e74 !important;
  outline: 0;
}

.mobile-header-w.photorecept-header .photorecept-primary-menu a:focus-visible,
.mobile-header-w.photorecept-header .photorecept-header__actions a:focus-visible,
.mobile-header-w.photorecept-header button:focus-visible {
  outline: 3px solid rgba(1, 173, 185, 0.38);
  outline-offset: 2px;
}

.photorecept-mobile-menu__header,
.photorecept-mobile-menu__actions,
.photorecept-submenu-toggle,
.photorecept-menu-backdrop {
  display: none;
}

.mobile-header-w.photorecept-header .photorecept-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.mobile-header-w.photorecept-header .top-subscribe {
  display: block;
  text-align: right;
}

.mobile-header-w.photorecept-header .top-subscribe-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #087f86;
  border-radius: 8px;
  background: #087f86;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.mobile-header-w.photorecept-header .top-subscribe-text:hover {
  border-color: #066b71;
  background: #066b71;
  color: #fff;
  text-decoration: none !important;
}

.mobile-header-w.photorecept-header .mobile-menu-search-toggler {
  display: block;
  width: auto;
  padding: 0;
  font-size: 0;
  color: #202425;
}

.mobile-header-w.photorecept-header .mobile-menu-search-toggler a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dedfdd;
  border-radius: 50%;
  color: #202425;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.mobile-header-w.photorecept-header .mobile-menu-search-toggler a:hover {
  border-color: #91cfd2;
  background: #f0f9f9;
  color: #087f86;
}

@media (min-width: 1200px) {
  .top-profile-links-box-container {
    width: 100%;
    max-width: none;
    min-height: 30px;
    background: #fff;
    border-bottom: 1px solid #ededeb;
  }

  .top-profile-links-box-container .top-profile-links-box-w {
    width: min(calc(100% - 32px), 1240px);
    min-height: 30px;
    margin: 0 auto;
  }

  .top-profile-links-box-container .top-profile-links-box {
    position: static;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
  }

  .top-profile-links-box-container .top-profile-links-box ul {
    display: flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 0;
  }

  .top-profile-links-box-container .top-profile-links-box ul li {
    padding: 0 10px;
    border: 0;
  }

  .top-profile-links-box-container .top-profile-links-box ul li a,
  .top-profile-links-box-container .top-profile-links-box ul li span {
    color: #4b5051;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    text-transform: none;
  }
}

@media (max-width: 1199px) {
  body.photorecept-menu-open {
    overflow: hidden;
  }

  .top-profile-links-box-container {
    display: none !important;
  }

  .mobile-header-w.photorecept-header {
    position: sticky;
    top: 0;
  }

  body.admin-bar .mobile-header-w.photorecept-header {
    top: 32px;
  }

  .mobile-header-w.photorecept-header .photorecept-header__inner {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
    width: 100%;
    min-height: 64px;
    padding: 8px 12px;
  }

  .mobile-header-w.photorecept-header .photorecept-menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #222;
    cursor: pointer;
  }

  .photorecept-menu-toggle__lines,
  .photorecept-menu-toggle__lines::before,
  .photorecept-menu-toggle__lines::after {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  .photorecept-menu-toggle__lines {
    position: relative;
  }

  .photorecept-menu-toggle__lines::before,
  .photorecept-menu-toggle__lines::after {
    position: absolute;
    left: 0;
  }

  .photorecept-menu-toggle__lines::before {
    top: -8px;
  }

  .photorecept-menu-toggle__lines::after {
    top: 8px;
  }

  .mobile-header-w.photorecept-header .mobile-logo {
    justify-self: center;
    width: min(150px, 100%) !important;
    padding: 0;
    text-align: center;
  }

  .mobile-header-w.photorecept-header .photorecept-header__actions {
    justify-self: end;
    gap: 0;
  }

  .mobile-header-w.photorecept-header .top-subscribe {
    display: none;
  }

  .mobile-header-w.photorecept-header .mobile-menu-search-toggler,
  .mobile-header-w.photorecept-header .mobile-menu-search-toggler a {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
  }

  .mobile-header-w.photorecept-header .mobile-menu-search-toggler a:hover {
    background: #f0f9f9;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-navigation {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10002;
    display: flex !important;
    flex-direction: column;
    width: min(88vw, 390px);
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    background: #fff !important;
    box-shadow: 12px 0 34px rgba(18, 24, 25, 0.2);
    opacity: 0;
    text-align: left;
    transform: translateX(-104%);
    transition: transform 220ms ease, opacity 180ms ease, visibility 220ms;
  }

  body.admin-bar .mobile-header-w.photorecept-header .photorecept-primary-navigation {
    top: 32px;
  }

  body.photorecept-menu-open .mobile-header-w.photorecept-header .photorecept-primary-navigation {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .photorecept-mobile-menu__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 8px 12px 8px 20px;
    border-bottom: 1px solid #e6e7e5;
  }

  .photorecept-mobile-menu__header > span {
    color: #202425;
    font-size: 20px;
    font-weight: 750;
  }

  .photorecept-menu-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #202425;
    cursor: pointer;
  }

  .photorecept-menu-close span::before,
  .photorecept-menu-close span::after {
    position: absolute;
    top: 23px;
    left: 12px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  .photorecept-menu-close span::before {
    transform: rotate(45deg);
  }

  .photorecept-menu-close span::after {
    transform: rotate(-45deg);
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu {
    display: block;
    flex: 1 1 auto;
    margin: 0;
    padding: 6px 0 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu > li,
  .mobile-header-w.photorecept-header .photorecept-primary-menu li {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #eeeeec;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu > li > a,
  .mobile-header-w.photorecept-header .photorecept-primary-menu li a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 58px 12px 20px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #25292a !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu > li > a::after {
    display: none;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu li.current-menu-item > a,
  .mobile-header-w.photorecept-header .photorecept-primary-menu li.current-menu-ancestor > a {
    color: #087f86 !important;
  }

  .mobile-header-w.photorecept-header .photorecept-submenu-toggle {
    position: absolute;
    top: 2px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #3c4546;
    cursor: pointer;
  }

  .photorecept-submenu-toggle span,
  .photorecept-submenu-toggle span::after {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .photorecept-submenu-toggle span::after {
    transform: rotate(90deg);
  }

  .photorecept-submenu-toggle[aria-expanded="true"] span::after {
    transform: rotate(0);
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu,
  .mobile-header-w.photorecept-header .photorecept-primary-menu li:hover > .sub-menu,
  .mobile-header-w.photorecept-header .photorecept-primary-menu li:focus-within > .sub-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 4px 0 8px;
    overflow: visible;
    border: 0;
    border-top: 1px solid #edf0ef;
    border-radius: 0;
    background: #f6f8f7 !important;
    box-shadow: none;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu li.is-submenu-open > .sub-menu {
    display: block;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu li {
    border: 0;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a {
    min-height: 44px;
    padding: 10px 20px 10px 34px;
    background: transparent;
    color: #3c4243 !important;
    font-size: 15px;
    font-weight: 500;
  }

  .mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a:hover,
  .mobile-header-w.photorecept-header .photorecept-primary-menu .sub-menu a:focus-visible {
    background: #e9f5f5;
    color: #076e74 !important;
  }

  .photorecept-mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 0 0 auto;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #e3e6e4;
    background: #fff;
  }

  .photorecept-mobile-menu__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #dfe3e1 !important;
    border-radius: 8px;
    color: #263031 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.2;
    text-align: center;
  }

  .photorecept-mobile-menu__actions a.is-primary {
    border-color: #087f86 !important;
    background: #087f86;
    color: #fff !important;
  }

  .photorecept-mobile-account__title {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    padding: 2px 4px 8px;
    color: #687071;
    font-size: 12px;
    line-height: 1.3;
  }

  .photorecept-mobile-account__title strong {
    margin-top: 2px;
    overflow: hidden;
    color: #202425;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .photorecept-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    visibility: hidden;
    background: rgba(12, 18, 19, 0.52);
    opacity: 0;
    cursor: default;
    transition: opacity 180ms ease, visibility 220ms;
  }

  body.photorecept-menu-open .photorecept-menu-backdrop {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .mobile-header-w.photorecept-header,
  body.admin-bar .mobile-header-w.photorecept-header .photorecept-primary-navigation {
    top: 46px;
  }
}

@media (max-width: 380px) {
  .mobile-header-w.photorecept-header .photorecept-header__inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 4px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .mobile-header-w.photorecept-header .photorecept-menu-toggle,
  .mobile-header-w.photorecept-header .mobile-menu-search-toggler,
  .mobile-header-w.photorecept-header .mobile-menu-search-toggler a {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .mobile-header-w.photorecept-header .mobile-logo {
    width: min(138px, 100%) !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  .mobile-header-w.photorecept-header *,
  .photorecept-menu-backdrop {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
