/* Palette color codes */
.primary-1 { background-color: #1240AB }
.primary-2 { background-color: #2A4480 }
.primary-3 { background-color: #06266F }
.primary-4 { background-color: #4671D5 }
.primary-5 { background-color: #6C8CD5 }

.complement-1 { background-color: #FFAA00 }
.complement-2 { background-color: #BF8F30 }
.complement-3 { background-color: #A66F00 }
.complement-4 { background-color: #FFBF40 }
.complement-5 { background-color: #FFD073 }
/* end */

/* algemeen */
img,video { 
	max-width: 100%; height: auto; 
}
/* einde */

body {
	background-color:#fff;
    font-family: verdana, sans-serif;
}

#wrapper {
    margin-right: auto;
    margin-left: auto;
    width: 96%; /* Holding outermost DIV */
    max-width: 1240px;
    min-height: 480px;
}

header, footer {
    clear: both;
    margin-right: auto;
    margin-left: auto;
    width: 98%;
    padding: 0 1% 0 1%;
    border-radius: 8px;
    background: -moz-linear-gradient(top,  rgba(18,64,171,0.5) 0%, rgba(108,140,213,0.5) 50%, rgba(18,64,171,0.5) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(18,64,171,0.5)), color-stop(50%,rgba(108,140,213,0.5)), color-stop(100%,rgba(18,64,171,0.5))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(18,64,171,0.5) 0%,rgba(108,140,213,0.5) 50%,rgba(18,64,171,0.5) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(18,64,171,0.5) 0%,rgba(108,140,213,0.5) 50%,rgba(18,64,171,0.5) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(18,64,171,0.5) 0%,rgba(108,140,213,0.5) 50%,rgba(18,64,171,0.5) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(18,64,171,0.5) 0%,rgba(108,140,213,0.5) 50%,rgba(18,64,171,0.5) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#801240ab', endColorstr='#801240ab',GradientType=0 ); /* IE6-9 */
}
header {
    text-align: center;
}
    header h1 {
        font-size: 3em; 
        text-shadow: 4px 4px 2px #ccc; 
        font-weight: 600;
        margin-bottom: 0.4em;
        padding-top: 0.1em;
        padding-bottom: 0.2em;
    }
nav {
    width: 19%;
    margin-right: 1%;
    float: left;
    font-size: 1.1em;
}
    nav a {
        color: #1240AB;
        display: block;
        margin: 0 0 0.3em 0;
        height: 2em;
        line-height: 2em;
        border: 1px solid #1240ab;
        padding: 0.2em;
        background: rgb(255,191,64); /* Old browsers */
        background: -moz-linear-gradient(top,  rgba(255,191,64,1) 0%, rgba(255,255,255,1) 50%, rgba(255,191,64,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,191,64,1)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,191,64,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffbf40', endColorstr='#ffbf40',GradientType=0 ); /* IE6-9 */
        border-radius: 4px;
    }

#content {
    font-size: 0.9em;
    width: 57%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 1%;
    float: left;
}
    #content h1,#content h2,#content h3,#content h4,#content h5,#content h6 {
        margin: 1em 0 1em 0;
    }
    #content h1:first-child,#content h2:first-child,#content h3:first-child,#content h4:first-child,#content h5:first-child,#content h6:first-child {
        margin: 0 0 1em 0;
    }
    #content a {
        color: #1240AB;
        display: inline;
    }
    #content ul {
        list-style-type: disc;
        font-size: 0.9em;
        margin-left: 1.2em;
    }

#taalkeuze {
    display: inline;
    float: left;
    width: 74%;
    margin-right: 1%; 
    margin-bottom: 1%;
}
    #taalkeuze a {
        color: #000000;
        line-height: 1.1em;
        font-size: 1em;
        font-weight: bold;
        text-decoration: none;
        display: block;
    }
    #taalkeuze img {
        border: none;
        border: none;
        width: 100px;
        margin: 1% 1% 1% 0;
        float: left;
        clear: left;
    }
    #taalkeuze span {
        margin: 1% 1% 1% 0;
        float: left;
    }

aside {
    display: inline;
    width: 18.9%; 
    margin-left: 0.6%;
    margin-bottom: 1%;
    float: right;
    font-size: 0.8em;
    border: solid 2px #4671d5;
    border-radius: 8px;
    padding-left: 0.3%;
}
    aside a {
        display: inline;
    }
    aside img[src*="logo.png"], aside img[src*="logo.png"]  { 
        width: 90%;
        max-width: 180px;
    }
    aside img[src*="mail.png"], aside img[src*="mobiel.png"], aside img[src*="emailadres.png"] {
        float: left;
        max-width: 12.8px; /* 16x0.8 */
        padding: 0.3em 0.1em 0.1em 0.1em;
    }
    aside img[src*="emailadres.png"] {
        max-width: 111.2px; /* 139x0.8 */
        padding: 0.3em 0 0.1em 0.1em;
    }
    aside span {
        float: left;
        padding: 0.3em 0 0.1em 0.1em;
    }

footer {
    font-size: 0.7em; 
    padding-top: 0.3em;
    padding-bottom: 0.4em;
}
    footer img[src*="emailadres.png"] {
        max-width: 97.3px; /* 139x0.7 */
        vertical-align: text-bottom;
    }
    footer a {
        color: #000000;
    }

#wat {
    width: 100%;
    margin-top: 1em;
    border-collapse: collapse;
}
    #wat td, #wat th {
        font-size: 0.8em;
        border: 1px solid #1240ab;
        padding: 0.2em 0.4em 0.1em 0.4em;
    }
    #wat th {
        font-size: 1.1em;
        padding-top: 0.35em;
        padding-bottom: 0.3em;
        background-color: #2a4488;
        color: #fff;
    }
    #wat tr:nth-child(odd) {
        background-color: #FFBF40;
    }

