#feedback {
    font-size: 30px;
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color:rgb(0, 0, 255);
}

.navbar {
    display: flex;
    background-color: rgb(13, 110, 253);
    padding: 0;
    margin: 0;
}

.navbar a {
    flex: 1; /* Zorgt ervoor dat alle tabbladen even breed zijn */
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: white;
    display: block;
}

.navbar a:hover {
    background-color: rgb(0, 0, 139);
}

.dropdown {
    position: relative;
    flex: 1;
}

.dropdown-btn {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}


.dropdown-btn:hover {
    background-color: darkblue;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(13, 110, 253);
    z-index: 1;
    border-radius: 25px;
}

.dropdown-content a {
    padding: 10px 16px;
    text-align: left;
    display: block;
    border-radius: 25px;
}

.dropdown-content a:hover {
    background-color: darkblue;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.footer {
    background-color: rgb(13, 110, 253);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
}

.footer img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.footer img:hover {
    transform: scale(1.1) rotate(10deg);
}

.form1 {
    max-width: 600px;
    margin: auto;
}
.label1 {
    display: block;
    margin-top: 10px;
}
.input1, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
}
.input2 {
    width: 8%;
    box-sizing: border-box;
}
.button1 {
    background-color: rgb(0, 0, 139);
    color: white;
    border: none;
    cursor: pointer;
}
.button1:hover {
    background-color: rgb(13, 110, 253);
}
.button2 {
    width: 5cm;
    background-color: rgb(13, 110, 253);
    color: white;
    font-size: 25px;  
    border: none;
    cursor: pointer;
}
.button2:hover {
    background-color: rgb(0, 0, 139);
  }
.button3 {
    width: 4cm;
    background-color: rgb(13, 110, 253);
    color: white;
    font-size: 18px;  
    border: none;
    cursor: pointer;
}
.button3:hover {
    background-color: rgb(0, 0, 139);
  }
  .button4 {
    width: 8cm;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-size: 18px;  
    border: none;
    cursor: pointer;
}
.button4:hover {
    background-color: rgb(0, 0, 139);
  }
  .home-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
  }
  .home-button:hover {
    background-color: #45a049;
  }
  /* opmaak pagina van de dagen*/
  .event {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .event-fotolinks {
    flex: 1; /* neemt 1/3 */
  }
  .event-time {
    flex: 1;              /* blijft 1/5 van de breedte */
    text-align: right;    /* uur naar de rechterkant */
    padding-right: 20px;  /* ruimte tussen uur en rechtervak */
    font-size: 1.5em;
    font-weight: bold;
  }
  .event-details {
    flex: 2; /* neemt 2/5 */
    text-align: left;
  }
  .event-fotorechts {
    flex: 1; /* neemt 1/5 */
  }
  .event-details h3 {
    margin: 0;
  }
  .event-details p {
    margin: 5px 0 0 0;
  }
/* opmaak contact formulier*/
.contact-grid {
  display: grid;
  grid-template-columns: 25% 75%; /* linkerkolom labels, rechterkolom velden */
  gap: 10px 15px; /* ruimte tussen rijen en kolommen */
  max-width: 600px;
  margin: 0 auto;
  text-align: left; /* velden netjes links */
}

.contact-grid label {
  text-align: right; /* labels rechts uitgelijnd */
  align-self: center; /* mooi verticaal gecentreerd naast veld */
}

.contact-grid input,
.contact-grid textarea {
  width: 100%; /* velden vullen rechterkolom */
}
/*bbq inschrijven*/


    /* menu in 3 kolommen */
    .menu-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr; /* 1/3 - 1/3 - 1/3 verhouding */
      align-items: center;
      gap: 10px 15px;
      margin-bottom: 15px;
    }
    .menu-title {
      text-align: right;
      font-weight: bold;
    }
    .menu-desc {
      text-align: left;
    }
    .menu-input {
      text-align: left;
    }
    .menu-input input {
      width: 60px;
      margin-right: 5px;
    }
        .notice {
      max-width: 800px;
      margin: 10px auto 20px auto;
      padding: 10px 14px;
      border-radius: 8px;
      background: rgba(255,255,255,0.1);
      color: #fff;
    }
    p {
       width: 70%;            /* tekstvak neemt 70% van het scherm */
       margin-left: auto;     /* duwt de tekst naar het midden */
       margin-right: auto;    /* duwt de tekst naar het midden */
       text-align: justify;   /* optioneel: tekst uitvullen */
      }
      
