/**
 *  Stylesheet for J&D
 *  ===============================================================
 *  $Revision: 1.60.2.5 $
 *  ===============================================================
 *
 *  global styleguide:
 *
 *  colors {
 *    white   : #fff;
 *    black   : #000;
 *      blue      : #001c68;
 *    red     : #f62621;
 *    brown   : #e0d7a1;
 *    grey      : #4c4c4c;
 *  }
 *
 *  fonts {
 *    logo    : FF Unit - Medium;
 *    headers : Verdana, Helvetica, sans-serif;
 *    text    : Verdana, Helvetica, sans-serif;
 *  }
 */


/**
 * GLOBAL HTML ELEMENTS
 *
 * default html elements, such as html, body, img, p, a.
 */

html, body {
height: 100%;
margin: 0; padding: 0;
border: 0; }

html {
background: transparent url(/images/bg.gif) repeat left top;  }

body {
font: normal .7em/1.6em Verdana, Helvetica, sans-serif;
color: black;
background: transparent url(/images/bg_top.gif) repeat-x left top; }


/* links */
a, a:link {
padding: 0;
color: #f62621; text-decoration: none; }

a:visited { color: #f62621; }
a:active { color: #001c68; }
a:hover { color: #001c68; }


/* headers */
h1, h2, h3, h4, h5, h6 { margin: 0 0 1em 0; font-family: Verdana, Helvetica, sans-serif; color: #f62621; }
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 { list-style: none; margin: 0; padding: 0; }
    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 black; font: normal 1em/1.6em Verdana, Helvetica, sans-serif; }
    input:hover, textarea:hover { border-color: black; }
    input:focus, textarea:focus { border: 1px inset #afafaf; }
    input.disabled { cursor: pointer; }

fieldset { border: 1px solid black; padding: 0 1em 1em 1em; }

    fieldset legend {
    margin: 0 0 .5em .4em; padding: .1em .7em;
    color: white; font-weight: bold;
    background-color: black; }

label { cursor: default; }
    label:hover {}


/**
 * BASIC PAGE LAYOUT
 *
 * describes the default page layout
 */

#body { height: 100%; width: 796px; margin: 0 auto; background: #e0d7a1 url(/images/bg_bar.gif) repeat-y left top; }

    #container { height: 100%; }

        #content {
        margin: 0; padding: 50px 0 30px 191px;
        background: #e0d7a1 url(/images/bg_bar.gif) repeat-y 0 0; }

            #content h1 {
            padding-top: 41px; }

        #header {
        position: absolute;
        top: 0;
        height: 50px; width: 796px;
        text-indent: -9000px;
        background: black url(/images/bg_bar_top.gif) no-repeat 15px 100%; }

            #header h1 { width: 100%; height: 100%; margin: 0; background: transparent url(/images/l_top.gif) no-repeat 45px 0; }
                #header h1 a { display: block; height: 100%; border: 0; padding-left: 0; background: none; }

        #mainnav {
        position: absolute;
        top: 75px;
        width: 166px;
        border-width: 0 1px; border-style: solid; border-color: black;
        background: white url(/images/bg_bar_mainnav.gif) repeat-y -2px 0; }

        #mainnav-top { height: 1px; width: 100%; font-size: 0; line-height: 0; background: transparent url(/images/bg_bar_mainnav_border.gif) no-repeat -2px 0; }
        #mainnav-bottom { height: 1px; width: 100%; font-size: 0; line-height: 0; background: transparent url(/images/bg_bar_mainnav_border.gif) no-repeat -2px 100%; }

        #mainnav ul { padding: 10px 0; margin-left: 57px; }

            #mainnav ul li { height: 30px; }

                #mainnav ul li a {
                display: block;
                width: 100%; height: 100%;
                border: 0;
                background-color: transparent; background-position: center left; background-repeat: no-repeat; }

                    #mainnav ul li a span { display: none; }

        /* outclapmenu :) */
        #mainnav ul li ul {
        display: none;
        position: absolute;
        left: 109px;
        border: 1px solid black;
        margin-top: -30px;
        width: 150px;
        background-color: #e9e4c9;
        z-index: 1; }

            #mainnav ul li ul li { height: auto; width: 130px; margin-bottom: 15px; }

                #mainnav ul li ul li a {
                display: block;
                border: 0;
                color: black;
                padding: 0; margin: 0 10px 0 10px;
                background-color: transparent; background-position: center left; background-repeat: no-repeat; }
                    #mainnav ul li ul li a:hover { color: #f62621; }

            #mainnav ul li:hover ul {
            display: block; }

        #breadcrumbs {
        display: none;
        position: absolute;
        top: 50px;
        overflow: hidden;
        height: 20px;}

            #breadcrumbs:hover { overflow: visible; }

            #breadcrumbs ul li {
            display: inline;
            margin-right: 0; padding-left: 12px;
            font-size: .9em; color: #a0a0a0;
            background: url(/images/i_crumb.gif) left center no-repeat transparent; }

                #breadcrumbs li a { border: 0; font-weight: bold; color: #666; padding-left: 0; background: none; }
                    #breadcrumbs li a:hover { text-decoration: underline; }

                #breadcrumbs li#firstcrumb { padding-left: 0; background-image: none; }

        #globalnav {
        position: absolute;
        top: 0;
        width: 260px;
        margin: 19px 0 0 519px; padding-right: 15px; }

            #globalnav ul li { float: right; margin-right: 15px; }

                #globalnav ul li a {
                border: 0;
                padding: 0;
                text-transform: uppercase; text-decoration: none; color: #999;
                background-repeat: no-repeat; background-position: left top; }

                    #globalnav ul li a:hover { color: #333; }

                    #globalnav ul li a span { visibility: hidden; }

        #breadcrumbs h2, #globalnav h2 { display: none; }

    #footer { }



