/**
 * @site Politie Haaglanden
 * @revision $Revision: 1.10.6.24 $
 *
 * @styleguide:
 *  colors {
 *   white:  #fff;
 *   black:  #000;
 *   green:  #aab300;
 *   blue:   #004583;
 *   orange: #eeb210;
 *  }
 *  fonts {
 *   logo:    FF Unit - Medium;
 *   headers: Arial, 'Trebuchet MS', Helvetica, sans-serif;
 *   text:    Arial, 'Trebuchet MS', Helvetica, sans-serif;
 *  }
 */

/**
 * Elements
 * HTML elements, such as ul, img, p, a, etc.
 */

/* links */
a, a:link { padding: 0 0 1px 0; color: #004583; text-decoration: none; border-bottom: 1px solid transparent; }
a:visited { color: #004583; border-color: transparent; }
a:active { color: #aab300; border-color: #aab300;}
a:hover { color: #aab300; border-bottom-color: #aab300; }

/* headers */
h1, h2, h3, h4, h5, h6 { margin: 0 0 1em 0; font-family: Arial, Helvetica, sans-serif; color: #004583; }
h1 { font-size: 1.2em; }
h2 { font-size: 1.1em; }
h3 { font-size: 1em; }

/* images */
img, a img { border: 0; }

/* paragraphs */
p { }

/* lists and definition lists */
ul { }
    ul li {}

dl {}
    dl dt {}
    dl dd {}

/* tables */
table { font-size: 1em; vertical-align: top; border-collapse: collapse; }
    table thead { }
    table tbody { }
    table td, table th { text-align: left; }

/* form elements, labels & fieldsets */
form { margin: 0; }

input, select, textarea { border: 1px solid #003a6f; padding: .2em 0; font: normal 1em Arial, 'Trebuchet MS', Helvetica, sans-serif; }
    input:hover, textarea:hover { border-color: #004583; }
    input:focus, textarea:focus { border-style: inset; }
    input.disabled { cursor: default; background-color: #e8e8e8; }

fieldset { border: 1px solid #004583; padding: 0 1em 1em 1em; }
    fieldset legend { margin: 0 0 .5em .4em; padding: .1em .7em; color: white; font-weight: bold; background-color: #004583; }

label { cursor: pointer; }
    label:hover { color: #004583; }

iframe { min-height: 35em; }

/**
 * Page layout
 */

html, body { height: 100%; margin: 0; padding: 0; border: 0; }
html { background: url(/images/b_politie.gif) center center no-repeat white fixed; }
body { font: normal .75em/1.7em Arial, 'Trebuchet MS', Helvetica, sans-serif; color: black; }

#body { position: relative; top: -25px; min-width: 900px; max-width: 1000px; min-height: 100%; border-left: 15px solid #004583; border-bottom: 25px solid #004583; }
    #container { }

        #content { padding: 180px 20px 0 15px; color: #004583; }
            #textcolumn { float: left; width: 250px; margin-right: 20px; }
            #maincolumn { float: left; width: 460px; margin-right: 20px; }
            #linkcolumn { float: right; width: 200px; }
                #linkcolumn .block { text-align: left; }
            #mediumcolumn { float: left; width: 730px; margin-right: 20px; }
                #mediumcolumn #maincolumn { margin-right: 0; }

        #header { z-index: 1; position: absolute; top: 25px; left: 0; right: 0; width: 100%; height: 120px; background-color: #004583; background-repeat: no-repeat; background-position: top left; }
            #header h2 { width: 124px; height: 119px; margin: 0; padding: 0; background: url(/images/l_politie.png) -1px 0 no-repeat transparent; }
                #header h2 a { display: block; height: 100%; border: 0; padding-left: 0; background: none; }
                    #header h2 a span { visibility: hidden; }

        #mainnav { z-index: 2; position: absolute; top: 91px; left: 20px; right: 0; height: 34px; }
            #mainnav ul { list-style-type: none; margin: 0; padding: 0; height: 100%; }
                #mainnav li { float: left; height: 100%; margin: 0 5px 0 0; padding: 0 0 0 4px; background: url(/images/b_nav_left.png) left top no-repeat transparent; }
                    #mainnav li a { display: block; height: 100%; padding: 0 4px 0 0; border: 0; background: url(/images/b_nav_right.png) right top no-repeat transparent; }
                        #mainnav li a span { display: block; padding: 10px 15px 0 15px; height: 100%; font: bold 1em Arial, Helvetica, sans-serif; color: white; letter-spacing: 1px; background: url(/images/b_nav_middle.png) left top repeat-x transparent; }
                #mainnav li.active, #mainnav li:hover { margin-top: 1px; background-image: url(/images/b_nav_left_over.png); }
                    #mainnav li.active a, #mainnav li:hover a { background-image: url(/images/b_nav_right_over.png); }
                    #mainnav li.active a span, #mainnav li:hover a span { color: #004583; background-image: none; background-color: white; }

        #subnav { z-index: 2; position: absolute; top: 125px; left: 0; right: 0; min-height: 25px; background: url(/images/b_nav_sub.png) left bottom repeat-x #99a100; }
            #subnav ul { overflow: hidden; list-style-type: none; margin: 0; padding: 0 0 0 15px; }
                #subnav ul li { float: left; font-size: .9em; color: white; height: 25px; }
                    #subnav li a { display: block; border: 0; height: 100%; padding: 0 1em; font-weight: bold; color: white; }
                        #subnav li a:hover, #subnav li.active a { color: #aab300; background-color: white; }

        #breadcrumbs { z-index: 2; position: absolute; top: 150px; left: 15px; }
            #breadcrumbs ul { list-style-type: none; margin: 0; padding: 0; }
                #breadcrumbs ul li { display: inline; margin-right: 0; padding-left: 12px; font-size: .9em; color: #999; background: url(/images/i_crumb.gif) left center no-repeat transparent; }
                #breadcrumbs li:first-child, #breadcrumbs li#firstcrumb { padding-left: 0; background-image: none; }
                    #breadcrumbs li a { border: 0; font-weight: bold; color: #666; padding-left: 0; background: none; }
                        #breadcrumbs li a:hover { text-decoration: underline; }

        #globalnav { z-index: 2; position: absolute; top: 25px; right: 0; padding: .3em 0; background-color: #aab300; opacity: .9; }
            #globalnav ul { list-style-type: none; margin: 0; padding: 0; }
                #globalnav ul li { float: left; margin: 0 .5em 0 0; padding: .3em; }
                    #globalnav ul li a { border-bottom: 0; padding-bottom: 0; font-weight: bold; color: #004583; text-decoration: underline; }
                        #globalnav ul li a:hover { text-decoration: none; }

        #breadcrumbs h2, #globalnav h2 { display: none; }

    #quicksearch { float: left; margin: 0 2em; position: relative; }
        #quicksearch h3 { display: none; }
        #quicksearch input { position: relative; top: 4px; padding: 0; font-size: .9em; }
            #quicksearch input.submit { position: relative; top: 5px; width: 16px; height: 16px; text-indent: -9000px; background: url(/images/b_button.png) -1px -1px no-repeat; }

    #footer { }

    #props { position: absolute; bottom: -35px; right: 20px; }
        #props a, #props a:visited { color: #afafaf; border: 0; }


/**
 * Page content
 */

.contenttext { margin-bottom: 1em; max-width: 600px; overflow: hidden; }

.how-it-works { text-align: center; }

/* .feed: RSS-feed button placement */
.feed { position: absolute; top: 0; right: 2px; }
    .feed, .feed:hover { border: 0; }
    .feed img { vertical-align: text-top; }
    #content>h1 { position: relative; }

/* block: (news)blocks */
.block { position: relative; clear: both; margin: 2em 0 4em 0; padding: 1em; border: 1px solid #004583; text-align: justify; background-color: white; }
    .block>h1, .block>h2, .block>h3 { position: absolute; left: -1px; top: -30px; margin: 0; padding: 0 25px 0 5px; height: 31px; background: url(/images/b_block_left.png) left top no-repeat transparent; }
        .block h1 span, .block h2 span, .block h3 span { display: block; height: 100%; padding: .5em 2em 0 1em; background: url(/images/b_block_right.png) right 0px no-repeat transparent; }
    .block a { font-weight: bold; }
    .block p { margin: 0 .5em .5em 0; }
    .block span.date { display: inline; margin-left: 1em; padding: 0; font-size: smaller; font-weight: normal; color: gray; background: none transparent; }

.block.fill { color: white; background-image: none; background-color: #004583; }
    .block.fill h1, .block.fill h2, .block.fill h3 { background-image: url(/images/b_block_fill_left.png); }
            .block.fill h1 span, .block.fill h2 span, .block.fill h3 span { background-image: url(/images/b_block_fill_right.png); }
.block.fill, .block.fill h1, .block.fill h2, .block.fill h3, .block.fill h1 span, .block.fill h2 span, .block.fill h3 span { color: white; }
    .block.fill a { color: white; }
        .block.fill a:hover { color: white; border-color: white; }

.block.medium { float: left; min-width: 600px; max-width: 670px; }

.homeblocks { clear: both; }
    .homeblocks .block { clear: none; width: 310px; float: left; margin-right: 40px; }
    .homeblocks .second { margin-right: 0; }

.subsite-details { clear: both; margin-top: 4em; }

/* inline sections on the homepage */
.inline-sections { padding-top: 2em; }
    .inline-sections .block.fill { margin-top: 0; margin-bottom: 0; padding-bottom: 3em; }
        .inline-sections .no-background { right: -1px; background-image: none; background-color: #004583; }
            .inline-sections .no-background .feed { margin-left: -18px;  }
            .inline-sections .no-background span { background-image: none !important; }
    .inline-sections ul { margin: 1em 0 0 1.5em; padding: 0; list-style-type: disc; }
        .inline-sections ul li { }
            .inline-sections ul li h3 { margin: 0; padding: .4em 0; }
                .inline-sections ul li h3 a { color: white; }
                    .inline-sections ul li h3 a:hover { border-color: white; }

/* default and rich menu */
.menu_default { clear: both; margin: 0; padding: .5em 1em; list-style-type: none; }
    .menu_default li { margin-bottom: .5em; }
        .menu_default li a { display: block; padding-left: 15px; background: url(/images/bullet_right.gif) 0 6px no-repeat; }

.menu_rich { clear: both; margin: 1em 0 2em 0; padding: 0; list-style-type: none; }
    .menu_rich li { float: left; position: relative; width: 132px; height: 130px; margin: 1em 1em 1em 0; border: 1px solid #afafaf; }
        .menu_rich li img { margin: 0; position: absolute; left: 5px; top: 5px; }
        .menu_rich li a { border: 0; }
        .menu_rich span { position: absolute; bottom: 3px; left: 5px; right: 5px; margin: 0; padding-right: 15px; background: url(/images/bullet_right.gif) 100% 50% no-repeat #fff; }

/* Default and rich lists */
ul.default, ul.rich { clear: both; margin: 0; padding: 0; list-style-type: none; }
    ul.default li { padding-left: 16px; background: url(/images/bullet_right.gif) 0 6px no-repeat; }
    ul.rich li { min-height: 100px; }
        ul.rich li img { margin: 0 .3em .5em .5em; }

/* default and rich group */
dl.group { clear: both; }
    dl.group dt { margin: 1em 0 .5em 0; }
        dl.group dt a { font-weight: bold; }
    dl.group dd { margin-left: .3em; }

.group_rich { clear: both; }
    .group_rich dt { clear: both; margin-top: 1em; padding: .3em; background-color: #e8e8e8;  }
        .group_rich dt a { border: 0; margin-bottom: .2em; }
    .group_rich h2 { margin-bottom: .2em; }
    .group_rich dd { min-height: 150px; margin: 0 0 0 1em; padding: 1em .5em 0em .5em; border-bottom: 2px solid #e8e8e8; }
        .group_rich img { vertical-align: top; border: 1px solid #afafaf; margin: .2em 0 1em 1em; padding: 5px; }

/* semicolumn, for providing a 2-column layout, to be used in conjunction with float-left/float-right */
.semicolumn { width: 49%; padding: 0; margin: 0 0 1em 0; }

/* imgbox and linkboxes */
.imgbox_wrapper { clear: both; margin: 1em 0; width: 100%; }
    .imgbox_wrapper .imgbox { margin: 0 .6em 0 0; padding: 0; border: 0; }

.imgbox, .linkbox_default, .linkbox_rich, .linkbox_video { float: right; width: 100px; margin: 2em 0 .5em 1em; padding: 5px; border: 1px solid #afafaf; }
    .imgbox img { display: block; margin: 0; border: 0; }
    .imgbox p { margin: 0; padding: .3em; font: bold .8em/1.2em Arial, 'Trebuchet MS', Helvetica, sans-serif; color: #004583; background-color: #e8e8e8; }

.imgbox-inline { float: right; }

.linkbox_default, .linkbox_rich, .linkbox_video { clear: both; list-style-type: none; text-align: left; }
    .linkbox_default li { margin: 0; padding: 0 .6em; background-color: #e8e8e8; }
        .linkbox_default li:hover { background-color: transparent; }
        .linkbox_default li a { display: block; padding: 5px; padding-left: 15px; border: 0; background: url(/images/bullet_right.gif) 0 10px no-repeat; }

    .linkbox_rich li { clear: both; margin-bottom: 1em; padding: .3em; width: 122px; min-height: 150px; }
        .linkbox_rich li h2 { margin-bottom: .2em; background-color: #afafaf; }
        .linkbox_rich li a { display: block; border: 0; }
        .linkbox_rich li img { display: block; vertical-align: top; margin-right: .2em; }
        .linkbox_rich li a span { margin: 0; padding-right: 15px; background: url(/images/bullet_right.gif) center right no-repeat transparent; }

    .linkbox_video li { clear: both; margin-bottom: 1em; min-height: 60px; border-bottom: 1px solid #afafaf; }
        .linkbox_video li a img { margin-right: .5em; }

/* basicform styles form elements, marked up in a definition list */
.basicform { overflow: hidden; }
.basicform dl input, .basicform dl textarea, .basicform dl select { width: 100%; color: #004583; }
.basicform dl input.button { width: auto; color: white; }
    .radio, .radio:hover, .checkbox, .checkbox:hover { width: auto !important; border: 0 !important; }
    .basicform dl dt { clear: both; width: 40%; float: left; color: #004583; }
    .basicform dl dd { width: 55%; float: left; margin: 0 0 1em 0; color: #004583; }
    .errors { font-style: italic; color: red; }
    .header { display: block; width: auto; float: none; margin: 1em 0;  }
        .basicform dl .header, .header+dd { min-height: 1em; text-align:left;  }
        .basicform dl .header+dd { margin: 1em 0; }
        .basicform dl .header.formpage+dd { display: none; }

    .basicform dl dd.calendar-container input { width: 85%; }
    .calendar { position: relative; }
        .calendar img { position: absolute; left: -30px; top: 0; cursor: pointer; }
        .calendar-input { display: none; position: absolute; left: 0; top: 25px; width: 300px; border: 2px outset #f6f6f6; background-color: #f6f6f6; }
            .calendar-input .calendar-navigation { }
                .calendar-input .calendar-date-selection select { width: 50%; }
            .calendar-input table { width: 100%; }
                .calendar-input table td.cpDayColumnHeader { background-color: #dedede; }
                    .calendar-input table td.cpDayColumnHeader span { font-weight: bold; color: #002065; }
                    .calendar-input table .cpOtherMonthDate, .calendar-input table .cpOtherMonthDate:visited, .calendar-input table .cpOtherMonthDate:active { color: #ceced0; }
                    .calendar-input table table td:hover { background-color: #dedede; color: #002065; }
                        .calendar-input table table td a { display: block; border-bottom: 1px solid #f6f6f6; }
                    .calendar-input table table td.cpTodayText { text-align: center; background-color: #dedede; }
                        .calendar-input table table td.cpTodayText a { border-bottom: 0px; font-weight: bold; }

    .progress { text-align: right; color: #004583; font-weight: bold; width: 93%; }

    .progresstext { color: #004583; font-weight: bold; }
    .progressbar { width: 92%; height: .7em; margin: 0 0 1em 0; border: 1px solid #aab300; border-left-width: 5px; background-color: white; }
        #progressfill { height: 100%; background-color: #aab300; }

/* search styles: form, info and results */
#resultsinfo { padding-bottom: .2em; background-color: #e8e8e8; }
    #resultsinfo h2 { float: left; font-size: 1.2em; }
    #resultsinfo p { float: right; margin: 0; }
    #resultsinfo h2, #resultsinfo p { margin: 0; padding: .2em 1em .1em .3em; color: #004583; }

#searchform { margin: 1em 0; padding-bottom: 1em; }
    #searchform label { float: left; }
    #searchform div { float: left; margin: 0 0 1em 1em; }
    #searchform div label { display: block; clear: both; }
    #searchform div input { margin: 0; }
    #searchform div p { margin: 0 0 .5em 0; }

#searchresults { clear: both; margin: 1.5em 0 0 0; }
    #searchresults dt { margin: 2em 0 .6em 0; }
    #searchresults dd { margin: .3em 0 0 1.4em; }

/* highlighting for search terms */
.highlight { background-color: #e8e8e8; }

/* bannercolumn */
#bannercolumn { padding: 1em; background-color: #e3e3e3; }
    .banner { margin-bottom: .7em; }
    #bannercolumn a, #bannercolumn a:hover { border: 0; padding: 0; }
    #bannercolumn img { border: 1px solid #004583; }
    #bannercolumn object { }

/* sitemap */
ul.sitemap { margin: 1em 1em 1em 0; padding: 1em; list-style-type: none; }
    ul.sitemap ul { margin: .3em 1em 1em 4em; padding: 0; list-style-type: none; }
    ul.sitemap li { padding-left: 15px; background: url(/images/bullet_right.gif) 0 5px no-repeat; }

/* chapters in documents */
#chapters { }
    #chapters ul.chapters { margin: 0; padding: .5em 0; list-style-type: none; }
        #chapters li.chapter { padding: .3em; }
            #chapters li.chapter a { color: #004583; font-weight: normal; padding-left: 15px; background: url(/images/bullet_right.gif) left center no-repeat; }
                #chapters li.chapter a:hover { color: #a5ae00; }

div.chapter { margin: 1em 0 .5em 0; padding: 0; }

/* navbox, for displaying next/previous/index links */
.navbox { min-width: 600px; max-width: 670px; margin-top: 2em; padding: .3em .2em; text-align: center; background-color: #e8e8e8; }
    .navbox a { border: 0; color: #004583; font-weight: bold; }
        .navbox a:hover { color: #a5ae00; }

    /* previous, next, index and page links in navbox */
    .prev { float: left; }
    .next { float: right; }
    .index { }
    .page { margin: 0 .2em; }
        .page a { padding: 2px 6px; }

/* more: paragraph with a "read more" link */
.more { clear: both; margin: 1em .5em; }
    .more a { padding: 0 15px 0 0; background: url(/images/bullet_right.gif) center right no-repeat transparent; }

/* date: date in messages */
.date { margin: 0 .5em 0 0; }

/* button: transforms a normal button to a styled button */
input.button { width: auto; border: 1px solid #004583; cursor: pointer; padding: 2px 1.5em; font: bold 1em Arial, 'Trebuchet MS', Helvetica, sans-serif; color: white; background: url(/images/b_submit.gif) left bottom repeat-x; }
    .button:active { border-style: inset; }
    .submit { }

/* preview bar */
#preview-bar { z-index: 2; position: fixed; left: 0; right: 0; top: 0; margin: 0; padding: 0; border-bottom: 2px solid #004583; text-align: center; background-color: white; }
    #preview-bar #previewselect { margin: 0; padding: .5em 0; background-color: #ffa; opacity: .5; }
        #preview-bar:hover #previewselect { opacity: .8; }
    #preview-bar #previewselect input, #preview-bar #previewselect select { margin: 0 1em; }

/**
 * Common
 * Very often used classes
 */

/* positioning and visibility */
.clear-both     { clear: both; }
.float-left     { float: left; }
.float-right    { float: right; }
.inline         { display: inline; }
.block-level    { display: block; }
.nodisplay      { display: none; }
.show           { visibility: visible; }
.hide           { visibility: hidden; }
.align-left     { text-align: left; }
.align-right    { text-align: right; }

/* coloring and text decoration/transformation */
.no-border      { text-decoration: none; }
.back           { padding-left: 15px !important; background: url(/images/bullet_left.gif) center left no-repeat; }
.red            { color: red; }
.req            { color: #f0f0f0; }
.err            { color: red; font-weight: bold; }
input.err       { font-weight: normal; background-color: #f0f0f0; }
.notice         { background-color: #e3e3e3; color: #aab300; padding: .3em; }
.white          { color: white; }
.chosen         { color: #aab300; font-weight: bold; }

/* odd, even and first for row coloring (zebra tables and distinctive first row) */
.odd           { background-color: #fff; }
.even          { background-color: #f0f0f0; }
.first         { background-color: #f0f0f0; }

/* file types */
.doc            { padding: 2px 0 2px 20px !important; background: url(/images/ico_doc.gif) center left no-repeat !important; }
.pdf            { padding: 2px 0 2px 20px !important; background: url(/images/ico_pdf.gif) center left no-repeat !important; }
