/*
**  last change: 2008-06-05, simplicity gmbh, pma
**
*/

/* ------------------------------------------------------
   Default "reset" configuration 
   ------------------------------------------------------ */
/* margin und padding entfernen */
* {
	margin: 0px;
	padding: 0px;
}
/* Standard Schrift, Grösse und Farbe */
body { 
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 75%;
	color: #333333;
}
table, input, textarea { 
	font-family: Arial, Helvetica, sans-serif; 
	color: #333333;
}
h1,h2,h3,h4,h5,h6 { 
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}
/* 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 #c00; 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; width: auto;}

/* Rand bei Bildern mit Links entfernen */
img { border: 0px; }

/* ------------------------------------------------------
   Überschriften 
   ------------------------------------------------------ */
h1 { 
	font-family: Times New Roman, serif;
	font-size: 1.6em;
	font-weight: normal; 
	margin: 6px 0px 6px 0;
	padding-top: 0.2em;
	background: transparent;
}
h2 {
	font-size: 1.0em;
	font-weight: bold;
	margin: 6px 0px 6px 0;
	padding-top: 0.2em;
	background: transparent;
}
h3 { 
	font-size: 1.0em;
	font-weight: normal;
	margin: 6px 0px 6px 0;
	padding-top: 0.2em;
	background: transparent;
	border-bottom: 1px #999999 solid; 
}
h4,h5,h6 { 
	font-size: 1.0em;
	font-weight: bold;
	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 6px 0; }
h2.csc-firstHeader { padding-top: 0em; margin: 0 0 6px 0; }
h3.csc-firstHeader { padding-top: 0em; margin: 0 0 6px 0; }

/* ------------------------------------------------------
   Absätze und Listen
   ------------------------------------------------------ */
p {  margin: 0pt 0pt 0.5em 0pt; }
ul, ol { margin-top: 0.5em; margin-bottom: 0.5em;  margin-left: 1em; }
li { margin-left: 1.5em; line-height: 1.4em; margin-bottom: 0.2em; }

/* ------------------------------------------------------
   Links
   ------------------------------------------------------ */	
a, a em.file  { color: #b51621; text-decoration: none; }
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 { 
	background-image: none; 
	background-repeat: no-repeat; 
	background-position: right; 
	padding-right: 0; 
}
a.internal-link { 
}
a.download { 
	background-image: url(../../templates/img/icons/document.gif); 
	background-repeat: no-repeat; 
	background-position: right; 
	padding-right: 16px; 
}
a.mail {  
	background-image: url(../../templates/img/icons/mailtolink.gif); 
	background-repeat: no-repeat; 
	background-position: left; 
	padding-left: 16px; 
}

/* 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; }
table.format1 td { padding-left: 5px; padding-right: 15px; padding-top: 3px; padding-bottom: 3px; }
table.format1 thead tr th { font-weight: bold; border-bottom: 0px solid #adadad; }
table.format1 tbody tr td { border-bottom: 1px solid #adadad; }
table.format1 tfoot tr td { border-bottom: 0px solid #fff; }

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.important { color: #b51621; }

/* 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 }

div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image { margin-bottom:3px; }
div.csc-textpic-center div.csc-textpic-imagewrap .csc-textpic-image { margin-left:0px; }
div.csc-textpic-right div.csc-textpic-imagewrap .csc-textpic-image, div.csc-textpic-intext-right-nowrap div.csc-textpic-imagewrap .csc-textpic-image, div.csc-textpic-intext-right div.csc-textpic-imagewrap .csc-textpic-image { margin-left:0px; }
div.csc-textpic-intext-right div.csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap div.csc-textpic-imagewrap { margin-left:0px !important; }