/* Local overrides on top of the compiled theme CSS. */

svg.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
  overflow: visible;
}

/* Mobile navigation icons (replacing Font Awesome glyphs). */
header#page-header ul.header-actions li.nav-toggle .icon-times {
  display: none;
}
header#page-header.nav-toggle-active ul.header-actions li.nav-toggle .icon-bars {
  display: none;
}
header#page-header.nav-toggle-active ul.header-actions li.nav-toggle .icon-times {
  display: inline-block;
}

/* Dropdown indicators used to be Font Awesome glyphs. */
header#page-header.nav-toggle-active li.has-dropdown::after {
  content: "▾";
  font-family: inherit;
}
header#page-header.nav-toggle-active li.has-dropdown.dropdown-active::after {
  content: "▴";
}
@media (min-width: 950px) {
  header#page-header nav.main > ul > li ul li.has-dropdown > a::after {
    content: "›";
    font-family: inherit;
    color: #e1f9fd;
  }
}

/* Contact: the interactive map is replaced by address cards. */
section.contact.info-map div.map-inner {
  height: auto;
  flex-direction: column;
}
section.contact.info-map div.info {
  justify-content: center;
}
section.contact.info-map div.info ul {
  padding: 4.8rem 0;
  max-width: 62rem;
  width: 100%;
}

/* YouTube facade: nothing is requested from YouTube until it is clicked. */
section.home.fivi .video-embed-wrapper .video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}
section.home.fivi .video-embed-wrapper .video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
section.home.fivi .video-embed-wrapper .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(72, 126, 167, 0.92);
  color: #fafcfc;
  font-size: 3.2rem;
  box-shadow: 0 0.6rem 3.2rem rgba(0, 0, 0, 0.35);
}

/* Calendar used by the two calculators. */
.calc-calendar {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.6rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 0.6rem 2.4rem 0 rgba(148, 146, 245, 0.16);
}
.calc-calendar header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8rem 1.6rem;
}
.calc-calendar .calc-month {
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: capitalize;
}
.calc-calendar .calc-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #e1f9fd;
  color: #2f5a78;
  cursor: pointer;
  font-size: 1.6rem;
}
.calc-calendar .calc-nav:hover {
  background: #2f5a78;
  color: #fafcfc;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}
.calc-grid .calc-dow {
  padding: 0.4rem 0;
  text-align: center;
  font-size: 1.2rem;
  color: #717174;
}
.calc-grid button {
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #182125;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  cursor: pointer;
}
.calc-grid button:hover {
  background: #e1f9fd;
}
.calc-grid .is-empty {
  display: block;
  aspect-ratio: 1 / 1;
}
.calc-grid button.is-today {
  outline: 1px solid #2f5a78;
}
.calc-grid button.is-selected {
  background: #2f5a78;
  color: #fafcfc;
}
.calc-grid button.is-fertile {
  background: #00707c;
  color: #fafcfc;
}
.calc-grid button.is-ovulation {
  background: #00636e;
  color: #fafcfc;
}
.calc-grid button.is-period {
  background: #5b3d87;
  color: #fafcfc;
}
.calc-grid button.is-test {
  background: #9c124d;
  color: #fafcfc;
}
.calc-calendar .calc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 1.6rem 0 0;
  font-size: 1.2rem;
  color: #717174;
}
.calc-calendar .calc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.calc-calendar .calc-legend i {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

[hidden] {
  display: none !important;
}

/* Static pages added by the migration. */
section.privacy .section-content,
section.search-page .section-content {
  max-width: 90rem;
  padding: 6.4rem 3.2rem 8rem;
}
section.privacy .styled-text h2 {
  padding-top: 1.6rem;
}
section.search-page .pagefind-ui__search-input {
  font-size: 1.8rem;
}
