/*
text: #006600	rgb(0, 102, 0)
schildpadachtergrond: #318B29	rgb(49, 139, 41)
lichte-achtergrond: #CAFFA7	rgb(202, 255, 167)
*/
@font-face {
  font-family: 'open-dyslexic';
  font-style: normal;
  font-weight: normal;
  src: url("OpenDyslexic/OpenDyslexic-Regular.woff") format('woff');
}
@font-face {
  font-family: 'open-dyslexic';
  font-style: normal;
  font-weight: bold;
  src: url("OpenDyslexic/OpenDyslexic-Bold.woff") format('woff');
}
@font-face {
  font-family: 'open-dyslexic';
  font-style: italic;
  font-weight: normal;
  src: url("OpenDyslexic/OpenDyslexic-Italic.woff") format('woff');
}
@font-face {
  font-family: 'open-dyslexic';
  font-style: italic;
  font-weight: bold;
  src: url("OpenDyslexic/OpenDyslexic-BoldItalic.woff") format('woff');
}

@font-face{
	font-family: 'cocon';
	font-style: normal;
	font-weight: normal;
	src: url("Cocon/Cocon-Regular.woff") format('woff');
}

html {
	height: 100%;
	font-size: 100%;
}

body
{
	font-family: "open-dyslexic", sans-serif;
	background-color: #318B29;
	color: #006600;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	max-width: 50em;
}

header {
	font-family: "cocon", sans-serif;
	background-color: #CAFFA7;
	border-bottom: 2px solid #003300;
	font-size: 10vh;/*48px*/
	text-align: left;
	padding-left: 1ex;
}
header:first-letter {
	font-size: 129%;
}
header > a {
	color: inherit;
	text-decoration: none;
}


nav {
	border-bottom: 2px solid #003300;
}
nav  a{
	color: #CAFFA7;
	text-decoration: none;
	display: inline-block;
	margin: 0.5em 5%;
	padding: 0 1%;
	border-radius: 50%;
}
nav a:hover, nav a:active{
	color: #FF0;
	background-color: rgba(0, 51, 0, 1);
	box-shadow: 0 0 0.5em 0.5em rgba(0, 51, 0, 1);
}

main {
	background-color: #CAFFA7;
	display: block;
	box-shadow: 0px 0.5ex 2em rgba(0, 51, 0, 0.75);
	margin-bottom: 0.5em;
	padding-top: 0.5em;
}

section {
	display: none;
	padding: 1ex;
	padding-top: 0;
	padding-bottom: 1em;
}
section:target {
	display: block;
}

@media (min-width: 23em) {
	section {
		padding-left: 1em;
		padding-right: 1em;
	}
}
@media (min-width: 30em) {
	section {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}
@media (min-width: 40em) {
	section {
		padding-left: 2em;
		padding-right: 2em;
	}
}

section:before {
	display: block;
	content: " ";
	height: calc(15vh + 1.8vh + 4em);
	margin-top: calc(-15vh - 1.8vh - 3.5em);
	visibility: hidden;
}

#kaartje > img {
	max-width: 100%;
	max-height: 70vh;
}

#kaartje > img:first-child {
	margin-top: 1em;
}

#fotoos > a > img {
	max-width: 10em;
	max-height: 10em;
	vertical-align: middle;
	border: 1px solid #006600;
	margin: 0.5ex;
}
#fotoos > a:hover > img {
	box-shadow: 0px 0.5ex 2em rgb(0, 51, 0);
}

#ontdekMijBron, #ontdekMijFallback {
	max-width: 95%; /* fallback value for older browsers */
	max-width: calc(100vw - 4ex);
	max-height: 70vh;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
#ontdekMijFallback.fallback {
	visibility: visible;
	position: relative;
}

#ontdekMij.fallback { display: none; }

#ontdekInstructions {
	display: none;
}
#ontdekInstructions > span { /* mimic default link visual style */
	font-size: 80%;
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}

#ontdekkingsProgressBar {
	display: none;
	position: relative;
	height: 1.5em;
	margin-top: 0.5em;
	margin-bottom: 1em;
	border-radius: 1em;
	border: 1px solid #006600;
	background-color: #318b29;
}
#ontdekkingsProgressBarThumb, #ontdekkingsPct {
	position: absolute;
	height: 100%;
	border-radius: 1em;
	width: 100%;
}
#ontdekkingsProgressBarThumb {
	width: 0%;
	background-color: #FFFF66;
}
#ontdekkingsPct {
	color: #003300;
}

#nogEensOntdekken {
	color: blue;
}

#lijst {
	text-align: left;
}
#lijst > h2:first-child {
	margin-top: 0;
}

#winkels div {
	text-align: left;
	background-color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	margin: 1ex;
	padding: 0 1ex;
	border: 1px solid #003300;
	font-size: 80%;
	vertical-align: middle;
}
#winkels div > span:first-child {
	display: block;
	font-weight: bold;
	font-size: 125%;
}
#winkels div > span:first-child + span {
	display: block;
	font-style: italic;
}
#winkels div > a {
	display: block;
}

h3 {
	margin-bottom: 0;
	padding-bottom: 0;
	font-variant: small-caps;
}
code {
	font-size: 120%;
}

footer {
	color: #CAFFA7;
	font-size: 80%;
}
footer a {
	color: inherit;
}
