﻿html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial,sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #493333;
}

html{
    overflow-y: scroll;
}

#site {
    background: url("Images/bricks.jpg") repeat center center;
    background-attachment: fixed;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }

form, p, ul, ol, table, h1, h2, h3, h4, h5, h6, figure, iframe, blockquote { margin: 0; }

header a, footer a { text-decoration: none; }

header a:hover,footer a:hover { text-decoration: underline; }

a img { border: 0; }

img { display: block; }

ul { padding: 0; list-style: none; }

table { width: 100%; border-collapse: separate; border-spacing: 0; border:0; }

td, th { padding: 8px; border: solid 1px transparent; vertical-align: top; }

th { text-align: left; }
thead th { background: #ddd; }

button,
.button {
    cursor: pointer;
}
a {
    color: #D80000;
}

.hidden{
    display:none;
}

.visibilityhidden{
    visibility:hidden;
}

.paragraph {
    min-height: 20px;
    margin-bottom: 4px;
}

p,
.paragraph ul:not(.media) {
    margin-bottom: 16px;
}

.paragraph ul:not(.media) {
    padding-left: 20px;
    margin-left: 20px;
    list-style-type: inherit;
}

.paragraph ul ul {
    list-style-type: circle;
}

.paragraph ul ul ul {
    list-style-type: square;
}

.paragrafen .media {
    margin: 0;
    list-style: none;
    overflow: hidden;
    padding: 2px 0;
    min-height: 172px;
}

.paragrafen .media li{
    position: relative;
    overflow: hidden;
}

.paragrafen .media li .youtube-play {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
}

.paragrafen .media li .youtube-play .default,
.paragrafen .media li .youtube-play .hover {
    background: url("Images/youtube.png") no-repeat left bottom;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    background-size: 100px 200px;
    overflow: hidden;
    left: 50%;
    top: 50%;
    position: absolute;
}

.paragrafen .media-top li .youtube-play .default,
.paragrafen .media-top li .youtube-play .hover {
    width: 256px;
    height: 256px;
    margin-left: -128px;
    margin-top: -128px;
    background-size: auto;
}

.paragrafen .media li .youtube-play .hover {
    background-position: left top;
    display: none;
}

.paragrafen .media:empty {
    display: none;
}

.paragrafen .media-top {
    clear: both;
}

.paragrafen .media-left {
    width: 240px;
    float: left;
}

.paragrafen .media-right {
    width: 340px;
    float: right;
}

.paragrafen .media-bottom {
    clear: both;
}

.paragrafen .media-bottom li,
.paragrafen .media-left li {
    margin: 0 15px 15px 0;
    float: left;
}

.paragrafen .media-right li {
    margin: 0 0 15px 15px;
    position: relative;
}

.paragrafen .media li img {
    padding: 3px;
    border: solid 1px #dcdcdc;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
}

.paragrafen .media-bottom li img,
.paragrafen .media-left li img {
    width: 228px;
    height: 173px;
}

.paragrafen .media-right li img {
    width: 325px;
}

.paragrafen .media-top li img{
    width: 100%;
}

.paragrafen .media-bottom li:nth-child(4n) {
    margin-right: 0;
}

h1 {
    font-size: 30px;
    line-height: 38px;
    color: #D80000;
}

h2 {
    font-size: 26px;
    font-weight: normal;
    line-height: 32px;
    color: #D80000;
}

h3,
.widget-title,
.title-small {
    font-size: 22px;
    line-height: 26px;
    font-weight: normal;
    color: #D80000;
}

h4, h5, h6 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
}

button,
.button {
    background: #D80000;
    border: #D80000;
    height: 24px;
    padding: 1px 10px;
    color: #fff;
}

a.button{
    line-height: 22px;
    height:auto;
    text-decoration:none;
    display:block;
    float:left;
}

textarea,
input[type="text"],
input[type="password"],
select {
    background: #fff;
    border: solid 1px #dcdcdc;
    color: #262626;
    font-family: inherit;
    font-size: inherit;
    padding: 0 4px;
}

input[type="text"], 
input[type="password"], 
select {
    height: 22px;
    line-height: 22px;
    
}

input.field-invalid, textarea.field-invalid{
    border-color: #db1e11;
}

