:root {
    --color-yellow: #fff30f;
    --color-red: #f16a55;
    --color-blue: #5fa8f2;
    --color-orange: rgb(252, 181, 27);
    --color-orange-dim: rgb(253, 208, 113);
    --color-yellow-dim: #fffa96;
    --color-red-dim: #f9bdb4;
    --color-blue-dim: #b8d9f9;
    --color-yellow-dim2: #fffcc9;
    --color-red-dim2: #fcded9;
    --color-blue-dim2: #dcecfc;
    --color-shade: rgb(240, 240, 240);
    --color-shade-dark: rgb(230, 230, 230);
    --page-bg: #fff;
}

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 11pt;
    margin: 0;
    padding: 0;
}

.page-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 1em;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3em;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
}
header .breadcrumb {
    flex-grow: 1;
}
header .breadcrumb ul {
    list-style: none;
    padding-inline-start: 0;
    padding: 1em 0;
}
header .breadcrumb ul li {
    display: inline;
}
header .breadcrumb ul li:not(:last-child)::after {
    content: '\002022';
    margin: 0 0.5em;
}
header .breadcrumb ul li:not(:last-child) {
    opacity: 0.6;
    transition: 200ms;
}
header .breadcrumb ul li:not(:last-child):hover {
    opacity: 1.0;
}
header .nav-menu {
    flex-grow: 0;
    flex-shrink: 0;
    height: 1.2em;
    width: 1.2em;
    position: relative;
}
header #nav-menu-icon {
    cursor: pointer;
}
header #nav-menu-expand {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 300px;
    background: var(--color-shade);
    border-radius: 10px;
    box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 25%);
    overflow: hidden;
    z-index: 100;
}
header #nav-menu-expand.open {
    display: block;
    animation: anim_nav_menu_open 250ms 1 forwards ease-out;
}
header #nav-menu-expand .nav-item {
    display: block;
    text-align: center;
    padding: 1em 0;
    margin: 1em 0;
    transition: 200ms;
}
header #nav-menu-expand .nav-item:hover {
    font-weight: bold;
    background: var(--color-shade-dark);
}

.ui-blocker {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    animation: anim_ui_blocker 300ms 1 forwards ease-out;
    z-index: 99;
}

.page-content {
    margin-top: 80px;
}

.textblock-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
@media (max-width: 1050px) {
    .main-page {
        margin-top: 0 !important;
    }
    .flex-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    .nav_model {
        max-width: 500px;
        align-self: stretch;
    }
    .textblock-container {
        margin-left: 0;
    }
    .grid-container {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
    .grid-container .card {
        max-width: 500px;
    }
}
@media (min-width: 1050px) {
    header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
    }
    .nav_model {
        position: sticky;
        top: 100px;
    }
    .textblock-container {
        max-width: 500px;
    }
}

.textblock {
    margin: 15px 0;
}

