﻿/*-------------------------------------------------------------------------------------------------------
  Fonts 
-------------------------------------------------------------------------------------------------------*/

@font-face {
    font-family: LgBestModSymbols;
    src: url("../Fonts/LgBestModSymbols.ttf");
    font-weight: normal;
    font-style: normal;
}


/* IE packt es nicht mit dem Media-Query @media screen { */

@font-face {
    font-family: BundesSans;
    src: url('../Fonts/BundesSansWeb-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: BundesSans;
    src: url('../Fonts/BundesSansWeb-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: BundesSans;
    src: url('../Fonts/BundesSansWeb-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: BundesSans;
    src: url('../Fonts/BundesSansWeb-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: BundesSerif;
    src: url('../Fonts/BundesSerifWeb-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: BundesSerif;
    src: url('../Fonts/BundesSerifWeb-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: BundesSerif;
    src: url('../Fonts/BundesSerifWeb-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: BundesSerif;
    src: url('../Fonts/BundesSerifWeb-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

@media screen {
  .nurDruck {
    visibility:collapse;
    display: none;
  }
}

@media print {
	@font-face {
		font-family: BundesSans;
		src: url('../Fonts/BundesSansOffice-Regular.ttf');
		font-weight: normal;
		font-style: normal;
	}
	
	@font-face {
		font-family: BundesSans;
		src: url('../Fonts/BundesSansOffice-Italic.ttf');
		font-weight: normal;
		font-style: italic;
	}
	
	@font-face {
		font-family: BundesSans;
		src: url('../Fonts/BundesSansOffice-Bold.ttf');
		font-weight: bold;
		font-style: normal;
	}
	
	@font-face {
		font-family: BundesSans;
		src: url('../Fonts/BundesSansOffice-BoldItalic.ttf');
		font-weight: bold;
		font-style: italic;
	}
	
	@font-face {
		font-family: BundesSerif;
		src: url('../Fonts/BundesSerifOffice-Regular.ttf');
		font-weight: normal;
		font-style: normal;
	}
	
	@font-face {
		font-family: BundesSerif;
		src: url('../Fonts/BundesSerifOffice-Italic.ttf');
		font-weight: normal;
		font-style: italic;
	}
	
	@font-face {
		font-family: BundesSerif;
		src: url('../Fonts/BundesSerifOffice-Bold.ttf');
		font-weight: bold;
		font-style: normal;
	}
	
	@font-face {
		font-family: BundesSerif;
		src: url('../Fonts/BundesSerifOffice-BoldItalic.ttf');
		font-weight: bold;
		font-style: italic;
	}
}

/*-------------------------------------------------------------------------------------------------------
  Allgemein
-------------------------------------------------------------------------------------------------------*/
 
body {
	font-family: BundesSans; 
    font-size: 9pt;
	line-height: 1.4285;
}

table {
	width: 100%;
	border-collapse: collapse;
}

/* Farbe von Links geändert, damit sie besser zu den Überschriftne im "Bundesstyle" passt */
a {
	color: #004f80;
}

hr.footnote {
	width: 51mm;
	text-align: left;
	margin-left: 0;
	clear: both;
	border-style: solid;
	border-width:0.3pt;
	border-color: black;
}


/* Bundesstyle... */
h1, h2, h3, h4, h5 {
    font-family: BundesSans;
    color: rgb(68,114,196);
    font-weight: normal;
}

h1 {
	display: block;
	font-size: 2em;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
    line-height: 20pt;
}

h2 {
	display: block;
	font-size: 1.5em;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
    line-height: 13pt;
}

h3 {
	display: block;
	font-size: 1.17em;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
	font-style: italic;
    line-height: 12pt;
}

h4 {
	display: block;
	font-size: 1em;
	margin-top: 1.33em;
	margin-bottom: 1.33em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
    line-height: 11pt;
}

h5 {
	display: block;
	font-size: .83em;
	margin-top: 1.67em;
	margin-bottom: 1.67em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
    line-height: 10pt;
}

/* Seitenumbruch */

h1, h2, h3, h4, h5 {
    page-break-after: avoid;
    page-break-inside: avoid;
}

/*-------------------------------------------------------------------------------------------------------
  Formulare 
-------------------------------------------------------------------------------------------------------*/

/* Formatierungen */

div.formular td {
	padding: 1mm;
}

table.tabelle td {
	padding: 1mm;
}

.formular .autoTrennung {
	hyphens: auto;
}

.formular p {
	margin-top: 0pt;
	margin-bottom: 0.25em;
}

.formular table tr td p {
	hyphens: auto;
}

.formular ul {
	margin-top: 0ex;
	margin-bottom: 1ex;
    padding-left: 1em;
	margin-left: 2em;
	border-left-width: 0;
}

.formular .extensionWL {
	margin-left: 0.5em;
}

div.formular > table:first-child {
	margin-top: 1em;
}

td, th {
	border: 1pt solid black;
	vertical-align: top;
}

div.group {
	border-width: 0pt 1pt 1pt 1pt;
	border-color: black;
	border-style: solid;
	padding: 2pt 1pt 1pt 1pt;
	background-color: #9AB7C9;
	font-weight: bold;
}

.groupTable tr:first-child td {
	border-top-width: 0;
}

.groupTable tr:first-child th {
	border-top-width: 0;
}

.sectionType {
	background-color: #9AB7C9;
	font-weight: bold;
}

.sectionName {
	font-weight: bold;
}

.field {
	background-color: #d9d9d9;
	text-align: left;
	padding: 1mm;
}

.mainField {
	background-color: #a9a9a9;
	text-align: left;
	padding: 1mm;
}

.formular .small {
	font-size: smaller;
}

.formular .nolink {
	font-style: italic;
	color: brown;
}

.textPattern {
	padding-left: 2px;
}

.formular .symbol {
	height: 3em;
}

.werteColBesch {
	width: 90%;
}

.firstColumn {
	width: 30mm;
	overflow: hidden;
}

.secondColumn {
	width: 2.6cm;/*2.4cm*/
	overflow: hidden;
}

.rowHeader {
	width: 0.3cm;
	overflow: hidden;
}

ul.klassenTextformatDarstellungDurchBereich {
	margin: 0px;
	padding-left: 1.5em;
}

li.bereichListe {
	line-height: 1.05;
}

.sigTabHeader {
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: lightgray;
	font-weight: bold;
}

ul.sigDesc {
	margin: 0px;
	padding-left: 2em;
	list-style: circle;
}

ol.sigDesc {
	margin: 0px;
	padding-left: 2em;
}

.sigName {
	word-wrap: break-word;
}

td.sigName {
	width: 40%;
}

.tabelle td.sigDescription {
	width: 60%;
}


.tabelle td.fmtDescription {
	width: 60%;
}


.zeichenInfo {
	float:left;
	margin-right: 0.4ex;
	margin-bottom: 0.4ex;
	min-width: 7em;
    page-break-inside: avoid;
}

.zeichenIndex {
	font-size: xx-small;
    padding: 1pt 2pt;
	border-style: solid;
	border-bottom-width: 0pt;
	border-left-width: 1pt;
	border-right-width: 1pt;
	border-top-width: 1pt;
	background-color: #d9d9d9;
	box-sizing: border-box;
}

.zeichen {
	text-align: center;
	font-family: LgBestModSymbols;
	font-style: normal;
	border: solid 1pt;
	padding: 0.4rem 0.0rem;
	font-size: large;
	box-sizing: border-box;
}

td.editorContent {
	padding: 1mm;
}

.editorContent p {
	padding-bottom: 1pt;
}

/* Seitenumbruch */

div.group {
	page-break-after: avoid;
}

div.sektion + h1 {
	page-break-before: always;
}

tr.pageBreak {
	page-break-inside: auto !important;
}

tr {
	page-break-inside: avoid;
}

h4 {
	page-break-after: avoid;
}

h4 + div.sektion {
	page-break-before: avoid;
}

tr:last-child {
	page-break-before: avoid; /* geht nur mit Prince */
}

tr:first-child {
	page-break-after: avoid; /* geht nur mit Prince */
}


/*-------------------------------------------------------------------------------------------------------
  Einleitung 
-------------------------------------------------------------------------------------------------------*/

.einleitung {
	font-family: BundesSerif;
    line-height: 1.4;
    font-size: 10pt;
}

.einleitung .special {
	font-style: italic;
	color: brown;
}

.einleitung p {
    padding-bottom: 6pt;
    margin: 0;
    hyphens: auto;
    -ms-hyphens: auto;
    orphans: 2;
    widows: 2;
}

.einleitung figure + p, .einleitung table + strong {
	    padding-top: 6pt;
}

.einleitung p.beispiel {
    font-style: italic;
    margin-left: 1.25cm;
}

.einleitung figure {
    margin: 0;
}

.einleitung img {
    width: 100%;
}

.einleitung figure div.sektion {
	font-family: BundesSans;
}

.einleitung table#farbTabelle {
	page-break-inside: auto !important;
}

.einleitung table#farbTabelle tr {
	background-color: white !important;
}

.einleitung div.formular table {
	margin: 0;
}

.einleitung div.group {
	font-family: BundesSans;
}

.einleitung figcaption, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: BundesSans;
    font-size: 8pt;
    color: rgb(68,114,196);
    width: 44mm;
	page-break-after: avoid;
	page-break-inside: avoid;
    font-weight: normal;
}

.einleitung figcaption span:first-child {
    float: left;
}

.einleitung figcaption span + span {
    padding-left: 12.5mm;
    display: block;
}

.einleitung ul {
    margin-top: 0;
}

.einleitung dt {
    font-weight: bold;
    float: left;
    margin-right: 1em;
}

.einleitung dd {
    margin-left: 2.75cm;
    padding-bottom: 6pt;
    margin-bottom: 0;
    margin-top: 0;
}

.einleitung table {
    border-collapse: collapse;
    width: 100%;
    font-size: 100%;
    page-break-inside: avoid;
}

.einleitung table tr td {
    border-color: #9cc2e5;
    border-width: 0.5pt;
    border-style: solid;
    padding-left: 1.9mm;
    padding-right: 1.9mm;
}

.einleitung tr:nth-child(even) {
    background-color: #deeaf6;
}

.einleitung figure div.formular table {
	font-size: 9pt !important;
	font-family: BundesSans;
}

.einleitung figure div.formular tr {
    background-color: #FFFFFF !important;
}

.einleitung figure div.formular td {
    border-color: black;
	border-width: 1pt;
}

.einleitung th {
    color: white;
    font-weight: bold;
    background-color: #5b9bd5;
    text-align: left;
    padding-left: 1.9mm;
    padding-right: 1.9mm;
    border: 0.5pt solid #5b9bd5;
}

.einleitung figure div.formular th {
    color: black;
    background-color: #d9d9d9;
	padding: 1mm;
	border-color: black;
	border-width: 1pt;
}

.einleitung .eingerueckt {
    margin-left: 1.25cm;
}

span.einleitung > strong {
	display: block;
	page-break-after: avoid;
}

/* Nicht mehr nur am Bildschirm, sondern auchb	beim normalen Druck (CHM). */
.einleitung {
	display: block;
	margin-right: 6cm;
}

/* HvL Bemerkung: Ist doppelt auch in PdfStyles.css vorhanden (ggf. in ChmStyles.css verschieben?) */
.einleitung h2 {
	page-break-before: right;
}

figcaption, h6 {
	height: 0;
	float: left;
	position: relative;
	left: 100%;
	margin-left: 7.5mm;
}

/*#### HvL: Nutzen unklar
@media screen {
	.fn::before {
		content: " PRINCE(";
	}

	.fn::after {
		content: ")";
	}
}
*/