form .warning {
    background-color: #fff8ca;
    border: 1px solid #e8bf00;
    color: #965100;
    margin-bottom: 10px;
    padding: 6px 10px;
    box-sizing: border-box;
}

.form-field {
    margin-bottom: 2px;
    opacity: 1;
    float: left;
}

.form-field label {
    width: 125px;
    float: left;
    margin-right: 5px;
    line-height: 24px;
}

#content .form-field label{
    font-weight:bold;
}

.form-field input {
    width: 160px;
    float: left;
}

.form-field input[type="checkbox"] {
    width: auto;
    margin: 3px 0;
}

.form-field textarea {
    width: 290px;
}

.form-field input[type="checkbox"] {
    width: auto;
}

#site {
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

    #site .logo {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 20px;
        line-height: 30px;
        margin-top: 45px;
        text-decoration: none;
        color: #0000D8;
        font-family: verdana;
    }

        #site .logo .bedrijfsnaam {
            font-size: 26px;
            float: right;
            margin-right: 5px;
            font-weight: bold;
        }

#site .logo img {
    float: left;
    margin-top: -45px;
    margin-right: 10px;
}

header {
    background: #fff;
    border-bottom: solid 2px #0000D8;
    position: relative;
}

header .gevel-image {
    width: 100%;
}

header .uitspraak-container {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

header .uitspraak {
    position: absolute;
    bottom: 0;
    right: 10px;
    background: #0000d8;
    padding: 5px 10px;
    color: #fff;
    font-style: italic;
}

footer {
    color: #E0D0CC;
    background: #493333;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-width: 2px;
}

header .content,
footer .content,
footer .post-content{
    max-width: 1200px;
    padding: 0 10px;
    margin: 0 auto;
    position: relative;
}

header .pre{
    background: #fff;
}

header .pre .content{
    height:auto;
}

nav{
    padding-top: 120px;
    padding-bottom: 10px;
    overflow:hidden;
}

nav ul{    
    float:right;
    position:relative;
}

nav li {
    float:left;
}

nav a,
#sidebar .subnav a {
    text-decoration: none;
    color: #464646;
    font-size: 17px;
    padding: 4px 15px;
    line-height: 22px;
    display: block;
    font-weight:bold;
}

nav a{
    font-size: 18px;
    border-bottom: solid 2px #fff;
}

nav li a:hover,
#sidebar .subnav a:hover,
#sidebar .subnav li.active a,
#sidebar .subnav a.active {
    color: #D80000;
    text-decoration:none;
}

nav li.active a {
    color: #D80000;
}

header .telefoon,
header .telefoon:hover {
    position: absolute;
    right: 25px;
    top: 26px;
    text-decoration: none;
    background: url("Images/phone.png") no-repeat left 3px;
    background-size: 14px 14px;
    padding-left: 20px;
}

#gototop {
    width: 60px;
    height: 60px;
    background: url("Images/gototop.png") no-repeat left top;
    background-size: cover;
    position: fixed;
    right: 10px;
    bottom: 70px;
    cursor: pointer;
}

.breadcrumb {
    overflow: hidden;
    margin-bottom: 5px;
}

.breadcrumb a,
.breadcrumb span {
    display: block;
    float: left;
    margin: 0 5px 0 0;
}

#sidebar {
    padding: 30px 0 20px 0;
    position: relative;
}

footer .content {
    padding: 20px 10px;
    border-bottom: solid 1px #E2C8C0;
    overflow: hidden;
    box-sizing: border-box;
}

footer .post-content {
    padding: 10px;
    box-sizing: border-box;
}

footer .content h3 {
    color: #E0D0CC;
    margin-bottom: 8px;
}

footer .content .content-column {
    float: left;
    width: 50%;
    max-width: 350px;
    margin-bottom: 20px;
}

footer ul {
    position: absolute;
    right: 10px;
    top: 10px;
}

footer li {
    float: left;
    position: relative;
}

footer li:first-child:before {
    display: none;
}

footer li:before {
    content: "|";
    padding: 0 8px;
}

footer .facebook,
footer .twitter{
    position: absolute;
    right: 15px;
    top: 5px;
}

footer .twitter{
    right: 57px;
}

