@font-face {
    font-family: 'quicksanddash';
    src: url('quicksand_dash-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'quicksand';
    src: url('quicksand-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'quicksand';
    src: url('quicksand-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'quicksand';
    src: url('quicksand-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'quicksandlight';
    src: url('quicksand-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'quicksandlight';
    src: url('quicksand-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'quicksand';
    src: url('quicksand-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
	--color-main: #fff;
	--color-driekwart: #bbb;
	--color-half: #777;
	--color-inv: #000;
	--color-spec: #a4d659;
	
	--bg-main: rgba(0, 0, 0, 0.75);
	--bg-half: #777;
	--bg-driekwart: #bbb;
	--bg-kwart: #444;
	--bg-inv: #fff;
	--bg-spec: #a4d659;
	
	--fontsize-normal: 16px;
	--fontsize-medium: 20px;
	--fontsize-large: 24px;
}

* {
	padding: 0px;
	margin: 0px;
	color: var(--color-main);
	text-decoration: none;
	border: none;
	border-collapse: collapse;
	font-family: 'quicksand';
	box-sizing: border-box;
}

body {
	font-size: var(--fontsize-normal);
}

html,
body,
div.container {
	width: 100%;
	height: 100%;
	background: #ddd;
}


h1 {
	font-size: var(--fontsize-large);
	color: var(--color-spec);
	text-align: center;
	font-family: 'quicksandlight';
	font-size: 1.5em;
}

div.content {
	position: absolute;
	margin-top: 50px;
	padding-bottom: 40px;
	width: 100%;
	overflow-y: auto;
}


div.blok {
	display: block;
	width: 100%;
	min-height: calc(100vh - 98px);
	padding: 20px 5px;
	background-size: cover;
	background-position: 50% 50%;
}

div.blok:first-child {
	padding: 20px 0px;
}

div.bloklogo {
	display: grid;
	width: 100%;
	height: calc(100vh - 100px);
	grid-template-rows: 2fr auto 2fr auto 3fr auto 3fr;
    grid-template-areas:
        "."
        "logo"
        "."
        "slogan"
        "."
        "maillist"
        ".";
}

div.logo,
div.slogan {
	padding: 20px 0px;
	/* background: linear-gradient(to right, rgba(60, 60, 60, 0.75), rgba(220, 220, 220, 0.9), rgba(60, 60, 60, 0.75)); */
	/* border-top: 1px solid #fff; */
	/* border-bottom: 1px solid #fff; */
	text-align: center;
}

div.logo {
	grid-area: logo;
	width: 100%;
	filter: drop-shadow(0px 0px 1px #fff8) drop-shadow(0px 0px 1px #fff) drop-shadow(1px 1px 2px #000);
}

div.slogan {
	grid-area: slogan;
    filter: drop-shadow(0px 0px 1px #fff4) drop-shadow(1px 1px 2px #000);
}

div.logo img {
	width: 98%;
	max-width: 1100px;
	margin-left: 1%;
}
div.slogan img {
	width: 90%;
	max-width: 800px;
	margin-left: 8%;
}

div.blokcontent {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: justify;
	padding: 20px 10px;
	background: var(--bg-main);
	border: 1px solid var(--color-main);
	border-radius: 5px;
}

.blokagenda {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 20px;
	text-align: justify;
	background: var(--bg-main);
	border: 1px solid var(--color-main);
	border-radius: 5px;
	display: grid;
	
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 1fr auto auto;
	grid-template-areas:
		"agendadatum agendatekst"
		"agendaruimte agendatekst"
		"agendalocatie agendalocatie"
		"agendafacebook agendafacebook";
}

.agendadatum {
	grid-area: agendadatum;
	border-right: 1px solid var(--color-main);
	border-bottom: 1px solid var(--color-main);
	border-bottom-right-radius: 5px;
	text-align: center;
}

.agendatekst {
	grid-area: agendatekst;
	border-bottom: 1px solid var(--color-main);
	padding: 5px;
}

.agendaruimte {
	grid-area: agendaruimte;
	border-bottom: 1px solid var(--color-main);
}

.agendalocatie {
	grid-area: agendalocatie;
	text-align: center;
	padding: 6px 3px 3px;
}

.agendafacebook {
	grid-area: agendafacebook;
	text-align: center;
	padding: 3px 3px 6px;
}

div.agendatijd,
div.agendadag,
div.agendajaar {
	padding: 0px 5px;
	border-right: 1px solid var(--color-main);
	white-space: nowrap;
	font-size: var(--fontsize-medium);
}

div.agendatijd {
	font-weight: bold;
}

div.agendajaar {
	font-size: var(--fontsize-normal);
}


div.topbar,
div.topbaropen,
div.footer {
	z-index: 2;
	background-color: #161616;
}

div.topbar, div.topbaropen {
	background-image: url(images/ccwinv.svg);
	background-repeat: no-repeat;
	background-position: 10px 0px;
	background-size: 260px;
	height: 50px;
}


span.menuswitch {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 50px;
	height: 50px;
	background-image: url(images/menu.png);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
}


div.topbar ul {
	display: none;
}

div.topbaropen ul {
	background: var(--bg-main);
	position: absolute;
	right: 0px;
	top: 50px;
	list-style: none;
	width: 100%;
}

div.topbaropen li {
	text-align: right;
	border-top: 1px solid var(--color-main);
}

div.topbaropen li:last-child {
	border-bottom: 1px solid var(--color-main);
}

div.topbar a,
div.topbaropen a {
	display: block;
	padding: 0.6em 0.6em;
	font-size: 1em;
}

div.topbar a.actief,
div.topbaropen a.actief,
div.footer a.actief {
	color: var(--color-spec);
}


div.topbar, div.topbaropen { position: fixed; top: 0px; left: 0px; width: 100%; }
div.footer table { margin: 0 auto; }

a.link,
a.link:link,
a.link:visited {
	color: var(--color-main);
}

a.link:hover,
a.link:active,
a.link:focus {
	color: var(--color-spec);
}


table.formulier {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

table.formulier td {
	display: block;
}

.inputcontainer {
	width: 100%;
	max-width: 600px;
	margin: 0 auto 5px auto;
	border: 1px solid var(--color-half);
	border-radius: 5px;
}

.inputbar {
	border: 1px solid var(--color-half);
	padding: 6px 12px 6px 50px;
	width: 100%;
	height: 2em;
	font-size: var(--fontsize-normal);
	border-radius:4px;
	box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	color:#555;
	background-color: var(--bg-inv);
	outline: none;
}

.inputbar:focus {
	border: 1px solid var(--color-spec);
	background-color: #ddd;
}

.inputicon,
.inputicontextarea {
	display: block;
	position: absolute;
	background: var(--bg-kwart);
	width: 40px;
	height: 2em;
	text-align: center;
	padding-top: 8px;
	font-size: var(--fontsize-normal);
	/* margin-top: 1px; */
	/* margin-left: 1px; */
	border-right: 1px solid var(--color-half);
	border-radius: 4px 0px 0px 4px;
}

.inputicontextarea {
	padding: 39px 10px 38px 10px;
	height: 6em;
}

textarea {
	display: block;
	height: 6em;
	border: 1px solid var(--color-half);
	font-size: var(--fontsize-normal);
	width: 100%;
	padding: 6px 12px 6px 50px;
	border-radius:4px;
	box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	color:#555;
	background-color: var(--bg-inv);
	outline: none;
}
.inputbar:focus, textarea:focus {
	border: 1px solid var(--color-spec);
	background-color: #ddd;
}




input[type=checkbox] {
	display:none;
}

input[type=checkbox] + label:before {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
	content: "\f111";
	letter-spacing: 10px;
}

input[type=checkbox] + label {
	color: var(--color-driekwart);
}

input[type=checkbox]:checked + label:before {
	content: "\f058";
	letter-spacing: 10px;
	/* font-weight: 900; */
}

input[type=checkbox]:checked + label {
	color: var(--color-main);
}

input[type=checkbox]:hover + label {
	cursor: pointer;
	color: var(--color-spec);
}

input[type=button] {
	padding: calc(var(--fontsize-normal) / 2) var(--fontsize-normal);
	color: var(--color-inv);
	background: var(--bg-inv);
	border: 1px solid #888;
	font-size: var(--fontsize-normal);
	border-radius: 4px;
	cursor: pointer;
}

input[type=button]:hover {
	background: var(--bg-driekwart);
}

input[type=button]:disabled {
	background: var(--bg-half);
	cursor: not-allowed;
}

.formulier ul {
	list-style: none;
}

.formulier li {
	padding: 3px;
}

td.submit {
	padding-top: 20px;
	text-align: center;
}



div.albums {
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	grid-gap: 2px;
	justify-content: center;
}

div.album {
	box-shadow: 0px 0px 1px #000;
	transition: 0.25s margin, 0.25s box-shadow, 0.25s font-size, 0.25s padding;
	background: var(--bg-inv);
	padding: 5px;
	color: var(--color-inv);
	font-size: 12px;
	text-align: center;
	vertical-align: top;
	border-radius: 3px;
	margin: 4px;
	cursor: pointer;
}

div.album div.img {
	margin-bottom: 3px;
	padding-top: 75%;
	border: 1px solid #888;
	transition: 0.25s opacity, 0.25s margin-bottom;
	opacity: 0.9;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

div.album:hover {
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
	margin: 0px;
	font-size: 14px;
	padding: 5px 5px 2px;
}

div.album:hover div.img {
	opacity: 1;
	margin-bottom: 4px;
}




div.viewergrijs {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: var(--bg-main);
	z-index: 10;
}


div.viewerhidden {
	display: none;
}

div.viewer {
	--thumbHeight: 100px;
	z-index: 10;
	display: grid;
	position: fixed;
	width: 100%;
	height: 100%;
	max-height: 100%;
	grid-template-columns: 1rem 3rem 1fr 3rem 1rem;
	grid-template-rows: 3rem 1fr var(--thumbHeight);
	grid-gap: 0.25rem;
}


@media screen and (min-width: 900px) {
	div.viewer {
		--thumbHeight: 200px;
	}
}

div.viewerimage {
	grid-column: 1 / -1;
	grid-row: 1 / 3;
}

div.viewerimage div.viewerhoofdfoto {
	height: 100%;
}

div.viewerimage picture {
	/* max-height: calc(100vh - 200px); */
	height: 100%;
	width: 100%;
	display: block;
	/* background-color: var(--bg-inv); */
	padding: 5px;
	/* border: 1px solid var(--bg-inv); */
    filter: drop-shadow(-1px -1px 1px #fff4) drop-shadow(-1px 1px 1px #fff4) drop-shadow(1px -1px 1px #fff4) drop-shadow(1px 1px 1px #fff4);
}

picture source, picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

div.viewersluiten {
	/* position: absolute; */
	/* top: 5px; */
	/* right: 5px; */
	height: 3rem;
	width: 3rem;
	opacity: 0.5;
	grid-column: 4 / 5;
	grid-row: 1 / 2;
	transition: 0.25s opacity;
	background-image: url(images/close.png);
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 1;
}

div.viewervorige {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	opacity: 0.5;
	transition: 0.25s opacity;
	background-image: url(images/vorige.png);
	background-size: contain;
	background-position: 0% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 1;
}

div.viewervolgende {
	grid-column: 4 / 5;
	grid-row: 2 / 3;
	opacity: 0.5;
	transition: 0.25s opacity;
	background-image: url(images/volgende.png);
	background-size: contain;
	background-position: 100% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 1;
}

div.viewersluiten:hover,
div.viewervorige:hover,
div.viewervolgende:hover {
	opacity: 1;
}


div.viewerthumbs {
	grid-column: 1 / -1;
	grid-row: 3 / 4;
	overflow-x: auto;
	width: 100%;
	height: var(--thumbHeight);
	display: flex;
    flex-wrap: nowrap;
    gap: 4px;
}

div.viewerthumbs img {
	max-height: calc(var(--thumbHeight) - 30px);
	background-color: var(--bg-inv);
	filter: brightness(50%);
	padding: 2px;
	/* border: 1px solid #888; */
	/* margin: 0px 5px; */
	transition: 0.25s filter;
	cursor: pointer;
}

div.viewerthumbs img:hover, div.viewerthumbs img.actief {
	filter: brightness(100%);
}



div.viewertop {
	grid-area: viewertop;
}
div.viewerbottom {
	grid-area: viewerbottom;
}

div.viewerleft {
	grid-area: viewerleft;
}
div.viewerright {
	grid-area: viewerright;
}




div.footer {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

div.footer div {
	border-top: 1px solid #888;
	width: 100%;
	text-align: center;
    padding: 0.25rem;
	white-space: nowrap;
}

div.footer_cc {
	font-size: 0.75em;
}

div.footer_social img {
	height: 1em;
	padding: 0px 5px;
	vertical-align: middle;
}

div.footer_palata {
	font-size: 0.75em;
}
div.footer_badge {
	display: none;
}

div.footer a {
	font-size: 1em;
}

.maillist {
    grid-area: maillist;
    text-align: center;
	width: 95vw;
	max-width: 1200px;
	margin: 0 auto;
	color: #fff;
    font-weight: 500;
    background: #0008;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 20px;
}

.maillist input[type="email"] {
    background: #000b;
    color: #fff;
    font-size: 16px;
    width: 100%;
    padding: 10px 6px;
    border: 1px solid #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
	text-align: center;
	transition: 150ms box-shadow;
}

.maillist input[type="email"]::placeholder {
	color: #aaa;
}

.maillist input[type="submit"] {
    font-size: 16px;
    padding: 10px 6px;
    color: #000;
    border: 1px solid #eee;
	background: #eee;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
	cursor: pointer;
	transition: 150ms box-shadow;
}

.maillist input[type="email"]:hover {
    border: 1px solid #ff0;
	box-shadow: 0px 0px 5px #ff0;
}

.maillist input[type="submit"]:hover {
	background: #ccc;
	box-shadow: 0px 0px 5px #fff;
}
.maillist .melding {
    background: #000b;
    display: inline;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 10px;
}

div#klaas {
    min-height: auto;
    background: #fff;
}
.meldingcontent {
	width: auto;
    border: 2px solid #000;
    background: #fff;
    padding: 10px;
    margin: 0 auto;
}

#klaas img {
	width: calc(50vw - 40px);
    max-width: 300px;
    display: block;
    vertical-align: middle;
	margin: 0 auto;
}
.meldingtekst {
    color: #000;
    display: inline-block;
	width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 30px;
}
.meldingtekst h2 {
    color: #000;
    font-weight: 400;
    font-size: 1.5em;
    margin-bottom: 30px;
}


@media screen and (min-width: 500px) {
	body {
		font-size: 18px;
	}
}

@media screen and (min-width: 600px) {
	.maillist input[type="email"] {
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
		border-top-right-radius: 0px;
		border-bottom-right-radius: 0px;
		text-align: left;
	}
	.maillist input[type="submit"] {
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
		border-top-right-radius: 10px;
		border-bottom-right-radius: 10px;
		width: auto;
	}
	.maillist input[type="email"],
	.maillist input[type="submit"] {
		font-size: 18px;
		width: 50%;
		padding: 10px 6px;
	}
	
	#klaas img {
		display: inline-block;
	}
	
	.meldingtekst {
		width: calc(50vw - 40px);
		margin-left: 20px;
	}
	
	div.footer {
		flex-direction: initial;
	}
	
	div.footer div {
		border-top: none;
		flex-grow: 1;
		width: auto;
	}
}

@media screen and (min-width: 800px) {
	div.blok {
		min-height: calc(100vh - 85px);
	}
	
	div.footer div {
		padding: 10px 20px 5px;
	}
	
	div.footer_social img {
		vertical-align: top;
	}
	

	.maillist input[type="email"] {
		font-size: 22px;
		max-width: 600px;
		padding: 10px;
	}
	.maillist input[type="submit"] {
		font-size: 22px;
		padding: 10px;
		width: auto;
	}
	
	
	.meldingcontent {
		width: 700px;
	}
	#klaas img {
		width: 50vw;
	}
	.meldingtekst {
		width: 50%;
		margin-left: 20px;
		line-height: 40px;
	}
}

@media screen and (min-width: 880px) {
	div.topbar, div.topbaropen {
		text-align: right;
	}
	div.topbar ul, div.topbaropen ul {
		display: inline-block;
		background: none;
	}
	div.topbar li, div.topbaropen li {
		display: inline-block;
		height: 50px;
		border-top: none;
	}
	
	
	div.topbar a,
	div.topbaropen a {
		display: inline-block;
		height: 50px;
		padding: 15px 5px;
		font-size: 1em;
	}

	span.menuswitch {
		display: none;
	}
	
	div.albums {
		grid-template-columns: repeat(auto-fit, 220px);
	}
	div.album {
		margin: 10px;
		font-size: 16px;
	}
	div.album:hover {
		box-shadow: 0px 4px 16px rgba(0, 0, 0, 1);
		font-size: 18px;
		padding: 5px;
	}
	/* div.viewer { */
		/* grid-template-columns: 20px 50px 1fr auto 1fr 50px 20px; */
		/* grid-template-rows: 1fr auto 1fr 200px; */
		/* grid-template-areas: */
			/* "viewertop viewertop viewertop viewertop viewertop viewertop viewertop" */
			/* ". viewervorige viewerleft viewerimage viewerright viewervolgende. " */
			/* "viewerbottom viewerbottom viewerbottom viewerbottom viewerbottom viewerbottom viewerbottom" */
			/* "viewerthumbs viewerthumbs viewerthumbs viewerthumbs viewerthumbs viewerthumbs viewerthumbs"; */
		/* grid-gap: 10px; */
	/* } */
	/* div.viewerthumbs { */
		/* height: 200px; */
	/* } */
	/* div.viewerthumbs img { */
		/* max-height: 170px; */
		/* padding: 5px; */
	/* } */
	/* div.viewerimage img { */
		/* max-height: calc(100vh - 250px); */
	/* } */
	div.viewervorige,
	div.viewervolgende {
		background-size: 30px;
	}
}


@media screen and (min-width: 1000px) {
	body {
		font-size: 20px;
	}
	div.topbar a,
	div.topbaropen a {
		padding: 15px 10px;
	}
		
	div.footer_badge {
		display: block;
	}
	div.footer_badge img {
		height: 75%;
	}
	
	.maillist input[type="email"] {
		font-size: 24px;
	}
	.maillist input[type="submit"] {
		font-size: 24px;
	}
}
@media screen and (min-width: 1200px) {
	body {
		font-size: 22px;
	}
	div.topbar a,
	div.topbaropen a {
		padding: 15px 10px;
	}
}