/* Aanpassingen op Cassiopeia en bootstrap voor Viking
*  X-Small devices (portrait phones, less than 576px)
*  No media query for `xs` since this is the default in Bootstrap */

/* Logo */
img.logo, .brand-logo img {
  max-width: 240px;
  height: auto;
}

/* Homepage */
.itemid-101 {
  .page-header, .article-info {
    display: none;
  }
}
.carousel-indicators {
  justify-content: end; 
  margin-bottom: .1rem;
}
#carousel-home .carousel-item {
  max-height: 25vw;
  display: flex;
  align-items: center;
}
.carousel-caption {
  bottom: 0;
  padding-top: .1rem;
  padding-bottom: .1rem;
}
#carousel-home h3 {
  font-family: 'MuseoModerno';
  font-size: 16px;
  font-weight: 300;
}
#carousel-home p {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: .5rem;
}

/* Geeft elk apart nieuwsitem op home een lijntje en wat spacing */
.mod-articles-item {
  border-bottom: dotted 1px black;
  margin-bottom: 1em;
}
[data-bs-theme="dark"] .mod-articles-item {
  border-bottom-color: var(--white);
}
.mod-articles-item img {
  border-radius: var(--border-radius);
}

/* Agenda JEvents in jevcustom.css ! */

/* Submenus */
p.commissie {
  height: 170px;
}
li.deeper.dropdown.parent:has(> a + a) > a.nav-link.dropdown-toggle,
li.deeper.dropdown-submenu.parent > a.nav-link.dropdown-toggle {
  display: none;
}

/* article-info */
.category-name {
  background-color: var(--secondary);
  padding: 20px 25px !important;
  margin: 0px 0px 20px;
  border-radius: 10px;
  color: var(--black) !important;
  font-size: 20px;
  font-weight: 500;	
}
.article-info-term {
  display: none;
}
.com-content-category-blog__item figure.item-image img,
.com-content-article figure.item-image img {
  max-height: 295px;
  width: 100%;
  border-radius: .75rem;
  object-fit: cover;
}
/* attachments kan weg als we die module (echt) niet gaan gebruiken */
div.attachmentsContainer .attachmentsList:empty,
div.prikbord:has(div:empty) {
  display: none;
}
#main div.attachmentsList thead tr, div.attachmentsList thead tr {
  color: var(--white);
  background-color: var(--secondary) !important;
}
/* End attachments */

/* nlmaps */
.leaflet-container.leaflet-touch.leaflet-fade-anim.leaflet-grab.leaflet-touch-drag.leaflet-touch-zoom {
  border-radius: 10px;
}
.leaflet-control-zoom.leaflet-bar.leaflet-control a,
.leaflet-control-attribution.leaflet-control a {
  color: var(--primary) !important;
}
/* Commissie login */
.plg_system_webauthn_login_button svg {
  width: 1.25em;
}

/* Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... } */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Remove the padding we set earlier */
  .container { padding: 0; }
  .nav { flex-direction: row; }
  /* Homepage */
  #carousel-home .carousel-indicators {
    margin-bottom: 3rem;
  }
  #carousel-home .carousel-caption {
    bottom: 2.5rem;
  }
  #carousel-home h3 {
    font-size: 20px;  
  }
  #carousel-home p {
    font-size: 1rem;
  }
  .itemid-101 .site-grid {
    margin-top: -60px;
    position: relative;
    z-index: 1;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  img.logo, .brand-logo img {
    max-width: 300px;
  }
  #carousel-home .carousel-indicators {
    margin-bottom: 4rem;
  }
  #carousel-home .carousel-caption {
    bottom: 4.25rem;
  }
  #carousel-home h3 {
    font-size: 46px;  
  }
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  img.logo, .brand-logo img {
    max-width: 450px;
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 2000px) {
  .container-banner {
    margin: 0 auto;
    max-width: 2560px;
  }
  #carousel-home .carousel-item {
    max-height: 640px;
  }	
}