footer a {
    color: #fff;
}

#main-container {
    width: 100%;
    background: #fff;
    margin-bottom: 400px;
    -webkit-box-shadow: 0px 17px 66px 10px rgba(0,0,0,0.68);
    -moz-box-shadow: 0px 17px 66px 10px rgba(0,0,0,0.68);
    box-shadow: 0px 17px 66px 10px rgba(0,0,0,0.68);
}

#main {
    padding: 10px 10px 65px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 240px;
}

#main:after {
    content:"";
    display:table;
    clear:both;	
}

#sidebar {
    float: left;
    width: 19%;
    margin-right: 1%;
}

#sidebar.sidebar-right{
    margin-left:1px;
    margin-right:0;
}

#content {
    float: left;
    width: 80%;
}

#content .date{
    display: none;
    line-height: 20px;
}

.site-home #content{
    width: 100%;
}

.paginering .seperator{
    float:left;
    line-height:22px;
    padding:1px 6px;
}

.paginering .seperator,
.paginering .button{
    margin-right: 4px;
}

.paginering .button-active{
    line-height: 24px;
    margin-top: -3px;
    padding:3px 12px;
    font-size: 16px;
    font-weight:bold;
}

/* Login module */
article.content-error {
    position: absolute;
    padding: 30px;
    margin: -150px 0 0 -210px;
    width: 360px;
    height: 240px;
    left: 50%;
    top: 50%;
    background: #212121;
    color: #fff;
}

.page-not-found {
    background: url("Images/bricks2.png") no-repeat center center;
    background-size: cover;
}

article.content-not-found {
    position: absolute;
    padding: 30px;
    width: 50%;
    height: 50%;
    left: 25%;
    top: 20%;
    font-size: 18px;
}

article.content-not-found img{
    width: 96%;
    margin: 2%;
}

article.content-error a,
article.content-error h1 {
    color: #D80000;
}

article.content-error form {
    margin-bottom: 15px;
}

article.content-error button {
    margin-left: 210px;
    width: 90px;
}

/* Contactformulier */
#contactformulier{
    width: 100%;
}

#contactformulier:after {
    content:"";
    display:table;
    clear:both;	
}

#contactformulier .form-field {
    width: 45%;
    margin: 0 0 5px 0;
}

#contactformulier .form-field-name {
    margin-right: 10%;
}

#contactformulier label,
#contactformulier input {
    width: 100%;
    box-sizing: border-box;
}

    #contactformulier input {
        line-height: 24px;
        height: 24px;
    }

    #contactformulier .form-field-content,
    #contactformulier textarea {
        width: 100%;
        box-sizing: border-box;
    }

#contactformulier textarea {
    height: 170px;
}

#contactformulier button{
    float:right;
}

#sidebar .contactgegevens{
    font-size:16px;
    line-height:20px;
}

/* Nieuwsoverzicht */
.nieuwsoverzicht li {
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    min-height: 110px;
    border: solid 1px #dcdcdc;
    border-radius: 2px;
}

.site-home .nieuwsoverzicht li {
    float: left;
    width: 32%;
    box-sizing: border-box;
    border: none;
    margin-right: 2%;
    padding: 0;
}

.site-home .nieuwsoverzicht li:nth-child(3n){
    margin-right: 0;
}

.nieuwsoverzicht li img{
    width: 220px;
    float: left;
    padding: 3px;
    margin-right: 15px;
    background: #fff;
    box-sizing: border-box;
}

.site-home .nieuwsoverzicht li img{
    float:none;
    width: 100%;
    margin-right:0;
    border: solid 1px #dcdcdc;
    border-radius: 2px;
    margin-bottom: 10px;
}

.nieuwsoverzicht li h2 a{
    text-decoration:none;
}

.nieuwsoverzicht li .date{
    position:absolute;
    width: 60px;
    left: 0px;
    top:30px;
    background: #fff;
    text-align:center;
    text-decoration:none;
}

.site-home .nieuwsoverzicht li .date{
    float:left;
    position:relative;
    top: 8px;
    margin: 0 15px 15px 0;
}

.nieuwsoverzicht li .date .month {
    color: #fff;
    background-color: #0000D8;
    border: solid 1px #0000D8;
    line-height: 25px;
    text-transform: uppercase;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    display: block;
}

