html {
    font-family: "Droid Sans", sans-serif;
    color: #003717;
    height: 100%;
}

body:not(#tinymce) {
    margin: 0;
    min-height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    /* Prevent scrollbar from shifting content */
    width: 100vw;
    overflow-x: hidden;
}

@font-face {
    font-family: Novecento Wide Bold;
    src: url("../fonts/novecentowide-bold-webfont.eot") format("eot"),
        url("../fonts/novecentowide-bold-webfont.woff") format("woff"),
        url("../fonts/novecentowide-bold-webfont.ttf") format("ttf");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Novecento Wide Bold", helvetica, sans-serif;
    padding: 0;
    text-transform: uppercase;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
    font-size: 2.5em;
    margin: 0.67em 0;
}

.container,
#tinymce {
    line-height: 1.65;
}

p {
    margin: 0 0 1.3em;
}

a {
    background: transparent;
    color: inherit;
}

a.link-clean {
    text-decoration: none;
}

abbr[title] {
    border-bottom: none;
    font-variant: none;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
    float: right;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

.date {
    text-transform: uppercase;
    font-size: 85%;
    margin: 0 0 1em;
}

figure {
    text-align: center;
    margin: 1em 0;
}

.container img {
    border: 0;
    display: block;
    margin: 1em auto;
}

.container .container img.right {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

.container img.left {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 2 */
    margin: 0;
    /* 3 */
    border: none;
    background: none;
}

input[type="text"],
input[type="email"] {
    margin-left: 5px;
    color: inherit;
    width: 350px;
    float: right;
}

input:focus {
    outline: none;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],
/* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
    padding: 11px;
    border-radius: 2px;
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto;
    /* 1 */
    vertical-align: top;
    /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Modified
   ========================================================================== */

body.home {
    min-height: calc(200vh - 215px);
}

[unselectable="on"] {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
    width: 100%;
}

header.image {
    height: 100vh;
    background: url(../media/background.jpg) fixed;
    background-size: cover;
    background-position: 50% 0px;
    display: flex;
    align-items: center;
}

#home {
    position: absolute;
    bottom: 0;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 1801/345;
    padding: 20px 0;
}

#logo {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background: #4e7746;
}

#logo img {
    width: 90%;
    max-width: 900px;
}

header.image #logo {
    position: sticky;
    top: 0;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 5;
    background: #4e7746;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav #nav-toggle {
    display: none;
    color: #ffffff;
    padding: 18px 0;
}

nav #nav-toggle::before {
    content: "\2630";
    margin-right: 5px;
    font-size: 14px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 90%;
    max-width: 900px;
}

nav ul li {
    flex-grow: 2;
    max-width: 200px;
}

nav ul a {
    display: inline-block;
    padding: 18px 1px 13px;
    margin: 0 10px;
    border-bottom: 5px solid transparent;
    transition: border-bottom-color 0.3s ease-in-out;
    border-bottom: 5px solid transparent;
    transition: border-bottom-color 0.3s ease-in-out;
    text-decoration: none;
    color: #ffffff;
}

nav ul a.active,
nav ul a:hover {
    border-bottom-color: #9db973;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 768px) {
    nav>ul {
        flex-direction: column;
        border-top: 2px solid #9db973;
    }

    .js nav>ul {
        display: none;
    }

    nav.is-active ul {
        display: block !important;
    }

    nav ul li {
        max-width: None !important;
    }

    nav #nav-toggle {
        display: block;
    }
}

.container {
    max-width: 650px;
    width: 90%;
    margin: 50px 0;
}

.news-container {
    display: flex;
    margin: 1em 0;
}

.news-container p, .news-container .fakep {
    margin: 0;
}

.news-container .miniatuur {
    width: 200px;
    height: 200px;
    margin: 0 10px 0 0;
}

.miniatuur[src=""] {
    display: none;
}

h1.long {
    font-size: 1.5em;
}

.third {
    width: 290px;
    margin-right: 15px;
    float: left;
    clear: fix;
}

.third:last-of-type {
    margin-right: 0;
}

.third img {
    margin-bottom: 15px;
}

.widecontainer {
    width: 100%;
    margin: 50px 0;
}

#map {
    height: 450px;
}

footer {
    background: #4e7746;
    width: 100%;
    color: #ffffff;
    margin-top: auto;
}

#footer {
    max-width: 1300px;
    padding: 20px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#footer .column {
    width: 300px;
}

.newsletter input {
    background: #ffffff;
    color: #003717;
    width: 100%;
    padding: 11px;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.newsletter input[type="submit"] {
    background: #9db973;
    color: #4e7746;
    text-transform: uppercase;
    font-weight: bold;
}

input[type="submit"] {
    border-bottom: solid 5px #4e7746;
    color: #ffffff;
    background: #4e7746;
    float: right;
}

.form label {
    padding: 10px;
    border-bottom: solid 5px #4e7746;
    margin-right: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    display: inline-block;
    width: 423px;
}

label {
    border-bottom: solid 3px #4e7746;
    font-weight: bold;
    display: inline-block;
    width: 100%;
}

.clear {
    margin-right: 0 !important;
}

textarea:focus {
    outline: none;
}

label.wide {
    width: 630px;
}

label input {
    margin-bottom: 2px;
}

#answerForm img {
    display: block;
    margin: 0 auto 10px auto;
}

#answerForm label {
    width: 450px;
    margin: 20px 0 0 0;
}

.form textarea {
    float: right;
    color: inherit;
    width: 557px;
    min-height: 10em;
    resize: vertical;
}

.fakeh2 {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    font-family: "Novecento Wide Bold", helvetica, sans-serif;
    padding: 0;
    text-transform: uppercase;
    margin: 0.83em 0;
    width: 100%;
    color: inherit;
    resize: vertical;
}

.fakep {
    display: block;
    line-height: 137.5%;
    width: 100%;
    margin: 1em 0;
    padding: 0;
    color: inherit;
    resize: vertical;
    min-height: 8em;
}

.image-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.image-grid-container .image-grid-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.image-grid-container .image-grid-box p {
    max-width: 200px;
}

.image-grid-container .image-grid-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

.image-grid-container .image-grid-img {
    max-height: 100%;
    max-width: 100%;
    box-sizing: content-box;
}

.image-grid-box.active img {
    border: #207ab7 solid 4px;
    border-radius: 3px;
}

.tox-tinymce {
    border: 0 !important;
}

#miniatuur-select {
    width: 100%;
    margin: 1em 0;
}