/**
 * PAGE-SPECIFIC ELEMENTS
 *
 * Style specially for pages
 */

/* headervisual on every page */
#headervisual { float: right; clear: right; width: 275px; margin: 0 0 30px 30px; border: 1px solid black; }

/* contenttext: for all basic content text, such as page body's */
.contenttext { margin-bottom: 1em; }
.contenttext-page { margin-bottom: 1em; width: 290px; float: left; }

/* inline sections on the homepage */
.inline-sections { }

    .inline-sections dt {
    display: block;
    padding-bottom: 1.5em;
    font-size: 1.2em; font-weight: bold; }

        .inline-sections dt a { float: left; }
    .inline-sections dd { clear: both; margin: 1em 0 0 0; }
        .inline-sections dd h2 { margin: 0; padding: .2em 1em 0 0; }
            .inline-sections dd h2 a { font-size: .95em; }
        .inline-sections dd p { margin: .5em 0; }


/* block: (news)blocks on the homepage */
.block {
clear: both;
margin-bottom: 2em; }

    .block h2 {
    margin: 0; padding: 0 0 .1em 0;
    font-size: 1.2em; color: black;  }

        .block h2 a { text-decoration: none; color: #f62621; }

    .block img {
    float: left;
    margin: 0 1em 1em 0; }

    .block p { margin: 0 .5em .5em 0; }

/* default and rich menu */
.menu_default { padding: .5em 1em; }
    .menu_default li { margin-bottom: .5em; }
        .menu_default li a { padding-left: 15px; background: url(/images/a_bul010.gif) left center no-repeat; }
            .menu_default li a:hover { background-image: url(/images/a_bul011.gif); }

.menu_rich { margin: 1em 0 2em 0; }

    .menu_rich li {
    float: left;
    position: relative;
    width: 132px; height: 130px;
    margin: 1em 1em 1em 0;
    border: 1px solid #afafaf;
    text-align: right; }

        .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;
        width: 94%;
        margin: 0; padding-right: 15px;
        background: url(/images/a_bul010.gif) 100% 50% no-repeat #fff; }

            .menu_rich>li span { width: auto; }

            .menu_rich a:hover span { background-image: url(/images/a_bul011.gif); }

/* Default and rich lists */
ul.default { clear: both; }
    ul.default li a { padding-left: 16px; background: url(/images/a_bul010.gif) left center no-repeat; }
        ul.default li a:hover { background-image: url(/images/a_bul011.gif); }

ul.rich { clear: both; }

    ul.rich li {
    height: 150px;
    margin-bottom: 1em; padding: .3em; }

        /* Problem: rich lists should at least be high enough to display the entire thumbnail, for IE, setting the height is adequate. !IE doesn't auto-stretch the element. */
        /* Solution: set the height back to auto, and provide a min-height value. */
        ul.rich>li { height: auto; min-height: 150px; }

        ul.rich li h2 {
        padding: .2em 1em .1em 0;
        font-size: 1.2em; }

            ul.rich li h2 a { text-decoration: none; border: 0; }

        ul.rich li img { margin: 0 1em .5em .5em; }

    li.group { margin-bottom: 2em; }
        li.group h2 { margin-bottom: .5em; }

/* default and rich group */
dl.group { }
    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: 0; }

        .group_rich dt a { color: #4c4c4c; border: 0; margin-bottom: .2em; }
            .group_rich dt a:hover { color: #001c68; border: 0; margin-bottom: .2em; }

    .group_rich h2 { margin-bottom: .2em; }

    .group_rich dd {
    float: left;
    height: 150px; width: 170px;
    margin: 0 20px 0 0; padding: 0; }

        /* Problem: rich groups should at least be high enough to display the entire thumbnail, for IE, setting the height is adequate. !IE doesn't auto-stretch the element. */
        /* Solution: set the height back to auto, and provide a min-height value. */
        .group_rich>dd { height: auto; min-height: 150px; }

        .group_rich img {
        vertical-align: top;
        margin: .2em 0 1em 0; padding: 0; border: 1px solid #4c4c4c; }

/* default and rich linkbox */
.linkbox_default, .linkbox_rich, .linkbox_video {
margin: 0 0 1em 1em;
width: 250px; }
    html>body .linkbox_default, html>body .linkbox_rich, html>body .linkbox_video {
    width: 270px; }

    .linkbox_default li { margin: 0; padding: 0; }

        .linkbox_default li a {
        display: block;
        width: 100%;
        padding: 5px; padding-left: 15px;
        border: 0;
        background: url(/images/a_bul010.gif) left 10px no-repeat; }

            .linkbox_default li a:hover { background-image: url(/images/a_bul011.gif); }

        /* Problem: !IE calculates padding with width, so 100% + padding exceeds linkbox border. */
        /* Solution: Reset width for !IE. */
        .linkbox_default li>a { width: auto; }

    .linkbox_rich li {
    clear: both;
    margin-bottom: 1em; padding: .3em;
    width: 122px; height: 120px; }

        /* Problem: linkboxes should at least be high enough to display the entire thumbnail, for IE, setting the height is adequate. !IE doesn't auto-stretch the element. */
        /* Solution: set the height back to auto, and provide a min-height value. */
        .linkbox_rich>li { height: auto; min-height: 150px; }

        .linkbox_rich li a { display: block; border: 0; }

    .linkbox_rich h2 { margin-bottom: .2em; background-color: #afafaf; }

    .linkbox_rich img {
    display: block;
    vertical-align: top;
    margin-right: .2em; }

        .linkbox_rich span {
        margin: 0;
        padding-right: 15px;
        background: url(/images/a_bul010.gif) center right no-repeat transparent; }

            .linkbox_rich a:hover span { background-image: url(/images/a_bul011.gif); }

    .linkbox_video li {
    clear: both;
    margin-bottom: 1em; padding: .3em;
    width: 275px; height: 60px;
    border-bottom: 1px solid #afafaf; }

        /* Problem: linkboxes should at least be high enough to display the entire thumbnail, for IE, setting the height is adequate. !IE doesn't auto-stretch the element. */
        /* Solution: set the height back to auto, and provide a min-height value. */
        .linkbox_video>li { height: auto; min-height: 60px; }

        .linkbox_video li a img { float: left; vertical-align: top; margin-right: .5em; }

/* 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; }
.leftcolumn { width: 300px; padding: 0; margin: 0 0 1em 0; }
.rightcolumn { width: 250px; padding: 0; margin: 0 25px 1em 0; }

.productvisuals { width: 320px; }
    .productvisuals a { margin: 0 25px 20px 0; }

.infopage-visual { float: right; clear: right; border: 2px solid black; }

/* imgbox, for displaying an image with description in a box */
.imgbox {
float: right;
width: 275px;
margin: 0 0 1em 1em;
border: 1px solid black; }

    .imgbox img {
    float: none;
    display: block;
    margin: 0;
    border: 0; }

    .imgbox p {
    margin: 0; padding: .3em;
    font: bold .8em/1.2em Verdana, Helvetica, sans-serif; color: black;
    background-color: #afafaf; }

/* basicform styles form elements, marked up in a definition list */
.basicform dl input, .basicform dl textarea, .basicform dl select { width: 95%; color: black; }

    /* IE displays border around radio buttons and checkboxes, which is ugly */
    .radio, .radio:hover, .checkbox, .checkbox:hover { width: auto !important; border: 0 !important; }

    .basicform dl dt {
    clear: both;
    width: 35%;
    float: left;
    color: black; }

    .basicform dl dd {
    width: 60%;
    float: left;
    margin: 0 0 1em 0;
    color: black; }

    .errors { font-style: italic; color: red; }

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

#searchform { margin: 1em 0; padding-bottom: 1em; }
    #searchform input { width: 30%; }
    #searchform .submit { width: 20%; }

#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 { }

/* forum and poll styles */
.forum, .topic, .pollarchive {
width: 97%;
margin: 0 0 2em 0;
border: 1px solid black; }

    .forum thead th, .topic thead th, .pollarchive thead th { margin-bottom: .2em; color: #f62621; background-color: #e8e8e8; }
    .forum tbody th, .forum tbody td, .pollarchive tbody th, .pollarchive tbody td { border-right: 1px solid #e8e8e8; }
    .forum tr, .topic tr, .pollarchive tr { border-bottom: 1px solid black; }
    .forum td, .forum th, .topic td, .topic th, .pollarchive td, .pollarchive th { vertical-align: top; padding: .3em; }
    .forum img, .topic img { vertical-align: top; }
    .forum p, .pollarchive p { margin-top: 0; }
    .forum a, .pollarchive a { font-weight: bold; color: #001c68; border-color: #001c68; }

.post { }
    .post th { border-right: 1px solid #e8e8e8; }
.author { }

.postform { }
    .postform .basicform dt, .postform .basicform dd { float: none; width: auto; }
    .postform .basicform dt { font-weight: bold; margin-top: .5em; padding: .1em .3em; }
    .postform .basicform dd { margin: 0 0 1em 0; padding: 0; }
    .postform .basicform textarea  { width: 100%; }
    .postform .basicform input.submit { width: auto; }

/* odd, even and first for row coloring (zebra tables and distinctive first post) */
.odd { background-color: #fff; }
.even { background-color: #ffdfca; }
.first { background-color: #ffdfca; border: solid #e8e8e8; border-width: 0 1px; }
    .first .date { color: #aaa; }

/* special icons for announcements, sticky topics and locked topics */
td.announcement, td.sticky, td.locked, td.default { padding-left: 20px; background-position: 0 5px; background-repeat: no-repeat; }
    td.announcement { background-image: url(/images/i_announce.gif); }
    td.sticky { background-image: url(/images/i_sticky.gif); }
    td.locked { background-image: url(/images/i_locked.gif); }

.announcement { font-weight: bold; }
.locked, .locked a { color: #afafaf; border-color: #afafaf; background-color: #e8e8e8; }

/* search styles: form, info and results */
.pollresults { width: 100%; }
    .pollresults tr { }
    .pollresults td { text-align: right; }
        .pollresults td span { float: left; }

    .pollresults dt, .pollresults dd { margin: .3em 0 0 0; padding: 0; float: left; }
    .pollresults dt { clear: both; width: 20%; }
    .pollresults dd { width: 20%; }
    .pollresult { width: 55% !important; background-color: #e8e8e8; }
        .pollresult div { border: 2px solid #f62621; background-color: #ffdfca; }

.pollresults, #pollform { margin-bottom: 2em; }

/* bannercolumn */
#bannercolumn {
position: absolute;
top: 400px;
width: 150px;
margin: 1em 30px 1em 520px; padding: .6em 0 .3em 0; }

    #bannercolumn a { border: 0; }
    #bannercolumn img { margin-bottom: 2em; }

/* sitemap */
ul.sitemap { margin: 1em 1em 1em 0; padding: 1em; }
    ul.sitemap ul { margin: .3em 1em 1em 4em; padding: 0; }
    ul.sitemap li { padding-left: 15px; background: url(/images/a_bul010.gif) left 7px no-repeat; }

/* chapters in documents */
#chapters { clear: both; margin: 1em 0; padding: .5em 0; }
    #chapters li { padding: .3em; }
        #chapters li a { padding-left: 15px; background: url(/images/a_bul010.gif) left center no-repeat; }
            #chapters li a:hover { background-image: url(/images/a_bul011.gif); }

.chapter { margin: 2em 0 1em 0; }

/* navbox, for displaying next/previous/index links */
.navbox {
margin-top: 2em; padding: .3em .2em;
text-align: center;
background-color: #e8e8e8; }

    .navbox a { border: 0; }

    /* 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/a_bul010.gif) center right no-repeat transparent; }
        .more a:hover { background-image: url(/images/a_bul011.gif); }

/* date: date in messages */
.date { margin: 0; }

/* button: transforms a normal button to a styled button */
.button {
width: auto !important;
border: 0;
cursor: pointer;
padding: 2px 1.5em;
font: bold .9em Verdana, Helvetica, sans-serif; color: #f62621; text-transform: uppercase;
background: transparent url(/images/a_bul010.gif) no-repeat left center; }

    .button:active {
    border-style: inset;
    background: transparent url(/images/a_bul011.gif) no-repeat left center; }

.submit { }

/* .feed: RSS-feed button placement */
.feed { border: 0 !important; margin-left: 1em; }
    h1 .feed, dt .feed { float: right !important; }
    .feed img { vertical-align: text-top; }

    /* header is wrapped in <span> when feed button is available */
    #content h1 {  }
    #content h1 span { float: left; }

/**
 * GLOBAL CLASSES
 *
 * global classes are used for very common styles, such as floating, coloring or clearing. Often used in combination, such as: <a href="link.html" class="align-right no-border">link to the right without border</a>.
 */

/* positioning and visibility */
.clear-both     { clear: both; }
.clear-right    { clear: right; }
.float-left     { float: left; }
.float-right    { float: right; }
.inline         { display: inline; }
.block          { 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; }
.arrowed        { padding-left: 15px !important; background: url(/images/a_bul010.gif) left center no-repeat; }
.arrowed:hover  { background-image: url(/images/a_bul011.gif); }
.back           { padding-left: 15px !important; background: url(/images/a_bul010.gif) center left no-repeat; }
.back:hover     { background-image: url(/images/a_bul011.gif); }
.red            { color: red; }
.req            { color: red; background-color: #ffdfca; }
.err            { color: red; font-weight: bold; }
.notice         { background-color: #ffa; color: #001c68; }
.white          { color: white; }
.chosen         { color: #001c68; font-weight: bold; }

/* default list behaviour */
.bulleted       { list-style: square inside; margin: .4em; padding: 0 1em; }

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