h1 a {
    display: block;
    background-image: url("../images/header.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    width: 740px;
    height: 50px;
    text-indent: -9000px;
    margin: 30px 0;
}

h1 a:hover {
    background-position: 0 -50px;
}

h2 {
    font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
    font-size: 1.6em;
    margin-bottom: 0.1em;
}

h3 {
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 0.4em 0;
}

h4 {
    font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
    font-size: 1.2em;
    margin-bottom: 0.25em;
}

h2 a,
h3 a,
h4 a,
.current_user a.user {
    color: #222;
    text-decoration: none;
}

h2 a:hover,
h3 a:hover,
h4 a:hover,
.current_user a.user:hover {
    color: #222;
}

h2 a:link:hover,
h3 a:link:hover,
h4 a:link:hover,
.current_user a.user:hover {
    text-decoration: underline;
}

.sidebar .photo {
    height: 90px;
}

.sidebar .photo a {
    color: #222;
    text-decoration: none;
}

.sidebar .photo a:hover {
    color: #222;
    text-decoration: underline;
}

p {
    line-height: 1.6em;
}

p.near {
    margin-bottom: 0.5em;
}

p.right {
    text-align: right;
}

p img {
    vertical-align: text-top;
}

a,
a:focus,
a:hover {
    color: #d14a1a;
}

a.dim {
    color: #555;
}

a.feed {
    background-image: url("../images/feed.png");
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-top: 1px;
}

a.facebook {
    background-image: url("../images/facebook.png");
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-top: 1px;
}

.revisions {
    padding-top: 0.5em;
}

p.revision {
    background-image: url("../images/document-text.png");
    background-repeat: no-repeat;
    background-position: 0 1px;
    padding-left: 20px;
    margin-bottom: 1em;
}

p span.revision {
    background-image: url("../images/revision.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    display: block;
    position: relative;
    left: -26px;
    padding-left: 26px;
}

ul {
    list-style-type: square;
    margin-left: 1.2em;
}

p img.left {
    margin-top: 0;
}

hr.top {
    background-color: transparent;
}

label {
    font-weight: normal;
}

input, textarea {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 1em;
}

.bar {
    background-image: url("../images/menu.png");
    background-color: #fafafa;
    float: left;
}

.sections {
    list-style-type: none;
    float: left;
    margin: 0;
}

.sections li {
    float:  left;
}

.sections li a {
    display: block;
    height: 30px;
    padding: 12px 25px 0 25px;
    font-size: 1.2em;
    text-decoration: none;
    color: #222;
    background-image: url("../images/menu.png");
    background-color: #fafafa;
    border: 0;
}

.sections li a:hover {
    color: #222;
    text-decoration: underline;
}

body.login .container {
    background-image: url('../images/login.png');
    background-repeat: no-repeat;
    background-position: 230px 220px;
}

body.login .content {
    padding-bottom: 60px;
}

body.portal .sections li.portal a,
body.turnverein .sections li.turnverein a,
body.damenriege .sections li.damenriege a,
body.maennerriege .sections li.maennerriege a,
body.frauenturnverein .sections li.frauenturnverein a {
    background-color: #5487c6;
    color: white;
}

body.turnverein .sections li.turnverein a {
    background-color: #718a9b;
}

body.damenriege .sections li.damenriege a {
    background-color: #9ac654;
}

body.maennerriege .sections li.maennerriege a {
    background-color: #e94f50;
}

body.frauenturnverein .sections li.frauenturnverein a {
    background-color: #9882d7;
}

body.portal .sections li.portal a:hover,
body.turnverein .sections li.turnverein a:hover,
body.damenriege .sections li.damenriege a:hover,
body.maennerriege .sections li.maennerriege a:hover,
body.frauenturnverein .sections li.frauenturnverein a:hover {
    text-decoration: none;
}

.dropdown {
    display: none;
}

.current_user {
    text-align: right;
    padding-top: 26px;
    line-height: 1.4em;
}

.menu {
    list-style-type: none;
    margin: 0;
}

.menu li a {
    display: block;
    padding: 0.4em 0;
    text-transform: uppercase;
    color:  black;
    text-decoration: none;
    font-size: 0.9em;
}

.menu li a:hover {
    text-decoration: underline;
}

body.portal.home .menu.portal li.home a,
body.portal.archive .menu.portal li.archive a,
body.portal.events .menu.portal li.events a,
body.portal.map .menu.portal li.map a,
body.portal.photos .menu.portal li.photos a,
body.portal.links .menu.portal li.links a,
body.portal.turnshow .menu.portal li.turnshow a {
    color: #0d68bd;
}

body.turnverein.home .menu.turnverein li.home a,
body.turnverein.archive .menu.turnverein li.archive a,
body.turnverein.events .menu.turnverein li.events a,
body.turnverein.photos .menu.turnverein li.photos a,
body.turnverein.aktive .menu.turnverein li.aktive a,
body.turnverein.unihockey .menu.turnverein li.unihockey a,
body.turnverein.jugi .menu.turnverein li.jugi a,
body.turnverein.getu .menu.turnverein li.getu a,
body.turnverein.executives .menu.turnverein li.executives a,
body.turnverein.chronicle .menu.turnverein li.chronicle a,
body.events .association.turnverein {
    color: #24608a;
}

body.damenriege.home .menu.damenriege li.home a,
body.damenriege.archive .menu.damenriege li.archive a,
body.damenriege.events .menu.damenriege li.events a,
body.damenriege.photos .menu.damenriege li.photos a,
body.damenriege.aktive .menu.damenriege li.aktive a,
body.damenriege.maedchenriege .menu.damenriege li.maedchenriege a,
body.damenriege.geraeteturnen .menu.damenriege li.geraeteturnen a,
body.damenriege.executives .menu.damenriege li.executives a,
body.events .association.damenriege {
    color: #79bd0d;
}

body.maennerriege.home .menu.maennerriege li.home a,
body.maennerriege.archive .menu.maennerriege li.archive a,
body.maennerriege.events .menu.maennerriege li.events a,
body.maennerriege.aktive .menu.maennerriege li.aktive a,
body.maennerriege.faustball .menu.maennerriege li.faustball a,
body.maennerriege.executives .menu.maennerriege li.executives a,
body.maennerriege.photos .menu.maennerriege li.photos a,
body.events .association.maennerriege {
    color: #cf1a1b;
}

body.frauenturnverein.home .menu.frauenturnverein li.home a,
body.frauenturnverein.archive .menu.frauenturnverein li.archive a,
body.frauenturnverein.events .menu.frauenturnverein li.events a,
body.frauenturnverein.aktive .menu.frauenturnverein li.aktive a,
body.frauenturnverein.muki .menu.frauenturnverein li.muki a,
body.frauenturnverein.kitu .menu.frauenturnverein li.kitu a,
body.frauenturnverein.executives .menu.frauenturnverein li.executives a,
body.frauenturnverein.photos .menu.frauenturnverein li.photos a,
body.events .association.frauenturnverein {
    color: #4214c8;
}

.logo {
    margin-top: 20px;
    margin-bottom: 0;
}

.detail,
.footer,
span.detail a,
.footer h3 {
    color:  #aaa;
}

.linklist a {
    color: #222;
    text-decoration: none;
}

.linklist a:hover .detail {
    text-decoration: underline;
}

.cycle {
    overflow: hidden;
    width: 230px;
    height: 230px;
}

.errormsg {
    color: #990000;
}

#points {
    padding-top: 3px;
    text-align: center;
}

#points a {
    background-image: url("../images/point.gif");
    outline: none;
}

