/*
Theme Name: demTheme
Theme URI: http://www.millsoft.de
Author: Millsoft
Author URI: http://www.millsoft.de/
Description: A clean two columns theme with CSS only menu, custom header color chooser and a fixed header.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats, black, brown, yellow, orange, red, white, light, two-columns, right-sidebar, custom-header, custom-menu, editor-style
This theme is licensed under the GPL.
*/

/* =Structure
-------------------------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Exo+2);


body {
    background: url("img/bg.png") #fafafa;
    margin: 0px;
    padding: 0px;
    font-family: Calibri, Arial, Verdana;
}
h1,
h2,
h3,
h4 { color: #737373 }
article {
    padding-bottom: 10px;
    margin-bottom: 10px;
}
article h1 {
    font-family: 'Exo 2', verdana;
    font-size: 3.5em;
    line-height: 1em;
    font-weight: normal;
    margin: 0px 10px 10px 0px;
}

article h2,
article h3,
article h4,
article h5,
article h6
{
    font-family: 'Exo 2', Verdana ;
    font-weight: normal;
}


h1 a {
    text-decoration: none;
    color: rgb(94, 94, 155);
}
#logo_img {
    width: 37px;
    height: 47px;
    background: url(img/logo.png);
    float: left;
    margin-right: 15px;
}
article a:hover { text-decoration: underline !important }
#secondary a {
    color: blue;
    text-decoration: none;
}
#secondary ul { list-style-type: none }
#secondary ul li:before { content: "\00BB \0020" }
#thetitle {
    float: left;
    margin-right: 50px;
    margin-top: -3px;
}
/* =Menu
------------------------------------------------------------ */
.menu {
    margin-top: 20px;
    cursor: pointer;
}
nav {
    cursor: pointer;
    padding-top: 2px;
}
nav ul ul { display: none }
nav ul li:hover>ul { display: block }
nav ul ul {
    position: absolute;
    left: -1px;
    top: 98%;
}
nav ul ul ul {
    position: absolute;
    left: 99%;
    top: -2px;
}
nav ul,
nav ul ul {
    margin: 0px;
    list-style: none;
    padding: 0px 2px 2px 0px;
    background-repeat: repeat;
    border-width: 0px;
    border-style: solid;
}
nav ul table { border-collapse: collapse }
nav ul {
    float: left;
    background-image: url(img/bg80.png);
    -webkit-box-shadow: 0px 2px 2px rgba(50, 50, 50, 0.36);
    -moz-box-shadow: 0px 2px 2px rgba(50, 50, 50, 0.36);
    box-shadow: 0px 2px 2px rgba(50, 50, 50, 0.36);
    padding: 0 0px;
    border-radius: 2px 2px 2px 2px;
    list-style: none;
    position: absolute;
    display: inline-table;
}
nav ul ul ul {
    -webkit-box-shadow: 0px 0px 2px 2px rgba(50, 50, 50, 0.36);
    -moz-box-shadow: 0px 0px 2px 2px rgba(50, 50, 50, 0.36);
    box-shadow: 0px 0px 5px 1px rgba(50, 50, 50, 0.36);
}
nav ul li {
    display: block;
    margin: 0px;
    font-size: 18px;
    padding: 5px;
}
nav ul a:active,
nav ul a:focus { outline-style: none }
nav ul a,
nav ul li.dis a:hover,
nav ul li.sep a:hover {
    display: block;
    vertical-align: middle;
    text-align: left;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
    color: #545454;
    text-decoration: none;
}
nav ul span { overflow: hidden }
nav ul li { float: left }
nav ul ul li { float: none }
nav ul ul a {
    text-align: left;
    white-space: nowrap;
}
nav ul li.sep {
    text-align: left;
    padding: 0px;
    line-height: 0;
    height: 100%;
}
nav ul li.sep span {
    float: none;
    padding-right: 0;
    width: 3px;
    height: 100%;
    display: inline-block;
    background-color: #cccccc #111111 #111111 #cccccc;
    background-image: none;
}
nav ul ul li.sep span {
    width: 100%;
    height: 3px;
}
nav ul li:hover { position: relative }
nav ul li:hover>a { text-decoration: none }
nav ul li a:hover {
    position: relative;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}
