/* === TYPOGRAFIE & BASIS === */
.figcaption {
  color: #6d757e;
  font-size: 0.9em;
  border-radius: 5px;
}
.caption {
  text-align: center;
}
.com-content-article,
.com-content-category-blog {
  color: #003366 !important;
}
.container-footer {
    --cassiopeia-color-primary: #0376BB;
}

/* === MODULES === */
.moduletable.blauwe-achtergrond {
  margin: 0 auto;
}
.taal-rechts {
  margin-left: auto;
}
.blauwe-achtergrond {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.container-footer {
  --cassiopeia-color-primary: #0376BB;
}

/* === HEADER MET OVERLAY === */
.header {
  position: relative;
  z-index: 1750;
  min-height: 250px;
  background: #93BBE0;
  background-size: cover;
border-bottom: 15px solid #003366 !important;
}

/* Desktop logo als achtergrond in header */
.header .grid-child.container-below-top {
  background-image: url('/images/logo_desktop.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  min-height: 140px; /* pas aan indien nodig */
}

/* Mobiel: vervang logo en pas hoogte aan */
@media (max-width: 768px) {
  .header .grid-child.container-below-top {
    background-image: url('/images/logo_mobiel-3.png');
    min-height: 100px; /* kleiner voor mobiel */
    background-position: left center;
    background-size: 90%;
  }
}

.card-header {
color: #036;
background: linear-gradient(to bottom, #93BBE0, #CBEEDB); 
  border: 1px solid #003366;
  padding: 10px;
  border-radius: 8px 8px 0px 0px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  

}
.page-header {
color: #036;
background-color: #93BBE0;
  border: 1px solid #003366;
  padding: 10px;
  border-radius: 8px 8px 0px 0px;
box-shadow: none;
border-top: 4px solid #003366;
background: linear-gradient(to bottom, #93BBE0, #CBEEDB); 


}
.page-header h1 {
text-shadow: 2px 2px 3px rgba(0, 51, 102, 0.4);


}




.com-dpcalendar-event__image .dp-image {
    width: 100%;
  max-width: 700px!important;
  margin-right: 30px!important;
  border: 1px solid #003366 !important;
  filter: drop-shadow(2px 2px 8px gray)!important;
border-radius: 5px !important;
  height: auto;
  display: block;
}

.com-dpcalendar-blog .dp-figure {
  width: 250px;
  height: auto !important;
  max-width: 100%;
  display: inline-block;
  filter: drop-shadow(2px 2px 8px gray) !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  text-align: center;
}


.dp-image {
  width: 250px;
  height: auto;
border-radius: 5px !important;
  display: block;
  margin: 0 auto;
}


.dp-figure img {
  max-width: 250px;
  width: 100%;
  height: auto !important;
border-radius: 5px !important;
  display: block;
  margin: 0 auto;
}


.dp-figure img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 0 !important;
  margin: 0 auto;
}





/* Reset standaard logo */
.header .navbar-brand {
  display: none;
}

/* Inject logo via achtergrond */
.header.container-header::before {
  content: "";
  display: block;
  background: url('/images/logo_desktop.png') no-repeat center center;
  background-size: contain;
  height: 150px; /* pas aan indien nodig */
  width: 100%;
}

/* Mobiel alternatief */
@media (max-width: 767px) {
  .header.container-header::before {
    background-image: url('/images/logo_mobiel-3.png');
    height: 110px; /* optioneel kleiner maken */
  }
}

@media (max-width: 768px) {
  .dp-figure img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
    border-radius: 5px !important; /* ← Dit ontbrak! */
  }
}

/* Container figure styling */
.com-dpcalendar-blog .dp-figure {
  max-width: 250px;
  width: 100%;
  height: auto !important;
  margin: 0 auto 1em auto;
  display: block;
  text-align: center;
}

























.com-content-category-blog {
  background: #fff;
}


/* === MENU DROPDOWNS === */
ul.mod-menu,
ul.mod-menu ul {
  position: relative;
  z-index: 2000;
}

/* === BREADCRUMB & BANNER — BOVEN CONTENT, ONDER MENU === */


/* === FLOATING MEDIA — ONDER HEADER === */
/* Visuele styling voor floating media */

.advert {
  max-width: 100%;
  width: 800px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;

    border: 1px solid #003366 !important;
  border-radius: 10px!important;
  overflow: hidden; /* ➜ belangrijk als element niet automatisch afknipt */
}

img.advert {
  max-width: 100%;
  width: 800px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 125px!important;
  filter: drop-shadow(2px 2px 8px gray)!important;
}

@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}



.float-center
 {
  border: 1px solid #003366 !important;
  box-shadow: 2px 2px 8px gray !important;
}
.float-artikel {
  border: 1px solid #003366 !important;
  box-shadow: 2px 2px 8px gray !important;
}
.float-left {
  max-width: 700px!important;
  margin-right: 30px!important;
  border: 1px solid #003366 !important;
  border-radius: 5px;
  filter: drop-shadow(2px 2px 8px gray)!important;
  }
  .float-start {
  max-width: 700px!important;
  margin-right: 30px!important;
  border: 1px solid #003366 !important;
  border-radius: 10px;
  filter: drop-shadow(2px 2px 8px gray)!important;
  }
  .float-start img {
  border-radius: 10px;
  display: block;
}

    .float-none {
    width: 100%;
  max-width: 700px!important;
  margin-right: 30px!important;
  border: 1px solid #003366 !important;
  border-radius: 5px;
  filter: drop-shadow(2px 2px 8px gray)!important;
  height: auto;
  display: block;	
  }
  @media (max-width: 768px) {
  .float-none {
    margin-right: 0 !important;
  }
}

.float-noborder {
  width: 100%;
  max-width: 700px !important;
  margin-top: 20px !important;
    margin-left: auto !important;
  margin-right: auto !important;

  filter: drop-shadow(2px 2px 8px gray) !important;
  height: auto;
  display: block;
}


  
  
.float-blog {
  max-width: 700px!important;
  margin-right: 30px!important;
  border-radius: 5px;
  filter: drop-shadow(2px 2px 8px gray)!important;
  }
  
.responsive-iframe-container {
  position: relative;
  width: 100%;
  max-width: 800px;       /* optioneel max-breedte */
  margin: 0 0 1rem 0;     /* links uitgelijnd, ruimte onder */
  padding-bottom: 56.25%; /* 16:9 verhouding */
  height: auto;           /* hoogte automatisch */
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  float: left;            /* links uitlijnen */
  margin-right: 15px; /* ruimte rechts */
}

.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 15px 1rem 0;
  aspect-ratio: 16 / 9;
  float: left;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  1px solid #003366 !important;
  border-radius: 10px;
  filter: drop-shadow(2px 2px 8px gray) !important;
}






