/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html {
  overflow-y: scroll;
}   
   
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Layout
   ========================================================================== */

body {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 12px;
  background-color: #ddd;
}
   
#wrapper {
  margin: auto;
  width: 840px;
  position: relative;
}

#header {
  background-color: white;
  height: 77px;
  padding: 15px;
  padding-top: 20px;
}

#header #logo {
  display: table-cell;
  vertical-align: top;
  width: 667px;
}

#header #toolplace {
  display: table-cell;
  vertical-align: top;
  color: #aaa;
}

#header #toolplace input {
  width: 100px;
  border: 1px solid #ccc;
}

#header #toolplace #headlinks {
  margin-top: 20px;
}

#header #toolplace #headlinks a {
  display: inline-block;
  margin-right: 5px;
  color: #aaa;
  
}

/*----Hide Searchbar*/
#search {
  display: none !important;
}

#header #toolplace #headlinks {
    margin-top: 25px;
}

#toolplace {
    position: absolute;
    right: 15px;
    top: 20px;
}
/*----END*/

#section {
  width: 637px;
  padding: 15px;
  padding-top: 0px;
  display: table-cell;
  background-color: #d7d7d7;
  /*
  box-shadow: 5px 5px 5px 0 #999;
  -moz-box-shadow: 5px 5px 5px 0 #999;
  -webkit-box-shadow: 5px 5px 5px 0 #999;
  */
  vertical-align: top;
}

#links {
  display: table-cell;
  vertical-align: top;
}

#kibesuisse {
  margin-top: 30px;
  margin-left: 0px;
  font-size: 0.8em;
  color: #333;
}

#kibesuisse img {
  margin-bottom: 8px;
}

#weiterebadges_vorher {
  display: none;
  margin-top: 10px;
  margin-left: 0px;
  font-size: 0.8em;
  color: #333;
}

#weiterebadges {
  margin-top: 10px;
  margin-left: 0px;
  font-size: 0.8em;
  color: #333;
}

#content {
  display: table-cell;
  padding: 15px;
  padding-right: 10px;
  vertical-align: top;
  width: 470px;
}

#content p {
  max-width: 450px;
  overflow: hidden;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

#content table td {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 20px;
  padding-left: 2px;
}

#content .zebratabelle tr.row-odd {
  background-color: #eee;
}

#content table th {
  text-align: left;
  color: #333;
}

#content table tr.thead {
  border-bottom: 1px solid #333;
}

#content table {
  margin-bottom: 15px;
  width: 100%;
}

#content table td, #content table th {
  padding-right: 10px;
  vertical-align: top;
}

#rechts {
  display: table-cell;
  padding: 15px;
  padding-right: 0;
  vertical-align: top;
}

#bilder {
  margin-bottom: 15px;
  height: 140px;
  width: 159px;
}

#boxen div.csc-default {
  margin-bottom: 15px;
}

.box .csc-textpic-image {
  /*margin-bottom: 10px !important;*/
}

#footer {
  padding-left: 20px;
  padding-top: 10px;
}

/* ==========================================================================
   Inhalt Design
   ========================================================================== */
/*
h1 {
  font-size: 12px;
  font-weight: bold;
  font-size: 1em;
}
*/
#content h1, #content h2, #content h3 {
  margin-top: 10px;
  font-weight: normal;
  font-size: 1.2em;
  color: white;
}

#content h1.csc-firstHeader {
  margin-top: 0; 
  color: white; 
  font-size: 1.4em;
  font-weight: normal;
  margin-bottom: 15px;
  border-bottom: 1px solid white;
}

#content div.box h1.csc-firstHeader {
  border-bottom: 0;
}

div#boxen h1 {
  font-size: 1em !important;
  /*background-color: #eee;*/
  padding: 5px;
  padding-left: 0;
  border-top: 1px solid #bbb;
}

div.box {
  border: 1px solid #666;
  background-color: #ccc;
  margin-bottom: 15px;
}

div.box h1 {
  color: white;
  text-transform: uppercase;
  font-weight: bold !important;
  display: block;
  background-color: #666;
  padding: 5px;
  padding-left: 5px !important;
  box-shadow: 0px 3px 3px 0 #333;
  font-size: 1em !important;
  margin-top: 0 !important;
  border-top: 0 !important;
}

