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

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

body {
    font-size: 1em;
    line-height: 1.4;
}

::-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
   ========================================================================== */



body { font-family: Helvetica Neue, HelveticaNeue, Helvetica, Arial, sans-serif; background: url(img/bodybg.jpg) repeat-x -400px 350px; }
#wrapper { width: 1040px; margin: 0 auto; background: url(img/bg.png) repeat-y; }

#header { height: 100px; height: 158px; position: relative;  }
#header a.logo { position: relative; float: left; left: 63px; top: 28px; }
img.whatwedo { position: relative; float: right; right: 50px; top: 31px; }
a.contact { position: relative; float: right; right: -121px; top: 86px; }

#content { background: url(img/belowcontent.png) no-repeat bottom; height: 750px; margin-top: 17px; }
#incontent { background: #004b96; height: 750px; position: relative; top: -17px; }
/*.image { width: 379px; height: 292px; background: url(img/imgbg.jpg); padding-left: 16px; padding-top: 17px; }*/
.tekst { position: relative; float: left; width: 330px; font-size: 14px; color: #eee; left: 50px; }
.ad-gallery { width: 590px; position: relative; float: right; right: 50px;  margin-top: 80px!important; }
.ad-image-wrapper { border: 5px solid white;}
/*#incontent img { width: 580px!important; }*/
h1 { font-size: 20px; margin-top: 42px; }
.ad-controls { display: none; }

#autos { }
#autos h3 { position: relative; left: 70px; }
.iframeshowroom { position: relative; left: 132px; height: 1030px!important; width: 740px!important; }
body#templateBody { background: white!important; }
div#customizable { background: white!important; }

#leadertekst { width: 940px; margin: 0 auto; margin-top: 60px; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 1px solid #999; }
#klantkoning { width: 924px; height: 63px; background: url(img/leadertekst.jpg) no-repeat; margin: 0 auto; }


#footer { width: 985px; margin: 0 auto; overflow: hidden; position: relative; left: 15px; }
.onethird { width: 220px; position: relative; float: left; padding: 40px; }
.onethird.map { width: 300px!important; }
.onethird h4 { margin-bottom: 0; }
.onethird p { margin-top: 0; color: #999; font-size: 15px; }
.onethird a { color: #999; }
.onethird a:active, .onethird a:hover { color: #555; }
.divider { position: relative; float: left; width: 1px; height: 92px; margin-top: 63px; background: #999; }
















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

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

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