/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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: Helvetica, Verdana, Geneva, Arial, sans-serif;
   font-size: 80.01%;
   line-height: 1em;
}

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

/*
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: 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: #4e5e41; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #4e5e41;                /* a different color can be used for visited links */
}


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

/*****************
basic layout 
*****************/
body {
   background: url(images/bg.jpg) no-repeat top center;
   background-color: #80807d;   /*#ffffff*/
   margin: 1px;
}

div#container {
margin: 0 auto; 
min-width: 1285px;
max-width: 1285px;
z-index: 1;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 960px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 960px;
   color: #6b6b6b;
   float: left;
z-index: 1;
}


/*** 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: 90px;    /* adjust according your image size */  
   width: 300px;
z-index: 1;
}

div#header h1 a {
/* you can set your own image here */
   background:  url(images/logo.png) no-repeat 0 32px; 
   display: block;
   height: 90px;             /* 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#headerlinks {
float: right;
margin-top: -18px;
height: 30px;
background: none;

}




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 40px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   color: #4e5e41;
}

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

 div#content {
   margin: 0.5em auto 0em 0;   /* some air above and under menu and content */
clear: both;
z-index: 1;
}

div#banner {
margin-left: 0px;
margin-right: 185px;
height: 295px;
width: 740px;
background-color: #80807d;
z-index: 1;
}

div#contentbelow {
overflow: hidden;
height: 100%;
background: url(images/bg_contentbelow.jpg) repeat-y;
}

div#main {
   margin-left: 0px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 235px; /* and some air on the right */
   padding-left: 40px;
   padding-right: 0px;
padding-top: 10px;
z-index: 1;
}

div#maintext {
margin-right: 330px;
margin-top: -8px;
}
div#maintextgross {
margin-right: 30px;
margin-top: -8px;
width: 680px;
z-index: 2;
}

div#mainimgs_text {
float: right;
padding-left:40px;
width: 270px;
height: 200px;
}

div#mainimgs {
float: right;
width: 300px;
height: 200px;
}
div#mainimgs p.adr {
margin-left: 60px;
}


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

div#sidetext {
float: right;
width: 185px;
display: inline;
margin-right: 15px;
font-size: 11px;
margin-top: 45px;
clear:both;
}

div#outsidetext {
float:left;
margin-left: 980px;
margin-top: -182px;
}


div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   font-size: 10px;
   padding: 0;
   padding-bottom: 10px;
}

div#footerright {
float: right;
background: #4e5e41;
width: 505px;
text-align: right;
padding: 6px;
padding-right: 0px;
}

div#footerleft {
margin-right:510px;
padding: 6px;
padding-left: 0px;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* 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 */
}
div#footer a,
div#footer a:link,
div#footer a:visited {
   text-decoration: none;
   color: #FFF;
/* 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; 
}

div#footer a:hover {
   text-decoration: underline;
   background-color: inherit;
  color: #dde6bb;                /* a different color can be used for visited links */
}


/* 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
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #4e5e41; 
	font-size: 2em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
        line-height: 1.4em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
   font-weight: normal;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   font-weight: bold;
font-size: 11px;
color: #000;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#content h4 a,
div#content h4 a:link 
div#content h4 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: #000; 
}

div#content h4 a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
div#content h4 a:hover {
   text-decoration: none;
   color: #4e5e41;
}







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 */
/* 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 */

input, textarea {
display: block;
margin-top: 3px;
margin-bottom: 10px;

}

.contactform fieldset {
border: none;
}

img.floatlinks {
float: left;
margin-top: 2px;
margin-right: 10px;
margin-bottom: 10px;
}

img.floatrechtsnews {
float: right;
margin-top: -18px;
margin-right: 10px;
margin-left: 15px;
margin-bottom: 10px;

}
/* End of 'Layout: Left sidebar + 1 column' */

