html, body {
    height: 100%;
    background-color: #fff;
}

body, table {
    font-size: 14px;
    font-family: Arial, Verdana, sans-serif;
}

td {
    text-align: left;
    vertical-align: top;
}

#wrapper {
    max-width: 940px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

h1, .h1 {
    font-size: 18px;
    color: #00c000;
    font-style: italic;
    font-weight: bold;
}

h2 {
    font-size: 14px;
    color: #008000;
    font-style: italic;
    font-weight: bold;
}

a {
    color: #00c000;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #008000;
    text-decoration: none;
}

a.email:link,
a.email:visited {
    color: #ffffff;
    text-decoration: none;
}

a.email:hover,
a.email:active {
    color: #ffffff;
    text-decoration: underline;
}

select,
input,
textarea {
    max-width: 100%;
}

#header {
    width: 100%;
    height: 78px;
    background-repeat: no-repeat;
}

#brand {
    padding: 3px 14px 0;
}

#left {
    width: 100%;
    background-color: #01c001;
}

#left1 {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-repeat: no-repeat;
}

#left2 {
    font-size: 12px;
    color: #ffffff;
    padding: 8px;
    margin-top: 30px;
}

#left nav a {
    display: block;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 13.5px;
    background-color: #b6ac46;
    background-image: -moz-linear-gradient(180deg, #c6bd57 0%, #a79d37 100%);
    background-image: -webkit-linear-gradient(180deg, #c6bd57 0%, #a79d37 100%);
    background-image: linear-gradient(180deg, #c6bd57 0%, #a79d37 100%);
    color: #fff;
    margin: 4px 0.5rem;
    line-height: 20px;
    width: 140px;
    text-align: center;
    border-radius: 12px;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.8), inset -1px -1px 2px rgba(0, 0, 0, 0.4);
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Arial", "Comic Sans MS", sans-serif;
}

#main {
    flex: 1;
    padding: 20px 30px 30px 30px;
}

@media(min-width: 640px) {
    #sub {
        display: flex;
        flex-direction: row;
        flex: 1;
        align-items: stretch;
    }

    #left {
        width: 198px;
        background-image: -moz-linear-gradient(180deg, #ffffff 0%, #ffffff 42px, #01c001 100%);
        background-image: -webkit-linear-gradient(180deg, #ffffff 0%, #ffffff 42px, #01c001 100%);
        background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 42px, #01c001 100%);
        background-size: 400px 400px;
        background-repeat: repeat-x;
    }

    #left nav a {
        padding-top: 0;
        padding-bottom: 0;
    }

    #left1 {
        padding-top: 0;
        padding-bottom: 0;
    }

    #left2 {
        padding-top: 30px;
    }

    #keurmerken {
        margin-top: 30px;
    }

    #main {
        border: 0px solid #000000;
        border-top-width: 2px;
        border-left-width: 2px;
        border-top-left-radius: 42px;
    }
}

tr.seperator {
    height: 12px;
}

img {
    border: 0px;
}

form {
    display: inline;
}

img.page {
    float: right;
    margin-left: 8px;
    margin-right: 8px;
    height: 240px;
    width: 320px;
}

img.aanmelden,
img.gastenboek {
    float: right;
    margin-left: 8px;
    margin-right: 8px;
}

img.page2 {
    float: left;
    margin-right: 8px;
    margin-bottom: 8px;
}

.overzicht .foto {
    text-align: center;
    width: 100px;
}

.overzicht .foto img {
    height: 60px;
    width: 80px;
    border: 1px solid #008000;
}

.overzicht h1,
.overzicht .h1 {
    font-size: 18px;
    color: #00c000;
    font-style: italic;
    font-weight: bold;
    display: inline;
    width: 100%;
    margin: 0px;
    margin-bottom: 6px;

}

.overzicht h2 {
    font-size: 14px;
    color: #008000;
    font-style: italic;
    font-weight: bold;
    display: inline;
    width: 100%;
    margin: 0px;
    margin-bottom: 9px;
}

.fotorep {
    float: right;
}

div.ladder {
    width: 100%;
    text-align: center;
}

table.ladder {
    width: 45%;
    text-align: left;
    padding: 0px;
    padding-right: 8px;
}

.positie,
.afstand {
    text-align: right;
}

.datum {
    width: 100%;
    font-size: 11px;
    font-weight: bold;
    text-align: right;
}

img.button {
    float: right;
}

.commentaar {
    margin-top: 4px;
    width: 94%;
    font-size: 10px;
    font-family: Arial, Verdana, sans-serif;
}

.toeslagen {
    padding-left: 55px;
}

.senior {
    float: right;
    width: 62%;
    padding: 6px;
    margin: 6px;
    border: 2px solid #000000;
}

.foto {
    text-align: center;
    padding-bottom: 24px;
}

.right {
    float: right;
}

.keurmerk {
    width: 150px;
    height: 150px;
    background-color: #ffffff;
    border: 1px solid #aaa;
}