h1, h2, h3 {
    font-weight: 700;
    margin-block-start: 1.3em;
    margin-block-end: 0.85em;
}
h1 {
    font-size: 1.7em;
}
h2 {
    font-size: 1.4em;
}
p {
    margin-block-start: 0;
    margin-block-end: 0.7em;
}
ul {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
a,a:visited,a:hover {
    text-decoration: inherit;
    color: inherit;
}
a.block {
    display: block;
}
img.img-fw {
    display: block;
    border-radius: 5px;
    margin: 2em auto;
    max-width: 85%;
}

table.programma {
    border-collapse: collapse;
    font-size: 11pt;
    border-top: 2px solid var(--color-shade);
    border-bottom: 2px solid var(--color-shade);
    margin: 2em 0;
}
table.programma tr td {
    vertical-align: top;
    padding: 5px 3px;
}
table.programma tr td:first-child {
    font-weight: bold;
    padding-right: 5px;
    min-width: 55px;
}
table.programma tr:nth-child(even) td {
    background: var(--color-shade);
}

.italic {
    font-style: italic;
}
.strong {
    font-weight: bold;
}


a.card {
    display: block;
}
.card {
    position: relative;
    margin: 1.5em 0;
    padding: 15px;
    background: var(--color-shade);
    border-radius: 3px;
    font-size: 10pt;
    transition: 200ms;
    overflow: hidden;
}
.card .card-body {
    position: relative;
    z-index: 10;
}
.card .focus-bg,
.button .focus-bg
{
    z-index: 9;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: 400ms;
}
.card .title {
    font-size: 12pt;
    font-weight: 600;
    margin-bottom: 0.8em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid rgba(146, 146, 146, 0.25);
}
.card .desc {
    margin-bottom: 0.8em;
}
.card .data {
    margin-top: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.card .data-entry {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.card .data .datum:not(:last-child)::after {
    content: '•';
    margin: 0 0.25em;
}
.card .full-marker {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 8pt;
    font-weight: bold;
    background: var(--color-orange);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    z-index: 10;
}
.card:hover {
    transform: scale(1.02);
    z-index: 30;
    box-shadow: 0px 12px 20px 0px rgba(0, 0, 0, 0.25)
}
.card .focus-bg,
.button .focus-bg {
    opacity: 0;
}
.card:hover .focus-bg,
.button:hover .focus-bg {
    opacity: 1;
}
.card.yellow {
    background: var(--color-yellow-dim);
}
.card.yellow .focus-bg {
    background: var(--color-yellow);
}
.card.red {
    background: var(--color-red-dim);
}
.card.red .focus-bg {
    background: var(--color-red);
}
.card.blue {
    background: var(--color-blue-dim);
}
.card.blue .focus-bg {
    background: var(--color-blue);
}
.card.yellow-red {
    background: linear-gradient(60deg, var(--color-yellow-dim), var(--color-red-dim));
}
.card.yellow-red .focus-bg {
    background: linear-gradient(105deg, var(--color-yellow), var(--color-red));
}
.card.yellow-red-blue,
.button.yellow-red-blue {
    background: linear-gradient(60deg, var(--color-yellow-dim2), var(--color-red-dim2), var(--color-blue-dim2));
}
.card.yellow-red-blue .focus-bg,
.button.yellow-red-blue .focus-bg
 {
    background: linear-gradient(105deg, var(--color-yellow-dim), var(--color-red-dim), var(--color-blue-dim));
}
.card.red-yellow {
    background: linear-gradient(60deg, var(--color-red-dim), var(--color-yellow-dim));
}
.card.red-yellow .focus-bg {
    background: linear-gradient(105deg, var(--color-red), var(--color-yellow));
}
.card.blue-yellow {
    background: linear-gradient(60deg, var(--color-blue-dim), var(--color-yellow-dim));
}
.card.blue-yellow .focus-bg {
    background: linear-gradient(105deg, var(--color-blue), var(--color-yellow));
}

.button {
    position: relative;
    display: block;
    margin: 1em auto;
    border-radius: 5px;
    overflow: hidden;
    transition: 200ms;
}
.button .label {
    position: relative;
    z-index: 10;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    padding: 1em;
}
.button:hover {
    transform: scale(1.02);
    z-index: 30;
    box-shadow: 0px 7px 11px 0px rgba(0, 0, 0, 0.25)
}

.banner {
    background: var(--color-orange-dim);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.datum.verleden {
    text-decoration: line-through;
    opacity: 0.5;
}

.metadata-row {
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.metadata {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}
.metadata .icon {
    height: 35px;
}
.metadata .icon img {
    width: 100%;
    height: 100%;
}
.metadata .label {
    font-size: 10pt;
}
.metadata .value {
    font-size: 16pt;
    margin: 0.1em 0;
}
.metadata .value.small {
    font-size: 11pt;
}
.metadata .value ul {
    padding-left: 5px;
    list-style-position: inside;
}
.metadata .value ul li::marker {
    margin-right: 5px;
}

/* Model specific rules */
.nav_model {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    animation: anim_easein 1s forwards;
    flex-grow: 1;
    flex-shrink: 0;
}
.nav_model .client {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 25px;
    max-width: 350px;
    overflow: visible;
    flex-grow: 1;
    flex-shrink: 0;
}
.nav_model .client .flex-layer {
    display: block;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.nav_model .client .layer {
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}
.nav_model .client .layer.unfolded {
    position: relative;
}
.nav_model .client .layer.wiggle-anim {
    animation: anim_layer_wiggle 1300ms 1 ease-in-out;
}
.nav_model .client .layer:not(.unfolded) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav_model .navigation {
    transition: 400ms;
    cursor: pointer;
}
.nav_model .client .layer .label {
    font-size: 12pt;
    user-select: none;
}
.nav_model .client .layer.unfolded .label {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: 40;
}
.nav_model .client .yellow.layer {
    width: 60%;
    background: var(--color-yellow);
}
.nav_model .client .red.layer {
    width: 80%;
    background: var(--color-red);
}
.nav_model .client .blue.layer {
    width: 100%;
    background: var(--color-blue);
}
.nav_model .client .yellow.layer.dim {
    background: var(--color-yellow-dim);
}
.nav_model .client .red.layer.dim {
    background: var(--color-red-dim);
}
.nav_model .client .blue.layer.dim {
    background: var(--color-blue-dim);
}
.nav_model .client .yellow.layer.unfolded,
.nav_model .client .red.layer.unfolded,
.nav_model .client .blue.layer.unfolded {
    background: var(--color-shade);
}

.nav_model .client .layer.unfolded .prog-container {
    flex-basis: 20%;
    flex-shrink: 1;
    flex-grow: 1;
    overflow: hidden;
}
.nav_model .client .yellow.layer.unfolded .prog-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.nav_model .client .yellow.layer.unfolded .prog-container .progress {
    background: var(--color-yellow);
    position: absolute;
    bottom: 0;
    height: 0%;
    width: 100%;
    animation: anim_progress_vert 1200ms forwards 1;
}
.nav_model .client .red.layer.unfolded {
    display: flex;
    flex-direction: column;
}
.nav_model .client .red.layer.unfolded .prog-container .progress {
    background: var(--color-red);
    width: 0%;
    height: 100%;
    animation: anim_progress_horiz 1200ms forwards 1 ease-in-out;
}
.nav_model .client .blue.layer.unfolded {
    display: flex;
    flex-direction: row;
}
.nav_model .client .blue.layer.unfolded .prog-container {
    flex-basis: 33%;
    flex-shrink: 1;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}
.nav_model .client .blue.layer.unfolded .prog-container .progress {
    background: var(--color-blue);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    animation: anim_progress_vert 1200ms forwards 1 ease-in-out;
}

.nav_model .supportsystem {
    display: flex;
    flex-direction: column;
    translate: 0px;
    z-index: -10;
}
.nav_model .supportsystem .layer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 10px;
}
.nav_model .supportsystem .support-unit {
    aspect-ratio: 1;
    height: 30px;
    border-radius: 5px;
    position: relative;
    z-index: 10;
}
.nav_model .supportsystem .support-unit .support-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -25% -50%;
    transform: rotate(225deg);
    transform-origin: center;
    aspect-ratio: 1;
    height: 15%;
    border: solid rgba(0, 0, 0, 0.5);
    border-width: 2px 2px 0 0;
}
.nav_model .supportsystem .support-unit.yellow {
    background: var(--color-yellow);
}
.nav_model .supportsystem .support-unit.yellow.dim {
    background: var(--color-yellow-dim);
}
.nav_model .supportsystem .support-unit.red {
    background: var(--color-red);
}
.nav_model .supportsystem .support-unit.red.dim {
    background: var(--color-red-dim);
}
.nav_model .supportsystem .support-unit.blue {
    background: var(--color-blue);
}
.nav_model .supportsystem .support-unit.blue.dim {
    background: var(--color-blue-dim);
}
.nav_model .supportsystem .support-hline {
    position: absolute;
    height: 2px;
    width: 250px;
    background: var(--color-shade);
    z-index: -20;
    right: 0;
}
.nav_model .supportsystem .support-vline {
    position: absolute;
    width: 2px;
    background: var(--color-shade);
    z-index: -20;
}

.nav_model .head {
    position: relative;
    z-index: 15;
}
.nav_model .head #mouth {
    transition: 700ms;
}
.nav_model .hand_right {
    position: absolute;
    right: 0;
    translate: 0 28px;
    transform-origin: 0 0;
}
.nav_model .hand_left {
    position: absolute;
    left: 0;
    translate: 0 28px;
    transform-origin: 100% 0;
}
.nav_model .leg_right {
    transform-origin: 0 0;
    translate: 25px -10px;
}
.nav_model .leg_left {
    transform-origin: 100% 0;
    translate: -25px -10px;
}

.nav_model .speech {
    position: absolute;
    left: calc(50% + 63px);
    top: 12px;
    z-index: 20;
    width: 110px;
    background: var(--color-shade);
    border-radius: 5px;
    display: none;
    opacity: 0.0;
    transition: 500ms; /* Value mirrorred in JS */
}
.nav_model .speech.visible {
    opacity: 1.0;
}
.nav_model .speech .body {
    font-size: 10pt;
    padding: 0.75em 1em;
    text-wrap: nowrap;
    overflow: hidden;
}
.nav_model .speech .tail {
    position: absolute;
    height: 24px;
    left: -20px;
}
.nav_model .speech .tailpath {
    fill: var(--color-shade);
}

.nav_model .oversight {
    position: absolute;
    left: calc(50% + 20px);
    top: 4px;
    z-index: 100;
    transition: 400ms;
    display: none;
    opacity: 0;
    transform-origin: 0% 40%;
}
.nav_model .oversight:hover {
    transform: scale(1.75);
}

.nav_model .supportsystem .group-box-capture {
    display: block;
    position: absolute;
    left: -10px;
    right: -10px;
    z-index: 100;
    animation: anim_tech_size0 1800ms linear 1;
}
.nav_model .supportsystem .group-box {
    background: var(--color-shade);
    position: absolute;
    left: -10px;
    right: -10px;
    border-radius: 10px;
    z-index: -20;
    opacity: 0;
    transform: scale(0.95);
    transition: 500ms;
}
.nav_model .supportsystem .group-box .title {
    font-size: 9pt;
    text-align: center;
    padding: 5px 0;
}
.nav_model .supportsystem .group-box.permanent {
    opacity: 1;
}
.nav_model .supportsystem .group-box-capture:hover + .group-box {
    opacity: 1;
    transform: scale(1.0);
    box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 25%);
}

/* Model dynamics */
.nav_model .navigation.layer:hover {
    transform: scale(1.05);
    z-index: 30;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.45)
}
.nav_model .graphic.navigation:hover {
    transform: scale(1.08);
    z-index: 30;
}

/* Animations */
.nav_model .supportsystem .support-vline,
.nav_model .supportsystem .support-hline {
    opacity: 0;
    animation: anim_fadein 1000ms 1 forwards;
    animation-delay: 1200ms;
}

@keyframes anim_layer_wiggle {
    0%, 100% {}
    50% { transform: scale(1.05); box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.3); z-index: 30; }
}

