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

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

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    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;
    }
}
/******************************* gallery ***********************/

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/********************* BEGINS HERE **********
*******************************************/
body {
border-top: 6px solid #a92f2a;
}

@font-face {
    font-family: 'cha';
    src: url('../fonts/cha.eot');
    src: url('../fonts/cha.eot') format('embedded-opentype'),
         url('../fonts/cha.woff') format('woff'),
         url('../fonts/cha.ttf') format('truetype'),
         url('../fonts/cha.svg#ChallengeExtraBoldRegular') format('svg');
}


.wrapper {
width: 980px;
margin-left: auto;
margin-right: auto;
}

#header {
height: 97px;
width: 100%;
border-bottom: 1px solid #d2d0d0;
margin-bottom: 60px;
}

.logo {
display: block;
width:461px;
height: 97px;
float: left;
background-image: url('../img/logo.jpg');
}

.navigation {
margin: 0px;
padding: 0px;
float: right;
height: 97px;
}

.navigation li {
list-style-type: none;
float: left;
height:97px;
margin-left: 55px;
min-width: 41px;
}

.navigation li:nth-child(1) {
margin-left: 0px;
}

.navigation li span,
.navigation li a {
font-family: 'PT Sans';
font-size: 14px; 
font-weight: bold;
text-decoration: none;
color: #999;
}

.navigation li span {
margin-left:auto;
margin-right: auto;
clear: both;
text-align: center;
width: 100%;
display: block;
}

.home,
.home-active,
.about,
.about-active,
.gallery,
.gallery-active,
.contact,
.contact-active {
width: 41px;
height: 41px;
background-image: url('../img/navigation_sprite.png');
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}

.home {
background-position: 0px 0px;
}

.home:hover {
background-position: -41px 0px;
}

.home-active {
background-position: -82px 0px;
}

.about {
background-position: 0px -41px;
}

.about:hover {
background-position: -41px -41px;
}

.about-active {
background-position: -82px -41px;
}

.gallery {
background-position: 0px -82px;
}

.gallery:hover {
background-position: -41px -82px;
}

.gallery-active {
background-position: -82px -82px !important;
}

.contact {
background-position: 0px -123px;
}

.contact:hover {
background-position: -41px -123px;
}

.contact-active {
background-position: -82px -123px; 
}

.active {
color: #a92f2a !important;
}


#slider {
width: 980px;
height: 350px;
}

#disclaimer {
width: 100%;
height: 165px;
text-align: center;
border-bottom: 1px solid #d2d0d0;
overflow: hidden;
}

#disclaimer p {
text-align: center;
margin: 0px;
padding: 0px;
font-family: 'PT Sans';
font-size: 26px;
margin-top: 54px;
color: #959595;
}

#disclaimer p strong {
color: #a92f2a;
}

#gallery p {
margin: 0px;
padding:0px;
width: 100%;
}

#gallery p img {
margin-bottom: 35px;
padding: 4px;
width: 305px;
height: auto;
background:#c3c3c3;
border-radius: 4px;
}

#gallery p img:hover {
background-color: #243676;
}

#gallery p a:nth-child(2) img {
margin-left: 16px;
margin-right: 16px;
}

#features,
#gallery,
#informatie {
width: 100%;
margin-top: 65px;
}

#informatie p {
font-family: 'PT Sans';
color: #959595;
font-size: 18px;
line-height: 20px;
float: left;
text-align: left;
margin: 0px;
}

#informatie p img {
float: left;
margin-right: 25px;
margin-bottom: 25px;
}

#informatie_services {
border-top: 20px solid #243676;
clear:both;
margin-top: 50px;
}

.contact_r {
font-family: 'PT Sans';
color: #959595;
font-size: 18px;
margin-bottom: 15px;
}

.contact_r strong {
color: #a92f2a;
}

#informatie_services h4 {
font-family: cha;
font-size: 30px;
color: #243676;
clear:both;
margin: 0px;
margin-bottom: 30px;
margin-top: 10px;
}

#informatie_services ul {
width: 100%;
padding: 0px;
margin: 0px;
margin-bottom: 55px;
}

#informatie_services ul li {
width: 25%;
float: left;
padding: 0px;
margin: 0px;
list-style-type: none;
background-image: url('../img/button.png');
background-position: 0px 3px;
background-repeat: no-repeat;
height: 27px;
line-height: 24px;
font-family: 'PT Sans';
font-size: 20px;
color: #a92f2a;
text-indent: 35px;
}

#features ul {
width: 100%;
margin: 0px;
padding: 0px;
}

#features ul li {
list-style-type: none;
margin: 0px;
padding: 0px;
width: 25%;
float: left;
}

#features ul li div {
font-family: cha;
font-size: 27px;
height: 27px;
line-height: 27px;
color: #243676;
}

#features ul li div:nth-child(2) {
font-family: 'PT Sans';
font-size: 16px;
color: #a92f2a;
font-weight: bold;
}

#features ul li img {
float: right;
clear: both;
}

#features ul li h3 {
font-family: 'PT Sans';
font-weight: bold;
font-size: 22px;
color: #494949;
display: block;
width: 220px;
float: right;
clear:both;
text-align: left;
height: 61px;
line-height: 69px;
margin: 0px;
}

#features ul li p {
font-family: 'PT Sans';
font-size: 14px;
color: #959595;
line-height: 16px;
width: 220px;
float: right;
clear:both;
margin: 0px;
text-align: left;
}

#features ul li:nth-child(1) p {
float: left;
margin-top: 30px;
}

#footer {
width: 100%;
padding-top: 50px;
margin-top:  100px;
background-color: #a92f2a;
min-height: 300px;
clear:both;
}

.clearfix {
clear:both;
width: 100%;
}

#map {
float: left;
}

#footer_r {
float: right;
}

#footer_r div {
font-family: cha;
font-size: 40px;
color: #fff;
}

#footer_r ul {
margin: 0px;
padding: 0px;
}

#footer_r ul li {
list-style-type: none;
font-size: 17px;
color: #de8481;
font-family: 'PT Sans';
height: 20px;
line-height: 20px;
margin-bottom: 10px;
}

#footer_r ul li em {
color: #f8d3d2;
font-style: normal;
}

#footer_r ul li div {
padding-left: 5px;
padding-right: 5px;
height:20px;
background:#243676;
font-family: arial;
font-size: 14px;
font-weight: bold;
color: #a6b8f9;
border-radius: 4px;
float: left;
margin-right: 10px;
}

#footer_r ul:nth-child(2) {
margin-bottom: 30px;
}

#copyright {
width: 100%;
height:40px;
background: #243676;
color: #afc1ff;
font-family: arial;
font-size: 14px;
line-height: 40px; 
}

.swing {
width: 27px;
height: 27px;
background-image: url('../img/up.jpg');
display: block;
float: right;
margin-top: 7px;
}