/*
**  last change: 2008-11-11, simplicity gmbh, pma
**
*/

/* ------------------------------------------------------
   Default "reset" configuration 
   ------------------------------------------------------ */
/* margin und padding entfernen */
* {
	margin: 0px;
	padding: 0px;
}
/* Standard Schrift, Grösse und Farbe */
body { 
	font-family: Georgia, Baskerville, Arial, Helvetica, sans-serif; 
	font-size: 14px;
	line-height: 1.3;
	color: #666;
}
table,
input,
textarea { 
	font-family: Georgia, Baskerville, Arial, Helvetica, sans-serif;
	color: #666;
}
/* Special tag styles */
strong,b   { font-weight: bold; }
em,i   { font-style: italic; }
pre, code  { font-family: "Courier New", Courier, monospace; }
acronym, abbr { 
	border-bottom: 1px dashed #333; 
	cursor: help;
}
address  { 
	font-style: normal;
	line-height: 1.5em; 
	margin: 0 0 1em 0;
}
hr { 
	color: #fff;
	border-bottom: 1px #eee solid; 
	background: transparent; 
	margin: 0 0 0.5em 0; 
	padding: 0 0 0.5em 0; 
	border:0;
}
pre,
blockquote,
cite { 
	margin: 0 0 1em 1.5em; 
	font-size: 0.93em; 
	width: auto;
}

/* Rand bei Bildern mit Links entfernen */
img { border: 0px; }

/* ------------------------------------------------------
   Überschriften 
   ------------------------------------------------------ */
h1,h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}
h3,h4,h5,h6 { 
	font-family: Georgia, Baskerville, Arial, Helvetica, sans-serif;
	font-weight: normal;
}
h1 { 
	font-size: 15px; 
	margin: 24px 0px 6px 0; 
	padding-top: 0.2em;
	background: transparent;
	text-align: center;
	font-weight: normal;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 1px;
}
h2 {
	font-size: 15px; 
	font-weight: normal;
	color: #333;
	margin: 24px 0px 6px 0; 
	padding-top: 0.2em;
	background: transparent;
	text-transform: uppercase;
}
h3 { 
	font-size: 14px; 
	font-weight: bold;
	color: #666;
	margin: 6px 0px 6px 0; 
	padding-top: 0.2em;
	background: transparent; 
}
h4,h5,h6 { 
	font-size: 13px; 
	font-weight: bold;
	color: #666;
	margin: 0 0 0.05em 0; 
	padding-top: 0.2em;
	background: transparent;
}
/* Erste Überschriften ohne top padding */
h1.csc-firstHeader { 
	padding-top: 0em; 
	margin: 0 0 15px 0;
}
h2.csc-firstHeader { 
	padding-top: 0em; 
	margin: 0 0 6px 0;
}
h3.csc-firstHeader { 
	padding-top: 0em; 
	margin: 1px 0 6px 0;
}

/* ------------------------------------------------------
   Absätze und Listen
   ------------------------------------------------------ */
p { 
	margin: 2px 0pt 0.5em 0pt;
}
p.bodytext {
	padding: 5px 0 0 0;
}
p.csc-caption {
	margin: 5px 0 0 0;
	font-size: 11px;
}
ul, ol { 
	margin-top: 0.5em; 
	margin-bottom: 0.5em; 
	margin-left: 1em;
	list-style-type: circle;
}
li { 
	margin-left: 1.5em;
	line-height: 1.4em;
	margin-bottom: 0.2em;
}

/* ------------------------------------------------------
   Links
   ------------------------------------------------------ */	
a, a em.file  { 
	color: #333333;
	text-decoration: underline;
}
a:hover { 
	color: #333333;
	text-decoration: underline;
	background: transparent;
}
a:focus { 
	text-decoration: underline;
	background: transparent;
}

/* von YAML */
#main a.imagelink {
	padding-left: 0;
	background: transparent;
}

/* ------------------------------------------------------
   Tabellen
   ------------------------------------------------------ */
/* Rand bei Tabellen entfernen */
table {
	border-spacing: 0; 
	border-collapse: collapse;
	width: 100%;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}
td {
	text-align: left;
	font-weight: normal;
}

/*------------------------------------------------------
  Style classes used in RTE, based on dynamiccss.css 
 ------------------------------------------------------*/

