/*! HTML5 Boilerplate v5.2.0 | 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
 *
 * These selection rule sets have to be separate.
 * 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
   ========================================================================== */

html, body{
	height: 100%;
	color: #3a2785;
	font-family: 'PT Sans Narrow', sans-serif;
}

#container{
	min-width: 100%;
	min-height: 100%;
	overflow: hidden;

}

#inhoud{
	max-width: 1200px;
	min-width: 350px;
	min-height: 100%;
	margin: 0 auto;
	overflow: hidden;
	z-index: -1;
}

article, aside {
	clear:both;
	padding: 12px 25px 12px 25px;
	overflow: hidden;
	font-size: 1.25em;
}

ul{
	list-style-type: square;
}


#hoofding{
	width: 100%;
	height: 150px;
	
	background: #009FE3;
	box-shadow: 0px 3px 10px #666;
	z-index: 9999;
}

#homehoofding{
	width: 100%;
	height: 650px;
}




.fotos
{
	width: auto;
	overflow: hidden;
	margin: 0 auto;
	padding: 5px 0 10px 0;
	text-align: center;
	display: block;
}

.textfoto{
	box-shadow: 2px 2px 5px #000;
	width: 45%;
	margin: 5px;
	display: inline-block;
}

@media only screen and (max-width: 750px) {
	
.textfoto{
	width: 80%;
}

}

@media only screen and (max-width: 600px) {
	
.textfoto{
	width: 100%;
	box-shadow: 0;
	margin: 0;
}

}


.homefoto{
	width: 30%;
	margin: 10px 0 10px 15px;
	display: inline;
	float: right;
}

@media only screen and (max-width: 900px) {
	
.homefoto{
	width: 40%;
}

}

@media only screen and (max-width: 600px) {
	
.homefoto{
	width: 100%;
	margin: 10px 0;
}

}







@media only screen and (max-height: 800px) {
	
#homehoofding{
	height: 500px;
}




}

@media only screen and (max-height: 700px) {
	
#homehoofding{
	height: 450px;
}


}


@media only screen and (max-height: 600px) {
	
#homehoofding{
	height: 400px;
}




}




header{
	height: 150px;
	max-width: 1200px;
	margin: 0 auto;
	display: block;
	overflow: hidden;
	z-index: 99;
}



p{
	margin: 0px 0px 20px 0px;
}


#boven
{
	height: 97px;
	width: 100%;
	margin: 0;
	padding: 10px 0 0 0;
	z-index: 99;
}



#boven img{
	float: right;
	display: block;
	height: 100%;
	border: 0;
	margin-right: 15px;
}

@media only screen and (max-width: 500px) {
#boven img{
		margin: 0;
		float: inherit;
		margin: 0 auto;
		height: 90px;
	    
		
}

	
	
}



h1{
	color: #436eb3;
	margin: 15px 0px 25px 0px;
	font-size: 1.75em;
	font-weight: normal;
}

h2{
	color: #436eb3;
	padding: 5px 10px 7px 0px;
	margin: 15px 0px 25px 0px;
	font-size: 1.40em;
}




h3{
	color: #00a8ec;
	padding: 0;
	margin: 10px 0px 15px 0px;
	font-size: 1.50em;
}

h4{
	color: #00a8ec;
	padding: 0;
	margin: 9px 0px 12px 0px;
	font-size: 1.40em;
}

.top{
	display: inline;
	float: right;
	border: 0;
}


@media only screen and (max-width: 600px) {
	
h1{
	background-size: 30px;
	padding: 0px 10px 7px 45px;
	font-size: 1.25em;
}

h2{
	font-size: 1.20em;
}

h3{
	font-size: 1.17em;
}

h4{
	font-size: 1.15em;
}

}




/* ***************************
		COLLI
   *************************** */
.colliover
	{
	margin: 1%;
	width: 31%;
	float: left;
	display: inline;
	height: 250px;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 2px 1px 2px #444;
}

.colliover h2{
	margin: 150px 0 0 0;
	background-image: none;
	background: rgba(30,30,30,0.85);
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	padding: 5px;
	color: #FFF;
	font-size: 0.90em;
	font-weight:bold;
	text-align: center;
	min-height: 75px;
}

