html {
    overflow-y: scroll;
    font-size: 18px;
    font-family: 'Lora', sans-serif;
    height: 100%;
}

@media (min-width: 1520px) { html { font-size: 19px; } }
@media (min-width: 1600px) { html { font-size: 20px; } }
@media (min-width: 1680px) { html { font-size: 21px; } }
@media (min-width: 1760px) { html { font-size: 22px; } }
@media (min-width: 1840px) { html { font-size: 23px; } }
@media (min-width: 1920px) { html { font-size: 24px; } }

@media (max-width: 1439px) { html { font-size: 17px; } }
@media (max-width: 1359px) { html { font-size: 16px; } }
@media (max-width: 1279px) { html { font-size: 15px; } }
@media (max-width: 1199px) { html { font-size: 14px; } }
@media (max-width: 1119px) { html { font-size: 13px; } }
@media (max-width: 1039px) { html { font-size: 12px; } }
@media (max-width: 767px) { html { font-size: 16px; } }

p, h3, h4, ol, ul, li { line-height: 160%; }
p, ol, ul, li { text-align: justify; }
p, h4, ol, ul { margin: 0 0 .5rem 0; }
ol { list-style-type: decimal; }
ul { list-style-type: disc; }
ol li, ul li { margin-left: 3rem; }
sup { vertical-align: super; font-size: .75rem; padding: 0 4px; margin: 0 6px; background-color: #ddd;}

a, a:visited, a:active { color: #0066ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: 0; }

h1 {
    color: #6a3231;
    font-size: 2rem;
    letter-spacing: .1rem;
    font-weight: bold;
    padding: 0;
    margin: 0 0 2rem 0;
}

h2 {
    font-size: 1.4rem;
    letter-spacing: .1rem;
    font-weight: bold;
    padding: 0;
    margin: 3rem 0 1.5rem 0;
}

h3 {
    font-size: 1rem;
    font-weight: bold;
    padding: 0;
    margin: 2rem 0 1rem 0;
}

.h3_sub {
    font-size: .75rem;
    color: #333;
    margin: -.7rem 0 1rem 0;
}

h4 {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    padding: 0;
    margin: 1rem 0 .5rem 0;
}

h2 > a, h3 > a, h4 > a { color: black; }

.alignright { float: right; margin: 0 0 1rem 1rem; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; max-width: 100%; }

img.fullwidth {
    display: block;
    margin: 1.5rem 0;
    width: 100%;
    height: auto;
}

img.halfwidth {
    display: block;
    margin: 1.5rem auto;
    width: 50%;
    height: auto;
}

img.illlinks, img.illrechts { max-width: 40%; height: auto; }
img.medilllinks, img.medillrechts { max-width: 30%; height: auto; }
img.smilllinks, img.smillrechts { max-width: 20%; height: auto; }
img.illlinks, img.medilllinks, img.smilllinks { float: left; margin: 1rem 2rem 1rem 0; }
img.illrechts, img.medillrechts, img.smillrechts { float: right; margin: 0 0 1rem 2rem; }
img.illcenter { display: block; margin: 1rem auto; }

img.leave_website {
    height: .7rem;
    padding: 0 .1rem .1rem 0;
}

table.lied_met_vertaling tr { vertical-align: top; }
table.lied_met_vertaling tr td { padding: 0 1.5rem 1.5rem 0; }
table.lied_met_vertaling tr td:last-child { padding-right: 0; }

table.lesdagtabel { border-collapse: collapse; width: 100%; }
table.lesdagtabel tr td { border: 0; padding: 0 0 1em 0; margin: 0; line-height: 160%; }
table.lesdagtabel tr:not(:last-child) td { border-bottom: solid 1px #e7e7e7; }
table.lesdagtabel tr td ol li { margin-left: 1.5em; }
table.lesdagtabel tr td:first-child { padding-right: 1em; min-width: 280px; width: 280px; }

p.quote {
    position: relative;
    margin: .5rem 0 .5rem 1rem;
    padding: 1rem 1rem;
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
}

p.quote::before {
    position: absolute;
    top: 0; left: 0;
    content:"“";
    font-size: 14rem;
    line-height: 12rem;
    color: rgba(0,0,0,0.1);
}

p.quote::after {
    position: absolute;
    top: 0; left: 50%;
    content: "";
    height: 3px;
    width: 10rem;
    margin-left: -5rem;
    border-bottom: 3px solid #825f38;
}

@media only screen and (min-width: 768px) {

    #sbar {
        display: none;
    }

    div#body1 {
        display: table;
        width: 100%;
    }

    div#body2 {
        display: table-row;
        vertical-align: top;
    }

    div#sidebar {
        display: table-cell;
        vertical-align: top;
        width: 16rem;
        background-color: #825f38;
        box-shadow: 0 0 1rem 0 #333;
        color: white;
        position: relative;
        z-index: 10;
    }

    div#sidebar_top {
        width: 100%;
        position: relative;
        z-index: 30;
    }

    div#sidebar_bottom {
        padding-bottom: 1em;
        width: 100%;
    }

    img#logo {
        width: 12rem;
        height: 20rem;
        margin: 1rem 2rem .5rem 2rem;
    }

    div#sidebar a.menu {
        display: block;
        position: relative;
        padding: .5rem 0 .5rem 1.5rem;
        font-weight: bold;
        color: white;
        letter-spacing: .1rem;
    }

    div#sidebar_bottom > a.menu, div#sidebar_bottom > div.met_submenu > a.menu {
        text-transform: uppercase;
        z-index: 30;
    }

    div#sidebar a.menu:hover, div.touched_submenu > a.menu {
        color: #8ab4da;
        background-color: #6a3231;
        text-decoration: none;
    }

    div#sidebar_bottom > a.menu:hover:after {
        position: absolute;
        top: .5rem;
        right: 1rem;
        content: ">";
        font-weight: bold;
    }

    div.met_submenu { position: relative; }
    div.submenu {
        z-index: 10;
        position: absolute;
        left: 0;
        padding: .5rem 0;
        background-color: #825f38;
        box-shadow: 0 0 .5rem 0 #333;
        transition: left 0.2s 0.4s;
    }
    div.submenu1 { width: 14rem; bottom: -.5rem; }
    div.submenu2 { width: 10rem; top: -.5rem; }
    div.submenu3 { width: 14rem; top: -.5rem; }
    div.met_submenu:before {
        content: '';
        z-index: 20;
        position: absolute;
        left: 0;
        top: -20rem;
        width: 16rem;
        height: 40rem;
        background-color: #825f38;
    }
    div.met_submenu:hover div.submenu, div.touched_submenu div.submenu {
        left: 16rem;
        transition: left 0.2s 0s;
    }

    p#contact {
        text-align: center;
        font-size: .8rem;
        margin: 1.5rem 0 0 0;
        position: relative;
        z-index: 20;
    }

    p#contact a {
        font-size: .8rem;
        color: white;
    }

    p#contact a:hover {
        color: white;
    }

    div#main {
        display: table-cell;
        vertical-align: top;
    }

    img#hoofding_foto {
        width: 100%;
        height: auto;
    }

    div#content {
        padding: 2rem 3rem 0 3rem;
    }

    body.gofixed {
        height: 100%;
    }

    body.gofixed #body1, body.gofixed #body2 {
        display: block;
        position: relative;
    }

    body.gofixed div#sidebar {
        display: block;
        position: fixed;
        height: 100%;
        top: 0;
        left: 0;
    }

    body.gofixed div#sidebar_bottom {
        position: absolute;
        bottom: 0;
    }

    body.gofixed div#main {
        display: block;
        position: absolute;
        top: 0;
        left: 16rem;
    }

    div.rightbox {
        float: right;
        width: 28rem;
        margin: 0 0 1rem 2rem;
        background-color: #825f38;
        box-shadow: 0 0 .5rem 0 #999;
        color: white;
    }

    div.rightbox_titel {
        font-weight: bold;
        background-color: #6a3231;
        text-transform: uppercase;
        letter-spacing: .1rem;
        padding: .8rem 1.5rem;
    }

    div.rightbox_inhoud {
        padding: .8rem 1.5rem 1.5rem 1.5rem;
    }

    div.rightbox_inhoud input[type=text] { width: 14rem; }
    input[name=wachtwoord] { width: 12rem; }

    div.twocolumns {
        display: flex;
        margin: 0 0 1rem 0;
        justify-content: space-between;
    }

    div.leftcolumn {
        flex: 1 1 520px;
    }

    div.rightcolumn {
        flex: 0 0 24rem;
    }

    div.rightcolumn > div.rightinner {
        padding: 1rem;
        background-color: #e7e7e7;
    }

    div.introbox {
        float: right;
        width: 22rem;
        margin: 0 0 1rem 2rem;
        padding: 1rem;
        background-color: #e7e7e7;
    }

    p.mainsubtitel {
        font-style: italic;
        margin: -1.5em 0 2em 0;
    }

    .kaart {
        width: 28rem;
        height: 24rem;
        float: right;
        margin: 0 0 .5rem 1rem;
    }

    div#footer {
        padding: .5rem 3rem .5rem 0;
    }

    .tweekolommen {
        width: 50%;
        float: left;
    }

    p.quote {
        float: right;
        max-width: 25vw;
    }

    .kolom_links, .kolom_rechts { width: 47%; }
    .kolom_links { float: left; }
    .kolom_rechts { float: right; }
    .twee_kolommen { column-count: 2; column-gap: 2rem; margin-bottom: 1rem; }

    img.programma_thumb {
        float: right; width: 230px; height: 270px; margin: 0 0 .5rem 1rem;
    }
}

