
:root {
    --ns-blue: #00387B;
}


* {
    font-family: 'NS Sans', "Segoe UI", Myriad, Verdana, sans-serif;
}

@media only screen and (min-width: 601px) {
    body {
        margin-top: 150px;
    }

    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* height: 100px; */
        background-color: var(--ns-blue); /* NS Blue */
    }

    header * {
        padding: 0;
        margin: 20px;
    }

    header #NSLogo {
        position: relative;
        left: 0;
        height: 100px; /* 200px or 100px */
    }

    /* Clock */
    #clock {
        /* position: relative;
        top: 0;
        right: 0; */
        float: right;
        width: 100px; /* 200px or 100px */
        height: 100px; /* 200px or 100px */

        background-color: white;
        border: 1px solid #ccc;
        border-radius: 50%;
    }
}

@media only screen and (max-width: 600px) {
    header {
        display: none;
    }
}

/* CTA */
.cta {
    position: relative;
    left: 0;
    width: 55em;
    height: 25em;
    background-color: white;
    border: 2em solid var(--ns-blue);
    border-left: 12em solid var(--ns-blue); /* 7em */
    margin: 0;
    color: var(--ns-blue);
}
.ctaEnclosure:fullscreen .cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
}

.cta p {
    margin: 10px;
    padding: 0;
}

.cta .spoor::before {
    content: "spoor";
    position: absolute;
    top: -2.4em;
    font-size: 0.5em;
    display: block;
    padding: 0;
    margin-top: 0.4em;
    border-left: 1.25em solid transparent;
}
.cta .spoor::after {
    content: "";
    position:absolute;
    top: 0;
    font-size: 0.5em;
    width: 1em;
    height: 1em;
    display: block;
    padding: 0;
    background-color: var(--ns-blue); /* to see where it is */
}
.cta .spoor {
    position: absolute;
    top: 0;
    left: -2.75em;
    font-size: 4em;
    background-color: white;
    width: 2.5em;
    height: 2.25em;
    margin: 0;
    text-align: center;
    line-height: 2.5em;
    padding-top: 0.25em;
}
.cta .tijd {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2em;
}
.cta .typeTrein {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2em;
}
.cta .naar {
    position: absolute;
    top: 0.8em;
    left: 0;
    font-size: 4em;
    font-weight: bold;
}
.cta .via {
    position: absolute;
    top: 4em; /* 3.7em */
    left: 0;
    font-size: 2em;
}
.cta .rijdtNiet {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #f00;
    font-size: 2em;
    font-style: italic;
}

/* Buttons */
button {
    background-color: var(--ns-blue); /* NS Blue */
    border: none;
    color: white;
    padding: 8px 16px; /* 16px 32px */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border: 2px solid var(--ns-blue);
    border-radius: 2px;
}

button:hover {
    background-color: white; 
    color: black; 
}

button:disabled {
    background-color: #555;
    border-color: #555;
    cursor: not-allowed;
}

button:disabled:hover {
    background-color: #555;
    color: #fff;
}


/* Inputs */
label {
    font-size: 16px;
}

input, select {
    font-size: 16px;
    box-sizing: border-box;
    width: 20em;
    padding: 8px 16px;
    margin: 0;
    margin-top: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
}

input:focus, select:focus {
    border-color: #555;
}

input[type=checkbox] {
    margin: 0;
    padding: 0;
    width: auto;
}



/* Syntax Highlight for JSON */
pre {
    outline: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
}
.string {
    color: green;
}
.number {
    color: darkorange;
}
.boolean {
    color: blue;
}
.null {
    color: magenta;
}
.key {
    color: red;
}