.colliover a{
	color: #FFF;
	text-decoration: none;
}

@media only screen and (max-width: 800px) {
.colliover
	{
	margin: 2%;
	width: 46%;
}


}

@media only screen and (max-width: 550px) {
.colliover
	{
	margin: 0% 4% 5px 4%;
	width: 92%;
}


}





/* ***************************
		ACTIVITEITEN
   *************************** */

.referentie{
	width: 33%;
	float: left;
	display: inline;
	height: 300px;
	margin-bottom: 5px;
	
}

.referentiedetail{
	width: 95%;
	margin: 0 auto;
	padding: 5px 0px 5px 0;
	background: #EEE;
	border-radius: 5px;
	box-shadow: 2px 2px 4px #CCC;
}


.referentiedetail h3{
	height: 50px;
	font-size: 1em;
	text-align: center;
	font-weight: 100;
}

.referentie a {
	text-decoration: none;
	color: #000;
}
	

.referentiefoto{
	margin: 0 auto;
	height: 200px;
	width: 95%;
	display: block;
}

@media only screen and (max-width: 900px) {
	
.referentiedetail h3{
	height: 70px;
}

.referentiefoto{
	height: 175px;
}

.referentie{
	height: 290px;
	
}

}

@media only screen and (max-width: 733px) {
	
.referentie{
	width: 50%;	
	height: 270px;
}

.referentiedetail h3{
	height: 50px;
}

}

@media only screen and (max-width: 633px) {
	
.referentiedetail h3{
	height: 70px;
}

.referentie{
	height: 290px;
}

}

@media only screen and (max-width: 550px) {
	
.referentie{
	width: 100%;	
	height: 270px;
}

.referentiedetail h3{
	height: 50px;
}

}

.fotoref{
	width: 95%;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
}

img.fotoreferentie{
	max-height: 200px;
	max-width: 300px;
	border-radius: 2px;
	border: solid 1px #666;
	margin: 3px;
}
	









	
/* ***************************
		NAV
   *************************** */
   

nav{
	height: auto;
	display: inline;
	float: left;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 1.15em;
	z-index: 999;
}

.groot
{
	font-family: 'PT Sans Narrow', Arial, Verdana , cursive;
	font-size: 1.1em;
}

.klein{
	display: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    }

nav li {
    float: left;
}

nav li a, .dropbtn {
    display: inline-block;
    color: #FFF;
    text-align: center;
    padding: 9px 20px;
	border-right: #FFF solid 1px;
	border-top: #FFF solid 1px;
	text-decoration: none;
	min-width: 110px;
}

nav li:first-child {
	border-left: #FFF solid 1px;
	margin-left: 20px;
}

nav li a:hover, .dropdown:hover .dropbtn {
    background: rgba(0,168,231,1);
	color: #FFF;
}

nav li.dropdown {
    display: inline-block;
	box-shadow: none;
	border: none;
	z-index: 99;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0,168,231,1);
    min-width: 250px;
	border: 0px 1px 1px 1px;
	border-color: #666;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
}


.dropdown-content a {
    color: #FFF;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	border: #FFF solid 1px;
    text-align: left;
	background-color: rgba(0,168,231,1);
	z-index: 99;
}

.dropdown-content a:hover {background-color: rgba(55,97,171,0.9)}

.dropdown:hover .dropdown-content {
    display: block;
}
   
/* ==========================================================================
   NAV 900
   ========================================================================== */
@media only screen and (max-width: 900px) {

nav{
	float: left;
	margin-left: 15px;
}

.groot{
	display: none;
}

.klein{
	display: inline;
}

.dropdown-content {
    min-width: 250px;
}

nav li a, .dropbtn {
    color: #FFF;
    text-align: left;
    padding: none;
	border: none;
	text-decoration: none;
}

.dropdown-content a.submenu {
    background-color: rgba(200,200,200,0.9);
	padding: 12px 6px 12px 26px;
}

.dropdown-content a.submenu:hover {
    background-color: rgba(160,160,160,0,9);
}

}   




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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.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 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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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,
    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;
    }

    img {
        max-width: 100% !important;
    }

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

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