@media only screen and (max-width: 767px) {

    #sbar {
        background-color: #825f38;
        padding: .5rem;
    }

    #sbar p {
        font-size: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: white;
        margin: 0;
    }

    #sbar_menu a {
        display: block;
        padding: .8rem;
        background-color: white;
        color: black;
        border-bottom: solid 1px #825f38;
    }

    #sbar-toggle {
        border: 2px solid white;
        padding: 5px;
        border-radius: 5px;
        display: block;
        float: right;
    }
    #sbar-toggle .bar{
        display: block;
        width: 20px;
        margin-bottom: 4px;
        height: 2px;
        background-color: white;
        border-radius: 1px;
    }
    #sbar-toggle .bar:last-child{
         margin-bottom: 0;
    }

    div#body1, div#body2, div#main {
        display: block;
    }

    div#sidebar {
        display: none;
    }

    img#hoofding_foto {
        width: 100%;
        height: auto;
    }

    div#content {
        padding: 2rem 1rem 0 1rem;
    }

    div.rightbox {
        margin: 1rem 0;
        background-color: #825f38;
        box-shadow: 0 0 .5rem 0 #999;
        color: white;
    }

    div.rightbox_titel {
        font-weight: bold;
        background-color: #6a3231;
        text-transform: uppercase;
        letter-spacing: .1rem;
        padding: .8rem 1.5rem;
    }

    div.rightbox_inhoud {
        padding: .8rem 1.5rem 1.5rem 1.5rem;
    }

    div.rightbox_inhoud input[type=text] { width: 8rem; }
    input[name=wachtwoord] { width: 8rem; }

    div.rightcolumn {
        margin: 1rem 0;
        padding: 1rem;
        background-color: #e7e7e7;
    }

    div.introbox {
        margin: 0 0 1rem 0;
        padding: 1rem;
        background-color: #e7e7e7;
    }

    p.mainsubtitel {
        display: none;
    }

    .kaart {
        display: block;
        width: 100%;
        height: 16rem;
        margin: 1rem 0;
    }

    div#footer {
        padding: .5rem;
    }

    img.programma_thumb {
        display: block; width: 230px; height: 270px; margin: 1rem auto;
    }
}

