/**
  Theme Name: DGM
  Theme URI: http://inproma.de
  Version: 1.1
  Author: Siftware
  Author URI: http://www.siftware.co.uk
  Tags: simple, clean, fixed width, widget-ready, widgets, right sidebar, two columns, valid XHTML, valid CSS, blank-slate
  Licence: GPL

  Description: A theme created with developers in mind which should enable rapid WP reskinning. The CSS is minimal but consistent cross-browser, there are a couple of SEO tweaks and the page navigation works sensibly but can modified easily.

  The CSS that follows is what I feel is the bare minimum of styling for a two column, fixed width and centred layout that should be
  consistent in 'modern browsers'
*/

a img
{
    border: none;
}

html {
  overflow-y: scroll;
}

body
{
    background: #FFFCE7;
    font: 12px/1.4 Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#page
{
    background: #FFF url(img/page-bg.png) repeat-y;
    margin: 0 auto;
    position: relative;
    width: 980px;
}

#header
{
    background: #F7D655 url(img/head-bg.jpg) no-repeat;
    height: 271px;
    margin: 0 10px;
    position: relative;
    width: 960px;
}

    #site-title
    {
        color: #FFF;
        font-size: 40px;
        left: 0;
        line-height: 1;
        position: absolute;
        text-indent: -999em;
        top: 45px;
    }

    #navigation
    {
        background: transparent url(img/navigation-bg.png) no-repeat;
        height: 35px;
        line-height: 38px;
        margin: 0;
        padding: 3px 5px 5px 18px;
        position: absolute;
        right: -25px;
        top: 102px;
        width: 600px;
        z-index: 20;
    }

        #navigation li.level-1
        {
            float: left;
            list-style: none;
            margin: 0 25px 0 0;
            position: relative;
        }

            #navigation li.level-1 a
            {
                color: #FFF;
                display: block;
                font-size: 14px;
                text-decoration: none;

                text-shadow: 1px 1px 1px #222;
            }

            #navigation li.level-1 a:hover
            {
                color: #F7D655;
            }

            #navigation li.level-1.current > a
            {
                color: #F7D655;
            }

            #navigation ul
            {
                background: #274582;
                display: none;
                left: 0;
                margin: 0;
                padding: 5px 12px;
                position: absolute;
                top: 35px;
                width: 230px;

                border-bottom-left-radius: 10px;
                border-bottom-right-radius: 10px;

                -o-border-bottom-left-radius: 10px;
                -o-border-bottom-right-radius: 10px;

                -icab-border-bottom-left-radius: 10px;
                -icab-border-bottom-right-radius: 10px;

                -khtml-border-bottom-left-radius: 10px;
                -khtml-border-bottom-right-radius: 10px;

                -webkit-border-bottom-left-radius: 10px;
                -webkit-border-bottom-right-radius: 10px;

                -moz-border-radius: 0 0 10px 10px;

                filter: alpha(opacity=95); /* internet explorer */
                -khtml-opacity: 0.95;      /* khtml, old safari */
                -moz-opacity: 0.95;       /* mozilla, netscape */
                opacity: 0.95;           /* fx, safari, opera */


                /*-o-box-shadow: 3px 3px 3px #000;
                -icab-box-shadow: 3px 3px 3px #000;
                -khtml-box-shadow: 3px 3px 3px #000;
                -moz-box-shadow: 3px 3px 3px #000;
                -webkit-box-shadow: 3px 3px 3px #000;
                box-shadow: 3px 3px 3px #000;*/

            }
            
            #navigation li:last-child ul,
            #navigation li.last-child ul
            {
                left: auto;
                right: -61px;
            }

            #navigation li.level-1:hover ul
            {
                display: block;
            }

                #navigation ul li
                {
                    list-style: none;
                }

                #navigation li.level-1 ul li a
                {
                    color: #FFF;
                    font-size: 13px;
                    font-weight: normal;
                    line-height: 1;
                    padding: 5px 0;
                }

                #navigation li ul li.current_page_item a
                {
                    color: #F7D655;
                    font-weight: bold;
                }

    #header-img
    {
        bottom: -49px;
        position: absolute;
        right: -25px;
        z-index: 10;
    }

#sidebar
{
    background: #F1F1F1 url(img/sidebar-bg.png) no-repeat;
    float: left;
    margin-left: 10px;
    width:321px;

    min-height:349px;
    height:auto !important;
    height:349px;
}

#sidebar-partner-logo
{
    width: 143px;
    height: 42px;
    position: absolute;
    bottom: 95px;
    left: 88px;
}

    #home-link
    {
        display: block;
        height: 149px;
        left: 165px;
        position: absolute;
        top: 10px;
        width: 174px;
    }
    #home-link img
    {
        border: none;
    }

    #sub-navigation
    {
        list-style: none;
        margin: 10px 30px 10px 30px;
        padding: 0;
    }

            #sub-navigation li a
            {
                border-bottom: 1px dotted #CCC;
                color: #004EA0;
                display: block;
                font-size: 13px;
                line-height: 1;
                padding: 10px 0;
                text-decoration: none;
            }

            #sub-navigation li.last a
            {
                border-bottom: none;
                color: #004EA0;
                display: block;
                font-size: 13px;
                line-height: 1;
                margin-bottom: 5px;
                padding: 7px 0;
                text-decoration: none;

            }

            #sub-navigation li a:hover, #sub-navigation li.current a
            {
                color: #000;
                font-weight: bold;
            }

    #meta-navigation
    {
        left: 20px;
        list-style: none;
        margin: 0;
        padding: 0 10px;
        position: absolute;
        text-align: center;
        top: 23px;
        width: 346px;
    }

        #meta-navigation li
        {
            float: left;
            line-height: 50px;
        }

            #meta-navigation li a
            {
                color: #004EA0;
                display: block;
                font-size: 11px;
                height: 30px;
                line-height: 35px;
                margin: 0 5px;
                padding: 0 0 0 35px;
                text-decoration: none;
            }

            #meta-navigation li a:hover
            {
                color: #000;
            }

            #meta-navigation li img
            {
                vertical-align: middle;
            }

            #meta-home-link
            {
                background: url(img/house-icon.png) no-repeat;
            }

            #meta-agb-link
            {
                background: url(img/article-icon.png) no-repeat;
            }

#content
{
    color: #444;
    float: right;
    margin: 0 10px 0 0;
    padding: 60px 25px 15px 10px;
    width: 580px;

    min-height:254px;
    height:auto !important;
    height:254px;
}

#footer
{
    background: #F7D655 url(img/footer-bg.png) no-repeat;
    color: #004EA0;
    clear: both;
    height: 80px;
    position: relative;
    text-align: center;
    width: 980px;
}

    #footer p
    {
        line-height: 26px;
        margin: 0;
        padding: 0;
    }

    #footer-content
    {
        position: absolute;
        font-size: 11px;
        right: 30px;
        top: 12px;
    }



.clear { clear: both; font-size: 0; }

h1#page-title
{
    color: #004EA0;
    font-size: 24px;
    font-weight: normal;
    line-height: 1;
    margin: 0 0 20px 0;
}

h2
{
    font-family: Helvetica, Arial sans-serif;
    font-size: 16px;
}


.contact-list
{
    clear: both;
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li
{
    background: #FFF url(img/vcard.png) no-repeat;
    float: left;
    font-size: 11px;
    margin: 0 -20px 10px 0;
    padding: 17px 15px;
    width: 180px;
    height: 230px;
}

.passbild
{
    margin: 8px 0 -7px 0;
    padding: 0 0 0 0;
    width: 140px;
    height: 120px;
}



.form-table span.wpcf7-not-valid-tip-no-ajax
{
    color:#FF0000;
    display:block;
    font-size:11px;
}


.form-table td
{
    vertical-align: top;
    padding-right: 10px;
    padding-bottom: 15px;
}
.form-table .ajax-loader
{
    display: none;
}

.form-table select, .form-table input, .form-table textarea
{
    background: white none repeat scroll 0 0;
    border: 1px solid #CCCCCC;
    margin: 3px 0 0 0;
    padding: 3px;
    width: 300px;
}
.form-table select
{
    width: auto;
}
.form-table .submit
{
    width: auto;
}
input:active, input:focus, input:hover, textarea:active, textarea:hover
{
    background: #F3F3F3 none repeat scroll 0 0;
}

.form-table label
{
    display: block;
    margin-top: 5px;
}

input[type=submit], label, select
{
    cursor: pointer;
}

body div.wpcf7-validation-errors {
    color: #F7E700;
    border:2px solid #F7E700;
}




/** normally hidden but will appear when css disabled */
.skip,
.noCss {
  position: absolute;
  left: -9999px;
}

/**
  Minimum theme requirements as per http://codex.wordpress.org/CSS
*/
.aligncenter,
div.aligncenter
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft
{
    float: left;
    margin: 0 10px 10px 0;
}

.alignright
{
    float: right;
    margin: 0 0 10px 10px;
}

.wp-caption
{
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    /* optional rounded corners for browsers that support it */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.wp-caption img
{
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text
{
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}

#content a
{
    color: #004EA0;
}

#content a:hover
{
    color: #E8D035;
}

