/*
Theme Name: PC-Gruendau
Theme URI: http://pc-gruendau.de
Description: Das PC-Gruendau Theme für WordPress
Version: 0.5b
Author: Sebastian Habermann
Author URI: http://pc-gruendau.de
*/

/* Scrollbarfix */
html {
    height: 100%;
    border-bottom: 1px solid transparent;
}

body {
    font-family: Verdana, "Helvetica Neue", Arial, Helvetica, sans-serif;
    position: relative;
    background-image: url(images/background.png);
    background-position: center;
}

a:link, a:visited { color: #005aab; }
a:active, a:hover { color: #ff9b00; }

h1, h2, h3, h4, h5 {
    font-weight: bold; color: #005aab;
}
h1 {
    font-size: 3.25em;
    margin: 0px;
}
h2 {
    margin-top: -0.2em;
    margin-bottom: -0.25em;
}
h3, h4, h5, h6 { margin-bottom: 0; }
h4 {
    font-size: 1.333em;
}
h5, h6 {
    font-size: 1.166em;
}

p {
    line-height: 1.35;
    font-size: 1.166em;
    margin-bottom: 1em;
}

#header {
    height: 100px;
    background-color: #005aab;
}
#header a {
    text-decoration: none;
    color: #ffffff;
}
#header img {
    /* margin-right evtl auch in em angeben? */
    vertical-align: -0.9487em;
    margin-right: 0.154em;
}

#sidebar {
    text-align: right;
    background-color: #005aab;
}
#sidebar a {
    font-size: 1.333em;
}
#sidebar a:link,
#sidebar a:visited {
    text-decoration: none;
    color: #ffffff;
}

#sidebar ul > .current-menu-item > a,
#sidebar ul > .current_page_item > a,
#sidebar ul > .current-category-ancestor > a,
#sidebar ul > .current-page-ancestor > a,
#sidebar ul > .current-menu-parent > a:hover,
#sidebar ul > .current-category-parent > a:hover,
#sidebar a:active,
#sidebar a:hover {
    color: #ff9b00;
}
#sidebar ul > .current-post-parent > a {
    color: #ff9b00 !important;
}

#sidebar ul > .current-menu-parent > a,
#sidebar ul > .current-category-parent > a {
    color: #ffffff;
}

#sidebar ul {
    margin: 0; padding: 0;
    list-style-type: none;
}
#sidebar li ul {
    margin: 0;
}
#sidebar ul > li {
    font-weight: bold;
}
#sidebar ul > li ul > li {
    font-size: 0.875em;
    font-weight: normal;
}

#sidebar ul > li {
    margin-bottom: 0;
}
#sidebar ul > li:first-child {
    margin-top: 0;
}
#sidebar ul > li.menu-item-infopost {
    margin-bottom: 0.625em;
}
#sidebar ul > li {
    margin-top: 0.625em;
}
#sidebar ul > li ul > li:first-child,
#sidebar ul > li ul > li {
    margin-top: -0.25em;
}

#navigation {
    margin-right: 10px;
}

#widgets {
    margin-right: 10px;
    margin-bottom: 0em;
}

#content {
    margin-bottom: 1em;
}

#content img {
    border: 1px solid #005aab;
}

hr {
    height: 1px;
    margin-bottom: 0.375em;
}
h2+hr,
h2+.article-info+hr {
    margin-bottom: 1.75em;
}

.article h3 > a {
    text-decoration: none;
}
.article {
    margin-bottom: 1em;
}
.article-title {
    margin-bottom: 0;
}
.article-info {
    color: #666666;
    font-size: 0.8em;
    margin-left: 0.125em;
    margin-bottom: 0;
}
.article-info > a {
    text-decoration: none;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}
.alignleft {
    display: inline;
    float: left;
    margin: 0.214em 0.714em 0.5em 0;
}
.alignright {
    display: inline;
    float: right;
    margin: 0.214em 0 0.5em 0.714em;
}

.wp-caption {
    border: 1px solid #ffffff; /* #ddd; */
    text-align: center;
    background-color: #ffffff; /* #f3f3f3; */
    padding-top: 0; /* 4px; */
    /* 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: none;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 /* 0 4px 5px; */;
    margin: 0;
}

.ngg-albumoverview {
    margin-bottom: 2em;
}

th, td {
    vertical-align: top;
}

#events-table th {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #005aab;
    color: #ffffff;
}
#events-table th,
#events-table td {
    padding-right: 5px;
}

#events-table .td-date {
    width: 67px;
    padding-right: 0;
}
#events-table .td-time {
    width: 33px;
}
#events-table .td-info {
    width: 175px;
}
#events-table .td-location {
    width: 100px;
}
#events-table .td-category {
    width: 85px;
}

.vorstand {
    height: 134px;
    margin-bottom: 1rem;
}

#sponsoren img {
    border: 0;
    margin-right: 1px;
}