/* -----[ Page structure ]--------------------------------- */
body {
	margin: 0;
	font-family: arial;
	font-size: 16px;
}

#page {
	width: 1000px;
	margin: 0 auto;
}

#block-header {
	background: url('/site/images/header-pancreasdag.jpg') top right;
	height: 301px;
}

.block-main {
	background-color: #efeffa;
	min-height: 250px;
}

.block-text {
	margin: 0;
	padding: 10px 45px;
}

#block-footer {
	background: url('/site/images/footer-pancreasdag.jpg') top center no-repeat;
	height: 166px;
}

div.aanmelden {
	display: table;
	position: absolute;

	left: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);

	margin: 0 auto;
	background-color: #078da6;
	background-color: #f08010;
	padding: 10px 40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	font-size: 22px;
	font-weight: bold;
	cursor: pointer;
}
div.aanmelden:hover {
	background-color: #0ba8b1;
	background-color: #eb671d;
}
div.aanmelden a {
	color: #fff;
	text-decoration: none;
}

.hide { display: none; }

/* -----[ Form ]------------------------------------------- */

div.input-block {
	margin-top: 10px;
}

div.input-block label {
	display: block;
}

div.input-block input[type=text],
div.input-block select,
div.input-block textarea {
	background-color: #fff;
	border: 1px solid #016a87;
	width: 590px;
	padding: 5px 5px;
}
div.input-block select {
	width: 600px;
}

div.input-block label.error {
	color: #c00;
}

div.input-block input[type=text]:disabled {
	background-color: #ececec;
	cursor: not-allowed;
}

/* -----[ Markup styles ]---------------------------------- */

h1 {
	color: #016a87;
	font-size: 32px;
}
h2 {
	color: #016a87;
	font-size: 24px;
}
a {
	color: #016a87;
}

ul.menu {
	display: block;
	list-style: none;
	margin: 0 0;
	top: 15px;
	position: absolute;
	font-size: 16px;
}

ul.menu a {
	text-decoration: none;
	color: #fff;
}

ul.menu li {
	min-width: 200px;
	padding: 3px 20px;
	cursor: pointer;
}
ul.menu li:hover {
	background-color: #efeffa;
}
ul.menu li:hover a {
	color: #016a87;
}

ul.menu li.active:before {
	content: "●";
	width: 15px;
	display: inline-block;
	margin-left: -15px;
	color: #fff;
}

ul.menu li.active:hover:before {
	color: #2063b2;
}

a.button {
	background-color: #016a87;
	background-color: #f08010;
	padding: 10px 40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	font-size: 16px;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
}
a.button:hover {
	background-color: #0ba8b1;
	background-color: #eb671d;
}

/* responsive stuff */

#page {
	width: auto;
	max-width: 1000px;
}

.page-text div.aanmelden {
	display: none;
}

#block-header { /* 1000 x 301 */
	height: calc((100vw - 40px) * (301/1000));
	max-height: 301px;
	background-position: top center;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

#block-footer { /* 1000 x 166 */
	height: calc((100vw - 40px) * (166/1000));
	max-height: 166px;
	background-position: top center;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

div.title {
	display: none;
}

div.title > div.menu-button {
	background-image: url(/site/images/congress/hamburger100-zwart.png);
	background-color: inherit;

	display: block;
	float: left;
	width: 35px;
	height: 35px;
	margin: 0 0 0 20px;
	position: absolute;
	left: 0;
	background-position: top center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
div.title > div.menu-button.open {
	background-image: url(/site/images/congress/hamburger100-wit.png);
}

div.title h2 {
	text-align: center;
	font-weight: normal;

	padding: 0;
	display: block;
	font-size: 1.5em;
	margin: 0 0 0 55px;
	padding: 5px 0 0 0;

	overflow:hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

div.block-text td {
	vertical-align: top;
}

#errorAlert, .errorAlert {
	border: 2px solid #c00;
	padding: 5px 5px 5px 30px;
	margin: 10px 0;
	position: relative;
	color: #c00;
}
.errorAlert {
	border: 2px solid #016a87;
	color: #000;
}
#errorAlert span, .errorAlert span {
	color: #c00;
	position: absolute;
	display: block;
	font-size: 36px;
	top: 3px;
	left: 8px;
	font-weight: bold;
}

@media only screen and (max-width: 1000px) {
	h1 { font-size: 1.6em; }
	h2 { font-size: 1.3em; }

	div.title {
		display: block;
		background-color: #efeffa;
		margin: 0 auto;
		padding: 5px 0 5px 0;
		min-height: 35px;
		position: relative;
	}

	ul.menu {
		display: none;

		width: 100%;
		margin: 0;
		position: relative;
		padding: 0;
		top: 0;
	}

	ul.menu.open {
		display: block;
	}

	ul.menu li {
		display: block;
		background-color: #80b9d6;
		text-align: center;

		padding: 10px 0;
		border-bottom: 2px solid #efeffa;

		cursor: pointer;
	}
	ul.menu li:hover {
		background-color: #2063b2;
	}
	ul.menu li a {
		color: #fff;
		text-decoration: none;
	}
	ul.menu li:hover a {
		color: #fff;
	}
	ul.menu li.active:hover:before {
		color: #fff;
	}

	div.title > div.menu-button.open {
		background-color: #80b9d6;
		border-bottom: 5px solid #80b9d6;
	}

	.block-text {
		margin: 0;
		padding: 5px 45px 5px 15px;
	}

	div.input-block input[type=text],
	div.input-block select,
	div.input-block textarea {
		width: calc(100vw - 50px);
	}
	div.input-block textarea {
		resize: vertical;
		min-height: 30px;
	}
	div.input-block select {
		width: calc(100vw - 40px);
	}

	div.aanmelden {
		display: table;
		position: absolute;

		margin-top: 10px;
		left: 50%;
		transform: translate(-50%,0);
		-webkit-transform: translate(-50%,0);
		-ms-transform: translate(-50%,0);
	}
	.page-text div.aanmelden {
		display: table;
	}

	.block-text img {
		max-width: calc(100vw - 50px);
	}

	/* gives the main block some extra padding if the aanmelden-button exists */
	div.aanmelden ~ .block-main{
		padding: 45px 0 0 0;
	}

	#block-footer {
		margin: 15px 0;
	}

	/* tables */
	div.block-text table {
		border: 0;
		width: auto !important;
		height: auto !important;
	}

	div.block-text tr {
		display: block;
	}

	div.block-text td {
		display: block;
		width: auto;
	}

	div.footer-inner {
		padding: 10px 150px 0 0;
		background: url(/site/images/powered-by-morganiseren.png);
		background-position: right 25px top 10px;
		background-repeat: no-repeat;
		max-width: 500px;
		margin: 0 auto 0 auto;
	}

}

/* hide banner link text for cookie thing */
#glowCookies-banner a.read_more { display: none; }
.glowCookies__banner__1 .read__more { display: none; }
#prebannerBtn { display: none; }


/*
div.buttons {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 30px;
}
*/
a.button.landing {
	display: inline-block;
	text-align: center;
	min-width: 300px;
	padding: 10px 10px;
}
