/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/*
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid hsl(266, 25%, 35%); margin: 2.5em auto 2em; padding: 0; width: 80%; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/*
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

/* * * *  B E S T E L F O R M U L I E R * * * */

.container { margin: 0; padding: 0; width: 43.8em; }
div.form-group { padding: 8px 0 4px 0; }
div.form-group.f1 { padding-top: 0; }
.jf-thankyou { margin: 1em 0 1em; padding: 1em 0 0; border-top: 1px dashed #b40101; }
.container.jf-thankyou h3 { font-size: 120%; font-family: inherit; font-style: normal; line-height: 2; }
.jf-form { margin: 1em 0; }
.betaalinfo { margin-bottom: 5em; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
#prijstabel {
	margin: 0.5em 0 2em;
	width: 100%;
}
#prijstabel td {
	padding: 0.25em;
}
#prijstabel td:last-child {
	text-align: right;
}
#prijstabel td:last-child::before {
	content: "€";
	float: left;
}
#prijstabel tr:nth-child(2n+1) td {
	background-color: hsl(266, 25%, 30%);
}


/* =============================================================================
   Primary styles
   Author: blindeman.com
   ========================================================================== */

@font-face {
    font-family: 'BPmonoRegular';
    src: url('lt/BPmono-webfont.eot');
    src: url('lt/BPmono-webfont.eot@') format('embedded-opentype'),
         url('lt/BPmono-webfont.woff') format('woff'),
         url('lt/BPmono-webfont.ttf') format('truetype'),
         url('lt/BPmono-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BPmonoItalic';
    src: url('lt/BPmonoItalics-webfont.eot');
    src: url('lt/BPmonoItalics-webfont.eot@') format('embedded-opentype'),
         url('lt/BPmonoItalics-webfont.woff') format('woff'),
         url('lt/BPmonoItalics-webfont.ttf') format('truetype'),
         url('lt/BPmonoItalics-webfont.svg') format('svg');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'BPmonoBold';
    src: url('lt/BPmonoBold-webfont.eot');
    src: url('lt/BPmonoBold-webfont.eot@') format('embedded-opentype'),
         url('lt/BPmonoBold-webfont.woff') format('woff'),
         url('lt/BPmonoBold-webfont.ttf') format('truetype'),
         url('lt/BPmonoBold-webfont.svg') format('svg');
    font-weight: bold;
    font-style: normal;
}

/* * * T E M P * * * */
#index1 footer p {
  margin-top: 3em;
  text-align: center;
}



body {
	background-color: #3f3151;
	color: #ffffff;
	font: 100%/1.6777 Verdana, Geneva, sans-serif; /*15px*/
	margin: 0;
	padding: 0;
}
p {
	margin: 0 0 1em;
}
ul { margin-top:0;}
lh { margin-left: -1em; font-weight: bold;}
img {
	width: auto;
	max-width: 100%;
	border: none;
}
a:link,
a:visited {
	color: #ffffff;
	text-decoration: underline;
}
a:hover,
a:focus {
	color: #808080;
	text-decoration: underline;
}
#container {
	margin: auto;
	max-width: 60em;
}
header h1 {
	background: #3f3151;
	font: 4.5em/1.2 'BPmonoBold','Courier New', Courier, monospace;
	padding: 0 0 0.2em 0;
	margin: 0;
	text-align: center;
	font-weight: bold;
	letter-spacing: 0.1em;
}
header h2 {
	background: url("https://perceptio.nl/images/h2-back1.jpg") center center / auto 105%;
	font: 165% "BPmonoRegular","Courier New",Courier,monospace;
	letter-spacing: 4px;
	margin: 0 0 0.28em;
	padding: 0.6em 0;
	text-align: center;
	word-spacing: 1em;
}
header h1 a:link,
header h1 a:visited {
	color: #FFF;
	display: block;
	text-decoration: none;
	-webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease;}
header h1 a:hover,
header h1 a:focus {
	text-decoration: none;
	text-shadow: 0px 0px 5px #fff;
}
header h2 a:link,
header h2 a:visited {
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5), -1px -1px 10px rgba(0, 0, 0, 0.5), 1px -1px 10px rgba(0, 0, 0, 0.5), -1px 1px 10px rgba(0, 0, 0, 0.5);
	transition: all 0.5s ease 0s;
}