#points a.activeSlide {
    background-image: url("../images/point_active.gif");
}

#points a img {
    visibility: hidden;
}

#twitter {
    word-wrap: break-word;
}

body.revision ins,
body.revision del {
    padding: 0.2em 0;
    text-decoration: none;
}

body.revision ins {
    background-color: #dcf0b8;
}

body.revision del {
    background-color: #f0c0b8;
    color: #222;
}

body.chronicle .content strong {
    font-weight: normal;
    color: #24608A;
}

body.chronicle.search .field input {
    width: 442px;
}

form .field {
    margin-bottom: 8px;
}

form .field label {
    line-height: 2.2em;
}

form .field input {
    border: 1px solid #bbb;
    padding: 3px 2px;
    color: #222;
    outline: none;
    border-color: #999 #ccc #eee;
}

form .field textarea {
    line-height: 1.6em;
    border: 1px solid #bbb;
    border-color: #999 #ccc #eee;
    padding: 3px;
    outline: none;
    color: #222;
    width: auto;
    resize: vertical;
    margin: 0;
}

form.article .title input {
    width: 344px;
}

form.article .date input {
    width: 142px;
}

form.article label {
    display: block;
    padding-top: 4px;
}

form.article textarea {
    width: 500px;
}

form.attachement .title input,
form.attachement .file input {
    width: 224px;
}

form.comment .field input {
    width: 143px;
}

form.comment .message {
    background-image: url("../images/comment.gif");
    background-repeat: no-repeat;
    margin-top: 4px;
    padding: 1px;
    padding-bottom: 8px;
}

form.comment textarea {
    border: 0;
    width: 222px;
    height: 64px;
    background-color: transparent;
    color: #222;
    resize: none;
}

div#fancy_title table {
    width: auto;
}

th, td, caption {
    padding: 6px 10px 7px 1px;
    cursor: default;
}

thead th {
    font-size: 0.9em;
    text-transform: uppercase;
    background: none;
    border-bottom: 1px solid #DDDDDD;
    font-weight: normal;
}

tr.even td {
    background-color: #EFEFEF;
}

tr.child td {
    padding-top: 0;
}

