/* Start of CMSMS style sheet 'Layout-menu-innen' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

/*
  default background-color: #fffff6; change in body
  header bg-color: #bde7f7;
  footer background-color: #f4c51a ; also used to highlight the menu on hover, border
  headings color: #8d4314;
*/
* {

    margin:0;
    padding:0;
 
}

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

/*
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 {
   float:none;
   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;*/
   /* line-height: 100% */
    vertical-align: top;
   color:#1f9bed; 
}
/*
a:hover{
    background: #f4c51a;
    width: 100%;
}*/

a:visited{
   color: #1f9bed;
}



/*****************
basic layout 
*****************/
body {   
   background-color: #fffff6;
   margin:3px;    /* gives some air for the pagewrapper */ 
   text-align: center; /* Zentrierung im Internet Explorer */  
   /*color:#1f9bed;*/ /*light blue*/ /* #0030f2;*/ /* dark blue */
   color: #000000;	
   font-family: Georgia, serif;
}

/* center wrapper, min max width */
div#pagewrapper {
   width:780px;
    /*border: 1px solid #fdd168;*/
    text-align: justify;	/* Seiteninhalt wieder links ausrichten */
    margin: 0 auto;	/* standardkonforme horizontale Zentrierung */

   /*max-width: 80em;   *//* IE wont understand these, so we will use javascript magick */
   /*min-width: 60em;*/
   /*background:  #fffff0;*//*#f9f7c3;*/
   /*color: #8d4314;*/
}


/*** 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: 150px;    /* adjust according your image size */
   /*background: #385C72;  */
   background: url("uploads/images/Layout/banner_new.jpg") no-repeat center; 
   /*display: block;*/
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */ 
   /*border-bottom: 1px solid #f4c51a;*/
   padding-left: 250px;
}

img#banner{
   /*padding-left: 250px;
   margin: 0px;*/
   /*align:top;*/
   display:none;
   /*float:none;
   text-align:right;*/
}
div#header h1 a {
/* you can set your own image here */
   
}

/* position for the login box */
div#login{
   /*float: right;*/
   height: 20px;
   text-align: right;
  /* padding: 0.6em 0 0.2em 0;
   margin: 0 1em;*/
   background: #eccb43;
}

div#greet{
    float: left;
    font-weight: bold;
}

div#logout{
    float:right;
}

/* position for the search box */


div#content {
   margin: 1.5em auto 0em auto;   /* some air above and under menu and content */
  
}


div#main{
   margin-left: 147px; /*150px;*/ /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   /*margin-right: 250px;*/ /* and some air on the right */
   margin-right: 147px; /*150px;*/
   /*  margin-top: -20px;*/
}
div#foundation{
   
   color:#f4c51a;/* #bde7f7;*/ /* #edcf00;*/
   font-variant: small-caps;
   /*font-weight: bold;*/
   text-align: center;
   letter-spacing:1px;
   font-size: 120%;
   margin-bottom:8px;

}

div#main-body{
    padding-left: 30pt;
    padding-right: 30pt;
}
/*
div#main p{
   line-height: 150%;
   margin-bottom: 6px;
}
*/
div#menu_left, 
div#menu_right
{
   width: 150px;/*140px;*/     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   font-size:15% !important;
   text-align: left;
   /*margin-top:28px;*/
}

 
div#menu_left{
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   margin-left: 0;   
}

div#menu_right{
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   margin-right: 0;
   /*margin-top:35px;*/
}

div#footer{
   clear: both;     /* keep footer below content and menu */
   /*color: #8d4314;*/
   padding: 1.0em;       /* some air for footer */
   border: 1px solid #f4c51a;
   
}

div#footer #copyright p {
   font-size: 0.9em;
   font-weight: bold;
   color: #ff3300;
   text-align: center;  /* centered text */
   margin: 0px;
   /* background: #f4c51a;*/
}

/* 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
*********************/
div#main-body ul {
margin-left:0px;
padding-left: 0px;
}

/* capital letter at the beginning of a paragraph */
.firstletter { 
    float:left; 
    /*font-weight:bold;*/
    font-size:240%; 
    padding-right: 2px;
    line-height:100%;/*30px;*/ 
    padding-top:0px;
    color: #f4c51a ;
}

.firstphrase {
   font-weight: bold;
}

div#content div.essential{
    color: #f4c51a;
    vspace: 0px;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 120%;
    line-height: 130%;
    letter-spacing: 0.1em;
}
div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, h6, div#footer p a {
    /*color: #8d4314;*/
}

div#content div#title {
/* some air around the text */
	
/* set borders around header*/ 
	/*border-bottom: 1px solid #f4c51a ;*/
	/*border-left: 1.1em solid #f4c51a ; */
/* set image */
   
    line-height: 1.5em;
/* and some air under the border */
   /* margin: 1.0 0.5em 0em;*/
    
}


/************
  HEADINGS 
*************/
/* title of the page */
div#content div#title h2 {
    color: #ff3300;
    font-weight: bold;
	font-size: 1.3em; 
	text-align: left; 
	font-style: normal;
	border-bottom: 1px solid #f4c51a ; 
	 background: url(uploads/images/Layout/flag_moving_small.gif) no-repeat 5px bottom;	
	margin-bottom: 1em;
	padding-left: 30pt;
	padding-bottom: 1px;
	line-height: 1.5em;
	
}
div#content h1 {
   color:#1f9bed;
   text-align: center;
   font-size: 20px; /* font size for h1 */
   line-height: 120%;
   margin: 0 0 15px 0;
   font-weight: bold;
   font-variant: small-caps;
}

div#content h2 {
   color:#1f9bed;
   text-align: center;
   font-size: 17px; /* font size for h1 */
   font-style: italic;
   font-weight: normal;
   /*line-height: 100%;*/
   margin: 0 0 25px 0;
}


div#content h3 {
   color:#1f9bed;
   text-align: center;
   font-weight:bold;
   font-size: 17px;
   line-height: 1.4em;
   margin: 0 0 15px 0;
}

div#content h4 {
   color:#1f9bed;
   text-align: center;
   font-variant: small-caps;
   font-weight: normal;
   content:counter(level_1) ". ";
   counter-increment:level_1;
   font-size: 17px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color:#1f9bed;
   text-align: center;
   font-size: 16px;
   line-height: 140%;
   margin: 15px 0 15px 0;
}
h6 {
   color:#1f9bed;
   font-size: 17px;
   margin: 2em 0 1em 0;
}
.h7{
   color:#1f9bed;
   font-weight: bold;
   font-size: 16px;
   margin: 1.5em 0 0.8em 0;
}

.h7_light
{
   font-size: 16px;
   color:#6699ff;
}


.h8
{
   font-weight: bold;
   color: #333333;
   font-size: 1.1em;
   margin-top: 1.5em;
   margin-bottom: 0.8em;
   display: block;
}
/* END HEADINGS */

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

#main-body div
{
  line-height: 1.4em;
}
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;
}

/* capital letter at the beginning of a paragraph */
.firstletter { 
    float:left; 
    font-weight:bold;
    font-size:1.4em; 
    padding-right: 2px;
    line-height:100%;/*30px;*/ 
    padding-top:0px;
    color: #f4c51a ;
}
.firstphrase {
   font-weight: bold;
}

div#content h1 {
   text-align: center;
   font-size: 18px; /* font size for h1 */
   line-height: 120%;
   margin: 0 0 15px 0;
   font-weight: normal;
   font-variant: small-caps;
}

.blacktext {
   color: black;
}
/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
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;
}

/* 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-menu-innen' */

