/* =========================================================
   TiMe custom.css - minimale geconsolideerde versie
   Alleen topbar knoppen + mobiel offcanvas + pagina-afstand
   ========================================================= */


/* =========================================================
   1. Topbar basis
   ========================================================= */

#sp-top-bar {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  background: #050060 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 9999 !important;
}

#sp-top-bar .container,
#sp-top-bar .row {
  height: 42px !important;
  min-height: 42px !important;
}

#sp-top-bar .row {
  display: flex !important;
  align-items: center !important;
}


/* =========================================================
   2. Top1 / Facebook centreren
   ========================================================= */

#sp-top1,
#sp-top1 .sp-column,
#sp-top1 .sp-module,
#sp-top1 .sp-module-content {
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
}

#sp-top1 a,
#sp-top1 i,
#sp-top1 .fa {
  color: #ffffff !important;
  line-height: 1 !important;
}


/* =========================================================
   3. Top2 rechts uitlijnen
   ========================================================= */

#sp-top2,
#sp-top2 .sp-column,
#sp-top2 .sp-module,
#sp-top2 .sp-module-content {
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#sp-top2 .sp-column {
  width: 100% !important;
}


/* =========================================================
   4. Alleen Twizzit / Webshop / Login stylen
   Niet alle links in #sp-top2, zodat adminmenu niet mee verandert
   ========================================================= */

#sp-top2 a[href*="twizzit"],
#sp-top2 a[href*="webshop"],
#sp-top2 a[href*="shop"],
#sp-top2 a[href*="login"],
#sp-top2 .login > a,
#sp-top2 .ap-login > a,
#sp-top2 .sp-login > a,
#sp-top2 .mod-login > a {
  height: 30px !important;
  min-height: 30px !important;
  margin-left: 8px !important;
  padding: 0 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,.75) !important;

  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}


/* Template-lijntjes onder deze knoppen weg */
#sp-top2 a[href*="twizzit"]::after,
#sp-top2 a[href*="webshop"]::after,
#sp-top2 a[href*="shop"]::after,
#sp-top2 a[href*="login"]::after,
#sp-top2 .login > a::after,
#sp-top2 .ap-login > a::after,
#sp-top2 .sp-login > a::after,
#sp-top2 .mod-login > a::after {
  content: none !important;
  display: none !important;
}


/* =========================================================
   5. Twizzit: volledig logo, zonder separator-lijntje
   ========================================================= */

#sp-top2 a[href*="twizzit"] {
  width: 122px !important;
  min-width: 122px !important;
  padding: 0 12px !important;
  background: #00B49C !important;

  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;

  overflow: hidden !important;
  position: relative !important;

  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#sp-top2 a[href*="twizzit"]::before {
  content: "" !important;
  display: block !important;

  width: 82px !important;
  height: 20px !important;

  background-image: url("/images/twizzit_horizontal_white.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;

  text-indent: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#sp-top2 a[href*="twizzit"]::after {
  content: none !important;
  display: none !important;
}

#sp-top2 a[href*="twizzit"]:hover,
#sp-top2 a[href*="twizzit"]:focus {
  background: #009F8A !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}


/* Separator/lijntje op module, parent of li rond Twizzit weg */
#sp-top2 li:has(a[href*="twizzit"]),
#sp-top2 .sp-module:has(a[href*="twizzit"]),
#sp-top2 .sp-module-content:has(a[href*="twizzit"]),
#sp-top2 div:has(> a[href*="twizzit"]) {
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

#sp-top2 li:has(a[href*="twizzit"])::before,
#sp-top2 li:has(a[href*="twizzit"])::after,
#sp-top2 .sp-module:has(a[href*="twizzit"])::before,
#sp-top2 .sp-module:has(a[href*="twizzit"])::after,
#sp-top2 .sp-module-content:has(a[href*="twizzit"])::before,
#sp-top2 .sp-module-content:has(a[href*="twizzit"])::after,
#sp-top2 div:has(> a[href*="twizzit"])::before,
#sp-top2 div:has(> a[href*="twizzit"])::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   6. Webshop
   ========================================================= */

