#contentwrapper {
    width: 772px;
    margin: 0 auto 20px auto;
}

/* See http://css-tricks.com/body-border-2-fade-in-with-gradient/ */

#leftedge, #rightedge {
    position: fixed;
    top: 0; bottom: 0;
    z-index: -10;
    width: 150px;
}

#leftedge {
    left: 0; 
    background: url('/cms/images/grad1.png') left center repeat-y;
}

#rightedge {
    right: 0;
    background: url('/cms/images/grad1m.png') right center repeat-y;
}

#navpane {
    float: left;
    margin: 10px 0 0 50px;
}

#navpane img {
    margin: 0 0 10px 0;
}

#nav {
    font-size: 100%;
    border-color: lightGrey;
    border-width: 1px 0 0 0;
    border-style: solid;
}

#nav ul {
    margin: 0;
    padding: 0;
    width: 145px;
    list-style-type: none;
}

#nav li {
    border-bottom: 1px solid rgb(183,183,183);
}

#nav ul>li>a:before {
    content: '+ ';
    font-weight: bold;
    margin-right: 3px;
}

#nav ul>li>ul>li>a:before {
    content: '- ';
    content: '';
    margin-right: 3px;
}

#nav ul>li>ul>li>ul>li>a:before {
    content: '~ ';
    content: '';
    margin-right: 3px;
}

#nav ul ul li {
    border-top: 1px solid rgb(183,183,183);
    border-bottom: 0;
}

#nav a {
    display: block;
    padding: 5px 10px;
    width: 125px;
    color: black;
    text-decoration: none;
}

#nav ul ul li { 
    font-size: 85%;
}

#nav ul ul ul li { 
    font-size: 100%;
}

#nav ul ul a {
    display: block;
    padding: 5px 5px 5px 30px;
    width: 110px;
    text-decoration: none;
}

#nav ul ul a:hover {
    color: #fff;
    background-color: rgb(22,112,194);
    text-decoration: none;
}

#nav ul ul ul a {
    padding: 5px 5px 5px 40px;
    width: 100px;
}

#nav ul dfn {
    display: none;
}

#nav a#currentpage {
    font-weight: normal;
    color: black;
    background-color: rgb(183,183,183);
}

/* contenido-specific styles - these rules are of course
   a violation to the principle of separating content and 
   layout but it's simpler, cleaner, safer and more reliable
   than writing a module */
#nav a[title=Stadtrat], #nav a[title=Sitemap] {
   margin-top: 20px;
}

#nav a[title=Sitemap],
#nav a[title=Impressum],
#nav a[title=Links],
#nav a[title=RSS-Feed],
#nav a[title="Geschützter Bereich"]  {
    font-size: 80%;
    color: gray;
}

#nav a[title=RSS-Feed] {
    background-image: url('/cms/upload/feed-icon-16x16.png');
    background-repeat: no-repeat;
    background-position: center right;
}

#nav a:hover {
    color: #fff;
    background-color: rgb(48,173,61);
    text-decoration: none;
}

#nav .e1a, #nav .e2a,  #nav .e3a,  #nav .e4a,  #nav .e5a {
   color: rgb(48,173,61);
}

/* end of contenido-specific styles */

#contentpane {
    border-left: 1px solid rgb(183,183,183);
    margin-left: 260px;
    padding: 10px 30px 0 30px;
    min-height: 450px;
}

/* IE will ignore the following rule */
#contentpane[id] {
    margin-left: 225px;
}

#footerpane {
    border-top: 1px solid rgb(183,183,183);
    padding: 10px 0 0 220px;
    margin: 20px 50px 0 50px;
    font-size: 85%;
    color: rgb(102,102,102);
}


