/* =============================
   Basisinstellingen
   ============================= */

* {
  box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.6;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/*p {
  color: #be1113;
}*/

/* =============================
   Animaties
   ============================= */

@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================
   Achtergrond
   ============================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  background-image: url("../images/sea.jpg");	
  background-repeat: no-repeat;	
  background-size: cover;
  background-position: left top;
  background-color: #dce6e8;
}
.site-banner{
    display:block;
    width:100%;
    height:auto;
    margin:0;
}
/* =============================
   Header
   ============================= */

header{
    margin:0;
    padding:0;
}

header h1 {
  color: whitesmoke;
  font-size: 2.5em;
  font-variant: small-caps;
  text-align: center;
  text-shadow: 3px 3px #ff0000;
}

/* =============================
   Navigatie
   ============================= */

nav {
  background-color: #5595c7;
  font-size: 0.9em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  padding: 0.8em;
  border-top: 1px solid orange;
  text-align: center;
}

nav li:hover {
  background-color: #be1113;
  text-shadow: 2px 2px #ff0000;
}

nav a {
  color: white;
  text-decoration: none;
  display: block;
}

/* =============================
   Content
   ============================= */

article {
  padding: 2em 1em;
  min-height: 40vh;
   flex: 1;	
}

article img {
  max-width: 100%;
  height: auto;
}

article ul,
article ol {
  margin-left: 2em;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  color: #be1113;
}

article h4 {
  font-size: 1.875em;
  font-variant: small-caps;
  text-align: center;
  text-shadow: 2px 2px grey;
}

article h5 {
  font-size: 1.25em;
  text-align: center;
}

article h6 {
  font-size: 1.25em;
  text-align: left;
}

/* =============================
   Responsive iframe
   ============================= */

iframe {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 1em auto;
  border: 0;
}
/* =============================
   Footer
   ============================= */

footer {
  background-color: transparent;
  color: white;
  text-align: center;
  font-size: 0.9rem;
  padding: 25px 0 15px;
  margin-top: auto;
}
footer a,
footer a:visited {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* =============================
   Desktop layout
   ============================= */

@media (min-width: 600px) {

  nav,
  article {
	width: 100%;  
    max-width: 960px;
    margin: 0 auto;
  }

  nav {
    font-size: 1em;
  }

  nav ul {
    display: flex;
  }

  nav li {
    border-top: none;
    flex-grow: 1;
  }
}

/* =============================
   Agenda
   ============================= */

.wp-block-table.agenda table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.wp-block-table.agenda th,
.wp-block-table.agenda td {
    padding: 8px 10px;
    vertical-align: top;
}

/* Kolombreedtes */
.wp-block-table.agenda th:nth-child(1),
.wp-block-table.agenda td:nth-child(1) {
    width: 15%;
}

.wp-block-table.agenda th:nth-child(2),
.wp-block-table.agenda td:nth-child(2) {
    width: 36%;
}

.wp-block-table.agenda th:nth-child(3),
.wp-block-table.agenda td:nth-child(3) {
    width: 16%;
}

.wp-block-table.agenda th:nth-child(4),
.wp-block-table.agenda td:nth-child(4) {
    width: 14%;
}

.wp-block-table.agenda th:nth-child(5),
.wp-block-table.agenda td:nth-child(5) {
    width: 19%;
}
.wp-block-table.agenda table {
    border-collapse: collapse;
    border: none;
}

.wp-block-table.agenda th,
.wp-block-table.agenda td {
    border: none;
    padding: 8px 10px;
}
.wp-block-table.agenda th {
    border-bottom: 2px solid #be1113;
}


/* =========================================
   INSIDE AGENDA
   ========================================= */

.agenda-intern {
    width: 115%;
    max-width: 1000px;
    margin-top: 20px;
}
.agenda-intern h2 {
    color: #c00;
    margin: 20px 0 10px;
}

.agenda-intern table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin-bottom: 20px;
}