nav ul li.dis a { color: #666 !important }
nav ul img {
    border: none;
    float: left;
    _float: none;
    margin-right: 2px;
    width: 16px;
    height: 16px;
}
nav ul ul img {
    width: 16px;
    height: 16px;
}

nav ul ul {
    background:white;
}

nav ul img.over { display: none }
nav ul li.dis a:hover img.over { display: none !important }
nav ul li.dis a:hover img.def { display: inline !important }
nav ul li:hover > a img.def { display: none }
nav ul li:hover > a img.over { display: inline }
nav ul a:hover img.over,
nav ul a:hover ul img.def,
nav ul a:hover a:hover ul img.def,
nav ul a:hover a:hover a:hover ul img.def,
nav ul a:hover a:hover img.over,
nav ul a:hover a:hover a:hover img.over,
nav ul a:hover a:hover a:hover a:hover img.over { display: inline }
nav ul a:hover img.def,
nav ul a:hover ul img.over,
nav ul a:hover a:hover ul img.over,
nav ul a:hover a:hover a:hover ul img.over,
nav ul a:hover a:hover img.def,
nav ul a:hover a:hover a:hover img.def,
nav ul a:hover a:hover a:hover a:hover img.def { display: none }
nav ul a:hover ul,
nav ul a:hover a:hover ul,
nav ul a:hover a:hover a:hover ul { display: block }
nav ul a:hover ul ul,
nav ul a:hover a:hover ul ul { display: none }
nav ul li { border-right: 1px solid rgba(0, 0, 0, 0.3) }
nav ul li ul li { border-right: 0px }
nav ul li:last-child { border-right: 0px }
li.current-menu-item {
    background-image: url(img/bg50.png);
    background-color: white;
    font-weight: bold;
}
li.current-menu-item ul li {
    background-image: none;
    font-weight: normal;
}

pre{
    word-wrap:break-word;
}

#content p {
    font-size: 1.2em;
    color: #252525;
}

#content img{
    max-width: 100%;
    max-height: inherit;
}
#comments { border-top: 2px solid silver }
.clear { clear: both }
#inside_header {
    min-width: 500px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    margin-top: 0px;
}
#branding {
    background: #3d547b;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 80px;
    z-index: 9999;
    -webkit-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.49);
    -moz-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.49);
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.49);
}
#branding,
#site-title a {
    color: white;
    text-decoration: none;
}
#page {
    display: block;
    margin: 0px 0px 0px 0px;
    position: absolute;
    width: 100%;
}
#primary {
    float: left;
    margin: 0 -240px 0 0;
    width: 100%;
}
#content { margin: 0 280px 0 0 }
#main {
    min-width: 400px;
    max-width: 1000px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background: #FFFFFF;
    padding: 100px 20px 10px 20px;
    -webkit-box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.29);
    -moz-box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.29);
    box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.29);
}
@media screen and (max-width: 980px) {
    #content { margin: 0px }
    #secondary { display: none }
}
/* Extra CSS for uncle Internet Exploder 9 and 10  */
@media screen and (min-width:0\0) {
    #main { padding-top: 130px }
}
#main .widget-area {
    position: relative;
    float: right;
    overflow: hidden;
    width: 220px;
}
#colophon {
    clear: both;
    display: block;
    width: 100%;
}
#footshadow {
    -webkit-box-shadow: 0px -69px 201px 27px rgba(0,0,0,0.17);
    -moz-box-shadow: 0px -69px 201px 27px rgba(0,0,0,0.17);
    box-shadow: 0px -69px 201px 27px rgba(0,0,0,0.57);
    position: fixed;
    bottom: -30px;
    width: 140%;
    z-index: -9999;
}
/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content { margin: 0 }
/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}
/* Alignment */
.alignleft {
    display: inline;
    float: left;
}
.alignright {
    display: inline;
    float: right;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* =Header
-------------------------------------------------------------- */
#site-title {
    font-size: 2em;
    font-weight: bold;
    margin: .67em 0;
}
#site-description {
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 1em;
}
/* =Menu
-------------------------------------------------------------- */
#access {
    display: block;
    float: left;
    margin: 0 auto 1em;
    width: 100%;
}
#access ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
#access li {
    float: left;
    position: relative;
}
#access a {
    display: block;
    line-height: 2em;
    padding: 0 1em;
    text-decoration: none;
}
#access ul ul {
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    position: absolute;
    top: 2em;
    left: 0;
    z-index: 99999;
}
#access ul ul ul {
    left: 100%;
    top: 0;
}
#access ul ul a {
    background: #dedede;
    line-height: 1em;
    padding: .5em .5em .5em 1em;
    width: 10em;
    height: auto;
}
#access li:hover > a,
#access ul ul :hover > a { background: #dedede }
#access ul ul a:hover { background: #cecece }
#access ul li:hover > ul { display: block }
/* =Content
-------------------------------------------------------------- */
.sticky { }
.entry-content {
    padding-left: 30px;
    padding-right: 20px;
}
.widget-title {
    background-image : url(img/bg80.png);
    color: black;
    background-repeat: repeat;
    color: gray;
    padding: 0px 2px 2px 10px;
    margin: 20px 0px 5px 0px;
    font-size: 1.2em;
    border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    border: 0px solid #000000;
}
.entry-meta {
    clear: both;
    display: block;
}
.single-author .entry-meta .byline { display: none }
#content nav {
    display: block;
    overflow: hidden;
}

