/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

html, body {
    width: 100%;
    height: 100%;
    position: absolute;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Myriad Pro', 'PT Sans', sans-serif;
    color: #6a6a6a;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

h1, h2, h3, h4, h5, h6 {
    color: #0044a3;
}

h3 {
    font-size: 1em;
    font-weight: bold;
}

h1.logo {
    float: left;
    margin-top: 20px;
}
h2 {
    font-style: italic;
    margin: 0;
    font-size: 1.4em;
}

ul.top-menu {
    float: right;
    margin-top: 55px;
}
    ul.top-menu li {
        float: left;
        padding: 1px 0px;
        border-left: 1px solid #c1c1c1;
        list-style: none;
        width: 103px;
        text-align: center;
    }
    ul.top-menu li:first-child {
        border-left: none;
    }
    ul.top-menu li a.active {
        font-style: italic;
    }
    ul.top-menu li a, ul.top-menu li a:link, ul.top-menu li a:visited {
        color: #004ba5;
        text-decoration: none;
        text-transform: uppercase;
        font-size: .8em;
        padding: 10px;
    }
    ul.top-menu li a:hover, ul.top-menu li a:active {
        font-style: italic;
    }

    ul li ul.submenu {
        opacity: 0;
        position: absolute;
        margin-top: 5px;
        float: none;
        margin-left: -22px;

        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }
    ul li:hover ul.submenu, ul li.active ul.submenu { opacity: 1; }
        ul li ul.submenu li { 

            font-size: 1.1em; 
            padding: 1px 0px ; 
            float: none ; 
            border: none;
            margin: 0;
            line-height: 1em;
            width: auto;
            text-align: left;
        }
        ul li ul.submenu li a:before { content: "-  "; }
        ul li ul.submenu li a, ul li ul.submenu li a:link, ul li ul.submenu li a:visited {
            text-transform: none;
            color: #a5a5a5;
            margin: 0;
            padding: 0;
        }
        ul li ul.submenu li a.active, ul li ul.submenu li a:hover, ul li ul.submenu li a:active {
            font-variant: italic;
            color: #0044a3;
        }

.container {
    margin: 0 auto;
}
    .container.small {
        width: 950px;
        margin: 0 auto;
    }
        .container.small.header {
            height: 145px;
        }
    .container.full {
        width: 1100px;
        margin: 0 auto;
        max-height: 533px;
        height: 409px;
        background: url(../img/beelden/beeld01.jpg) center center transparent no-repeat;
        background-size: contain;
    }
        .animator {
            background: url(../img/beelden/beeld01.jpg) center center transparent no-repeat;
            opacity: 0;
            position: absolute;
            z-index: 1;
            width: 1100px;
            height: 409px;
        }
    .container.small.footer {
        text-align: center;
        margin-top: 50px;
    }
    .label.right { float: right; }
    .label.left { float: left; }
    .label img {
        float: left;
        z-index: 900;
        position: relative;
    }
    .label .content {
        background: url(../img/label-bg.png) top left repeat transparent;
        color: #fff;
        font-family: 'Cambria', 'Oranienbaum', serif;
        font-size: 1.2em;
        padding-top: 12px;
        padding-bottom: 11px;
        font-weight: bold;
        padding-right: 20px;
        padding-left: 20px;
        float:left;
        max-height: 64px;
        height: auto;
        width: auto;

        -webkit-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: 0;
        box-shadow: 0;
    }
    
    /* IE HACKS */
    html[data-useragent*='MSIE 10.0'] .label .content,
    html[data-useragent*='MSIE 9.0'] .label .content,
    html[data-isie='true'] .label .content { padding-top: 11px !important; }

    #fb_logo { margin-top: -5px; }
    html[data-useragent*='MSIE 10.0'] #fb_logo,
    html[data-useragent*='MSIE 9.0'] #fb_logo,
    html[data-isie='true'] #fb_logo {
        margin-top: -7px;
    }

/* ==========================================================================
   CONTENT BLOCKS
   ========================================================================== */
.content {
    display: block;
    position: relative;
    z-index: 900;
}
    .content h2 { margin-bottom: 15px; }
    .content h3 { margin-bottom: 0px; }
    .content p {
        font-size: 0.9em;
        margin: 0;
    }
    .content-block { padding-bottom: 20px;}
    .white-block {
        padding: 25px;
        background-color: rgba(255, 255, 255, .9);
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -webkit-box-shadow: 0 0 16px 5px rgba(0,0,0,.2);
        box-shadow: 0 0 16px 5px rgba(0,0,0,.2);
    }

    .landing {
        height: 140px;
        margin: 60px 50px;
        width: 440px;
    }
    .over-ons {
        width: 380px;
        height: 210px;
        margin: 71px 54px;
    }

    .verzekering {
        width: 500px;
        height: 160px;
        margin: 60px 50px;
    }

    .contact {
        width: 275px;
        margin: 80px auto;
    }
        .contact .content-block-container {
            display: inline-block;
            margin: 0 30px;
        }

    .diensten {
        width: 465px;
        height: 230px;
        margin: 69px 562px;
    }
    .offerte { 
        width: 570px;
        height: 315px;
        margin: 20px auto;
        overflow: hidden;
    }

    .offerte_bedankt {
        width: 530px;
        margin: 130px auto;
    }

/* ==========================================================================
   Offerte FORM
   ========================================================================== */
.form-block {
    float: left;
}
#form-block-left, #form-block-right {
    float: left;
    width: 285px;
}
::-webkit-input-placeholder { font-style: italic; font-size: .8em; color: #CCC; }
:-moz-placeholder { font-style: italic; font-size: .8em; color: #CCC;  }
::-moz-placeholder { font-style: italic; font-size: .8em; color: #CCC; }
:-ms-input-placeholder { font-style: italic; font-size: .8em; color: #CCC; }
form label {
    font-size: .9em;
}
input[type="text"], input[type="email"] {
    border-style: solid;
    border-color: #CCCCCC;
    padding: 5px 5px;
    border-width: 1px;
    -webkit-border-radius: 1px 1px 1px 1px;
    border-radius: 2px 2px 2px 2px;
    margin-right: 5px;
    font-size: .9em;
}
input[type="text"].error, input[type="email"].error {
    border-color: #a94442;
}
p.error {
    display: block;
    
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 0px;
    margin-top: -10px;
    margin-bottom: 10px;

    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;

    text-shadow: 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);

    background-image: -webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);
    background-image: linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
    border-color: #dca7a7;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.pull-right {
    float: right;
}
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.red {
    color: #fb0033;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table; 
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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