/* Start of CMSMS style sheet 'LayoutMatthiasBasics' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

.linkMitPfeil{
   background: url(images/cms/Pfeil03.gif) no-repeat; 
   padding-left: 12px;
   padding-bottom: 3px;
   /*text-indent: 12px;*/
}

/*
Set initial font styles
*/

body {
   font-family: Arial, Geneva, Verdana, Helvetica, sans-serif;
/*font-size mainly for IE6 on Windows, reduces default 16px to ca. 11px*/
   font-size: 75%;
   background-color: #ccc;
   margin:0.5em 1em 0em 1em; /* gives some air for the pagewrapper */
}


html>body {
/*for Firefox, Safari, IE7, Opera and other modern browsers*/
   font-size: 12px;
}

/*
set font size for all divs, and p's
this overrides some body rules
*/
#main div, p {
   line-height:1.5em;
   font-size:1em;
}


/*
if img is inside "a" it might be the mail-picture, no borders etc
*/
a img {
   border: 0;
   padding-left: 4px;
   padding-right: 4px;
   padding-top: 0px;
   padding-bottom: 0px;
}
img {
   border: 0;
   padding: 5px;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #000; 
   font-size: 100%;
   margin: 0 0 0 0;  /* some air around p elements */
   line-height:1.5em; /* wichtig fürs Menü!!! */
   padding: 0;
}
a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #000;
}
a:hover {
   font-size: 100%;
   text-decoration: underline;
   background-color: inherit; 
   color: #000;
}

/*****************
basic layout 
*****************/


/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width: 780px;
   max-width: 900px; /* IE wont understand these, so we will use javascript magick */
   min-width: 720px;
   background-color: #fff;
*/background: url(images/cms/back.jpg); */
   color: black;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 54px;     
}


div#headerStart {
   height: 54px;    
}

div#header h1 a {
/* you can set your own image here */
   background: url(images/cms/redesign/Matthias_rd.jpg) no-repeat; 
   display: block; 
   height: 54px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#headerStart h1 a {
/* you can set your own image here */
   background: url(images/cms/redesign/MatthiasStart_rd.jpg) no-repeat; 
   display: block; 
   height: 54px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/*div kreuz: nur der Mittelteil des Kreuzes als float left*/
/*margin right ist negativ, weil der IE6 sonst einen Abstand baut*/
div#kreuz {
background: url(images/cms/redesign/KreuzMitte_rd.jpg) no-repeat; 
   float: left;
   width: 137px; 
   height: 23px;
   text-align: left;
   margin: 0px 0px -3px 0px;
}

div#menuMitte{
background: url(images/cms/redesign/KreuzMitteRechts_rd.jpg); 
   height: 23px;
   text-align: left;
}

div#title{
background: url(images/cms/redesign/KreuzUnten_rd.jpg) no-repeat; 
  width: 750px;
   text-align: left;
}

div#title img {
vertical-align: middle;
margin: 0 0 0 16px;
}

div#title h2 {
font-size: 1.82em;
padding-top:20px;
padding-left: 136px;
padding-bottom: 20px;
line-height: 1.1;
}

div#title h3 {
font-size: 1.43em;
padding-top:20px;
padding-left: 138px;
padding-bottom: 20px;
line-height: 1.1;
}

div#title2zeilig{
background: url(images/cms/redesign/KreuzUnten_rd.jpg) no-repeat; 
  width: 750px;
   text-align: left;
}

div#title2zeilig h2 {
font-size: 1.82em;
padding-top:20px;
padding-left: 136px;
padding-bottom: 3px;
line-height: 1.1;
}

div#title2zeilig h3 {
font-size: 1.43em;
padding-left: 136px;
padding-bottom: 5px;
line-height: 1.1;
}

div#search {
clear:both;       /* keep search below content and menu */
   width: 300px;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 10px 0px 0px 0px;
 font-size: 100%;

}

div.breadcrumbs {
   /*clear:both;*/       /* keep below content and menu */
   float: left;
   padding: 15px 0px 15px 0px; /* top, right, bottom and left */
   font-size: 11px;
   background: url(images/cms/redesign/Hintergrund.jpg); }

 div.breadcrumbs span.lastitem { 
   font-weight:bold; } 

div#print {
   padding: 5px 0px 0px 0px; /* top, right, bottom, left */
   width: 100px;
   float: right;
   font-size: 11px;
}

div#print img{
   padding: 0 0 0 0;
   margin: 0 0 0 0;

}

 div#content {
}

div#main { 
   padding-left: 70px; /* room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 5%; /* and some air on the right */
   background: url(images/cms/redesign/Hintergrund.jpg); 
}

div#mainStartseite {
   padding-left: 410px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 5px; /* and some air on the right */
   background: url(images/cms/redesign/Hintergrund.jpg); 
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 350px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   background: url(images/cms/redesign/Hintergrund.jpg) no-repeat; 
}

div#sidebarStartseite {
padding-left: 67px;
padding-right: 5px;
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 336px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   background: url(images/cms/redesign/Hintergrund.jpg) no-repeat; 
}

div#Aktuelles {
   border: 0px solid #CCCCCC; 
   background-color: #E8E8E8; 
   padding-left: 3px;
   padding-right: 2px;
   padding-top: 6px;
   padding-bottom: 6px;
margin-bottom: 12px;
}

div#Aktuelles a {
line-height: 1.8em;
}

div #Startseitenbild {
   border-left: 1px solid #CCCCCC; 
   font-size: 0.926em;
}
div #Startseitenbild img {
border: 1px solid gray;
padding: 2px;
margin-bottom: 6px;
}

div #Startseitentext {
padding-left: 15px;
padding-right: 10px;
padding-bottom: 16px;
border-left: 1px solid #CCCCCC; 
font-size: 0.97em;
}