.bypostauthor {
}

#content nav .nav-previous {
    float: left;
    width: 50%;
}
#content nav .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
#content #nav-above { display: none }
.paged #content #nav-above,
.single #content #nav-above { display: block }
#nav-below { margin: 1em 0 0 }
.page-link {
    clear: both;
    margin: 0 0 1em;
}
.page .edit-link {
    clear: both;
    display: block;
}
/* 404 page */
.error404 .widget {
    float: left;
    width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul { margin-right: 1em }
.error404 .widget_tag_cloud {
    clear: both;
    float: none;
    width: 100%;
}
/* Notices */
.post .notice,
.error404 #searchform {
    background: #eee;
    display: block;
    padding: 1em;
}
/* Image Attachments */
.image-attachment div.entry-meta { float: left }
.image-attachment nav {
    float: right;
    margin: 0 0 1em 0;
}
.image-attachment .entry-content { clear: both }
.image-attachment .entry-content .entry-attachment {
    background: #eee;
    margin: 0 0 1em;
    padding: 1em;
    text-align: center;
}
.image-attachment .entry-content .attachment {
    display: block;
    margin: 0 auto;
    text-align: center;
}
/* Aside Posts */
.format-aside .entry-header { display: none }
.single .format-aside .entry-header { display: block }
.format-aside .entry-content,
.format-aside .entry-summary { padding-top: 1em }
.single .format-aside .entry-content,
.single .format-aside .entry-summary { padding-top: 0 }
/* Gallery Posts */
.format-gallery .gallery-thumb {
    float: left;
    margin: 0 1em 0 0;
}
/* Image Posts */
.format-image .entry-header { display: none }
.single .format-image .entry-header { display: block }
.format-image .entry-content,
.format-image .entry-summary { padding-top: 1em }
.single .format-image .entry-content,
.single .format-image .entry-summary { padding-top: 0 }
/* =Images
-------------------------------------------------------------- */
a img { border: none }
p img {
    margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft { margin-right: 1em }
img.alignright { margin-left: 1em }
.wp-caption {
    padding: .5em;
    text-align: center;
}
.wp-caption img { margin: .25em }
.wp-caption .wp-caption-text { margin: .5em }
.gallery-caption { }
.wp-smiley { margin: 0 }
/* =Forms
-------------------------------------------------------------- */
#searchform label { display: none }
#searchform input#s { width: 60% }
input[type=button],
input[type=submit] { margin: 0px }
input[type=text],
input#s {
    margin: 0 1em 0 0;
    width: 60%;
    border: 1px solid silver;
}
textarea {
    width: 90%;
    border: 1px solid silver;
}
/* Class for labelling required form items */
.required { color: #cc0033 }
/* =Comments
-------------------------------------------------------------- */
article.comment { display: block }
#respond input[type=text] {
    display: block;
    width: 60%;
}
#respond textarea {
    display: block;
    margin: 0 0 1em;
    width: 80%;
}
#respond .form-allowed-tags {
    clear: both;
    width: 80%;
}
#respond .form-allowed-tags code { display: block }
/* =Widgets
-------------------------------------------------------------- */
.widget {
    display: block;
    padding-left: 0px;
}
.widget-area .widget_search { overflow: hidden }
.widget-area .widget_search input { float: left }
.widget ul {
    margin: 0px;
    padding: 0px 0px 0px 10px;
}
/* =Footer
-------------------------------------------------------------- */
footer a { color: blue }
#colophon {
    padding: 1em 10px 1em 10px;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
}
#footerlinks {
    text-align: center;
    color: gray;
}
#footerlinks a {
    color: gray;
    text-decoration: dotted;
}
/* =Widget Area
------------------------------------------------------------ */
#secondary {
    border-left: 1px dotted silver;
    padding-left: 10px;
}