div.box h2, div.box h3 {
  margin-bottom: 0;
  padding-left: 5px;
}

#content div.box.downloads h1 {
  /*margin-bottom: 20px !important;*/
}

div.box p, div.box h2, div.box ul, div.box div.csc-textpic-imagewrap {
  padding: 5px;
}

div.box table {
  margin-left: 5px;
}

#content ul li, #content ol li {
  padding-bottom: 10px;
}

#content ul li p {
  overflow: inherit;
}

div.box ul {
  margin-left: 15px;
  margin-top: 0;
  padding-top: 0;
}

div.box li {
  list-style-type: inherit;
  margin-left: 10px;
  padding-left: 0px;
}

#content div.box {
  padding-bottom: 10px;
}

a {
  color: black;
}

h1 strong, h2 strong, h3 strong {
  font-weight: normal;
}

/* ==========================================================================
   Men�
   ========================================================================== */

#menu {
  padding: 0;
  padding-top: 15px;
  margin: 0;
  width: 146px;
  padding-right: 10px;
}

#menu li {
  padding: 5px;
  padding-left: 10px;
  margin: 0;
  list-style-type: none;
  display: block;
  background-color: #bbb;
  background-position: top left;
  position: relative;
}

#menu li a { 
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

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

#menu li span {
  position: absolute;
  bottom: 3px;
  padding-left: 3px; 
  font-size: 15px;
}

#menu li.nav1_act a {
  text-decoration: underline;
}
#menu li.nav1_act span {
  color: #333;
}

#menu ul.submenue {
  padding: 0;
  margin: 0;
}

#menu ul.submenue li {
  padding: 4px;
  padding-left: 10px;
  background: none;
  background-color: #ccc;
  border-bottom: 1px dotted white;
}

#menu li.nav2_act {
  background-color: #d2f0fe;
}

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

#menu li.nav2_act span {
  color: white;
}


#menu ul.submenue li a {
  font-weight: normal;
  font-size: 0.9em;
  /*display: block;*/
}

/* ==========================================================================
   Downloadlisten
   ========================================================================== */

span.csc-uploads-description {
  padding-left: 30px;
}

 span.csc-uploads-fileName {
  /*display: none !important;*/
  padding-left: 30px;
}
 span.ce-uploads-fileName {
   /*padding-top: 5px;*/
 }

 ul.csc-uploads li, ul.ce-uploads li {
  margin-top: 0;
  margin-bottom: 10px;
  /*border-bottom: 1px dotted #009900;*/
  padding-bottom: 5px !important;
  list-style-type: none;
}

 ul.csc-uploads, ul.ce-uploads {
  margin-bottom: -15px;
  margin-left: 0px !important;
  margin-right: 5px;
  padding-top: 5px !important;
}

/* ==========================================================================
   Kleinkrams
   ========================================================================== */

form#mailform {
  display: none;
}

.csc-searchResultHeader {
  font-size: 1em;
  margin-bottom: 0;
}

.csc-searchResult {
  margin-top: 5px;
}

.tx-felogin-pi1 h3 {
  display: none;
}

.tx-felogin-pi1 fieldset { 
  margin-top: 20px;
}

.tx-felogin-pi1 legend {
  display: none;
}

.tx-felogin-pi1 label {
  width: 100%;
  display: block;
}

.tx-felogin-pi1 input {
  margin-bottom: 5px;
}

.tx-felogin-pi1 input[type="submit"] {
  margin-top: 5px;
}

.csc-textpic-text p.bodytext {
  margin-top: 0;
}

.csc-textpic-caption, figcaption.image-caption {
  /*width: 105px;*/
  color: #555;
  font-size: 0.9em;
  /*letter-spacing: 0.03em;*/
}

#boxen img {
  max-width: 145px;
  height: auto;
} 

.align-center { text-align: center; }
.align-right { text-align: right; }
.align-left { text-align: left; }

table.outlinetabelle tr th {
  border: 0;
}

table.outlinetabelle tr.thead {
  /*
  border-right: 0;
  border-bottom: 1px solid gray;
  */
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
