/* Start of CMSMS style sheet 'Layout: Kinder' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
#printnotice {
  display: none !important;
}

* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
   margin: 0px;
   background: #FF0000 url(/uploads/images/template/kinder_neu/bgmain.jpg);
   background-repeat: no-repeat;
   background-position: top center;
}

body.mceContentBody {
  background: #FFFFFF !important;
  letter-spacing: 0px !important;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* 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: #0072ef; 
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
}

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

div#pagewrapper {
  margin-left: auto;
  margin-right: auto;
  width: 900px;
}

div#subwrapper {
  margin-top: -50px;
  background-color: #FFFFFF;
  padding-top: 50px;
  margin-left: auto;
  margin-right: auto;
  width: 810px;
  padding-right: 10px;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 173px;    /* adjust according your image size */
}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

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

div#content {
   margin-left: 230px;
   margin-top: 20px;
}


div#main {
   margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #FFFFFF;
   margin-top: 20px;
   padding-top: 10px;
   background: #FFFFFF url(/uploads/images/template/kinder_neu/footer.png);
   background-repeat: no-repeat;
   background-position: top center;
   height: 60px;
}

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

div#footer p a {
   color: #fff; /* 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;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  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
*********************/
#content {
  text-align: justify;
  line-height: 1.3em;
  /*letter-spacing: 1px;*/
}

/* HEADINGS */

#header h1 {
  color: #FFFFFF;
  line-height: 1em;
  margin-top: 10px;
  margin-left: 20px;
  font-size: 2em;
}

#content h1, #content h2 {
      color: #0072ef;
      font-size: 1.8em; 
      text-align: left; 
      margin: 0 0 0.5em 0;
      line-height: 1.2em;
}


#content h3 {
   color: #0072ef;
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
/* END HEADINGS */

/* TEXT */

#content ul {
  list-style-type: circle;
}

blockquote {
   border: 1px solid #0072ef;
   border-left: 10px solid #0072ef;
   margin-left: 10px;
   padding: 5px;
   font-style: italic;
}
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 */
/* lists in content need some margins to look nice */
#content ul,
#content ol,
#content dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

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

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

#content dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
}


/* END LISTS */

/* TAGS */

#content div#related {
  border: 1px solid #0072ef;
  border-radius: 10px;
  -moz-border-radius: 10px;
  border-top: none;
}

#related h4 {
  background-color: #0072ef;
  padding-left: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  color: #FFFFFF;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 20px;
}

#taglist h4 {
  display: inline;
}

#taglist {
  margin-top: 10px;
}

/* BEGINN BILDER */

.leftimage {
  float: left;
  background-color: #F0F0F0;
  border: 1px solid #C0C0C0;
  padding: 10px;
  margin-right: 10px;
  text-align: center;
}

.leftimage img {
  margin-bottom: 5px;
}

.rightimage {
  float: right;
  background-color: #F0F0F0;
  border: 1px solid #C0C0C0;
  padding: 10px;
  margin-left: 10px;
  text-align: center;
}

.rightimage img {
  margin-bottom: 5px;
}


.image_caption {
  font-style: normal;
  font-size: 80%;
}

/* EDITOR-STILE */

img.leftimg {
  float: left;
  margin-right: 10px;
}

img.rightimg{
  float: right;
  margin-left: 10px;
}

.signature {
  font-style: italic;
  color: #0072ef;
  border-left: 2px solid #0072ef;
  padding-left: 5px;
}

/********************
MENU
*********************/
#menu_vert {
   padding-left: 0;
   margin-left: 0;
   float: left;
   width: 232px;
   padding-top: 20px;
   position:relative;
   left: -30px;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
   margin-bottom: 10px;
}
#menu_vert div {
  background-repeat: no-repeat;
  padding-left: 20px;
  padding-top: 10px;
  height: 24px;
}

* html #menu_vert li {
  height: 20px;
}

#menu_vert li.submenu {
  background-image: none;
  background-color: #FFFFFF;
  margin-left: 30px;
  padding-left: 0px;
}

li.submenu ul li {
  background: none !important;
  padding-top: 0px !important;
  padding-bottom: 3px !important;
  min-height: 0px !important;
  margin-bottom: 0px !important;
  height: 16px !important;
  padding-left: 5px !important;
}

#menu_vert li a {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background: none;
  text-decoration: none;
}

#menu_vert a:hover {
  background: none !important;
  text-decoration: underline;
}

li.submenu ul li h3{
  font-size: 12px;
  font-weight: bold;
  color: #000000;
}


li.submenu ul li a{
  color: #000000 !important;
  font-size: 12px !important;
  font-weight: normal !important;
}

.submenu li img {
  visibility: hidden;
}

.currentpage img {
  visibility: visible !important;
}

.currentpage h3 {
  padding-left: 12px;
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background: transparent url(/uploads/images/template/kinder/menu_item_white.png);
  background-repeat: no-repeat;
  background-position: left center;
}

.submenu h3 {
  padding-left: 0px;
}


#menu_vert ul ul ul {
  padding-bottom: 20px;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/


/* separator */
div#menu_vert li.separator {
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
   background: none !important;
   max-height: 5px !important;
   padding: 0px;
   margin: 0px;
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}

.printonly {
  display: none;
}

/* IE FIXES */

#header {
  z-index: 1000;
}

*:first-child+html #content {
  margin-top: 70px;
}

*:first-child+html #menu_vert ul li {
  overflow: visible !important;
}

*:first-child+html #menu_vert div a {
  padding-bottom: 5px;
  display: block;
  overflow: visible !important;
}

*:first-child+html #menu_vert div h3 {
  padding-bottom: 5px;
  display: block;
  overflow: visible !important;
}


*:first-child+html #menu_vert .submenu ul {
  margin-top: -20px !important;
}
/* End of 'Layout: Kinder' */

