/****************************** COLOURS ******************************/
/*
donkergroen
#446463
rgba(68,100,99,1)
lichtgroen
rgba(196,206,202,1)
#C4CECA;
*/
/****************************** HTML TAGS & STYLES ******************************/

* {
    box-sizing: border-box;
}

:root {
    --main_color: #446463;
    --main_color_light: #C4CECA;
    --normal_text_font: "Roboto", Sans-serif;
    --normal_text_color: #446463;
    --header_text_font: "Roboto Slab", Sans-serif;
    --header_text_color: #446463;
    --sidebar_text_font: "Roboto Slab", Sans-serif;
    --sidebar_text_color: #446463;
    --sidebar_bg_color: #C4CECA;
    --footer_text_font: "Roboto Slab", Sans-serif;
    --footer_text_color: #C4CECA;
}

p {
    margin: 0 0 0.9rem 0;
    text-align: left;
    line-height: 1.8em;
}

strong, b, em {
    font-weight: 700;
}

.fs-small {
    font-size: 10pt;
}
.fs-medium {
    font-size: 11pt;
}
.fs-large {
    font-size: 12pt;
}

h1 {
}

h2 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 22pt;
    font-weight: 300;
    letter-spacing: -0.2px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

h3 {
    font-family: var(--header_text_font);
    font-size: 16pt;
    font-weight: 300;
    letter-spacing: -0.2px;
    line-height: 1.4em;
    text-align: left;
}

h4, h5, h6 {
    font-size: 12pt;
    font-weight: 500;
    line-height: 0.1em;
}

a {
    text-decoration: underline;
    font-family: var(--normal_text_font);
    color: var(--normal_text_color);
}

a:hover {
    text-decoration: none;
    color: var(--main_color_light);
    font-weight: 400;
}

img {
    border-style: none;
    max-width: 100%;
}

.hide {
    display: none;
}

/****************************** ELEMENTS ******************************/
body {
    font-family: var(--normal_text_font);
    font-size: 11pt;
    font-weight: 300;
    color: var(--normal_text_color);
    line-height: 1.5;
    background-color: #E8EFEC;
    width: 100vw;
    max-width: 1200px;
    margin: auto;
}
/* body . * { */
    /* width: 100vw; */
/* } */
/* body > * > * { */
    /* max-width: 1200px; */
    /* margin: auto; */
/* } */


/* ------------------ HEADER ------------------ */
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--main_color);
    height: min(300px, 40vw);
}

header img {
    height: 80%;
    width: auto;
}

/* ------------------ NAV ------------------ */

nav {
    display: block;
    background-color: var(--main_color_light);
    width: 100%;
    height: 60px;
}
#mainmenu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
}
#mainmenu a {
    display: inline-block;
    width: 14vw;
    max-width: 165px;
    padding-top: 18px;
    height: 100%;
    text-decoration: none;
    color: var(--main_color);
    font-size: 12pt;
    text-align: center;
}
@media screen and (max-width: 800px) {
    #mainmenu {
        display: none;
    }
}

/* ------------------ CONTENT ------------------ */

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-image: url(../images/bsr_boom.png);
    background-size: contain;
}

section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    opacity: 85%;
    background-color: white;
}
@media screen and (max-width: 800px) {
    section {
        flex-direction: column;
    }
}

article {
    width: 65%;
    max-width: 780px;
    padding: 7% 10%;
    min-height: 500px;
}
article:after {
    display: block;
    content: "";
    width: 100px;
    height: 50px;
    margin: 0 auto;
    background: transparent url('../images/wortels.png') no-repeat;
    background-size: 100px; 
}

aside {
    width: 30%;
    max-width: 360px;
    padding-top: calc(7% + 56px);
    padding-bottom: 7%;
    padding-left: 0;
    padding-right: 5%;
    text-align: center;
}
@media screen and (max-width: 800px) {
    article, aside {
        max-width: 100vw;
        width: 100%;
        padding: 7% 5%;
    }
}

