/**================================================================
 * User overrides Joomla 6 t.b.v. 365DagenDuurzaam
 * Kleurregels verwijderd voor test op basis van template.css / templateDetails.xml
 * ================================================================*/

/* =========================================================
   Fontdefinitie voor de gehele website
   ========================================================= */
@font-face {
  font-family: 'bariol_regular-webfont';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''),
    url('../fonts/bariol_regular-webfont.eot'),
    url('../fonts/bariol_regular-webfont?#iefix') format('embedded-opentype'),
    url('../fonts/bariol_regular-webfont.woff2') format('woff2'),
    url('../fonts/bariol_regular-webfont.woff') format('woff'),
    url('../fonts/bariol_regular-webfont.ttf') format('truetype'),
    url('../fonts/bariol_regular-webfont.svg#svgFontName') format('svg');
}

/* Basis font blijft */
body {
  font-family: 'bariol_regular-webfont', sans-serif;
}

/* =========================================================
   LAYOUT / HEADER
   ========================================================= */

.container-topbar {
  max-width: 1320px;
  min-height: 32px;
  margin-left: auto;
  margin-right: auto;
}

.container-topbar .mod-menu {
  display: flex;
  justify-content: flex-start;
  padding-left: 0.2rem;
}

.company-info {
  height: auto;
  width: 100%;
}

.container-header .header-inner {
  display: flex;
  align-items: center;
}

.header-left,
.header-image-extra {
  flex: 0 0 auto;
}

.container-header .header-text {
  margin: 0 auto;
  text-align: center;
}

.header-left,
.header-image-extra {
  flex: 0 0 auto;
  min-width: 10rem;
}