.nieuwsoverzicht li .date .day {
    padding-top: 3px;
    font-size: 26px;
    line-height: 26px;
    border-left: solid 1px #dcdcdc;
    border-right: solid 1px #dcdcdc;
    display: block;
    color: #464646;
}

.nieuwsoverzicht li .date .year {
    border-left: solid 1px #dcdcdc;
    border-right: solid 1px #dcdcdc;
    border-bottom: solid 1px #dcdcdc;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    padding-bottom: 3px;
    display: block;
    color: #464646;
}

@media only screen and (max-width : 1250px) {
    .paragrafen .media-bottom li:nth-child(4n) {
        margin-right: 15px;
    }
}

/* iPads landscape ----------- */
@media only screen 
and (max-width : 825px) {
    #site .logo {
        margin-top: 20px;
        font-size: 18px;
        line-height: 26px;
    }

    #site .logo img {
        height: 120px;
        margin-top: -20px;
    }

    #site nav {
        margin-left: 120px;
        padding-top: 90px;
    }

    #site .logo .bedrijfsnaam {
        font-size: 22px;
    }

    #sidebar .subnav > a{
        display:none;
    }

    #sidebar{
        width:100%;
    }

    #content{
        width: 100%;
    }

    #sidebar .subnav {
        border-bottom: solid 2px #D80000;
        overflow: hidden;
        padding-bottom: 5px;
    }

    #sidebar li{
        float:left;
    }

    header {
        background-size: auto 220px;
    }

    header .content {
        min-width: 240px;
    }

    #main{
        padding-bottom: 50px;
    }

    footer .content {
        min-width: 240px;
    }

    footer .twitter{
        right: 40px;
    }

    .breadcrumb{
        display:none;
    }

    article.content-not-found{
        font-size: 16px;
    }

    .site-home .nieuwsoverzicht li{
        float:left;
        width: 49%;
        box-sizing: border-box;
        margin-bottom: 3%;
    }

    .site-home .nieuwsoverzicht li:nth-child(2n){
        margin:0;
    }

    .site-home .nieuwsoverzicht li:nth-child(3n){
        clear:both;
    }
}

@media only screen and (max-width : 640px) {

    header .telefoon {
        top: 15px;
    }

    #site .logo {
        margin-top: 30px;
    }

    #site .logo img {
        margin-top: -30px;
    }

    .paragrafen .media-left {
        width: 165px;
    }

    .paragrafen .media-right{
        width: 200px;
    }

    .paragrafen .media-bottom li img, 
    .paragrafen .media-left li img{
        width: 150px;
        height: 115px;
    }

    .paragrafen .media-right li img{
        width: 185px;
    }

    nav a,
    #sidebar .subnav a {
        font-size: 16px;
        line-height: 20px;
        padding: 2px 10px;
        border-width:0;
    }

    nav li.active a {
        color: #D80000;
    }

    article.content-not-found{
        font-size: 14px;
    }

    .site-home .nieuwsoverzicht li,
    .site-home .nieuwsoverzicht li:nth-child(2n){
        float:left;
        width: 100%;
        margin:0 0 5% 0;
        box-sizing: border-box;
    }

    .site-home .nieuwsoverzicht li:nth-child(3n){
        margin:0;
    }

    #contactformulier{
        width: 390px;
    }

    #contactformulier:after {
        content:"";
        display:table;
        clear:both;	
    }
        #contactformulier .form-field {
            width: 100%;
            margin-right: 0;
        }

        #contactformulier label {
            width: 125px;
        }

        #contactformulier input {
            width: 260px;
        }

    #contactformulier textarea{
        width: 390px;
        height: 170px;
    }
}

@media only screen and (max-width : 400px) {
    #site nav {
        padding-top: 120px;
    }
}

@media only screen and (max-width : 360px) {
    #contactformulier {
        width: 340px;
    }

        #contactformulier input {
            width: 200px;
        }

        #contactformulier textarea {
            width: 330px;
            height: 170px;
        }

        #contactformulier button {
            float: right;
        }

    footer .bedrijf {
        display: none;
    }

    footer .content .content-column {
        width: 100%;
    }
}