/* 💬 Algemene stijl voor waarschuwingen */
.waarschuwing {
  max-width: 70%;
  margin: 30px auto;
  background-color: #ffe9b3;
  border: 2px solid #ff9900;
  border-radius: 10px;
  padding: 20px;
  color: #222;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* 🔹 Titel in het midden en rood */
.waarschuwing h2 {
  color: #c00;
  text-align: center;
  margin-top: 0;
}

/* 🔹 Geen bolletjes bij de lijst */
.waarschuwing ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

/* 🔹 Laat de afsluitende tekst wat opvallen */
.waarschuwing p {
  font-weight: bold;
  margin-top: 15px;
}

.waarschuwing p span {
  color: red;
}
.beheer-knop {
  background-color: #0074d9;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.beheer-knop:hover {
  background-color: #005fa3;
}

/* ====== Stijl voor de 4 horizontale knoppen ====== */
.button3-container {
  display: flex;
  justify-content: center;   /* centreren in het midden */
  align-items: center;
  gap: 20px;                 /* ruimte tussen de knoppen */
  margin-top: 30px;
}

/* ====== Stijl van de knoppen zelf ====== */
.button3 {
  background-color: rgb(13, 110, 253);  /* blauw */
  color: white;                         /* witte tekst */
  padding: 10px 25px;                   /* binnenmarge */
  border: none;                         /* geen rand */
  border-radius: 8px;                   /* afgeronde hoeken */
  text-decoration: none;                /* geen onderstreepte link */
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.button3:hover {
  background-color: rgb(0, 0, 139);     /* donkerblauw bij hover */
}
    
        @media print {
            body * {
                visibility: hidden; /*Verberg ALLE elementen op de pagina (header, knoppen, etc.) */
            }
            body {
                margin: 0 !important;/* Dit laat de browser zijn eigen printmarges bepalen*/
                padding: 0 !important;
            }
              /* 2. Maak de specifieke titelcontainer en tabel en zijn inhoud wél zichtbaar */
            #titelContainer, #titelContainer *,
            #print-datums-display, #print-datums-display *,
            #datum-zoekresultaten-container, #datum-zoekresultaten-container *,
            #deelnemersTabelContainer, #deelnemersTabelContainer *,
            #tabelMinivoetbal, #tabelMinivoetbal *,
            #tabelOldtimer, #tabelOldtimer * {
                visibility: visible;
            }
            #tabelMinivoetbal,
            #tabelOldtimer,
            #deelnemersTabelContainer {
                position: static !important;  /* BELANGRIJK: Overschrijf position: absolute; of position: fixed; */
                display: block !important; /* Zorg dat elk element zijn eigen regel inneemt */
                margin-top: 15px !important;/* Voeg wat extra ruimte toe tussen de elementen */
                margin-bottom: 15px !important;
                width: 100% !important;
                visibility: visible !important;/* Zorg dat de elementen zichtbaar zijn */
                color: #000 !important; /* Zwarte tekst op wit papier */
            }
            #tabelMinivoetbal table,
            #tabelOldtimer table,
            #deelnemersTabelContainer table {
                border-collapse: collapse; 
            }
            #titelContainer {
                position: absolute;
                left: 0;
                top: 0;/*Positioneer de elementen bovenaan de afdrukpagina */
                width: 100%;
                text-align: center; 
                color: #000 !important; /* Zwarte tekst op wit papier */
            }
            #tabelTitel {
                visibility: visible;
                position: relative;
                left: 0;
                top: 0;
                width: 100%;
                text-align: center; 
                color: #000 !important; /* Zwarte tekst op wit papier */
            }
            #datum-zoekresultaten-container {
                position: absolute;
                left: 0;
                top: 80px; /* Zorg dat de tabel onder de titel begint */
                width: 100%;
                border-collapse: collapse; /* Ziet er beter uit op papier */
            }
            #tabelMinivoetbal tbody tr td:nth-child(9),
            #tabelMinivoetbal tbody tr td:nth-child(10),
            #tabelOldtimer tbody tr td:nth-child(7),
            #tabelOldtimer tbody tr td:nth-child(10), 
            #tabelOldtimer tbody tr td:nth-child(11),
            #deelnemersTabelContainer tbody tr td:nth-child(5),
            #deelnemersTabelContainer tbody tr td:nth-child(6),
            #deelnemersTabelContainer tbody tr td:nth-child(7),
            #datum-zoekresultaten-container tbody tr th:nth-child(11),
            #datum-zoekresultaten-container  tbody tr th:nth-child(12){
                display: none;/* Verberg de kolommen die de Acties bevatten */
            }
            #tabelMinivoetbal thead tr th:nth-child(9),
            #tabelMinivoetbal thead tr th:nth-child(10),
            #tabelOldtimer thead tr th:nth-child(7),
            #tabelOldtimer thead tr th:nth-child(10),
            #tabelOldtimer thead tr th:nth-child(11),
            #deelnemersTabelContainer thead tr th:nth-child(5),
            #deelnemersTabelContainer thead tr th:nth-child(6),
            #deelnemersTabelContainer thead tr th:nth-child(7),
            #datum-zoekresultaten-container thead tr th:nth-child(11),
            #datum-zoekresultaten-container  thead tr th:nth-child(12) {
                display: none; /* Verberg de 8e en 9e header cellen (<th>) in de thead. */
            }
        /* Pas breedte aan voor de Menu (M1-M6) kolom */
            #datum-zoekresultaten-container table th:nth-child(4),
            #datum-zoekresultaten-container table td:nth-child(4) {
                width: 150px; /* Menu kolom verbreden: meer ruimte voor de zes getallen */
                min-width: 150px; /* Zorgt ervoor dat hij niet kleiner wordt */
            }
        /* Pas breedte aan voor de Envelope (Env) kolom */
            #datum-zoekresultaten-container table th:nth-child(9),
            #datum-zoekresultaten-container table td:nth-child(9) {
                width: 100px;
                min-width: 100px;
                text-align: center; /* Zorg dat de inhoud gecentreerd staat voor kleine kolommen */
            }
            #datum-zoekresultaten-container table th:nth-child(10),
            #datum-zoekresultaten-container table td:nth-child(10) {
                width: 100px;
                min-width: 100px;
                text-align: center; 
            }
      }




      #gridContainer {
    display: grid;
    /* Verdeel de container in 5 gelijke kolommen: 1/5 | 1/5 | 1/5 | 1/5 | 1/5 */
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    
    /* Zorg dat de gehele grid de volle breedte gebruikt */
    width: 100%;
    
    /* Optionele ruimte tussen de kolommen */
    gap: 10px; 
}