@keyframes anim_easein {
    0% { opacity: 0; scale: 0.9; }
    100% { opacity: 1; scale: 1; }
}

@keyframes anim_fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes anim_support_slidein {
    0% { opacity: 0; transform: translateX(10px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes anim_right_bungle {
    0%, 100% { rotate: 0deg; }
    50% { rotate: -15deg; }
}

@keyframes anim_left_bungle {
    0%, 100% { rotate: 0deg; }
    50% { rotate: 15deg; }
}

@keyframes anim_left_wave {
    0%, 100% { rotate: 0deg; }
    50% { rotate: 50deg; }
}

@keyframes anim_head_roll {
    0%, 100% { rotate: 0deg; }
    50% {
        rotate: 8deg;
        scale: 1.05;
        z-index: 23;
    }
}

@keyframes speech_body_appear {
    0% { width: 0; opacity: 0; }
    70% { opacity: 1; }
    100% { width: 110px; }
}

@keyframes anim_progress_horiz {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes anim_progress_vert {
    0% { height: 0%; }
    100% { height: 100%; }
}

@keyframes anim_tech_size0 {
    0% { height: 0; width: 0; }
    99% { height: 0; width: 0; }
    100% {}
}

@keyframes anim_ui_blocker {
    0% { opacity: 0; }
    100% { opacity: 1;  }
}

@keyframes anim_nav_menu_open {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

/* Flowlux footer */
footer.flx {
    font-size: 9pt;
    color: rgb(41 41 41);
    overflow: hidden;
    padding: 0.2em 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
}

footer.flx .icon {
    display: block;
}

footer.flx .text {
    overflow: hidden;
    text-wrap: nowrap;
    background-clip: border-box;
}

footer.flx .streak {
    position: absolute;
    top: 0.1em;
    width: 0;
    height: 0.3em;
    background: linear-gradient(90deg, transparent, #a0caff);
    opacity: 1;
}
