/* Start of CMSMS style sheet 'layout' */
/* layout stylesheets for www.e-competence.net */

* {
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;
	height: 100%;
	background: #fff url(images/cms/hg.jpg) 0 0 repeat-y;
	color: #333;
	margin:1em;
}

div {
	font-size: 1em;
}

img {
	border: 0;
}

a,
a:link,
a:active,
a:visited {
	text-decoration: underline;
	background-color: inherit; 
	color: #005aa9; 
}

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

a.noprint {
	text-decoration: none;
}
a.noprint img {
	padding-right:3px;
}


/*** basic layout  ***/

div#pagewrapper {
	border: 1px solid black;
	margin: 0 auto;
	width:960px;
	background-color:#fff;
	color:#000;
}


/*** header ***/

div#header {
	height:100px;
	background: #385C72 url(uploads/ecomp_old/header_background.jpg) 0 0 repeat-x;
}

div#logo {
	top:0px;
	left:0px;
	width:240px;
	height:100px;
	text-decoration:none;
}

div#slogan {
	float:right;
	top:0px;
	right:0px;
	width:285px;
	height:100px;
}

div#search {
	float:right;
	text-align:right;
}
#search, #search label, #search input {
   font-size:10pt;
   margin:0;
   padding:1px;
}
#search fieldset {
	border:none;
	margin:0;
	padding:0;
}
#search input[type=text] {
	border: 1px solid #999;
	border-color: #666 #999 #999 #666;
	background: #fff url(images/cms/verlauf.png) 0 -6px repeat-x;
}
#search input[type=submit] {
	border: 1px solid #999;
	border-color: #fa3 #c50 #c50 #fa3;
	background:#f39900;
	color:#fff;
	padding: 0 3px 0 3px;
	margin-left:1px;
}
#search input[type=text]:focus {
	border-color: #000 #333 #333 #000;
	background-position: 0 0;
}
#search input[type=submit]:hover {
	cursor:pointer;
}
#search input[type=submit]:focus,
#search input[type=submit]:active {
	background:#f00;
}

/*** Main Area ***/

div#main {
	width:100%;
	min-height:400px;
	background: url(uploads/ecomp_old/main_background.gif) repeat-y top right;
}

div#sidebar {
	float:right;
	width:140px;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
}


/*** Content ***/

div#headbuttons {
	float:right;
	margin-top:5px;
}

div#headbuttons a:hover {
	background-color:transparent;
}

div#content {
	margin: 0 140px 0 0;
	padding:10px;
}

div#content img {
	border:0px;
}

div#content img.imgCcenter {
	margin-top:10px;
	margin-bottom:10px;
}

div#content img.imgCleft {
	float:left;
	vertical-align:text-top;
	margin-right:10px;
	margin-bottom:10px;
}

div#content img.imgCright{
	float:right;
	vertical-align:text-top;
	margin-left:10px;
	margin-bottom:10px;
}

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

/* TEXT */
p {
	font-size: 1em;
	margin: 0 0 1.5em 0;
	line-height:1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
pre {
	font-family: monospace;
	font-size: 1.0em;
}
strong, b {
	font-weight:bold;
}
em, i {
	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;
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 1em 2em;
	font-size: 1em;
	line-height:1.5em;
}

div#dl dt {
	font-weight: bold;
	margin: 0 0 0.25em 3em;
}
div#dl dd {
	margin: 0 0 0 3em;
}


/*** Footer ***/

div#footer {
	clear:both;
	color: #fff;
	background-color: #005aa9;
	border-top: 1px solid #212f74;
	font-size: 1.0em;
	padding: 0;
	text-align: right;
	margin:0;
	overflow: hidden;
	width:100%;
}

div#footer ul {
	list-style: none;
	margin:0;
	padding:0;
}

div#footer li {
	margin-left:0;
	float: right;
	background-color: #005aa9;
	color : white;
}

div#footer ul#ri8 li {
	float: left;
}

div#footer ul li a {
	display: block;
	margin: 0px;
	padding: 5px 10px;
	text-decoration: none;
	color : white;
	border-left: 1px solid #212f74;
}

div#footer ul#ri8 li a {
	color : white;
	border-right: 1px solid #212f74;
}

div#footer li.menuactive {
	background-color: #f39900;
	color: white;
}

div#footer li:hover, div#footer p li.menuh, div#footer p li.menuactiveh {
	background-color: #005aa9;
	color : white;
}


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

/* relational links under content */
div.left49 {
	float: left;
	width: 49%;
}

div.right49 {
	float: right;
	width: 49%;
	text-align: right;
}

div.clr {
	clear:both;
}

/* End of 'layout' */