/* Link Stile */
a.external-link, a.external-link-new-window { 
}
a.internal-link { 
}
a.download { 
	background-image: url(../../templates/img/icons/document.gif); 
	background-repeat: no-repeat; 
	background-position: right; 
	padding-right: 16px; 
	display: inline-block;
}
a.mail {  
	background-image: url(../../templates/img/icons/mailtolink.gif); 
	background-repeat: no-repeat; 
	background-position: left; 
	padding-left: 16px; 
	display: inline-block;
}

/* Left, center and right alignment of text in paragraphs and cells.*/
p.align-left,
h3.align-left,
h4.align-left,
h5.align-left,
td.align-left {
	text-align: left;
}
p.align-center,
h3.align-center,
h4.align-center,
h5.align-center,
td.align-center {
	text-align: center;
}
p.align-right,
h3.align-right,
h4.align-right,
h5.align-right,
td.align-right {
	text-align: right;
}

/* Stile für ganze Absätze */
p.box-grey {
	border: 1px solid #333; 
	background-color: #e5e5e5; 
	padding: 4px 4px; 
	color: #333;
}
p.box-redborder { 
	border: 1px solid #99000; 
	padding: 4px 4px 4px 4px;
}

/* RTE table - show borders */

/* Stile für Tabellen */
table.format1 {
	border-spacing: 0px;
	border-collapse: collapse;
	width: 97%;
}
table.format1 td { 
	padding-left: 0px; 
	padding-right: 15px; 
	padding-top: 3px; 
	padding-bottom: 3px;
	vertical-align: top;
}
table.format1 th { 
	padding-left: 0px; 
	padding-right: 15px; 
	padding-top: 3px; 
	padding-bottom: 3px;
	vertical-align: top;
	font-weight: bold;
}
table.format1 thead tr td { 
	font-weight: bold; 
}
table.format1 tbody tr td { 
}
table.format1 tfoot tr td { 
}

table.format2 { 
	border-spacing: 0px; 
	border-collapse: collapse; 
	border: 1px solid #ccc; 
	background-color: #e5e5e5; 
	padding: 8px; 
}
table.format2 td { 
	padding-left: 5px; 
	padding-right: 15px; 
	padding-top: 4px; 
	padding-bottom: 4px;
}
table.format2 thead tr td { 
	font-weight: bold; 
	border-bottom: 1px solid #333;
}
table.format2 tbody tr td { 
	border-bottom: 1px solid #ccc;
}
table.format2 tfoot tr td {
	border-bottom: 0px solid #fff;
}

table.format1 td.first-col,
table.format2 td.first-col { 
	border-right: 1px solid #333333;
	padding-right: 5px;
}

/* Stile für einzelne Wörter, Textabschnitte */
span.smaller { font-size: 12px; }

/* Bildpositionierung */
img.float_left {
	float: left; 
	margin-right: 1em; 
	margin-bottom: 0.15em; 
	border:0;
}
img.float_right {
	float: right; 
	margin-left: 1em; 
	margin-bottom: 0.15em; 
	border:0;
}
img.center {
	text-align: center; 
	background: #fff; 
	padding: 4px; 
	border:1px #ddd solid;
}
img.framed {
	padding: 3px; 
	border: 1px #ddd solid; 
	background: #f4f4f4;
}

/* Behebung YAML Clearing Problem */
DIV.csc-textpic-clear { clear: none; }

div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image { margin-left: 5px; }
div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image img  { margin-top: 10px; }

div.csc-textpic-intext-left-nowrap div.csc-textpic-text p.bodytext { margin-left: 10px;}
div.csc-textpic-intext-left-nowrap div.csc-textpic-text h2, 
div.csc-textpic-intext-left-nowrap div.csc-textpic-text h3, 
div.csc-textpic-intext-left-nowrap div.csc-textpic-text h4 { margin-left: 10px;}
div.csc-textpic-intext-left-nowrap div.csc-textpic-text table.format1 { float: right;}

div.csc-textpic-left div.csc-textpic-imagewrap .csc-textpic-image, 
div.csc-textpic-intext-left-nowrap div.csc-textpic-imagewrap .csc-textpic-image, 
div.csc-textpic-intext-left div.csc-textpic-imagewrap .csc-textpic-image { margin-right: 0px; }