/* === OVERIG === */
.visually-hidden {
  justify-content: right !important;
  align-items: right !important;
}
.collapse {
  color: #fff !important;
  float: left;
}
.mod-menu {
  color: #003366 !important;
  float: left;
}
.koormenu {
color: #003366 !important;
}



.pdf-print-icon .btn-danger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: visible; /* belangrijk voor tooltip */
  text-overflow: ellipsis;

  background-color: #003366 !important;
  border-color: #003b75 !important;
  color: #fff !important;
}
/* Hoverstijl */
.pdf-print-icon .btn-danger:hover {
  background-color: #93BBE0 !important;
  border-color: #93BBE0 !important;
  color: #003366 !important;
}

/* Active border-bottom bij mobiel */
@media (max-width: 767px) {
  li.active a.menu__active {
    border-bottom: 4px solid #93BBE0;
  }
}

/* Active border-top bij desktop */
@media (min-width: 768px) {
  .container-header .mod-menu a.menu__active {
    border-top: 4px solid #93BBE0;
  }
}








/* Verberg submenu standaard */
.metismenu .mm-collapse {
  display: none !important;
  position: absolute;
  background: white;
  z-index: 9999;
  padding: 0;
  margin: 0;
  border: 1px solid #004D81;
  border-radius: 10px;
}

/* Toon submenu op hover van ouder LI */
.metismenu-item.parent:hover > .mm-collapse {
  display: block !important;
}

/* Zorg dat het submenu niet position: relative is */
.metismenu-item {
  position: relative;
}
.mm-toggler-link {
  display: none !important;
}

.metismenu .mm-collapse a {
  color: #003366;
  padding: 12px 16px;
  display: block;
  width: 100%;
  text-decoration: none;
    border-radius: 6px;
  transition: background-color 0.3s ease;
}

.metismenu .mm-collapse a:hover {
  color: #fff;
  background-color: #003366;
}

@media (max-width: 768px) {
  header.container-header {
    padding: 8px 0 !important;
    min-height: auto !important;
  }

  .navbar-brand img {
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
  }

  .grid-child.container-below-top,
  .grid-child.container-nav {
    padding: 0 !important;
    margin: 0 !important;
  }
}