#sp-top2 a[href*="webshop"],
#sp-top2 a[href*="shop"] {
  min-width: 112px !important;
  background: #063F75 !important;
}

#sp-top2 a[href*="webshop"]:hover,
#sp-top2 a[href*="shop"]:hover {
  background: #032F59 !important;
}


/* =========================================================
   7. Login
   ========================================================= */

#sp-top2 a[href*="login"],
#sp-top2 .login > a,
#sp-top2 .ap-login > a,
#sp-top2 .sp-login > a,
#sp-top2 .mod-login > a {
  min-width: 86px !important;
  margin-right: 18px !important;
  background: transparent !important;
  position: relative !important;
  top: -5px !important;
}

#sp-top2 a[href*="login"] i,
#sp-top2 .login > a i,
#sp-top2 .ap-login > a i,
#sp-top2 .sp-login > a i,
#sp-top2 .mod-login > a i {
  color: #ffffff !important;
  margin-right: 6px !important;
  line-height: 1 !important;
}



/* =========================================================
   8. Mobiel
   ========================================================= */

@media (max-width: 767px) {

  #sp-top-bar,
  #sp-top-bar .container,
  #sp-top-bar .row {
    height: 48px !important;
    min-height: 48px !important;
  }

  #sp-top-bar .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  #sp-top1 {
    width: auto !important;
    padding-left: 10px !important;
  }

  #sp-top2 {
    display: flex !important;
    justify-content: flex-end !important;
    width: auto !important;
    flex: 1 1 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-right: 6px !important;
  }

  #sp-top2 a[href*="twizzit"],
  #sp-top2 a[href*="webshop"],
  #sp-top2 a[href*="shop"],
  #sp-top2 a[href*="login"],
  #sp-top2 .login > a,
  #sp-top2 .ap-login > a,
  #sp-top2 .sp-login > a,
  #sp-top2 .mod-login > a {
    height: 30px !important;
    min-height: 30px !important;
    margin-left: 4px !important;
    padding: 0 6px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    top: 0 !important;
  }

  #sp-top2 a[href*="twizzit"] {
    width: 84px !important;
    min-width: 84px !important;
  }

  #sp-top2 a[href*="twizzit"]::before {
    width: 60px !important;
    height: 13px !important;
    background-size: 60px auto !important;
    background-position: center top !important;
  }

  #sp-top2 a[href*="webshop"],
  #sp-top2 a[href*="shop"] {
    width: 78px !important;
    min-width: 78px !important;
  }

  #sp-top2 a[href*="login"],
  #sp-top2 .login > a,
  #sp-top2 .ap-login > a,
  #sp-top2 .sp-login > a,
  #sp-top2 .mod-login > a {
    width: 68px !important;
    min-width: 68px !important;
    margin-right: 0 !important;
  }
}


/* =========================================================
   9. Offcanvas rechts op mobiel/tablet
   ========================================================= */

@media (max-width: 991px) {

  #sp-header .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  #sp-menu {
    margin-left: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-right: 18px !important;
  }

  #offcanvas-toggler,
  .offcanvas-toggler {
    float: none !important;
    position: static !important;
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* =========================================================
   10. Pagina lager laten starten tegen overlap
   ========================================================= */

#sp-main-body,
.com-sppagebuilder #sp-main-body {
  padding-top: 64px !important;
}

.com-sppagebuilder .sppb-page-content {
  padding-top: 18px !important;
}

@media (max-width: 767px) {
  #sp-main-body,
  .com-sppagebuilder #sp-main-body {
    padding-top: 48px !important;
  }

  .com-sppagebuilder .sppb-page-content {
    padding-top: 14px !important;
  }
}