@charset "UTF-8";
@import url("reset.css");
@import url("fonts.css");

:root {
	--kleurA: #fff;
	--kleurB: #eee;
	--kleurC: #ccc;
	--kleurD: #888;
	--kleurE: #444;
	--contentBreedte: min(100vw - 2rem, 1000px);
	--contentBreedteKlein: min(100vw - 2rem, 400px);
	--stoelhoogte: 7px;
	--rijhoogte: 1.5;
}

* {
	font-size: 1rem;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	background: var(--kleurA);
	font-family: 'Roboto';
	line-height: 2rem;
	color: var(--kleurE);
	font-size: 16px;
}

body.geenbanner {
	padding-bottom: 2rem;
}

h1 {
	font-size: 2rem;
	font-weigth: 500;
	line-height: 4rem;
}

h2 {
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
    line-height: 2rem;
    padding-top: 2rem;
}

p {
	text-align: center;
	font-size: 1rem;
	font-weight: 300;
	line-height: 2rem;
}

sub {
    font-size: 0.8rem;
    display: block;
    line-height: 1rem;
}

span.klein {
    font-size: 0.9rem;
	padding-left: 0.5rem;
	/* padding-left: 1rem; */
}

.center {
	text-align: center;
}

a.link {
	color: var(--kleurF);
	cursor: pointer;
	text-decoration: underline;
}

a.link:hover {
	color: var(--kleurD);
	cursor: pointer;
	text-decoration: none;
}

a.knop {
    padding: 0.25rem 0.5rem;
    line-height: 2rem;
    font-size: 1rem;
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid var(--kleurD);
    text-decoration: none;
    margin-right: 0.25rem;
    color: var(--kleurE);
}

a.knop:hover {
	background: var(--kleurD);
	color: var(--kleurA);
}

.logo {
	padding: 1rem;
	width: var(--contentBreedte);
	margin-inline: auto;
	text-align: center;
}

.logo img {
	height: 6rem;
}

.inlogfout {
    display: block;
    border: 1px solid #800;
    padding: 0.5rem 1rem;
    background: #fcc;
    color: #000;
}



.blockhalf {
	display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
	gap: 0.5rem;
}

.blockhalf div {
    border: 1px solid #ccc;
    padding: 0rem 2rem 2rem;
	width: 100%;
}

nav,
main {
	width: var(--contentBreedte);
	margin-inline: auto;
	padding-bottom: 0.5rem;
	text-align: center;
}

nav a,
nav span {
	display: inline-block;
	white-space: nowrap;
	border: 2px solid var(--kleurD);
    padding: 0 0.125rem;
	line-height: 1.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	margin-right: 0.25rem;
}

nav a {
    background: var(--kleurA);
    color: var(--kleurE);
}

nav a:hover {
	background: var(--kleurD);
	color: var(--kleurA);
}

nav span {
    background: var(--kleurB);
    color: var(--kleurC);
    cursor: default;
}

nav span.actief {
    background: var(--kleurC);
    color: var(--kleurF);
}

nav a:last-child,
nav span:last-child {
	margin-right: none;
}

nav a label,
nav span label {
	display: none;
}

nav a label {
	cursor: pointer;
}

nav a.actief label,
nav span.actief label {
	display: inline;
}

.voorstellingen .evenementtitel {
	grid-column-start: 1;
    grid-column-end: 3;
	background: var(--kleurC);
    border: 1px solid var(--kleurD);
	font-weight: bold;
}

.voorstellingen .ticketsoort {
	margin-top: 0.5rem;
    grid-column-start: 1;
	grid-column-end: 3;
	background: var(--kleurC);
    border: 1px solid var(--kleurD);
}

.voorstellingen .voorstellingnaam {
	grid-column-start: 1;
    grid-column-end: 3;
	background: var(--kleurB);
	/* display: flex; */
	display: grid;justify-items: start;
    align-items: center;
	border-left: 1px solid var(--kleurD);
	border-right: 1px solid var(--kleurD);
}

.voorstellingen .voorstellingprijs {
	grid-column-start: 1;
    grid-column-end: 2;
	background: var(--kleurB);
	display: grid;
	grid-template-columns: auto auto;
    align-items: center;
	border-bottom: 1px solid var(--kleurD);
	border-left: 1px solid var(--kleurD);
}

.voorstellingen .voorstellingprijs sub {
	padding-left: 0.25rem;
}

.voorstellingprijs sub:nth-child(2) {
    grid-column: 1 / 3;
}

.voorstellingen .formknop {
	grid-column-start: 2;
    grid-column-end: 3;
	background: var(--kleurB);
	display: flex;
    align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--kleurD);
	border-right: 1px solid var(--kleurD);
}

table.form {
	margin: 0 auto;
}

.overzicht td td {
    display: table-cell;
}
.overzicht td {
    display: table-row;
}

th {
	font-weight: 600;
}

