/* ==========================================================
   Deel 1: benodigde onderdelen uit Bootstrap 4.3.1 (MIT)
   ========================================================== */

*,
::after,
::before {
  box-sizing:border-box;
}

html {
  font-family:sans-serif;
  line-height:1.15;
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display:block;
}

body {
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size:1rem;
  font-weight:400;
  line-height:1.5;
  color:#212529;
  text-align:left;
  background-color:#fff;
}

ol,
ul {
  margin-top:0;
  margin-bottom:1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top:0;
}

p {
  margin-top:0;
  margin-bottom:1rem;
}

a {
  color:#007bff;
  text-decoration:none;
  background-color:transparent;
}

a:hover {
  color:#0056b3;
  text-decoration:underline;
}

figure {
  margin:0 0 1rem;
}

img {
  vertical-align:middle;
  border-style:none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom:.5rem;
  font-weight:500;
  line-height:1.2;
}

.h1,
h1 {
  font-size:2.5rem;
}

.h2,
h2 {
  font-size:2rem;
}

.h3,
h3 {
  font-size:1.75rem;
}

hr {
  box-sizing:content-box;
  height:0;
  overflow:visible;
  margin-top:1rem;
  margin-bottom:1rem;
  border:0;
  border-top:1px solid rgba(0,0,0,.1);
}

.small,
small {
  font-size:80%;
  font-weight:400;
}

.img-thumbnail {
  padding:.25rem;
  background-color:#fff;
  border:1px solid #dee2e6;
  border-radius:.25rem;
  max-width:100%;
  height:auto;
}

.figure {
  display:inline-block;
}

.figure-img {
  margin-bottom:.5rem;
  line-height:1;
}

.figure-caption {
  font-size:90%;
  color:#6c757d;
}

.container {
  width:100%;
  padding-right:15px;
  padding-left:15px;
  margin-right:auto;
  margin-left:auto;
}

@media (min-width:576px) {
  .container {
    max-width:540px;
  }
}

@media (min-width:768px) {
  .container {
    max-width:720px;
  }
}

@media (min-width:992px) {
  .container {
    max-width:960px;
  }
}

@media (min-width:1200px) {
  .container {
    max-width:1140px;
  }
}

.container-fluid {
  width:100%;
  padding-right:15px;
  padding-left:15px;
  margin-right:auto;
  margin-left:auto;
}

.col-12 {
  position:relative;
  width:100%;
  padding-right:15px;
  padding-left:15px;
  flex:0 0 100%;
  max-width:100%;
}

.row {
  display:flex;
  flex-wrap:wrap;
  margin-right:-15px;
  margin-left:-15px;
}

.col-lg-3,
.col-lg-4,
.col-md-4,
.col-md-6,
.col-sm-12 {
  position:relative;
  width:100%;
  padding-right:15px;
  padding-left:15px;
}

@media (min-width:576px) {
  .col-sm-12 {
    flex:0 0 100%;
    max-width:100%;
  }
}

@media (min-width:768px) {
  .col-md-4 {
    flex:0 0 33.333333%;
    max-width:33.333333%;
  }
  .col-md-6 {
    flex:0 0 50%;
    max-width:50%;
  }
}

@media (min-width:992px) {
  .col-lg-3 {
    flex:0 0 25%;
    max-width:25%;
  }
  .col-lg-4 {
    flex:0 0 33.333333%;
    max-width:33.333333%;
  }
}

.collapse:not(.show) {
  display:none;
}

.collapsing {
  position:relative;
  height:0;
  overflow:hidden;
  transition:height .35s ease;
}

@media (prefers-reduced-motion:reduce) {
  .collapsing {
    transition:none;
  }
}

.nav {
  display:flex;
  flex-wrap:wrap;
  padding-left:0;
  margin-bottom:0;
  list-style:none;
}

.nav-link {
  display:block;
  padding:.5rem 1rem;
}

.nav-link:focus,
.nav-link:hover {
  text-decoration:none;
}

.navbar {
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  padding:.5rem 1rem;
}