#registratie {
    width: 100%;
    margin-top: 1em;
}
    #registratie div {
        width: 100%;
        float: left;
        margin-bottom: 0.2em;
    }
    #registratie label {
        width: 40%;
        float: left;
    }
    #registratie input {
        height: 1.1em;
        width: 50%;
        float: right;
    }
    #registratie textarea {
        height: 4em;
        width: 50%;
        float: right;
    }
    #registratie input#submit, #registratie input#reset {
        text-decoration: none;
        height: 2em;
        width: 25%;
        font-size: 1.2em;
        background: rgb(18,64,171); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(18,64,171,1) 0%, rgba(108,140,213,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(18,64,171,1)), color-stop(100%,rgba(108,140,213,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(18,64,171,1) 0%,rgba(108,140,213,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(18,64,171,1) 0%,rgba(108,140,213,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(18,64,171,1) 0%,rgba(108,140,213,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom, rgba(18,64,171,1) 0%,rgba(108,140,213,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1240ab', endColorstr='#6c8cd5',GradientType=0 ); /* IE6-9 */
        border-radius: 4px;
        color: #fff;
        float: right;
        margin-top: 0.6em;
        margin-bottom: 0.6em;
    }

.av {
    padding-top: 0.3em;
    padding-bottom: 0.4em;
    float: right;
 }
.google {
    width: 100%;
    margin-top: 1%;
    height: 400px;
    border: none;
}
.pf {
    position: relative;
    display: inline;
    float: left;
    width: 240px; /* margin 8, border 4 */
    height: 240px; /* margin 8, border 4, padding 4 */
    margin-left: 8px;
    margin-bottom: 8px;
    padding-top: 4px;
    border: solid 2px #4671d5;
    border-radius: 8px;
    font-size: 1.1em;
}
    .pf img {
        display: block;
        margin: auto;
    }
    .pf span {
        display: block;
        width: 90%;
        position: absolute; 
        bottom: 1px;
        left: 3%;
        text-align: center;
        border: 1px solid #1240ab;
        padding: 0.2em;
        background: rgb(255,191,64); /* Old browsers */
        background: -moz-linear-gradient(top,  rgba(255,191,64,1) 0%, rgba(255,255,255,1) 50%, rgba(255,191,64,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,191,64,1)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,191,64,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(255,191,64,1) 0%,rgba(255,255,255,1) 50%,rgba(255,191,64,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffbf40', endColorstr='#ffbf40',GradientType=0 ); /* IE6-9 */
        border-radius: 4px;
    }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 800px) {
    #content {
        font-size: 0.9em;
    }
    .pf {
        width: 200px; /* margin 6, border 2 */
        height: 200px; /* margin 6, border 2, padding 3 */
        margin-left: 6px;
        margin-bottom: 6px;
        padding-top: 3px;
        font-size: 0.9em;
    }
    nav {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 640px) {
    #taalkeuze img {
        width: 60px;
    }
    #taalkeuze a {
        line-height: 1em;
        font-size: 0.8em;
    }
 
    #content, #taalkeuze {
        width: 67%;
    }
    aside {
        width: 28.9%; 
        font-size: 0.7em;
    }
    nav {
        display: table;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
        nav ul {
	        display: table-row;
	        width: 100%;
        }
        nav ul li { 
	        text-align: center; 
	        display: table-cell;
        }
}

@media screen and (max-width: 539px) {
    nav {
       font-size: 0.7em;
    }
}

@media screen and (max-width: 480px) {
    nav {
       font-size: 0.7em;
    }
    aside img[src*="emailadres.png"] {
        max-width: 97.3px; /* 139x0.7 */
    }
    footer {
       height: 3.5em;
    }
}

@media screen and (max-width: 430px) {
    #taalkeuze {
        display: block;
        float: left;
        width: 100%; 
    }
        #taalkeuze img {
            width: 60px;
        }
        #taalkeuze a {
            line-height: 1em;
            font-size: 0.8em;
        }
    
    #content {
        width: 100%;
    }
    aside {
       display: block;
       float: left;
       width: 100%; 
       font-size: 0.8em;
    }

        nav ul {
	        display: block;
        }
        nav ul li { 
	        display: block;
            font-size: 1.1em;
        }
}

    /* ==========================================================================
   Print styles
   ========================================================================== */

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