table.form .blok,
table.form .bloklinks {
	border: 1px solid var(--kleurC);
	background: var(--kleurB);
	padding: 0.25rem;
	margin: 0.25rem auto;
	width: max-content;
}
table.form .blok .titel,
table.form .bloklinks .titel {
	font-weight: 600;
}

table.form .blok th,
table.form .blok td,
table.form .bloklinks th,
table.form .bloklinks td {
	padding: 0.25rem;
}
table.form .blok td {
	text-align: right;
}

table.form .bloklinks td {
	text-align: left;
}

td.streepboven {
	border-top: 1px solid var(--kleurC);
}

td.paddinglinks {
	padding-left: 1rem;
}

.formulier {
	width: var(--contentBreedteKlein);
	margin-inline: auto;
}

.formulier label {
    display: block;
    text-align: left;
	padding-inline: 0.5rem;
	width: max-content;
	font-weight: 500;
}

/* .formulier input { */
input {
	width: 100%;
	border: 1px solid var(--kleurE);
	border-radius: 0.25rem;
	padding: 0.5rem 0.5rem;
	background: var(--kleurB);
	margin-bottom: 1rem;
}

input[type=checkbox],
.formulier input[type=radio] {
	width: auto;
}

.formulier input[type=submit] {
	margin-top: 1.5rem;
}

.formulier input[type=password] {
	padding-right: 2.5rem;
	
}

span.bekijkwachtwoord {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    margin-left: -2rem;
    margin-top: 0.5rem;
    position: relative;
    cursor: pointer;
}

.formulier input[type=password] + span.bekijkwachtwoord:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
	content: "\f070";
}


.formulier input[type=text] + span.bekijkwachtwoord:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
	content: "\f06e";
}

.wachtwoordhelp {
    position: relative;
}

.tool {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
	z-index: 10;
}

.toolblok {
	display: none;
	position: relative;
    background: var(--kleurA);
    padding: 0.5rem 1rem;
    border: 1px solid var(--kleurE);
    border-radius: 0.25rem;
	font-size: 0.8rem;
	line-height: 1.2rem;
	text-align: left;
	white-space: nowrap;
}

i.doorzichtig {
	opacity: 0.25;
}

.toon,
.verberg {
    position: absolute;
    top: 0px;
    right: 10px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
	cursor: pointer;
	color: var(--kleurD);
}

.toon:hover,
.verberg:hover {
	color: var(--kleurE);
}

.toon:before {
    content: "\f070";
}

.verberg:before {
    content: "\f06e";
}

.wachtwoordhelp:focus-within .toolblok {
	display: block;
}

.toolblok::before {
	position: absolute;
	content: '';
	top: -10px;
	left: calc(50% - 10px);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid var(--kleurE);
}
.toolblok::after {
	position: absolute;
	content: '';
	top: -9px;
	left: calc(50% - 10px);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid var(--kleurA);
}

.voorstellingen {
    display: grid;
    grid-template-columns: 1fr auto;
}

.voorstellingen div {
	/* white-space: nowrap; */
    padding: 0.25rem 1rem;
    /* border: 1px solid var(--kleurD); */
    /* border-top: none; */
	/* background: var(--kleurB); */
}

.voorstellingen div.passepartout.voorstellingnaam {
    border-top: 3px solid var(--kleurD);
	border-right: 3px solid var(--kleurD);
}

.voorstellingen div.passepartout {
    border-bottom: 3px solid var(--kleurD);
	border-left: 3px solid var(--kleurD);
}

.voorstellingen div.passepartout.formknop {
	border-left: none;
	border-right: 3px solid var(--kleurD);
}

/* .voorstellingen div:nth-child(3n + 2) { */
	/* text-align: left; */
/* } */

.voorstellingen div.mob0padding {
	padding: 0;
}

.voorstellingen div.volgende {
    grid-column-start: 1;
    grid-column-end: 3;
}

/* .voorstellingen > .evenementtitel { */
    /* grid-column-start: 1; */
    /* grid-column-end: 3; */
    /* font-weight: bold; */
    /* margin-top: 1rem; */
    /* border: 1px solid var(--kleurD); */
    /* background: var(--kleurC); */
	/* text-align: left; */
/* } */

/* .voorstellingen > .voorstellingnaam { */
    /* grid-column-start: 1; */
    /* grid-column-end: 3; */
    /* margin-top: 0.5rem; */
	/* border-top: 1px solid var(--kleurD); */
	/* display: flex; */
    /* align-items: center; */
/* } */

/* .voorstellingen .formknop { */
	/* display: flex; */
    /* align-items: center; */
	/* justify-content: center; */
/* } */

/* .evenementtitel + .voorstellingnaam { */
    /* margin-top: 0px; */
    /* border-top: 0px; */
/* } */

select {
    padding: 0.25rem 0.5rem;
}

