/* Huisstijl */

:root {
    --black: black;
    --white: white;
    --grey: grey;
    --lightgrey: lightgrey;
    --red: #FF3333;
    --orange: #FF9900;
    --yellow: #FFEE33;
    --green: #00E600;
    --cyan: #00DFFF;
    --blue: #6688FF;
    --violet:#bc6cfd;
    --pink: #FF66B2;
}

* {
    box-sizing: border-box;
}

body {
    padding: 0px;
    margin: 0px;
    min-width: 400px;
    width: 100vw;
    min-height: 100vh;
    background-color: lightgrey;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: left;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr; /*min-content max-content min-content;*/
    position: relative;
}

main {
    margin: auto;
    padding: 20px;
    display: grid;
    background-color: lightgrey;
    grid-template-columns: repeat(2, [col-start] 1fr);
    align-content:space-evenly;
    grid-gap: 20px;
    max-width: 1500px;
}

/* MENU */

nav {
    display: grid;
    grid-template-columns: repeat(24, [col-start] 1fr);
    align-content: space-evenly;
    top: 0px;
    border-bottom: 2px solid black;
    background-color: white;
    box-shadow: 5px 5px 10px darkgrey;
    width: 100%;
    overflow: hidden;
    z-index: 1000;
    position: sticky;
}

.menu-item {
    padding: 0px;
    color: black;
    border-radius: 20px;
    margin: 0px;
}

.menu-item .title {
    font-size: 0.7rem;
    opacity: 0.8;
}

article {
    max-width: 700px;
    padding: 20px;
    padding-top: 5px;
    border: 2px solid black;
    background-color: white;
    border-radius: 20px;
    box-shadow: 5px 5px 10px darkgrey;
    width: 100%;
}

#footer-container {
    color: darkgrey;
    background-color: black;
    margin: 0px;
    padding-top: 0px;
    position: static;
    bottom: 0px;
    width: 100%;
    padding-bottom: 0px;
}

footer {
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, [col-start] 1fr);
    align-content:space-evenly;
    grid-gap: 20px;
    max-width: 1500px;
}

div {
    padding: 0px;
    margin: 0px;
}

footer div {
    grid-column: col-start / span 2;
    max-width: 700px;
    margin: 20px auto;
    padding: 0px;
    width:100%;
}

footer div h3 {
    background-color: darkgrey;
    border: none;
    color: black;
    box-shadow: none;
}

footer div a {
    color: darkgrey;
}

img {
    border-radius: 20px;
}

h3, h4 {
    font-variant: small-caps;
    background-color: darkgrey;
    color: black;
    padding: 3px;
    text-align: center;
    border-radius: 20px;
    border: 2px solid black;
    box-shadow: 5px 5px 10px darkgrey;
}

strong {
    font-variant: small-caps;
    font-size: 15px;
}

.grey {
    color: grey;
    background-color: white;
}

button, select {
    font-variant: small-caps;
    border-radius: 10px; 
    font-weight: bold; 
    border: 2px solid black;
    box-shadow: 5px 5px 10px darkgrey;
}

button:hover {
    background-color: var(--black);
    color: white;
    .active {
        color: white;
    }
}

span {
    display: inline-block;
    margin-bottom: 5px;
}

a {
    text-decoration: none;
    color: black;
}

table {
    font-size: 12px;
    margin-left: 10px;
    font-style: italic;
}

table th {
    width: 10%;
    min-width: 100px;
    vertical-align: top;
}

.under-construction a {
    color: grey;   
}

.sys {
    background-color: var(--green);
    color: black;
}

.th {
    background-color: var(--red);
    color: black;
}

.prog {
    background-color: var(--orange);
    color: black;
}

.proj {
    background-color: var(--blue);
    color: black;
}

.over {
    background-color: var(--violet);
    color: black;
}

.author {
    font-size: small;
    font-weight: bold;
}

.description span {
    display: block;
}

.large {
    width: 120px;
    height: 60px;
}

.medium {
    width: 60px;
    height: 30px;
}

.small {
    width: 60px;
    height: 30px;
}

.remove {
    display: none;
}

.resources {
    margin: 0px;
}

.resource {
    list-style: none;
    font-style: italic;
}

.chapter {
    margin-bottom: 10px;
}

.chapter ul {
    margin: 10px;
}

.disclaimer {
    font-style: italic;
    color: darkgrey;
    font-size: 10px;
}

.alert {
    color: var(--red);
    margin: 0px;
    padding: 0px;
}

.volgorde{
    margin: 0px;
    padding: 0px;
    color: darkgrey;
}

.active {
    color: black;
}

.resource a {
    color: darkgrey;
}

.verplicht a {
    font-weight: bold;
    color: gray;
}

/* Domeinen pop-up */

.popup {
    position: relative;
}

.popup-item {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 200px;

  visibility: hidden;
  opacity: 0;

  padding: 10px;
  padding-top: 0px;
  background: #222;
  color: white;
  border-radius: 5px;

  transition: opacity 0.2s;
}

h5 {
    padding: 0px;
}

span span p {
    font-size: 10px;
}

/* MOBILE */ 

#module, #chapters {
    grid-column: col-start / span 2;
    margin: 0px auto;
}

.menu-item {
    grid-column: span 6;
    margin: 10px;
}

.module-afbeelding {
    display: hidden;
    width: 80%;
}

.cross-ref {
    cursor:pointer;
}

/* TABLETS */

@media (min-width: 650px) {
    #module, #overContainer {
        grid-column: col-start / span 1;
    }
    #chapters, #quoteContainer {
        grid-column: col-start 2 / span 1;
    }
    .menu-item {
        grid-column: span 3;
    }
    .module-afbeelding {
        display: block;
    }
}

/* PC */

@media (min-width:1000px) {
    .menu-item {
        grid-column: span 1;
    }
}