/* LOGO */
.navbar-brand {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar-brand img {
  height: calc(1.2 * clamp(5rem, 2.5rem + 6vw, 12rem));
  width: auto;
  display: block;
}

.container-header .header-image-extra img {
  display: block;
  margin-left: auto;
  max-width: 100%;
  height: calc(1.2 * clamp(5rem, 3rem + 6.5vw, 14rem));
}

.container-header .header-title {
  font-size: clamp(1.5rem, 1.1rem + 3vw, 5rem);
  opacity: 0.9;
}

.container-header .header-subtitle {
  font-size: clamp(1.05rem, 0.85rem + 2.2vw, 3rem);
  opacity: 0.9;
}

/* MENU */
.mod-menu .nav-item.item-101.active {
  display: none;
}

.mod-menu > .nav-item,
.mod-menu > .nav-item:has(ul) {
  font-size: calc(0.8rem + .5vw);
}

.metismenu.mod-menu .metismenu-item {
  font-size: calc(0.8rem + .5vw);
}

.container-component > :first-child {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.container-header .container-nav {
  margin-top: 0.1rem;
  padding-bottom: 0.1rem;
}

/* =========================================================
   SPACING CONTENT
   ========================================================= */

.site-grid {
  margin-top: 0.2rem !important;
  padding-top: 0.2rem !important;
}

.grid-child.container-component {
  margin-top: 0.2rem !important;
  padding-top: 0.2rem !important;
}

.com-content-article.item-page {
  margin-top: 0.2rem !important;
  padding-top: 0.2rem !important;
}

.blog-layout-custom {
  margin-top: 0.2rem !important;
  padding-top: 0.2rem !important;
}

.com-content-article > :first-child,
.blog-layout-custom > :first-child {
  margin-top: 0 !important;
}

.container-component main {
  margin-top: 0;
}

.com-content-article {
  padding: 1rem;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */

nav.mod-breadcrumbs__wrapper {
  margin: 0.15rem 0;
  padding: 0;
  border-radius: 0;
}

.breadcrumb {
  margin: 0 !important;
  padding: 0.15rem 0.75rem !important;
  background: transparent;
}

.mod-breadcrumbs__here {
  margin: 0;
  padding: 0;
  opacity: 0.75;
}

.breadcrumb-item {
  line-height: 1.3;
}

.breadcrumb-item a {
  line-height: 1.3;
}

a.pathway {
  font-size: 100%;
}
*===============================================================================================
 Invoegen css voor indelen homepage:  
 HOMEPAGE BLOG LAYOUT - ITEMID 101 (STABLE FINAL)
  ===============================================================================================*/

/* 1. WITTE PAGINA (MINIMALE RAND) */
.itemid-101 .com-content-article {
  background-color: #ffffff;
  padding: 0.4rem;
  border-radius: 0.4rem;
}
/* 2. SECTIES */
.itemid-101 .blog-section {
  margin-bottom: 0.6rem;
}
/* 3. GRID - BOOTSTRAP LEIDEND */
.itemid-101 .row {
  --bs-gutter-x: 0.3rem;
  --bs-gutter-y: 0.3rem;
}
/* gelijke card hoogte */
.itemid-101 .row > [class*="col-"] {
  display: flex;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}
/* 4. cards vullen kolom */
.itemid-101 .blog-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.6rem;
  box-shadow:
     0 0.2rem 0.4rem rgba(0,0,0,0.05),
     0 0.6rem 1.2rem rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}
.itemid-101 .blog-card:hover {
  transform: translateY(-0.15rem);
}
/* 5. HERO */
.itemid-101 .blog-hero {
    padding: 1.2rem;
    margin-bottom: 0.6rem;
    background-color: #FFFFFF;

    box-shadow:
        0 0.3rem 0.8rem rgba(0,0,0,0.05),
        0 0.8rem 1.5rem rgba(0,0,0,0.08);
}
/* 6. FULL WIDTH BLOK */
.itemid-101 .blog-footer-block .blog-card {
  width: 100%;
}

.itemid-101 .card-body {
  padding: 1rem;
}
*===============================================================================================
  Extra opmaak voor de links met subtiele schaduw
===============================================================================================*/
/* CTA / cards */
.blog-hero .cta-primary {
  display: inline-block;
  font-size: calc(0.9rem + 0.3vw);
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: calc(0.5rem + 0.2vw) calc(1rem + 0.3vw);
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);		/* subtiele schaduw */
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.blog-hero .cta-primary:hover {
  transform: scale(1.05);
  transition: all 0.3s ease, transform 0.3s ease;
}

.cta-secondary {
  display: inline-block;
  font-size: calc(0.9rem + 0.3vw);
  font-weight: 600;
  text-decoration: none !important;
  padding: calc(0.4rem + 0.2vw) calc(0.6rem + 0.3vw);
  border-radius: 0.375rem;
  box-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.cta-secondary:hover {
  transform: scale(1.05);
  transition: all 0.3s ease, transform 0.3s ease;
}
/*===============================================================================================
  Alle links binnen cards opmaken met witte achtergrond en hero-look
===============================================================================================*/
.card-body a {
  display: inline-block;
  font-size: calc(0.85rem + 0.2vw);
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 0.375rem;
  padding: calc(0.45rem + 0.2vw) calc(1rem + 0.3vw);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card-body a:hover {
  transform: scale(1.05);
}

.card-body p {
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */

div#mod-custom110.mod-custom.custom h5,
div#mod-custom110.mod-custom.custom p,
div#mod-custom110.mod-custom.custom td {
  background: transparent;
}

.footer {
  background-image: none;
}

table.left-table {
  border: 1px solid currentColor;
  width: 100%;
}

table.left-table td {
  padding: 0.2rem 0.8rem 0.1rem 0.6rem;
  text-align: left;
}

.left-table td.naw-titel {
  width: 40%;
}

.left-table td.naw-data {
  width: 60%;
}

table.right-table {
  width: 100%;
  border: 1px solid currentColor;
}

table.right-table td {
  padding: 0.2rem 0.8rem 1.2rem 0.4rem;
}

#mod-custom110 .table-wrapper table td,
#mod-custom110 .table-wrapper table td a,
#mod-custom110 .table-wrapper table td p {
  font-size: calc(0.8rem + 0.5vw) !important;
  line-height: 1.3 !important;
}

table.left-table td p {
  margin: 0;
  line-height: 1.3;
}

table.left-table td p span.indent {
  display: inline-block;
  padding-left: 0.5em;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

@media (min-width: 320px) and (max-width: 639px) {
  .header-image-extra {
    display: none;
  }

  img.floatleft {
    float: left;
    height: auto;
    width: auto;
    max-width: 40%;
    padding: 0.6em 0.2em 0.4em 1em;
  }

  img.floatcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 94%;
    padding: 0.6em 1em 0.4em 1em;
  }

  img.floatright {
    float: right;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.6em 1em 0.4em 0.2em;
  }
}

@media (min-width: 640px) and (max-width: 812px) {
  .header-image-extra {
    display: none;
  }

  img.floatleft {
    float: left;
    height: auto;
    width: auto;
    max-width: 40%;
    padding: 0.6em 0.2em 0.4em 1em;
  }

  img.floatcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 94%;
    padding: 0.6em 1em 0.4em 1em;
  }

  img.floatright {
    float: right;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.6em 1em 0.4em 0.2em;
  }
}

@media (min-width: 813px) and (max-width: 1023.98px) {
  img.floatleft {
    float: left;
    height: auto;
    width: auto;
    max-width: 40%;
    padding: 0.6em 0.2em 0.4em 1em;
  }

  img.floatcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 94%;
    padding: 0.6em 1em 0.4em 1em;
  }

  img.floatright {
    float: right;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.6em 1em 0.4em 0.2em;
  }
}

@media (min-width: 1024px) and (max-width: 1247.98px) {
  img.floatleft {
    float: left;
    height: auto;
    width: auto;
    max-width: 40%;
    padding: 0.6em 0.2em 0.4em 1em;
  }

  img.floatcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 94%;
    padding: 0.6em 1em 0.4em 1em;
  }

  img.floatright {
    float: right;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.6em 1em 0.4em 0.2em;
  }
}

@media (width >= 1248px) {
  img.floatleft {
    float: left;
    margin: 0;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.6em 0.4em 0.4em 1em;
  }

  img.floatcenter {
    display: block;
    margin: 0 auto;
    max-width: 94%;
    padding: 0.3em 0.1em;
  }

  img.floatright {
    float: right;
    margin: 0;
    height: auto;
    width: auto;
    max-width: 48%;
    padding: 0.2em 0.4em 0.2em 0.4em;
  }
}