input[type=button],
input[type=submit] {
    color: var(--kleurF);
    padding: 0.5rem 1rem;
    background-color: var(--kleurA);
    border: 2px solid var(--kleurD);
    cursor: pointer;
}

input[type=button]:hover,
input[type=submit]:hover {
    background-color: var(--kleurC);
}

input[type=button]:disabled,
input[type=submit]:disabled {
    background-color: var(--kleurB);
    color: var(--kleurC);
}


.stoelencontainer {
	width: var(--contentBreedte);
    margin: 0 auto;
	display: grid;
	grid-template-areas: "selectiescherm" "podium" "stoelen";
}

.podium {
	background: #eee;
	text-align: center;
	padding: 1rem;
}

.stoelen {
	grid-area: stoelen;
    position: relative;
    height: var(--contentBreedte);
}

.selectiescherm {
	grid-area: selectiescherm;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	max-width: 100%;
	height: max-content;
	position: static;
	top: 0px;
	margin: 0 auto 0.5rem auto;
	padding: 5px;
}

div.plaats {
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	--marge: 5px;
	border: 1px solid #2da387;
	cursor: pointer;
	background-color: #fff;
}

div.plaats:hover {
    filter: brightness(0.75);
}

div.plaats[data-geselecteerd='ja'] {
	/* filter: drop-shadow(0px 0px 5px rgb(0 0 0 / 75%)) brightness(0.75); */
	background-color: rgb(0, 200, 0);
}

div.plaats[data-balkon='ja'] {
	background-color: rgba(103, 181, 200, 0.5);
}

div.plaats[data-bezet='ja'],
div.plaats[data-bezet='ja']:hover {
	background-image: url(../images/stoelbezetgrijs.svg);
	background-color: rgba(255, 0, 0, 0.25);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
    filter: brightness(1);
	border: 1px solid #888;
	cursor: default;
}

span.info { 
	color: #aaa;
    cursor: pointer;
    font-size: 15px;
}

span.info:hover { 
	color: #888;
}

.banner img {
    display: block;
    width: 100%;
    padding-top: 4rem;
}

.error {
    background: #f00;
    color: #fff;
    width: fit-content;
    padding: 1rem 2rem;
    margin: 0 auto 1rem;
}

.timer {
	display: none;
    position: fixed;
    right: 0px;
    top: 0px;
    background: #fff;
    font-size: 0.8rem;
    line-height: 0.8rem;
    font-weight: 500;
    padding: 0.25rem;
	box-shadow: 0px 1px 3px #0008;
}
	
@media (min-width: 600px) {
	:root {
		--stoelhoogte: 20px;
	}
	nav a,
	nav span {
		padding: 0.25rem 0.5rem;
		line-height: 2rem;
		font-size: 1rem;
		font-weight: 400;
	}
	nav a label,
	nav span label {
		display: inline;
	}
	.voorstellingen {
		grid-template-columns: 1fr auto auto;
	}
	.voorstellingen .ticketsoort {
		grid-column-end: 4;
	}
	.voorstellingen > .evenementtitel {
		grid-column-start: 1;
		grid-column-end: 4;
	}
	.voorstellingen > .voorstellingnaam {
		grid-column-start: 1;
		grid-column-end: 2;
		margin-top: 0rem;
		border-top: none;
		border-bottom: 1px solid var(--kleurD);
		border-right: none;
	}

	.voorstellingen .voorstellingprijs {
		grid-column-start: 2;
		grid-column-end: 3;
		border-left: none;
	}
	.voorstellingen .formknop {
		grid-column-start: 3;
		grid-column-end: 4;
	}
	/* .voorstellingen div:nth-child(3n + 4), */
	/* .voorstellingen div:nth-child(3n + 3) { */
		/* border-left: none; */
	/* } */

	.voorstellingen div.passepartout.voorstellingnaam {
		border-top: 2px solid var(--kleurD);
		border-right: 1px solid var(--kleurD);
	}

	.voorstellingen div.passepartout {
		border-top: 2px solid var(--kleurD);
	}

	.voorstellingen div.volgende {
		grid-column-start: 3;
		grid-column-end: 4;
	}

	.selectiescherm {
		max-width: 400px;
	}
	
	.overzicht td {
		display: table-cell;
	}
	
	.selectiescherm {
		position: sticky;
	}
	
	div.plaats {
		width: 16px;
		height: 16px;
		border-radius: 16px;
		--marge: 8px;
	}
	
	.blockhalf div {
		width: auto;
	}
}

@media (min-width: 900px) {
	:root {
		--stoelhoogte: 25px;
		--rijhoogte: 1;
	}
	.stoelencontainer {
		grid-template-areas: "podium selectiescherm" "stoelen selectiescherm";
		grid-template-columns: 1fr auto;
	}
	
	div.plaats {
		/* width: 20px; */
		/* height: 20px; */
		/* border-radius: 20px; */
		/* --marge: 10px; */
	}
}