/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: 'latobold';
    src: url('../fonts/lato-bold-webfont.woff2') format('woff2'),
         url('../fonts/lato-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'latoregular';
    src: url('../fonts/lato-regular-webfont.woff2') format('woff2'),
         url('../fonts/lato-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'nerislight';
    src: url('../fonts/neris-light-webfont.woff2') format('woff2'),
         url('../fonts/neris-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'latolight';
    src: url('../fonts/lato-light-webfont.woff2') format('woff2'),
         url('../fonts/lato-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?8268493');
  src: url('../fonts/fontello.eot?8268493#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?8268493') format('woff2'),
       url('../fonts/fontello.woff?8268493') format('woff'),
       url('../fonts/fontello.ttf?8268493') format('truetype'),
       url('../fonts/fontello.svg?8268493#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?8268493#fontello') format('svg');
  }
}
*/

 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-menu:before { content: '\e801'; } /* '' */
*, *:before, *:after { -webkit-box-sizing: border-box; box-sizing: border-box; }

body { height: 100%; background-color: #fff; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }

html { height: 100%; }

A { border: 0; outline: none; text-decoration: none; }

#website { -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; margin: 0; }
#bdsite { width: 1170px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; background-image: url(../img/background.png); background-repeat: no-repeat; background-position: top left; }

header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
.logo { -ms-flex-item-align: start; align-self: flex-start; margin: 0 0 0 50px; }
nav { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; margin: 0 50px 11px 0; }
nav ul { display: -webkit-box; display: -ms-flexbox; display: flex; list-style: none; margin: 0; padding: 0; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; }
nav > ul { -webkit-box-align: center; -ms-flex-align: center; align-items: center }
nav UL LI A { font-family: 'nerislight', sans-serif; font-size: 18px; line-height: 23px; color: #008099; border-bottom: 1px solid #fff; margin: 0 0 0 30px; font-weight: normal; }
nav UL LI A:hover,
nav UL LI A.active { border-bottom: 1px solid #de9933; }

.navmobiel { display: none; }

.foto { margin: 0 50px 0 0; width: 400px; position: fixed; bottom: 0; }
.foto IMG { position: absolute; bottom: 0; }
.tekstbol { background: #fff; border-radius: 50%; font-family: 'nerislight', sans-serif; font-size: 20px; line-height: 25px; color: #de9933; margin: 0; border: 1px solid #008099; text-align: center; position: absolute; bottom: 322px; font-weight: normal; }

.tekstbol.home { padding: 55px 15px; right: -10px; }
.tekstbol.advies { padding: 50px 25px; right: 8px; }
.tekstbol.administratie { padding: 50px 25px; right: -29px; }
.tekstbol.contact { padding: 50px 25px; right: -21px; }
.tekstbol.vervolg { padding: 50px 25px; right: -17px; }

.tekstbol::after { content: ""; width: 60px; height: 35px; display: block; background-image: url(../img/tekstwolk2.png); background-repeat: no-repeat; position: absolute; background-size: 60px 35px; bottom: 0; left: 0; margin: 0 0 4px -25px; }
.tekstbol.vervolg::after { content: ""; width: 60px; height: 35px; display: block; background-image: url(../img/tekstwolk2.png); background-repeat: no-repeat; position: absolute; background-size: 60px 35px; bottom: 0; left: 0; margin: 0 0 8px -21px; }
.tekstbol.contact::after { content: ""; width: 60px; height: 35px; display: block; background-image: url(../img/tekstwolk2.png); background-repeat: no-repeat; position: absolute; background-size: 60px 35px; bottom: 0; left: 0; margin: 0 0 9px -21px; }
.tekstbol.advies::after { content: ""; width: 60px; height: 35px; display: block; background-image: url(../img/tekstwolk2.png); background-repeat: no-repeat; position: absolute; background-size: 60px 35px; bottom: 0; left: 0; margin: 0 0 4px -22px; }
.tekstbol.administratie::after { content: ""; width: 60px; height: 35px; display: block; background-image: url(../img/tekstwolk2.png); background-repeat: no-repeat; position: absolute; background-size: 60px 35px; bottom: 0; left: 0; margin: 0 0 9px -22px; }

.tekstblok { margin: 100px 50px 0px 450px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; }
.tekstblok H1 { font-family: 'nerislight', sans-serif; font-size: 30px; line-height: 35px; color: #de9933; padding: 0 0 30px 0; margin: 0; font-weight: normal; }
.tekstblok H2 { font-family: 'nerislight', sans-serif; font-size: 20px; line-height: 25px; color: #de9933; padding: 0; margin: 0; font-weight: normal; }
.tekstblok P { font-family: 'latoregular', sans-serif; font-size: 18px; line-height: 25px; color: #008099; padding: 0 0 30px 0; margin: 0; font-weight: normal; }
.tekstblok A { font-family: 'latobold', sans-serif; font-size: 18px; line-height: 25px; color: #de9933; padding: 0; margin: 0; font-weight: normal; }
.tekstblok A.button { font-family: 'latolight', sans-serif; font-size: 20px; color: #fff; padding: 10px 20px; margin: 0 0 15px 0; background-color: #de9933; -ms-flex-item-align: end; align-self: flex-end;  border-radius: 10px; border: 1px solid #de9933; font-weight: normal; width: 200px; text-align: center; }
.tekstblok A.button:hover { font-family: 'latoregular', sans-serif; background-color: #fff; color: #de9933; }
.tekstblok UL { list-style: none; margin: -30px 0 0 0; padding: 0; }
.tekstblok UL.afstandbeneden { margin: -20px 0 30px 0; }
.tekstblok UL.afstandboven { margin: 0 0 30px 0; }
.tekstblok UL LI { font-family: 'latoregular', sans-serif; font-size: 18px; line-height: 25px; color: #008099; font-weight: normal; background-image: url(../img/opsommingdot.png); background-repeat: no-repeat; background-position: 0 5px; margin: 0; padding-left: 18px; }

.logobutton { margin: -20px 0 20px 0; display: flex; flex-direction: row; justify-content: space-between; }

form { width: 75%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
input { font-family: 'latoregular', sans-serif; font-size: 18px; line-height: 25px; color: #008099; padding: 5px; margin: 0 0 15px 0; font-weight: normal; border: 1px solid #008099; }
textarea { font-family: 'latoregular', sans-serif; font-size: 18px; line-height: 25px; color: #008099; padding: 5px; margin: 0; font-weight: normal; border: 1px solid #008099; }
input.button { font-family: 'latolight', sans-serif; font-size: 20px; color: #fff; padding: 10px 20px; margin: 15px 0 20px 0; background-color: #de9933; float: right; border-radius: 10px; border: 1px solid #de9933; font-weight: normal; width: 25%; }
input.button:hover { font-family: 'latoregular', sans-serif; background-color: #fff; color: #de9933; }

footer { width: 100%; background-color: #008099; padding: 0 50px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; bottom: 0; }
footer SPAN { font-family: 'latobold', sans-serif; font-size: 18px; line-height: 41px; color: #fff; padding: 0 5px; font-weight: normal; }
footer A { font-family: 'latolight', sans-serif; font-size: 18px; line-height: 50px; color: #fff; padding: 0; margin: 0; font-weight: normal; }

/* MENU MOBIEL */
#mobiel { display: none;}
.menumobiel { display: none; }
.menumobiel ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	max-width: 1080px;
	margin: 0 auto;
   	background: #fff;
   	-webkit-box-orient: vertical;
   	-webkit-box-direction: normal;
   	    -ms-flex-direction: column;
   	        flex-direction: column;
   	padding: 0;
   	list-style: none;
}
.menumobiel ul,
.menumobiel li {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}
.menumobiel li:last-child {
   border-bottom: 1px solid #008099;
}
.menumobiel a {
    font-family: 'nerislight', sans-serif;
	text-decoration: none;
	color: inherit;
	display: block;
	font-size: 18px;
	font-weight: normal;
	color: #008099;
}
.menumobiel a:hover,
.menumobiel a.active {
	color: #de9933 !important;
}
.menumobiel li {
	position: relative;
	line-height: 50px;
	color: #008099;
	text-align: center;
}
.menumobiel input,
.menumobiel label {
	display: none;
	width: 36px;
	height: 30px;
	color: #fff;
	text-align: center;
	line-height: 30px;
	font-size: 1.6rem;
	border-radius: 2px;
}
.menumobiel label {
   position: absolute;
   left: 10px;
   bottom: 0;
   -webkit-transition: .4s;
   -o-transition: .4s;
   transition: .4s;
}
.menumobiel label:hover {cursor:pointer;}
.menumobiel label:before {
	font-family: "fontello";
	font-size: 20px;
	content: "\e801";
	text-align: center;
	color: #fff;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 1024px) {
    /* Style adjustments for viewports that meet the condition */


#bdsite { width: 100%; }

header { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
header IMG { width: 152px; }

.logo { -ms-flex-item-align: start; align-self: flex-start; margin: 0 auto; }
.logobutton { margin: -10px 0 30px 0; flex-direction: column; align-items: center; }
.rb { margin: 0 0 20px 0; }

nav { display: none; }
#content { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column-reverse; flex-direction: column-reverse; }

.navmobiel { display: inherit; background-color: #008099; width: 100%; margin: 20px 0; padding: 15px 0 10px 0; }
/* MOBIEL MENU */
#mobielheader { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; }

	.mobiel { display: inherit; }
	.menumobiel {
	  display: inherit;
      position: relative;
      width: 90%;
      margin: 0;
   }
	.menumobiel ul {
		-webkit-transform: translateX(0%);
		    -ms-transform: translateX(0%);
		        transform: translateX(0%);
      	-webkit-transition: all .5s;
      	-o-transition: all .5s;
      	transition: all .5s;
      	position: absolute;
      	width: 100%;
      	left: 0;
      	top: 32px;
	}
	.menumobiel li {
		-webkit-box-flex: 0;
		    -ms-flex: none;
		        flex: none;
		width: 100%;
		border-bottom: solid 1px #de9933;
	}
	.menumobiel LI.lijn { border: 0; }
	.menumobiel LI.lijnboven { border-top: solid 1px #de9933; }
	.menumobiel input[type="checkbox"]:checked + ul  {
		-webkit-transform: translateX(-100%);
		    -ms-transform: translateX(-100%);
		        transform: translateX(-100%);
		width: 100%;
		background: #fff;
      	-webkit-transition: all .5s;
      	-o-transition: all .5s;
      	transition: all .5s;
	}
	.menumobiel label{
      display: block;
   }

	.menumobiel input[type="checkbox"]:checked + ul li:nth-child(1){
		background: #fff;
		color: #008099;
	}

.foto { display: none; }
.foto IMG { position: inherit; }
.tekstbol { position: inherit; }
.tekstbol::after { position: inherit; }

.tekstblok { width: 80%; margin: 20px; }
.tekstblok H1 { padding: 0 0 20px 0; font-size: 23px; line-height: 28px; }
.tekstblok H2 { font-size: 18px; line-height: 23px; }
.tekstblok P { padding: 0 0 20px 0; font-size: 16px; line-height: 21px; }
.tekstblok A { font-size: 16px; line-height: 21px;  }
.tekstblok A.button { width: 100%; float: none; }
.tekstblok UL { margin: -20px 0 0 0; }
.tekstblok UL LI { font-size: 16px; line-height: 21px; }

input.button { width: 100%; }

footer { position: unset; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; text-align: center; padding: 0; }
footer A { line-height: 40px; }
footer SPAN { display: none; }
}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