.navbar>.container,
.navbar>.container-fluid {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.navbar-nav {
  display:flex;
  flex-direction:column;
  padding-left:0;
  margin-bottom:0;
  list-style:none;
}

.navbar-nav .nav-link {
  padding-right:0;
  padding-left:0;
}

.navbar-collapse {
  flex-basis:100%;
  flex-grow:1;
  align-items:center;
}

.navbar-toggler {
  padding:.25rem .75rem;
  font-size:1.25rem;
  line-height:1;
  background-color:transparent;
  border:1px solid transparent;
  border-radius:.25rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  text-decoration:none;
}

.navbar-toggler-icon {
  display:inline-block;
  width:1.5em;
  height:1.5em;
  vertical-align:middle;
  content:"";
  background:no-repeat center center;
  background-size:100% 100%;
}

@media (max-width:767.98px) {
  .navbar-expand-md>.container,
  .navbar-expand-md>.container-fluid {
    padding-right:0;
    padding-left:0;
  }
}

@media (min-width:768px) {
  .navbar-expand-md {
    flex-flow:row nowrap;
    justify-content:flex-start;
  }
  .navbar-expand-md .navbar-nav {
    flex-direction:row;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right:.5rem;
    padding-left:.5rem;
  }
  .navbar-expand-md>.container,
  .navbar-expand-md>.container-fluid {
    flex-wrap:nowrap;
  }
  .navbar-expand-md .navbar-collapse {
    display:flex!important;
    flex-basis:auto;
  }
  .navbar-expand-md .navbar-toggler {
    display:none;
  }
}

.navbar-light .navbar-nav .nav-link {
  color:rgba(0,0,0,.5);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color:rgba(0,0,0,.7);
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
  color:rgba(0,0,0,.9);
}

.navbar-light .navbar-toggler {
  color:rgba(0,0,0,.5);
  border-color:rgba(0,0,0,.1);
}

.navbar-light .navbar-toggler-icon {
  background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  padding:.75rem 1rem;
  margin-bottom:1rem;
  list-style:none;
  background-color:#e9ecef;
  border-radius:.25rem;
}

.breadcrumb-item+.breadcrumb-item {
  padding-left:.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  display:inline-block;
  padding-right:.5rem;
  color:#6c757d;
  content:"/";
}

.breadcrumb-item.active {
  color:#6c757d;
}

.rounded {
  border-radius:.25rem!important;
}

.d-flex {
  display:flex!important;
}

.justify-content-between {
  justify-content:space-between!important;
}

.shadow-sm {
  box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.mt-3,
.my-3 {
  margin-top:1rem!important;
}

.mb-3,
.my-3 {
  margin-bottom:1rem!important;
}

.mt-5,
.my-5 {
  margin-top:3rem!important;
}

.ml-auto,
.mx-auto {
  margin-left:auto!important;
}

.text-center {
  text-align:center!important;
}


/* ==========================================================
   Deel 2: eigen aanpassingen 
   ========================================================== */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  width: 100%;
  background-color: #5a5a5a;
  color:#fff;
  height: 50px;
  display: flex;
  margin-top: auto;
}

.navbar { padding: .5rem 15px 10px; }

/* eerste menu-item links en laatste rechts uitlijnen met de tekst */
.navbar-collapse > .navbar-nav:first-child > .nav-item:first-child > .nav-link {
  padding-left: 0;
}
.navbar-collapse > .navbar-nav:last-child > .nav-item:last-child > .nav-link {
  padding-right: 0;
}

.container-fluid {
	border-bottom:1px solid rgb(225,225,225);
}

.dropdown-item.active, .dropdown-item:active {
  color: #000;
  text-decoration: none;
  background-color: #f8f9fa;
}

a {
  color: #fff;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

h2, .h2 {
  font-size: 1rem;
}

h3, .h3 {
  font-size: 1rem;
}

.breadcrumb {
  background-color: #fff;
  padding: 1rem 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
}

.breadcrumb li a    {
  color: #6c757d;
  font-size: 1rem;
}

.breadcrumb-item.active {
  color: #343a40;
  font-size: 1rem;
}

.breadcrumb h1 {
    font-size: 1rem;
    vertical-align: top;
    margin: 0;
    margin-left: 16px;
    margin-top: -12px;
    line-height: 0px;
}

.nature-quote {
    font-family: "Georgia", "Times New Roman", serif; /* citaat blijft serif */
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.nature-quote blockquote {
    margin: 0;
}

.quote-author {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif; /* zelfde lettertype als de rest van de site */
    font-style: normal;
    font-size: 0.9rem;
    margin-top: 0.6rem;
    color: #212529; /* zelfde kleur als bodytekst */
}

.content-link { color: black; text-decoration: underline; 
}

.content-link:hover { color: black; text-decoration: none; 
}

.content-link:focus { color: black; text-decoration: none; 
}

.related-list a { color: black; text-decoration: underline; 
}

.related-list a:hover { color: black; text-decoration: none; 
}

.related-list a:focus { color: black; text-decoration: none; 
}

.species-text { margin-bottom: 2.5rem;
}

.species-photo { margin-bottom: 2.5rem;
}

body { background-color: #f4f6f3;
}

.breadcrumb { background-color: transparent;
}

.navbar-light .navbar-nav .nav-link { font-weight: 500;
}

.species-overview a .figure-caption {
  transition: color .15s ease-in-out;
}

.species-overview a:hover .figure-caption,
.species-overview a:focus .figure-caption {
  color: rgba(0,0,0,.7);
}

/* Zachte overgang in het bovenste menu */
.navbar-light .navbar-nav .nav-link {
  transition: color .15s ease-in-out;
}

/* Kruimelpad: zachte overgang + donkerder bij hover */
.breadcrumb li a {
  transition: color .15s ease-in-out;
}

.breadcrumb li a:hover,
.breadcrumb li a:focus {
  color: #343a40;
}

/* Footermenu: zachte overgang + iets lichter/doorschijnend bij hover */
footer a {
  transition: color .15s ease-in-out;
}

footer a:hover,
footer a:focus {
  color: rgba(255,255,255,.7);
}

.species-photo .img-thumbnail {
  width: auto;
}

main {
  padding-bottom: 2.5rem;
}

/* Overzichtspagina met families (6 grotere foto's): ruimte tussen de rijen */
.family-overview .row > div {
  margin-bottom: 1.5rem;
}

/* Voorpagina (3 grote foto's + citaat): inhoud verticaal gecentreerd tussen menu en footer */
.home-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2.5rem;
}

/* de h1 in het bijschrift van de eerste foto krijgt dezelfde afstand als de h2/h3 ernaast */
.home-overview .figure-caption h1 {
  margin-bottom: .5rem;
}

html {
  scrollbar-gutter: stable;
}