header h2 a:hover,
header h2 a:focus {
	text-shadow: 1px 1px 10px rgba(209, 173, 111, 0.5), -1px -1px 10px rgba(209, 173, 111, 0.5), 1px -1px 10px rgba(209, 173, 111, 0.5), -1px 1px 10px rgba(209, 173, 111, 0.5);
}
.mmb {
	display: none;
}
#index nav {
	display: none;
}
nav {
	background: rgba(0, 0, 0, 0) url("../images/strip-laatjes-n2.jpg") repeat scroll 0 0 / 100% auto;
	float: left;
	font-family: Arial,Helvetica,sans-serif; 
	font-size: 90%;
	/*height: 405px;*/
	height: 345px;
	margin: 2em 2em 0 0;
	text-align: center;
	width: 12em;
}
nav a {
	box-sizing: border-box;
	display: block;
	padding: 0 0.5em;
}
nav a:link, nav a:visited { background-color: rgba(255, 255, 255, 0); color: #ffffff; font-size: 1.1em; letter-spacing: 1px; opacity: 0.4; text-decoration: none; transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
nav a:hover, nav a:focus, nav a.actueel { background-color: rgba(255,255,255,0.1); box-shadow: 0 0 10px black; opacity: 1; text-decoration: none; }
/*nav a:nth-child(3n+1){ height: 78px; padding-top: 40px; }*/
nav a:nth-child(3n+1){ height: 58.5px; padding-top: 20px; }
/*nav a:nth-child(3n+2){ height: 79px; padding-top: 16px; }*/
nav a:nth-child(3n+2){ height: 58px; padding-top: 20px; }
/*nav a:nth-child(3n+3){ height: 95px; margin-bottom: 1px; padding-top: 45px; }*/
nav a:nth-child(3n+3) { height: 57px; padding-top: 20px; }
.dicht > a[href="schrijven.html"] { height: 58px; }
.dicht a[href="perceptio.html"] { height: 58px; }
article { float: left; margin: 0; }
article h3 {
	font-family: 'BPmonoItalic','Courier New', Courier, monospace;
	font-size: 160%;
	font-style: italic;
	font-weight: normal;
	padding: 0;
	margin: 0;
}
article h4 {
	font-family: 'BPmonoItalic','Courier New', Courier, monospace;
	font-size: 19px;
	letter-spacing: 1px;
}
#main {
	float: left;
	font-size: 100%;
	margin: 2em 0 0 3.5em;
	max-width: 43.8em;
}
.logo { height: 5em; margin-top: 0.6em; }
.logo img { height: 100%; }
.logo img + img { margin-left: 1.3em; }
a.totop {
	position: fixed;
	bottom: 1em;
	right: 5vw;
	display: block;
	background: rgba(255,255,255,0.3);
	color: #3F3151;
	text-decoration: none;
	padding: 0 0.75em 0.25em;
	transition: all 1s ease;
}
a.totop:hover { background: rgba(255,255,255,1); }

/* * * * H O M E * * * */
#index header h1 { font-size: 5.1em; line-height: 1.1; }
#index #main,
#index header { float: none; margin-left: auto; margin-right: auto; max-width: 90%; }
#index #container { max-width: none; }
.picmenu.container {
	height: 1px;
	left: 24px;
	position: relative;
	top: 32px;
}
#index .nav { position: absolute; z-index: -1; }
.link:link,
.link:visited {
	font-size: 90%;
	left: 150px;
	position: absolute;
	text-decoration: none;
	top: 500px;
}
.link:hover,
.link:focus {
	color: white;
	text-decoration: underline;
}
.menubutton:link,
.menubutton:visited {
	background-color: rgba(255,255,255,0);
	box-sizing: border-box;
	color: #fff;
	opacity: 0.3;
	position: absolute;
	text-align: center;
	text-decoration: none;
	transition: all 0.8s ease 0s;
	z-index: 1;
}
.menubutton:hover,
.menubutton:focus {
	background-color: rgba(255,255,255,0.15);
	box-shadow: 0 0 10px black;
	opacity: 1;
}

.menubutton.one {
  height: 62px;
  left: 291px;
  line-height: 1.1;
  padding-top: 0;
  top: 26px;
  width: 187px;
}
.menubutton.two {
  height: 100px;
  left: 29px;
  padding-top: 20px;
  top: 26px;
  width: 249px;
}
.menubutton.three {
  height: 92px;
  left: 39px;
  padding-top: 10px;
  top: 138px;
  width: 239px;
}
.menubutton.four {
  height: 83px;
  left: 45px;
  padding-top: 6px;
  top: 242px;
  width: 175px;
}
.menubutton.five {
  height: 55px;
  left: 291px;
  line-height: 1;
  padding-top: 0;
  top: 172px;
  width: 177px;
}
.menubutton.six {
  height: 58px;
  left: 290px;
  line-height: 1.1;
  padding-top: 2px;
  top: 102px;
  transform: rotate(-1deg);
  width: 182px;
}
.menubutton.seven {
  height: 83px;
  left: 233px;
  padding-right: 17px;
  padding-top: 6px;
  top: 240px;
  width: 230px;
}
.menubutton.eight {
  height: 79px;
  left: 54px;
  padding-top: 7px;
  top: 338px;
  transform: rotate(-1deg);
  width: 197px;
}
.menubutton.nine {
  height: 80px;
  left: 262px;
  padding-top: 3px;
  top: 334px;
  width: 196px;
}