.agenda-intern th,
.agenda-intern td {
    border: 1px solid #aaa;
    padding: 6px 8px;
    vertical-align: middle;
}

.agenda-intern th {
    background: #666;
    color: white;
    font-weight: bold;
    text-align: center;
}

.agenda-intern td {
    background: rgba(255, 255, 255, 0.22);
}

.agenda-intern .agenda-optie {
    color: red;
}

.agenda-intern .agenda-bestuur {
    font-weight: bold;
    margin-top: 10px;
}

.agenda-intern .agenda-bestuur span {
    background: yellow;
    padding: 3px 10px;
    margin-left: 30px;
}

@media (max-width: 700px) {
    .agenda-intern {
        overflow-x: auto;
    }

    .agenda-intern table {
        min-width: 700px;
    }

    .agenda-intern th,
    .agenda-intern td {
        padding: 5px;
        font-size: 14px;
    }
}



/* =============================
   Sponsors
   ============================= */

.wp-block-table.sponsors table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.wp-block-table.sponsors th {
    border: none;
    border-bottom: 1px solid #be1113;
    color: #be1113;
    text-align: left;
    padding: 8px 20px 8px 0;
}

.wp-block-table.sponsors td {
    border: none;
    padding: 6px 20px 6px 0;
    vertical-align: top;
}

.wp-block-table.sponsors a,
.wp-block-table.sponsors a:visited {
    color: #1d5f99;
    text-decoration: none;
}

.wp-block-table.sponsors a:hover {
    color: #be1113;
    text-decoration: underline;
}

/* ==================================================
   LIEDBEHEER
   Knoppen en bediening voor de dirigent
   ================================================== */

.liedbeheer-knop {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px 8px 5px 0;
    background: #b01818;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

.liedbeheer-knop:hover {
    background: #d02020;
    color: #fff;
    text-decoration: none;
}

/* Gutenberg-knoppen binnen Liedbeheer */
.wp-block-button.liedbeheer-knop {
    background: none;
    padding: 0;
    margin: 5px 8px 5px 0;
    border-radius: 0;
}

.wp-block-button.liedbeheer-knop .wp-block-button__link {
    background: #b01818;
    color: #fff;
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
}

.wp-block-button.liedbeheer-knop .wp-block-button__link:hover {
    background: #d02020;
    color: #fff;
}

/* Formulieren binnen Liedbeheer */
.liedbeheer-formulier input[type="text"],
.liedbeheer-formulier select,
.liedbeheer-formulier textarea {
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid #888;
    border-radius: 4px;
    font: inherit;
}

.liedbeheer-formulier input[type="text"]:focus,
.liedbeheer-formulier select:focus,
.liedbeheer-formulier textarea:focus {
    outline: none;
    border-color: #b01818;
}

/* Liedboek en Liedbeheer in kolommen */
.liedboek-index ul,
.liedbeheer-overzicht ul,
.liedboek-archief ul {
    column-count: 3;
    column-gap: 35px;
}

.liedboek-index li,
.liedbeheer-overzicht li,
.liedboek-archief li {
    break-inside: avoid;
}

/* Tablet */
@media (max-width: 900px) {
    .liedboek-index ul,
    .liedbeheer-overzicht ul,
    .liedboek-archief ul {
        column-count: 2;
    }
}
/* Smartphone */
@media (max-width: 600px) {
    .liedboek-index ul,
    .liedbeheer-overzicht ul,
    .liedboek-archief ul {
        column-count: 1;
    }
}

/* Rustig leesvlak voor afzonderlijke liederen */
.lied-leesvlak {
    background: #f2f2f2;
    padding: 25px 30px;
    border-radius: 8px;
}

/* YouTube-video's altijd in juiste 16:9 verhouding */
.wp-block-embed-youtube {
    aspect-ratio: 16 / 9;
}

.wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
}