/*! HTML5 Boilerplate v5.3.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 * {
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

body {
    font-size: 1.3em;
    line-height: 1.6em;
    font-weight: 300;
}

html, body {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
}

a {
    color: #f36f21;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fefefe;
    border-bottom: 1px solid #eeeeee;
    z-index: 1000;
    font-size: 16px;
}

nav ul {
    display: block;
    position: relative;
    list-style: none;
    width: 1000px;
    margin: 0 auto;
    padding-left: 0;
    text-align: right;
}
nav ul li {
    display: inline-block;
    margin-right: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
}
nav ul li:last-child {
    margin-right: 0;
}

nav ul li:first-child {
    float: left;
}

nav ul li a {
    color: #f36f21;
    text-decoration: none;
}

@media only screen and (max-width: 1000px) {
    nav {
        position: relative;
    }
    nav ul {
        width: 100%;
        text-align: left;
    }
    nav ul li{
        display: inline-block;
        width: 32%;
        padding-left: 5px;
        padding-right: 5px;
        margin: 0;
    }
    nav ul li:first-child {
        text-align: center;
        float: none;
        width: 100%;
    }
}


h1 {
    color: #f36f21;
}

section > div {
    width: 1000px;
    margin: 0 auto;
    padding-top: 76px;
    padding-bottom: 76px;
}

section:nth-child(odd) {
    background-color: #FAF9F9;
}


section > div > * {
    vertical-align:top;
}

@media only screen and (max-width: 1000px) {
    section > div {
        width: 100%;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}


#why {
    /*background: url(../img/funnel-background.png) top repeat-x;*/
    /*!*background-size: cover;*!*/
    /*background-size: auto 100%;*/
    /*background-position: center;*/
    background: #f0eeed;
    border-bottom: 1px solid #eeeeee;
    height: 100%;
    /*width: 1000px;*/
    /*width: 100%;*/
    margin: 63px auto 0 auto;
    text-align: center;
    font-size: 1.5em;
    line-height: 1.5em;
    /*color: #fff;*/
}

#why > div {
    /*background: url(../img/funnel3.png) center top no-repeat;*/
    background: url(../img/funnel.png) center top no-repeat;
    background-size: auto 360px;
    /*background-size: cover;*/
    /*-webkit-background-size: cover;*/
    /*-moz-background-size: cover;*/
    /*-o-background-size: cover;*/
    font-size: 1em;
    font-weight: 400;
}

#why h1 {
    padding-top: 220px;
}

#why .call_to_action{
    /*font-size: 21px;*/
    margin-top: 20px;
    font-size: 21px;
    line-height: 34px;
    font-weight: 300;
}

@media only screen and (max-width: 1000px) {
    #why {
        margin-top: 0;
    }
    #why > div {
        /*background: url(../img/funnel3.png) center top no-repeat;*/
        background: url(../img/funnel.png) center top no-repeat;
        background-size: 300px;
        /*background-size: cover;*/
        /*-webkit-background-size: cover;*/
        /*-moz-background-size: cover;*/
        /*-o-background-size: cover;*/
        font-size: 0.6em;
        font-weight: 400;
        line-height: 1.6em;
    }
    #why h1 {
        /*font-size: 2em;*/
        padding-top: 120px;
        line-height: 1.1em;
    }
}

article {
    width: 100%;
    /*display: inline-flex;*/
    margin-top: 30px;
    text-align: justify;
}
article:last-child {
    margin-right: 0;
}

article .projectimage {
    float: right;
    height: 200px;
    width: 35%;
    text-align: center;
    position: relative;
    background: white;
    border: 1px solid #CCC;
    margin-right: 0;
    margin-top: 7px;
    margin-left: 50px;
    margin-bottom: 50px;
}

article:nth-child(even) .projectimage {
    float: left;
    margin-left: 0;
    margin-right: 50px;
}

article .projectimage img {
    max-width:90%;
    max-height:90%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media only screen and (max-width: 1000px) {
    article .projectimage,
    article:nth-child(even) .projectimage{
        float: none;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
}



article .headerimage {
    float: right;
    height: 100%;
    width: 35%;
    text-align: center;
    padding: 30px;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

article:nth-child(even) .headerimage {
    float: left;
}

article .headerimage img {
    max-width:150px;
    max-height:100%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #CCC;
}

@media only screen and (max-width: 1000px) {
    article .headerimage {
        float: none;
        width: 100%;
        margin-left: 0;
    }
}


blockquote{
    position: relative;
    margin-top: 0;
}
blockquote:before {
    display: block;
    content: "“";
    font-size: 64px;
    position: absolute;
    left: -40px;
    top: 10px;
    color: #d2d0d0;
    font-family: serif;
}
blockquote span:after {
    /*display: block;*/
    content: "”";
    font-size: 64px;
    position: absolute;
    /*left: -40px;*/
    margin-top: 10px;
    margin-left: 10px;
    /*top: 10px;*/
    color: #d2d0d0;
    font-family: serif;
}

blockquote cite {
    /*position: absolute;*/
    /*color: #f0eeed;*/
    font-size: 14px;
    display: block;
    margin-top: 5px;
}


/* nog randje erin zetten */
/*article .headerimage {*/
    /*!*width: 150px;*!*/
    /*!*height: 150px;*!*/
    /*!*margin: 30px auto;*!*/
    /*!*margin-top: -75px;*!*/
    /*border-radius: 50%;*/
    /*background: #fff;*/
    /*border: 1px solid #ddd;*/
    /*!*position: relative;*!*/
/*}*/

article .headerimage img {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    overflow:hidden;
    position: relative;
    max-height: 95%;
}

img.desaturate {
    filter: grayscale(100%);
}
img.desaturate:hover {
    filter: none;
}

#who {

}


/*#who article {*/
    /*width: 309px;*/
    /*display: inline-block;*/
    /*border-top: 1px solid orange;*/
    /*margin-top: 100px;*/
    /*margin-right: 30px;*/
/*}*/

/*#who article:last-child {*/
    /*margin-right: 0;*/
/*}*/


#where {
    /*padding-top: 25px;*/
    /*padding-bottom: 25px;*/
    /*background: url(../img/forrest-bw.jpg);*/
    /*background-size: cover;*/
    /*-webkit-background-size: cover;*/
    /*-moz-background-size: cover;*/
    /*-o-background-size: cover;*/
    /*color: #fff;*/
    /*-webkit-filter: grayscale(100%); !* Chrome, Safari, Opera *!*/
    /*filter: grayscale(100%);*/
}

#where div {
    /*width: 1000px;*/
    margin: 0 auto;
}

#customers ul {
    list-style: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#customers ul li {
    float:left;
    width: 20%;
    height: 120px;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}

#customers ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 35px 25px;
    line-height: 50px;
}

#customers ul li a:hover {
    background-color: #eeeeee;
}




#customers ul li img {
    max-height: 100%;
    max-width: 100%;
}

@media only screen and (max-width: 1000px) {
    #customers ul li {
        width: 50%;
    }
}

#map-canvas {
    width: 100%;
    height: 600px;
    line-height: 16px;
}

#map-canvas div {
    width: 350px;
    vertical-align: top;
}

#map-canvas h3 {
    margin-top: 0;
    margin-bottom: 0;
}

#map-canvas .address {
    margin-top: 0;
    display: inline-block;
    width: 150px;
    vertical-align: top;
}
#map-canvas .address.left {
    width: 200px;
}

/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}