#index .row + .row .column + .column { margin-top: 2em; }

/* * * * B E E L D * * * */
.sam {
	float: right;
	height: auto;
	margin-left: 1em;
	margin-top: 0.4em;
}

img#sam { float: right; margin: 0.5em 0 0 1em;}

#lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.7);
	text-align: center;
	z-index: 10;
}
#lightbox img {
	height: 90vh;
	margin-top: 5vh;
}

/* * * * A L G E M E E N * * * */
.floatleft { float: left;}
.perceptio { font-family: 'BPmonoBold','Courier New', Courier, monospace; font-style: normal; font-weight: bold;}
.accent { color: #939 !important; font-weight: bold;}
img.right {
	clear: both;
	float: right;
	margin-left: 1em;
	margin-top: 0.5em;
}
a.knop {
    display: block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(0,0,0,0.1);
    text-decoration: none;
    width: fit-content;
    margin: 0 0 0 auto;
}
a.knop:hover,
a.knop:focus {
    background: white;
    color: #3f3151;
}

/* * * * G R I D * * * */
.row:after { content: ""; display: table; clear: both; }
.row { margin-top: 1em; }
.row + .row { margin-top: 2em; }
.column { float: left; }
.column + .column { margin-left: 1%;}
.one-half { width: 49.5%; }



/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1024px){
	#index #main,
	#index header { max-width: none; }
	#index header h1 { font-size: 5em; }
	.picmenu.container { left: -1em; top: 0; }
	.column + .column { margin-left: 0; }
	#index .row + .row .column + .column { margin-top: 0; }
}
@media only screen and (max-width: 800px){
	#main { margin: 2em auto 0; z-index: 0; max-width: 70%; }
	nav { left: 0; }
	#index .nav { position: relative; }
	.one-half { width: 100%; }
	.column { float: none; }
	#index .row + .row .column + .column { margin: 0 2%; width: 96%; }
	#index header h1 { margin-left: 0.35em; text-align: left; }
	.picmenu.container { height: auto; left: 0; position: relative; }
	header h1 { margin: 0 0 0 1.55em; text-align: left; }
	.menubutton:link,
	.menubutton:visited { opacity: 1; }
	.container { width: 100%; }
}
@media only screen and (max-width: 768px) {
	#index img { display: block;}
	header h1, #index header h1 { font-size: 500%;}
	nav { line-height: 2;}
}
@media only screen and ( max-width: 640px ) {
	header h1,
	#index header h1 { font-size: 400%; }
	header h1 { margin: 0 0 0 1.7em; }
	#main { width: 32.5em; }
	#index #main { width: 40em; }
}
@media only screen and ( max-width: 600px ) {
	#index #main { width: 37em; }
}
@media only screen and (max-width: 480px) {
	header h1, #index header h1 { font-size: 300%;}
	#index #main { width: 30em; }
	#index img { max-width: none; }
	.sam { float: none; margin-left: auto; margin-top: auto; width: 100%; }
}
@media only screen and (max-width: 414px) {
	#index img.sam { display: none; }
	img#sam { display: block; float: none; margin: 0.5em auto 1em; width: 90%; }
	#index .one-half:first-child { display: none; }
	#index nav {
		display: block;
	}
	nav {
		background: rgba(0, 0, 0, 0.5);
		height: 20em;
		opacity: 1;
		position: relative;
		text-align: left;
		transition: all 0.5s ease 0s;
		width: 100%;
		z-index: 2;
	}
	nav.dicht {
		height: 0;
		opacity: 0;
		z-index: -1;
	}
	nav a:nth-child(3n+1),
	nav a:nth-child(3n+2),
	nav a:nth-child(3n+3) {
		height: auto;
		padding: 0.3em 1.3em;
	}
	nav a:hover,
	nav a:focus,
	nav a.actueel {
		background-color: rgba(255, 255, 255, 0.4);
		box-shadow: 0 0 0;
	}
	nav a:link,
	nav a:visited {
		opacity: 1;
	}
	header h1 a:link,
	header h1 a:visited {
		display: inline;
	}
	header h1, #index header h1 {
		font-size: 250%;
		margin: 0 0 0 0.2em;
	}
	.mmb {
		border-bottom: 2px solid white;
		border-top: 2px solid white;
		display: block;
		float: right;
		height: 0.4em;
		margin: 0.4em 0.4em 0 0;
		width: 0.6em;
		z-index: 4;
	}
	.mmb > span {
		border-bottom: 2px solid white;
		display: block;
		height: 0.18em;
	}
	article {
		float: none;
		margin: 0 2% 4em;
		width: 94.5%;
	}
	#main, #index #main {
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 22.8em;
	}
}
@media only screen and (max-width: 320px) {
	#main, #index #main {
		width: 20em;
	}
}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