.grid-col {
    /* Basisstijl voor alle kolommen */
    /* De tekst-uitlijning wordt behouden vanuit de body */
}

.main-content {
    /* BELANGRIJK: Laat de centrale inhoud de 2e, 3e en 4e kolom innemen */
    grid-column: 2 / span 3;
    
    /* Overschrijf de center-uitlijning van de body om de evenementenlinks netjes te houden */
    text-align: left;
    
    /* Voeg wat horizontale padding toe om de tekst van de foto's te scheiden */
    padding-left: 15px;
    padding-right: 15px;
}

    .image-col {
    /* **NIEUW:** Gebruik Flexbox om de foto's verticaal te stapelen */
    display: flex;
    flex-direction: column; 
    
    justify-content: flex-start; /* Begin de foto's bovenaan */
    align-items: center; /* Centreer de foto's horizontaal in de kolom */
    
    /* **NIEUW:** Voorkom dat de foto's tegen de buitenste rand plakken */
    /* De padding is de ruimte tussen de kolomrand en de foto's */
    padding: 20px 5px; 
}

.side-image {
    /* Zorgt ervoor dat de afbeelding schaalt naar de beschikbare ruimte in de kolom */
    width: 100%; 
    height: auto;
    object-fit: contain;
    
    /* **NIEUW:** Maak de foto's iets kleiner dan de volle kolombreedte */
    max-width: 90%; 
    
    /* Voeg verticale ruimte toe tussen de individuele foto's onder elkaar */
    margin-bottom: 15px; 
}


/* --- Optioneel: Responsiviteit voor mobiel --- */
@media (max-width: 768px) {
    #gridContainer {
        /* Op kleine schermen, gebruik 1 kolom */
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .grid-col.image-col {
        /* Verberg de foto's op mobiel om ruimte te besparen en leesbaarheid te garanderen */
        display: none;
    }
    
    .main-content {
        /* Laat de centrale inhoud de volle breedte innemen (alleen de eerste kolom) */
        grid-column: 1 / 1; 
        text-align: center; /* Breng de tekstuitlijning terug naar het midden op mobiel */
        padding-left: 0;
        padding-right: 0;
    }

}

    