/* =========================================================
   INFOFITNESS HEADER BASIS
   ========================================================= */

.if-site-header-wrap,
.if-site-header-wrap * {
  box-sizing: border-box;
}

.if-site-header-wrap {
  position: relative;
  width: 100%;
  z-index: 9990;
  font-family: 'Montserrat', sans-serif;
}

.if-site-header-container {
  width: calc(100% - 48px);
  max-width: 980px;
  margin: 0 auto;
}


/* =========================================================
   BOVENBALK
   ========================================================= */

.if-site-topbar {
  width: 100%;
  height: 32px;
  background: #3a3244;
  color: #ffffff;
}

.if-site-topbar .if-site-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 30px;
}

.if-site-topbar-text {
  font-size: 9px !important;
  line-height: 1.4 !important;
  font-weight: 500;
  color: #d9d4de;
}

.if-site-topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.if-site-topbar-links a {
  position: relative;
  font-size: 9px !important;
  line-height: 1.4 !important;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.if-site-topbar-links a:hover {
  color: #ffb08c;
}


/* =========================================================
   HOOFDHEADER
   ========================================================= */

.if-site-header {
  position: relative;
  width: 100%;
  height: 70px;
  background: #ffffff;
  border-bottom: 1px solid #e4e0e5;
  z-index: 9990;
}

.if-site-header-inner {
  display: flex;
  align-items: center;
  height: 70px;
}

.if-site-header-logo {
  display: block;
  flex: 0 0 auto;
  margin-right: auto;
}

.if-site-header-logo img {
  display: block;
  width: auto;
  height: 35px;
  max-width: 190px;
}


/* =========================================================
   DESKTOP NAVIGATIE
   ========================================================= */

.if-site-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin-left: 40px;
}

.if-site-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.if-site-nav-trigger,
.if-site-nav-item-direct > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 15px;
  border: 0;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700;
  color: #1f1d21;
  text-decoration: none;
  cursor: pointer;
}

.if-site-nav-trigger::after,
.if-site-nav-item-direct > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 2px;
  background: #ff5600;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.if-site-nav-trigger:hover::after,
.if-site-nav-item.is-open > .if-site-nav-trigger::after,
.if-site-nav-item-direct > a:hover::after {
  transform: scaleX(1);
}

.if-site-nav-trigger svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.if-site-nav-item.is-open > .if-site-nav-trigger svg {
  transform: rotate(180deg);
}


/* =========================================================
   NORMALE DROPDOWNS
   ========================================================= */

.if-site-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 235px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e6e2e7;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 35px rgba(35, 28, 40, .10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.if-site-nav-item.is-open > .if-site-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.if-site-dropdown > a,
.if-site-exercises-grid > a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 11px !important;
  line-height: 1.45 !important;
  font-weight: 600;
  color: #514c54;
  text-decoration: none;
}

.if-site-dropdown > a:hover,
.if-site-exercises-grid > a:hover {
  background: #faf9f7;
  color: #3a3244;
}

.if-site-dropdown-all {
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid #eeeae6;
}

.if-site-dropdown-all a {
  display: block;
  padding: 7px 10px;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: #ff5600;
  text-decoration: none;
}

.if-site-dropdown-all a:hover {
  color: #e64d00;
}


/* =========================================================
   OEFENINGEN DROPDOWN
   ========================================================= */

.if-site-exercises-dropdown {
  left: 50%;
  width: 360px;
  transform: translate(-50%, 8px);
}

.if-site-nav-item.is-open > .if-site-exercises-dropdown {
  transform: translate(-50%, 0);
}

.if-site-exercises-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
}


/* =========================================================
   SUPPLEMENTEN MEGA MENU
   ========================================================= */

.if-site-nav-item-mega {
  position: static;
}

.if-site-mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #eeeae6;
  border-bottom: 1px solid #e4e0e5;
  box-shadow: 0 16px 40px rgba(35, 28, 40, .09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.if-site-nav-item-mega.is-open .if-site-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.if-site-mega-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(260px, .95fr);
  gap: 42px;
  width: calc(100% - 48px);
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 0 34px;
}

.if-site-mega-column {
  min-width: 0;
}

.if-site-mega-label {
  display: block;
  margin: 0 0 12px;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: #8c8790;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.if-site-mega-column > a {
  display: block;
  margin: 0;
  padding: 7px 0;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 600;
  color: #363239;
  text-decoration: none;
}

.if-site-mega-column > a:hover {
  color: #ff5600;
}

.if-site-mega-feature {
  padding: 21px;
  background: #faf9f7;
  border: 1px solid #eeeae6;
  border-radius: 12px;
}

.if-site-mega-feature-label {
  display: block;
  margin-bottom: 7px;
  font-size: 9px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: #ff5600;
  text-transform: uppercase;
}

.if-site-mega-feature h3 {
  margin: 0 0 8px;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700;
  color: #1a1a1a;
}

.if-site-mega-feature p {
  margin: 0;
  font-size: 10px !important;
  line-height: 1.65 !important;
  color: #68636b;
}

.if-site-mega-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: #3a3244;
  text-decoration: none;
}

.if-site-mega-feature-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.if-site-mega-feature-link:hover {
  color: #ff5600;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.if-site-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.if-site-search-toggle,
.if-site-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: #faf9f7;
  border: 1px solid #e8e4e9;
  border-radius: 9px;
  color: #3a3244;
  cursor: pointer;
}

.if-site-search-toggle:hover,
.if-site-mobile-toggle:hover {
  background: #f3f0f4;
  border-color: #d8d2da;
}