@media print {

    #sbar {
        display: none;
    }

    div#body1, div#body2, div#main {
        display: block;
    }

    div#sidebar {
        display: none;
    }

    img#hoofding_foto {
        width: 100%;
        height: auto;
    }

    div#content {
        padding: 2rem 1rem 0 1rem;
    }

    div.rightbox {
        margin: 1rem 0;
        background-color: #825f38;
        box-shadow: 0 0 .5rem 0 #999;
        color: white;
    }

    div.rightbox_titel {
        font-weight: bold;
        background-color: #6a3231;
        text-transform: uppercase;
        letter-spacing: .1rem;
        padding: .8rem 1.5rem;
    }

    div.rightbox_inhoud {
        padding: .8rem 1.5rem 1.5rem 1.5rem;
    }

    div.rightbox, div.rightcolumn {
        display: none;
    }

    p.mainsubtitel {
        font-style: italic;
    }

    div#footer {
        padding: .5rem;
    }

    p.quote {
        float: right;
        max-width: 35vw;
    }

    img.programma_thumb {
        display: none;
    }
}

input.button {
    display: inline-block;
    float: right;
    padding: .4rem 1rem;
    color: black;
    background-color: #8ab4da;
    font-weight: bold;
    border: 0;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
}

input.button:hover {
    color: #8ab4da;
    background-color: #6a3231;
}

input[type=text], input[type=email], textarea {
    border: solid gray 1px;
    padding: .4rem .5rem;
    font-size: 1rem;
}

div.citaat {
    margin: 2rem 0 1rem 0;
    overflow: hidden;
    padding: .8rem 1rem .5rem 2rem;
    background-color: #eee;
    border-left: solid .2rem #825f38;
}

div.citaat p.tekst {
    margin: 0;
    font-style: italic;
    position: relative;
}

div.citaat p.naam {
    text-align: right;
    margin: .2rem 0 0 0;
}

blockquote {
    margin: 1rem 0 1rem 3rem;
    font-style: italic;
}

p.onderschrift {
    margin-top: -1.2rem;
    font-style: italic;
}

div.inleiding {
    margin: 1.5rem -1.5rem 2rem -1.5rem;
    padding: .5rem 1.5rem .5rem 1.5rem;
    background-color: #e7e7e7;
}

p.extramargeboven {
    margin-top: 2em;
}

ul.errorlist li {
    color: red;
}


div#footer {
    clear: both;
    background-color: #825f38;
    margin: 2rem 0 0 0;
    color: white;
}

div#footer p { margin: 0; text-align: right; }
div#footer a { color: white; text-decoration: underline; }
div#footer a:hover { color: #8ab4da; }


table.edit { margin: 1em auto 1em 0; clear: both; }
table.edit td, table.edit th { text-align: left; }
table.edit tr td { padding: 16px; font-weight: normal; }
table.edit tr th { padding: 16px 16px 16px 0; font-weight: bold; text-align: right; }
table.edit input[type=text], table.edit input[type=password], table.edit input[type=email], table.edit textarea, table.edit select { width: 30rem; box-sizing: border-box; font-size: 1rem; }
table.edit input[type=date] { width: 180px; box-sizing: border-box; font-size: 1rem; }
table.edit textarea { height: 120px; }
table.edit .helptext { font-size: 16px; color: gray; display: block; margin: 4px 0 0 0; }
