/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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.
 */

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'pt_sansbold';
    src: url('../fonts/ptsans_bold_dutch/PTS75F-webfont.eot');
    src: url('../fonts/ptsans_bold_dutch/PTS75F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsans_bold_dutch/PTS75F-webfont.woff') format('woff'),
         url('../fonts/ptsans_bold_dutch/PTS75F-webfont.ttf') format('truetype'),
         url('../fonts/ptsans_bold_dutch/PTS75F-webfont.svg#pt_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pt_sansbold_italic';
    src: url('../fonts/ptsans_bolditalic_dutch/PTS76F-webfont.eot');
    src: url('../fonts/ptsans_bolditalic_dutch/PTS76F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsans_bolditalic_dutch/PTS76F-webfont.woff') format('woff'),
         url('../fonts/ptsans_bolditalic_dutch/PTS76F-webfont.ttf') format('truetype'),
         url('../fonts/ptsans_bolditalic_dutch/PTS76F-webfont.svg#pt_sansbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pt_sansitalic';
    src: url('../fonts/ptsans_italic_dutch/PTS56F-webfont.eot');
    src: url('../fonts/ptsans_italic_dutch/PTS56F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsans_italic_dutch/PTS56F-webfont.woff') format('woff'),
         url('../fonts/ptsans_italic_dutch/PTS56F-webfont.ttf') format('truetype'),
         url('../fonts/ptsans_italic_dutch/PTS56F-webfont.svg#pt_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pt_sansregular';
    src: url('../fonts/ptsans_regular_dutch/PTS55F-webfont.eot');
    src: url('../fonts/ptsans_regular_dutch/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsans_regular_dutch/PTS55F-webfont.woff') format('woff'),
         url('../fonts/ptsans_regular_dutch/PTS55F-webfont.ttf') format('truetype'),
         url('../fonts/ptsans_regular_dutch/PTS55F-webfont.svg#pt_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pt_sans_narrowbold';
    src: url('../fonts/ptsansnarrow_bold_dutch/PTN77F-webfont.eot');
    src: url('../fonts/ptsansnarrow_bold_dutch/PTN77F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsansnarrow_bold_dutch/PTN77F-webfont.woff') format('woff'),
         url('../fonts/ptsansnarrow_bold_dutch/PTN77F-webfont.ttf') format('truetype'),
         url('../fonts/ptsansnarrow_bold_dutch/PTN77F-webfont.svg#pt_sans_narrowbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pt_sans_narrowregular';
    src: url('../fonts/ptsansnarrow_regular_dutch/PTN57F-webfont.eot');
    src: url('../fonts/ptsansnarrow_regular_dutch/PTN57F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ptsansnarrow_regular_dutch/PTN57F-webfont.woff') format('woff'),
         url('../fonts/ptsansnarrow_regular_dutch/PTN57F-webfont.ttf') format('truetype'),
         url('../fonts/ptsansnarrow_regular_dutch/PTN57F-webfont.svg#pt_sans_narrowregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'alwynnew-light-webfont';
    src: url('../fonts/alwyn/alwynnew-light-webfont.eot');
    src: url('../fonts/alwyn/alwynnew-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alwyn/alwynnew-light-webfont.woff') format('woff'),
         url('../fonts/alwyn/alwynnew-light-webfont.ttf') format('truetype'),
         url('../fonts/alwyn/alwynnew-light-webfont.svg#alwynnew-light-webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

html,
button,
input,
select,
textarea {
    font-family: 'pt_sansregular', sans-serif;
    color: #663333;
    font-size: 1em;
    line-height: 1.5;
}

html {
    font-size: 1em;
    line-height: 1.4;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/*
 * 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Typografie
   ========================================================================== */

h1 {
    font-size: 4em;
    font-weight: normal;
    margin: 0.25em 0 0 0;
    color: #ce2d08;
}

h2 {
    font-size: 3em;
    font-weight: normal;
    margin: 0.5em 0 0 0;
    color: #ce2d08;
}

h3 {
    font-size: 2em;
    font-weight: normal;
    margin: 0.25em 0;
    color: #ce2d08;
}

h4 {
    font-size: 1.5em;
    font-weight: normal;
    margin: 0.25em 0;
    color: #ce2d08;
}

h5, h6 {
    font-family: 'pt_sansbold', sans-serif;
    font-size: 1em;
    font-weight: normal;
    margin: 0.25em 0;
    color: #ce2d08;
}

p {
    clear: both;
    font-size: 1em;
    margin: 0 0 1.5em 0;
}

a:link {
    color: #ce2d08;
    font-family: 'pt_sansbold';
    -webkit-transition: width 0.25s; /* For Safari 3.1 to 6.0 */
    transition: all 0.25s;
    text-decoration: none;
}

a:visited {
    opacity: 0.75;
}

a:hover {
    color: #ffce00;
}

strong, b {
    font-family: 'pt_sansbold';
    font-weight: normal;
}

em, i {
    font-family: 'pt_sansitalic';
    font-style: normal;
}

strong em {
    font-family: 'pt_sansbold_italic';
    font-weight: normal;
    font-style: normal;
}

@media only screen and (max-width: 30em) {

    h1 {
        font-size: 2em;
        margin: 0.25em 0 1em 0;
    }

    h2 {
        font-size: 1.5em;
        margin: 0.25em 0 0.5em 0;
    }

    h3 {
        font-size: 1.25em;
        margin: 0.25em 0;
    }

    h4 {
        font-size: 1em;
        font-weight: normal;
        margin: 0.125em 0;
        color: #ce2d08;
    }
}

/* ==========================================================================
   Algemene stijlen
   ========================================================================== */

.wrapper {
    position: relative;
    width: 60em;
    margin: 0 auto;
    display:  block;
}

.text-column {
    position: relative;
    float: left;
    width: 48em;
    margin: 0 8em 4em 8em;
}

.filler {
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    height: 4em;
    display: block;
}

@media only screen and (max-width: 59em) {
    
    .wrapper {
        width: 100%;
    }

    .text-column {
        width: 100%;
        padding: 1em;
        margin: 0 0 4em 0;
    }
}

/* ==========================================================================
   Specifieke stijlen
   ========================================================================== */

header  {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 4em;
    top: 0;
    background: #ce2d08;
    background: -webkit-linear-gradient(#d64d2e, #ce2d08); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#d64d2e, #ce2d08); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#d64d2e, #ce2d08); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#d64d2e, #ce2d08); /* Standard syntax */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    -webkit-transition: all 0.5s; /* For Safari 3.1 to 6.0 */
    transition: all 0.5s;
}

header.home {
   height: 8em;
}

.logo {
    position: relative;
    float: left;
    width: 3.5em;
    height: 4em;
    -webkit-transition: all 0.5s; /* For Safari 3.1 to 6.0 */
    transition: all 0.5s;
}

header.home .logo {
    width: 7em;
    height: 8em;
}

.logo img  {
    width: 100%;
    height: 100%;
}

 #menu-toggle {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0.5em;
    padding: 1em;
    color: #fff;
    font-size: 0.75em;
    line-height: 1em;
    text-transform: uppercase;
    display: none;
    cursor: pointer;
    -webkit-transition: all 0.5s; /* For Safari 3.1 to 6.0 */
    transition: all 0.5s;
}

 #menu-toggle span {
    margin: 0 0.25em;
    font-size: 2em;
 }

  #menu-toggle:hover {
    opacity: 0.5;
}

nav {
    position: relative;
    float: right;
    margin: 1em 0;
    -webkit-transition: all 0.5s; /* For Safari 3.1 to 6.0 */
    transition: all 0.5s;
}

header.home nav {
     margin: 3em 0;   
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    text-align: center;
    font-size: 1.125em;
    margin: 0;
    padding: 0 0.5em 0 0.25em;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
}

nav li:last-child {
    border-right: 0;
}

nav a:link, nav a:visited {
    font-family: 'pt_sans_narrowbold', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.25s; /* For Safari 3.1 to 6.0 */
    transition: all 0.25s;
    opacity: 1;
}

nav a:hover {
    opacity: 0.5;
}

.home-visual {
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 100%;
    top: 8em;
    background: no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-transition: all 0.50s; /* For Safari 3.1 to 6.0 */
    transition: all 0.50s;
}

.home-visual-hidden {
    top: 4em;
    height: 0;
}

.home-text {
    position: relative;
    float: left;
    width: 45%;
    left: 12%;
    top: 8%;
}

.home-text p {
    font-family: 'alwynnew-light-webfont';
    font-size: 1.5em;
    line-height: 1.25;
    color: #ce2d08;
}

.banner {
    position: relative;
    width: 100%;
    height: 20em;
    margin: 4em 0 0 0;
    text-align: center;
    overflow: hidden;
}

.banner img {
    height: 100%;
}

.line {
    position: relative;
    clear: both;
    width: 100%;
    height: 1px;
    margin: 0;
    background: #ce2d08;
    display: block;
}

footer {
    position: fixed;
    z-index: 10;
    bottom: 0;
    width: 100%;
    height: 4em;
    background: #ce2d08;
    background: -webkit-linear-gradient(#d64d2e, #ce2d08); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#d64d2e, #ce2d08); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#d64d2e, #ce2d08); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#d64d2e, #ce2d08); /* Standard syntax */
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    text-align: center;
}

footer p, footer a:link, footer a:visited {
    color: #fff;
    opacity: 1;
    margin-top: 0.5em;
}

footer p {
    font-size: 0.875em;
}

footer a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 59em) {

    header.home {
       height: 4em;
    }

    header.active {
       height: 25em;
       display: block;
    }

    .logo {
        left: 0.5em;
    }

    header.home .logo {
        width: 3.5em;
        height: 4em;
        margin: 0 0.5em;
    }

    .home-visual {
        top: 4em;
    }

    #menu-toggle {
        display: block;
    }

    nav {
        position: relative;
        clear: both;
        float: left;
        width: 100%;
        margin: 0;
        display: none;
    }
    
    nav.active {
        display: block;
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
    }
    
    header.home nav {
         margin: 1em 0;   
    }

    nav ul {
        margin: 0;
        padding: 0;
    }

    nav li {
        text-align: center;
        font-size: 1.125em;
        margin: 0;
        padding: 0.5em 1em;
        display: list-item;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    nav li:last-child {
        border-bottom: 0;
    }

    footer {
        padding: 0 1em;
    }
}

@media only screen and (max-width: 30em) {

    .banner {
        height: 10em;
    }

    footer {
        display: none;
    }

    .home-text {
        position: relative;
        float: left;
        width: 60%;
        left: 8%;
        top: 6%;
    }

    .home-text p {
        font-size: 1.25em;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }
}


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