.caption {
    text-align: center;
}
.citaat {
    text-align: center;
    margin: 10%;
    margin-top: 20%;
}
.kadertekst {
    color: var(--main_color_light);
    padding: 5%;
    margin: 150px 5%;
    border-radius: 1em;
    box-shadow: var(--main_color_light) 0.5em 0.5em 0.3em;
    background-color: var(--main_color);
    background-image: url("../images/bsr-boom.png");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 37% auto;
}
.kadertekst a {
    color: var(--main_color_light);
}

#bodywise-1 {
    width: 100%;
    height: auto;
}
#korteintroductievideo {
    margin-top: 50px;
}
#wanneer-bsr-1 {
    width: 70%;
    margin: 10px;
    height: auto;
    margin-left: 38px;
}
#wanneer-bsr-2 {
    max-width: 118%;

    @media screen and (max-width: 800px) {
        max-width: 100%;
        width: 100vw;
    }
}

#sacha1 {
    display: none;
}
#sacha2 {
    width: 200px;
}
    @media screen and (max-width: 800px) {
        #sacha1 {
            display: block;
            float: right;
            width: 30vw;
            margin-left: 5px;
        }
        #sacha2 {
            display: none;
        }
        div:has(#sacha2) {
            display: none;
        }
    }
    


table {
    /* margin-top: 50px;  */
}
table tr {
    height: 1.8em;
}
table td {
    vertical-align: top;
    text-align: left;
}
#oudtarief, #tarief {
    width: 100%;
}
#oudtarief table tr td:first-of-type,
#tarief table tr td:first-of-type {
    width: min(300px, 65vw);
}
#kvk {
    width: 100%;
}
#kvk tr td:first-of-type {
    width: min(100px, 10vw);
}
#agb {
    width: 100%;
}
#agb tr td:first-of-type {
    width: min(300px, 65vw);
}

#labels {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    justify-content: space-around;
    align-items: center;
}
#labels div {
    margin-top: 50px;
    width: 50%;
}
@media screen and (max-width: 800px) {
    #labels div {
        width: 60%;
    }
}

/* ------------------ MOBILE MENU ------------------ */
#mobilemenu {
    display: none;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: auto;
    padding-left: 10vw;
}
#mobilemenu img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}
@media screen and (max-width: 800px) {
    #mobilemenu {
        display: flex;
    }
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0vw;
    height: 100vh;
    font-size: 15pt;
    overflow: hidden;
    z-index: 10;
    background-color: var(--sidebar_bg_color);
	text-align: left;
	white-space: nowrap;
}
#sidebar img {
    width: 40px;
    height: auto;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
}
#sidebaroverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    z-index: 9;
    opacity: 0.8;
    background-color: white;
}
#sidebar a  {
	text-decoration: none;
    cursor: pointer;
    color: var(--sidebar_text_color);
	font-weight: normal;
	line-height: 2.4;
	padding: 0;
	display: block;
	transition: all 0.5s ease;
    margin-left: 20px;
}
#sidebar a:first-of-type {
    margin-top: 10vh;
}


#sidebar a:hover, #sidebar a:active {
	color: var(--sidebar_bg_color);
	background-color: var(--sidebar_text_color);
}

/* ------------------ FOOTER ------------------ */
footer {
    display: flex;
    position: sticky;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    background-color: var(--main_color);
    color: var(--footer_text_color);
    padding: 10px 10%;

    div {
        width: 200px;
        margin: 0px 4%;
    }
    p {
        margin: 0;
    }
    a, a:link, a:visited {
        background-color: var(--main_color);
        color: var(--footer_text_color);
        text-decoration: none;
    }
    a:hover {
        font-weight: bold;
    }
    @media screen and (max-width: 800px) {
        flex-direction: column;
        position: sticky;
        bottom: -140px;
    }
}

/* ------------------ DISCLAIMER ------------------ */
.disclaimer {
    background-color: #446463;
    background-image: url("https://www.bsran.nl/images/2020/09/BSR-boom-semitransparant.png");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 37% auto;
}

/* ------------------ FORMS ------------------ */
[type="submit"], button {
    color: #446463;
    border: 1px solid #446463;
}
[type="submit"]:hover, button:hover {
    color: #fff ;
}
label {
    padding-bottom: 5px ;
}

/* ------------------BLOCKS WITH BORDERS ------------------ */
.block {
    border: 5px solid #C4CECA ;
}