.if-site-search-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   ZOEKPANEEL
   ========================================================= */

.if-site-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: #ffffff;
  border-bottom: 1px solid #e4e0e5;
  box-shadow: 0 12px 30px rgba(35, 28, 40, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.if-site-header.search-open .if-site-search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.if-site-search-form {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 34px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px 10px 16px;
  background: #faf9f7;
  border: 1px solid #ded9e0;
  border-radius: 10px;
}

.if-site-search-form > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #77727a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.if-site-search-form input {
  min-width: 0;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #252126;
}

.if-site-search-form button[type="submit"] {
  height: 34px;
  padding: 0 16px;
  background: #3a3244;
  border: 0;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.if-site-search-form button[type="submit"]:hover {
  background: #473b56;
}

.if-site-search-close {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #77727a;
  cursor: pointer;
}


/* =========================================================
   STICKY DESKTOP HEADER
   ========================================================= */

@media (min-width: 981px) {

  .if-site-header-wrap.is-sticky .if-site-topbar {
    display: none;
  }

  .if-site-header-wrap.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: ifHeaderSlideDown .28s ease forwards;
  }

  body.admin-bar .if-site-header-wrap.is-sticky {
    top: 32px;
  }

  .if-site-header-wrap.is-sticky .if-site-header {
    box-shadow: 0 7px 24px rgba(35, 28, 40, .08);
  }

  body.if-header-sticky-active {
    padding-top: 102px;
  }

}

@keyframes ifHeaderSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}


/* =========================================================
   MOBIEL KNOP
   ========================================================= */

.if-site-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.if-site-mobile-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #3a3244;
  transition: transform .2s ease, opacity .2s ease;
}

.if-site-header.mobile-open .if-site-mobile-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.if-site-header.mobile-open .if-site-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.if-site-header.mobile-open .if-site-mobile-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}


/* =========================================================
   MOBIEL MENU
   ========================================================= */

.if-site-mobile-menu {
  display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {

  .if-site-nav-trigger,
  .if-site-nav-item-direct > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .if-site-nav-trigger::after,
  .if-site-nav-item-direct > a::after {
    left: 10px;
    right: 10px;
  }

  .if-site-nav {
    margin-left: 20px;
  }

}


@media (max-width: 980px) {

  .if-site-header-container {
    width: calc(100% - 32px);
  }

  .if-site-topbar {
    display: none;
  }

  .if-site-header,
  .if-site-header-inner {
    height: 64px;
  }

  .if-site-header {
    position: sticky;
    top: 0;
  }

  body.admin-bar .if-site-header {
    top: 32px;
  }

  .if-site-nav {
    display: none;
  }

  .if-site-header-logo img {
    height: 31px;
  }

  .if-site-header-actions {
    margin-left: auto;
  }

  .if-site-search-toggle {
    display: none;
  }

  .if-site-mobile-toggle {
    display: flex;
  }

  .if-site-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 0 0 30px;
    background: #ffffff;
    border-bottom: 1px solid #ded9e0;
    box-shadow: 0 16px 35px rgba(35, 28, 40, .10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity .2s ease,
      visibility .2s ease,
      transform .2s ease;
  }

  .if-site-header.mobile-open .if-site-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .if-site-mobile-search {
    padding: 18px 0;
    border-bottom: 1px solid #eeeae6;
  }

  .if-site-mobile-search form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    background: #faf9f7;
    border: 1px solid #e3dfe4;
    border-radius: 9px;
    overflow: hidden;
  }

  .if-site-mobile-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: transparent;
    border: 0;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #2b2b2b;
  }

  .if-site-mobile-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #3a3244;
  }

  .if-site-mobile-search button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
  }

  .if-site-mobile-group,
  .if-site-mobile-direct {
    border-bottom: 1px solid #eeeae6;
  }

  .if-site-mobile-group-trigger,
  .if-site-mobile-direct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 0;
    background: transparent;
    border: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: #242126;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .if-site-mobile-group-trigger span {
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 400;
    color: #847e87;
    transition: transform .2s ease;
  }

  .if-site-mobile-group.is-open .if-site-mobile-group-trigger span {
    transform: rotate(45deg);
  }

  .if-site-mobile-submenu {
    display: none;
    padding: 2px 0 18px 14px;
	text-align: left;
  }

  .if-site-mobile-group.is-open .if-site-mobile-submenu {
    display: block;
  }

  .if-site-mobile-submenu strong {
    display: block;
    margin: 15px 0 5px;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: #9a949d;
    text-transform: uppercase;
  }

  .if-site-mobile-submenu > a {
    display: block;
    padding: 7px 0;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500;
    color: #575159;
    text-decoration: none;
  }

  .if-site-mobile-submenu > a:hover {
    color: #ff5600;
  }

  .if-site-mobile-submenu .if-site-mobile-all {
    margin-top: 8px;
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: #ff5600;
  }

  .if-site-mobile-exercises {
    columns: 2;
    column-gap: 24px;
  }

  .if-site-mobile-exercises a {
    break-inside: avoid;
  }

  .if-site-mobile-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 22px;
  }

  .if-site-mobile-secondary a {
    font-size: 10px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    color: #777179;
    text-decoration: none;
  }

}


@media (max-width: 480px) {

  .if-site-header-container {
    width: calc(100% - 24px);
  }

  .if-site-header-logo img {
    height: 28px;
  }

  .if-site-header-actions {
    gap: 6px;
  }

  .if-site-mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .if-site-mobile-exercises {
    columns: 1;
  }

}