/* Start of CMSMS style sheet 'Layout: RIBO' */
/*****************
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;
}

/*
Set initial font styles
*/
   body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
     border: 0;
}

a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #18507C;
}

a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin: 1%;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border-left: 1px solid black;
   border-right: 1px solid black;
   margin: 0 auto;       /* this centers wrapper */
   width: 980px;
   height: 100%;
   background-color: #fff;
   color: black;
}

div#header {
   width: 980px;
   height: 127px;
   margin: 0;
   padding: 0;          
}

div.gridcontainer  {
      display:inline;      
}
div.leftgrid {
      display:inline;
      padding: 0.2em;
      margin: 0.2em;
      position:relative; 
      float: left;  
}
div.centergrid {
      display:inline;
      padding: 0.2em;
      margin: 0.2em;
      position:relative; 
      float: left;     
}
div.rightgrid {
      display:inline;
      padding: 0.2em;
      margin: 0.2em;
      position:relative;
      float: left;   
}

div.gridtext {
      font-weight:bold; 
      font-size:12px;
      width: 145px;
      padding: 0.2em;
      margin: 0.2em;
      text-align: center;
      vertical-align:top;
}

div.gridfoatende {
      clear: left;
}


div.breadcrumbs {
   background: url(images/cms/schatten.jpg) no-repeat 265px 0;
   padding: 0.5em 0 1.0em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;
   margin: 0 0 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */

}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 220px;
   height: 100%;
   display: inline;  /* FIX IE double margin bug */
   padding: 0 0 0 2px;
   margin: 0 2px auto 0;
}

div#Preise a {
   font-size:12px;
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.5em 0.5em 0.5em 2.5em; /* some air for it */
   color: #18507C; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 1.4em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}
div#Preise a:hover {
   background-color: #C0C0C0;
}

div#sonderposten a {
   font-size:12px;
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.5em 0.5em 0.5em 2.5em; /* some air for it */
   color: #C67171; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 1.4em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}
div#sonderposten a:hover {
   background-color: #BEBEBE;
}

div#seitenrotation {
   width: 160px;
   padding: 1px;
   margin: 15px;
   background-color: #ccc;
}

div.InfoTextSeitenrotation {
   width: 160px;
   padding: 1px;
   margin: 15px;
   background-color: #ffffff;
}

div#Zusatzbilder {
   width: 180px;
   padding: 1px;
   margin: 15px;
   background-color: #ccc;
}

div#main {
   float: left;
   margin: 0 auto 0 auto;
   position:relative; /* puts container in front of distance */
   width: 500px;
   height: 100%;
   padding: 0 6px 10px 6px;
}

div#mainborder {
   float: left;
   width: 1px;
   height: 50em;
   padding: 0;
   margin: 0;
   background-image: url('uploads/images/Layout/spacer.gif');
   background-repeat: repeat-y;
   background-color: #ffffff;

}

.spacerH {
  position:relative;
  width: 1px;
  height: 100%;
  padding: 0;
  margin: 0;
}

div#search {
   padding: 0 0 0.8em 0;
   margin: 0;
}

div#rightsidebar {
   width: 220px;
   height: 100%;
   padding: 3px 6px 0 6px;
   margin: 0;
   font-size: 90.02%;
   vertical-align: top;
   float:left;
}

#PThumb {
        width: 120px;
        display:inline;
text-align : center;
position:relative;
}

#Mainbox-IMG {
      padding: 0;
      margin-top: 2px;
      margin-right: 8px;
      margin-bottom: 5px;
      background-color: #ECECEC;
    }

div.clear {
width: 980px;
   margin: 0;
   padding: 0;
}

div.zurueck {
   margin-left: 10px;
   margin-bottom: 10px;
}
div.vor {
   margin-left: 10px;
   margin-bottom: 10px;
}

div#footer {
   max-width: 980px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 980px;
   background-color: #ECECEC;
   margin: 0;
   border-bottom: 1px solid black;
   border-top: 1px solid #ccc;
}

div#footer p {
   font-size: 0.8em;
   padding: 0.6em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   border-bottom: 1px dotted #000;
   margin: 3px 22px 10px 0;
}

/***********
KONTAKTFORM
************/
.myfieldset input {
 border: 1px dotted black;
} 
.myfieldset textarea {
 border: 1px dotted black;
} 

.contactform {
padding: 1em; 
border: 1px dotted black;
background-color: whitesmoke;
} 
.contactform fieldset legend {
font-weight: bold;
} 
.contactform div {
width: 100%; 
padding: 0.25em 0 0.25em 0;
} 
.contactform div label {
display: block; width: 10em; 
} 
.required {
 color: #f00;
}
.fbsubmit {
   border: 1px solid black;
   background-color: #ccc;
   color: #385C72;
}

.fbsubmithover {
   border: 1px solid black;
   background-color: #C3D4DF;
   color: #385C72;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

.pagebutton {
   font-size: 90.01%;
   border: 1px solid black;
   background-color: #ccc;
   color: #385C72;
}

.pagebuttonhover {
   font-size: 90.01%;
   border: 1px solid black;
   background-color: #C3D4DF;
   color: #385C72;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
 	color: #294B5F;
	font-size: 1.3em; 
	text-align: right; 
	padding-left: 2.5em;
	padding-bottom: 1px;
        line-height: 1.5em;
        margin: 0 1em 0.5em ;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */

div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#rightsidebar ul,
div#rightsidebar ol,
div#rightsidebar dl {
   font-size: 0.9em;
   line-height: 1.2em;
   margin: 0 0 1.5em 0;
}

div#rightsidebar ul li,
div#rightsidebar ol li {
   margin: 0 0 0.25em 2.5em;
}


/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'Layout: RIBO' */