div #Startseitentext img {
vertical-align: middle;
}


/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 365px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
    background: url(images/cms/redesign/Hintergrund.jpg) no-repeat; 
}

div#footer {
width: 100%;
   clear:both;
   padding: 7px 3px 7px 0px;
   color: #000;
background-color: #F7D54D;

}

div#footer p {
   font-size: 11px;
   text-align: right;
}

div#footer p a {
   color: #000; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/

/* HEADINGS */

div#main h1 {
   font-size: 20px; 
   line-height: 1.2em;
   padding: 0px;
}

div#main h2 {
   color: #000; 
   font-size: 1.6em; 
   padding-left: 0;
   line-height: 1.1em;
   padding: 0px;
}

div#main h3 {
   color: #000; 
   font-size: 1.4em;
   line-height: 1.2em;
   padding: 0px;
}

div#main h4 {
   color: #000; 
   font-size: 1.2em;
   line-height: 1.2em;
   padding: 0px;
}

div#main h5 {
   font-size: 1.1em;
   line-height: 1.2em;
   padding: 0px;
}
div#main h6 {
   font-size: 1empx;
   line-height: 1.2em;
font-weight: normal;
}

div#content #sidebarStartseite h2 {
   font-size: 1.25em; 
   text-align: left; 
   padding: 0px;
   line-height: 1.4em;
margin: 0px;
}

div#content #sidebarStartseite h3 {
   font-size: 1.15em; 
   text-align: left; 
   padding: 0px;
   line-height: 1.4em;
margin: 0px;
}

div#content #sidebarStartseite h4 {
   font-size: 1.15em; 
   text-align: left; 
   padding-top: 5px;
   line-height: 1.8em;
margin: 0px;
}

/* END HEADINGS */

.footerVariable{text-align: right;   font-size: 11px;}
div .topAnchor {float: left; width: 54px; height: 12px; margin-top: -10px; margin-left: 17px;}

/* TEXT */

blockquote {
   margin-left: 20px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
/*code, pre {*/
 /*white-space: pre-wrap; */      /* css-3 */
 /*white-space: -moz-pre-wrap; */ /* Mozilla, since 1999 */
 /*white-space: -pre-wrap;   */   /* Opera 4-6 */
 /*white-space: -o-pre-wrap;  */  /* Opera 7 */
 /*word-wrap: break-word;   */    /* Internet Explorer 5.5+ */
 /*font-family: "Courier New", Courier, monospace;
 font-size: 1em;}*/

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}
/* END TEXT */

/*Die ganze Sitemap-Liste*/
div#main .inhaltsverzeichnis {
/*background-color: #ffccff;*/
/*padding-left: 50px;*/
   margin-left: 52px;
}


/*Die ersten Eintraege - Level1*/
ul.inhaltsverzeichnis li{
   line-height:1.7em;
   font-size: 14px;
   font-weight: bold;
}

/*Die Level2*/
   div#main ul.inhaltsverzeichnis li li{
   line-height:1.6em;
/*margin ist die Einrückung der Liste, oben, rechts, unten, links*/
   margin: 0px 0px 0px 15px;
/*padding ist die Einrückung des Textes nach dem Listenzeichen, oben, rechts, unten, links*/
   padding: 0px 0px 0px 0px;
font-size: 12px;

}



/* ALL LISTS */
div#main ul,
div#main ol,
div#main dl {
   font-weight: normal;
   line-height:1.2em;
   margin: 0 0 0 0;
   padding: 0 0 0 0;
}

/* Erste Ebene der Listen */
div#main ul li,
div#main ol li {
/*margin ist die Einrückung der Liste, oben, rechts, unten, links*/
   margin-left: 6px;
   margin-top: 3px;
   margin-bottom: 0px;
   margin-right: 0px;
/*padding ist die Einrückung des Textes nach dem Listenzeichen, oben, rechts, unten, links*/
   padding: 0px 0px 0px 0px;
}
/* Zweite Ebene der Listen */
div#main ul ul li,
div#main ol ol li {
   font-weight: normal;
   margin: 0.0em 0.0em 0.0em 15px;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.0em 0em;
   padding: 0 0 0 0;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

td {vertical-align: top;}



.middle {
margin-left: 30px;
margin-bottom: -4px;
}


.galleryComment {font-size: 12px; font-family: arial, sans-serif;}
#galleryInstruction {font-size: 11px; font-family: arial, sans-serif; line-height: 1.1;}

div.allContent {padding-left: 1px; width: 702px; border: 1px solid black; margin-bottom: 8px; background-color: #E9E9E9;}
div.actualContent { padding-left: 2px; padding-bottom: 4px; padding-top: 4px; margin-top: 4px; background-color: #FFFFFF;}

.mailForm fieldset {padding: 1em; background-color: #E9E9E9; width: 583px;margin-bottom: 5px;} 
.mailForm fieldset legend {font-weight: bold;} 
.mailForm div {width: 100%; padding: 0.25em 0 0.25em 0.3em;} 
.mailForm div label {display: block; width: 10em; }
.mailForm div select {width: 245px;}
.mailForm div input {width: 240px; font-size: 12px; font-family: arial, sans-serif;}
.mailForm div.required {color: #000000;}
.mailForm div textarea {font-size: 12px; font-family: arial, sans-serif;}

/*das Adressfeld mit dem Adressaten, unsichtbar*/
.mailForm div.verstecktesFeld {margin-bottom: 50px; position:absolute; top:0px; left:-900px;}



div.error_message {background-color: #E1E1E1; padding: 0.05em 0em 0.2em 0.5em; margin-bottom: 0.5em;}
div.submit input {width: 100px;}
div .mailformCheckbox {width: 50px;}


/* End of 'LayoutMatthiasBasics' */

