/* PV-Offerte – Theme auf Basis Bootstrap 5, Farben und Header wie EWG-Verwaltung */

:root {
	--nav-h: 56px;
	--toolbar-h: 49px;
	--c-bg: #f3f5f8;
	--c-surface: #ffffff;
	--c-border: #e2e7ee;
	--c-border-strong: #cfd7e1;
	--c-text: #1f2937;
	--c-muted: #6b7280;
	--c-nav: #1e2a38;
	--c-nav-text: #c3ccd7;
	--c-primary: #1d6fb8;
	--c-primary-dark: #165a96;
	--c-primary-soft: #e8f1fa;
	--c-accent: #f5a623;
	--radius: 8px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);

	--bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bs-body-font-size: .875rem;
	--bs-body-color: var(--c-text);
	--bs-primary: #1d6fb8;
	--bs-primary-rgb: 29, 111, 184;
	--bs-link-color: #1d6fb8;
	--bs-link-color-rgb: 29, 111, 184;
	--bs-link-hover-color: #165a96;
	--bs-link-hover-color-rgb: 22, 90, 150;
	--bs-border-color: var(--c-border-strong);
}

body {
	background-color: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}

body.has-navbar {
	padding-top: var(--nav-h);
}

input {
	text-align: right;
}

.btn-primary {
	--bs-btn-bg: var(--c-primary);
	--bs-btn-border-color: var(--c-primary);
	--bs-btn-hover-bg: var(--c-primary-dark);
	--bs-btn-hover-border-color: var(--c-primary-dark);
	--bs-btn-active-bg: var(--c-primary-dark);
	--bs-btn-active-border-color: var(--c-primary-dark);
	--bs-btn-disabled-bg: var(--c-primary);
	--bs-btn-disabled-border-color: var(--c-primary);
}

.btn-outline-primary {
	--bs-btn-color: var(--c-primary);
	--bs-btn-border-color: var(--c-primary);
	--bs-btn-hover-bg: var(--c-primary);
	--bs-btn-hover-border-color: var(--c-primary);
	--bs-btn-active-bg: var(--c-primary);
	--bs-btn-active-border-color: var(--c-primary);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
	border-color: #8bb8e0;
	box-shadow: 0 0 0 .2rem rgba(29, 111, 184, .18);
}

.form-check-input:checked {
	background-color: var(--c-primary);
	border-color: var(--c-primary);
}

.app-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 1rem;
}

/* BEGIN NAVBAR (wie EWG-Verwaltung)  ***********************************************************/

.app-navbar {
	min-height: var(--nav-h);
	padding-top: 0;
	padding-bottom: 0;
	background: var(--c-nav);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
	--bs-navbar-color: var(--c-nav-text);
	--bs-navbar-hover-color: #fff;
	--bs-navbar-active-color: #fff;
}

.app-navbar .navbar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	height: var(--nav-h);
	margin-right: 1.25rem;
	padding: 0;
	color: #fff;
}

/* Logos sind JPGs mit weissem Hintergrund und sehr unterschiedlichen Seitenverhältnissen (162x126 bis 630x129) */
.brand-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	height: 44px;
	padding: 3px 6px;
	background: #fff;
	border-radius: 6px;
}

.brand-logo img {
	display: block;
	height: 38px;
	width: auto;
	max-width: 190px;
	object-fit: contain;
}

.brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.brand-title {
	font-size: 15px;
	font-weight: 600;
}

.brand-sub {
	max-width: 220px;
	overflow: hidden;
	color: #93a1b2;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.app-navbar .nav-link {
	font-size: 13.5px;
}

.app-navbar .nav-icon {
	width: 16px;
	margin-right: 6px;
	opacity: .8;
}

@media (min-width: 992px) {
	.app-navbar .navbar-nav > .nav-item > .nav-link {
		height: var(--nav-h);
		display: flex;
		align-items: center;
		padding: 0 10px;
		border-bottom: 3px solid transparent;
		border-top: 3px solid transparent;
	}

	.app-navbar .navbar-nav > .nav-item > .nav-link:hover {
		background: rgba(255, 255, 255, .07);
	}
}

.app-navbar .dropdown-menu {
	min-width: 220px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
	--bs-dropdown-link-active-bg: var(--c-primary-soft);
	--bs-dropdown-link-active-color: var(--c-primary);
	--bs-dropdown-font-size: .875rem;
}

.app-navbar .dropdown-header {
	color: var(--c-muted);
	font-size: 12px;
	line-height: 1.4;
	white-space: normal;
}

.app-navbar .dropdown-header strong {
	display: block;
	color: var(--c-text);
	font-size: 13px;
}

.user-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #3b4b5e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.app-navbar .navbar-toggler {
	border-color: rgba(255, 255, 255, .25);
	padding: .3rem .55rem;
}

@media (max-width: 991.98px) {
	.app-navbar .navbar-collapse {
		max-height: calc(100vh - var(--nav-h));
		overflow-y: auto;
		margin: 0 calc(var(--bs-gutter-x) * -.5);
		padding: .25rem calc(var(--bs-gutter-x) * .5) .75rem;
		border-top: 1px solid rgba(255, 255, 255, .1);
	}
}

@media (max-width: 575.98px) {
	.brand-logo img {
		max-width: 140px;
	}

	.brand-sub {
		max-width: 130px;
	}
}

@media (max-width: 359.98px) {
	.brand-text {
		display: none;
	}
}

/* END NAVBAR  **********************************************************************************/

/* BEGIN TOOLBAR  *******************************************************************************/

.app-toolbar {
	position: sticky;
	top: var(--nav-h);
	z-index: 1020;
	padding: .5rem 0;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
}

.is-iframe .app-toolbar {
	top: 0;
}

.panel-nav {
	gap: 2px;
	padding: 3px;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	--bs-nav-pills-link-active-bg: var(--c-primary);
	--bs-nav-pills-border-radius: 6px;
	--bs-nav-link-padding-y: .3rem;
	--bs-nav-link-padding-x: .85rem;
	--bs-nav-link-color: var(--c-muted);
	--bs-nav-link-hover-color: var(--c-text);
	--bs-nav-link-font-weight: 500;
}

.panel-nav .nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	font-size: .8125rem;
	white-space: nowrap;
}

.panel-nav .nav-link:disabled {
	opacity: .45;
}

.project-tools {
	flex: 0 1 560px;
	min-width: 0;
}

@media (max-width: 991.98px) {
	.project-tools {
		flex: 1 1 320px;
	}
}

@media (max-width: 575.98px) {
	.panel-nav {
		width: 100%;
	}

	.panel-nav .nav-link {
		flex: 1 1 0;
		min-width: 0;
		padding-left: .25rem;
		padding-right: .25rem;
	}

	.panel-nav .nav-link span {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.project-tools {
		flex-basis: 100%;
	}
}

/* END TOOLBAR  *********************************************************************************/

/* BEGIN PANELS  ********************************************************************************/

.app-panels {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.app-footer {
	padding: .5rem 0 1.5rem;
	color: var(--c-muted);
	font-size: .75rem;
	text-align: center;
}

/* Dachauswahl */
.address-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
}

.search-box {
	flex: 1 1 320px;
	max-width: 560px;
}

/* Trefferliste muss direkt neben dem Eingabefeld liegen (jQuery .siblings), Button behält trotzdem runde Ecken */
.search-box > #load_address {
	border-top-right-radius: var(--bs-border-radius);
	border-bottom-right-radius: var(--bs-border-radius);
}

.result {
	position: absolute;
	z-index: 1030;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	border-radius: .375rem;
	overflow: hidden;
}

.result:empty {
	display: none;
}

.result p {
	margin: 0;
	padding: .45rem .75rem;
	border: 1px solid var(--c-border);
	border-top: none;
	cursor: pointer;
	text-align: left;
}

.result p:hover {
	background: var(--c-primary-soft);
}

.address-note {
	color: #8a5300;
	background: #fff4e0;
	padding: .25rem .6rem;
	border-radius: 6px;
}

.map-hint {
	margin-bottom: .5rem;
	font-size: .8125rem;
}

.warning-msg {
	display: none;
}

.map {
	width: 100%;
	height: calc(100vh - var(--nav-h) - var(--toolbar-h) - 9rem);
	min-height: 360px;
	background: #e9ecef;
}

.is-iframe .map {
	height: calc(100vh - var(--toolbar-h) - 9rem);
}

.map-inactive {
	opacity: .3;
}

.roof-list {
	flex: 1 1 0;
	min-height: 300px;
	overflow-y: auto;
}

.roof-card {
	border-color: var(--c-border);
	box-shadow: var(--shadow-sm);
}

.myCanvas {
	display: flex;
	justify-content: center;
	padding: .25rem;
	margin-bottom: .5rem;
}

.myCanvas canvas {
	max-width: 100%;
	height: auto;
}

.btn-navigate {
	display: none;
}

@media (max-width: 991.98px) {
	.map {
		height: 60vh;
		min-height: 300px;
	}

	.roof-list {
		flex: none;
		min-height: 0;
		overflow: visible;
	}
}

/* Simulation */
.sim-select {
	max-width: 100%;
	color: var(--c-text);
}

.result-container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: .85rem 1.1rem;
	margin-bottom: 1.1rem;
}

.graph-label {
	width: 170px;
	max-width: 100%;
	color: var(--c-text);
	overflow-wrap: anywhere;
}

.graph-total {
	padding: .4rem .75rem;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 600;
	border: 1px solid var(--c-border);
	box-shadow: none;
	letter-spacing: .01em;
}

.result-container .graph-total,
.graph-container .graph-total {
	background: #eef3f8;
	color: #12324f;
	border-color: #d5dee8;
}

.result-container .graph-total.is-accent,
.graph-container .graph-total.is-accent {
	background: #f7ebf0;
	color: #a12851;
	border-color: #e6c9d4;
}

.graph-container {
	display: flex;
	align-items: flex-end;
	margin-bottom: 1rem;
	border-top: 1px solid transparent;
	padding-top: 8px;
	overflow-x: auto;
	gap: 6px;
	background: linear-gradient(180deg, rgba(29, 111, 184, .04), transparent 60%);
	border-radius: 12px;
	padding: 10px 8px 4px;
}

.graph-bar {
	flex-shrink: 0;
	width: 28px;
	margin-left: 0;
	text-align: center;
	font-size: .68rem;
	color: #12324f;
	border-radius: 10px 10px 4px 4px;
	line-height: 1.25;
	background: var(--bar-color, #f5a623);
	background: linear-gradient(180deg, color-mix(in srgb, var(--bar-color, #f5a623) 78%, white), var(--bar-color, #f5a623));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.chart-box {
	max-width: 100%;
	padding: 1rem 1.1rem;
	background: linear-gradient(180deg, #f7fafc, #f3f6f9);
	border: 1px solid var(--c-border);
	border-radius: 14px;
	margin-bottom: 1rem;
	box-shadow: var(--shadow-sm);
}

.sim-table td {
	font-size: .8125rem;
}

.sim-table .input-field {
	width: 80px;
}

/* Login */
.login-card {
	padding: 1.75rem;
}

.login-logo {
	max-width: 100%;
	max-height: 90px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* END PANELS  **********************************************************************************/

/* BEGIN OFFERTE (Bildschirm)  ******************************************************************/
/* nur über #table-calc ansprechen: .table-calc, .grid, .btop usw. gelten auch für die PDF-Quelle */

.offer-card {
	overflow: clip;
}

.export-source {
	height: 0;
	overflow: hidden;
}

.offer-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	padding: .65rem 1rem;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
	position: sticky;
	top: calc(var(--nav-h) + var(--toolbar-h));
	z-index: 5;
}

.is-iframe .offer-toolbar {
	top: var(--toolbar-h);
}

.offer-title {
	font-weight: 600;
}

.offer-edit-hint {
	padding: .4rem 1rem;
	background: var(--c-primary-soft);
	border-bottom: 1px solid var(--c-border);
	color: var(--c-muted);
	font-size: .75rem;
}

.offer-card:not(.editing) .show-edit,
.offer-card.editing .show-read {
	display: none !important;
}

.offer-card.editing .offer-toolbar {
	background: var(--c-primary-soft);
}

#table-print {
	overflow-x: auto;
}

#table-calc {
	--bs-table-bg: transparent;
	min-width: 680px;
	font-size: .8125rem;
}

#table-calc th,
#table-calc td {
	padding: .3rem .5rem;
	border-color: var(--c-border);
	vertical-align: middle;
}

#table-calc th:first-child,
#table-calc td:first-child {
	padding-left: 1rem;
}

#table-calc th:last-child,
#table-calc td:last-child {
	padding-right: 1rem;
}

#table-calc thead th {
	background: #f8fafc;
	color: var(--c-muted);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
}

#table-calc .btop,
#table-calc .bbottom,
#table-calc .btop-small {
	border: 0;
}

#table-calc .funderline {
	text-decoration: none;
}

#table-calc .c-text {
	width: 38%;
}

#table-calc .c-num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

#table-calc .c-unit {
	width: 1%;
	padding-left: 0;
	color: var(--c-muted);
	white-space: nowrap;
}

#table-calc .c-komm {
	color: var(--c-muted);
}

#table-calc .row-section > td {
	padding-top: .6rem;
	background: var(--c-bg);
	color: var(--c-text);
	font-weight: 600;
}

#table-calc .row-total > td {
	background: var(--c-primary-soft);
	border-top: 1px solid var(--c-text);
	font-weight: 700;
}

#table-calc .row-total .c-komm {
	color: var(--c-text);
}

#table-calc .row-note > td {
	color: var(--c-text);
}

#table-calc .fbold > td {
	font-weight: 600;
}

/* Bearbeitungsmodus */
.row-edit {
	display: none;
}

.row-read {
	display: table-row;
}

.offer-card.editing .row-edit {
	display: table-row;
}

.offer-card.editing .row-read {
	display: none;
}

#table-calc .row-edit > td {
	padding-top: .2rem;
	padding-bottom: .2rem;
}

#table-calc .row-edit .form-control {
	min-width: 64px;
	min-height: 0;
	padding: .15rem .4rem;
	font-size: .8125rem;
	line-height: 1.35;
}

#table-calc .row-edit .c-text .form-control,
#table-calc .row-edit .c-komm .form-control {
	min-width: 140px;
}

#table-calc .row-edit.is-off > td > * {
	opacity: .45;
}

#table-calc .row-edit.is-off .form-check-input {
	opacity: 1;
}

/* Kennzahlen */
.kpi-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

.kpi {
	padding: .75rem .9rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.kpi-accent {
	border-left: 3px solid #198754;
}

.kpi-label {
	color: var(--c-muted);
	font-size: .75rem;
	line-height: 1.3;
}

.kpi-value {
	margin-top: .15rem;
	font-size: 1.15rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.kpi-value small {
	color: var(--c-muted);
	font-size: .7rem;
	font-weight: 500;
}

.legend-dot {
	display: inline-block;
	width: .6rem;
	height: .6rem;
	margin-right: .25rem;
	border-radius: 2px;
}

.chart-amort {
	position: relative;
	height: 200px;
}

.chart-amort canvas,
.chart-box canvas {
	max-width: 100%;
}

/* schmal: Kennzahlen, Offerte, Diagramm untereinander – breit: Kennzahlen und Diagramm als fixierte Seitenleiste */
.calc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.offer-summary {
	display: contents;
}

.kpi-grid  { order: 1; }
.calc-offer { order: 2; min-width: 0; }
.amort-card { order: 3; }

@media (min-width: 768px) and (max-width: 1199.98px) {
	.kpi-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.calc-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		align-items: start;
	}

	.offer-summary {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		position: sticky;
		top: calc(var(--nav-h) + var(--toolbar-h) + 1rem);
		order: 3;
	}

	.is-iframe .offer-summary {
		top: calc(var(--toolbar-h) + 1rem);
	}
}

@media (min-width: 1600px) {
	.calc-layout {
		grid-template-columns: minmax(0, 1fr) 380px;
	}
}

/* Mobil: Offertzeilen als gestapelte Einträge statt breiter Tabelle */
@media (max-width: 767.98px) {
	#table-calc {
		min-width: 0;
	}

	#table-calc,
	#table-calc tbody {
		display: block;
		width: 100%;
	}

	#table-calc thead {
		display: none;
	}

	#table-calc tr.row-read,
	.offer-card.editing #table-calc tr.row-edit {
		display: grid;
		column-gap: .5rem;
		padding: .45rem 1rem;
		border-bottom: 1px solid var(--c-border);
	}

	#table-calc tr > td,
	#table-calc tr > td:first-child,
	#table-calc tr > td:last-child {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		background: none;
	}

	#table-calc .row-total > td,
	#table-calc .row-section > td {
		padding-top: 0;
		border-top: 0;
		background: none;
	}

	#table-calc tr.row-read > td:empty {
		display: none;
	}

	#table-calc tr.row-read {
		grid-template-columns: auto auto minmax(0, 1fr) auto auto;
		align-items: baseline;
	}

	#table-calc .row-read .c-text  { grid-column: 1 / 4; grid-row: 1; }
	#table-calc .row-read .c-netto { grid-column: 4; grid-row: 1; }
	#table-calc .row-read .c-unit  { grid-column: 5; grid-row: 1; }
	#table-calc .row-read .c-menge { grid-column: 1; grid-row: 2; }
	#table-calc .row-read .c-preis { grid-column: 2; grid-row: 2; }
	#table-calc .row-read .c-komm  { grid-column: 3 / 6; grid-row: 2; text-align: right; }
	#table-calc .row-read .c-note  { grid-column: 1 / -1; }

	#table-calc .row-read .c-menge,
	#table-calc .row-read .c-preis,
	#table-calc .row-read .c-komm {
		color: var(--c-muted);
		font-size: .75rem;
		font-weight: 400;
	}

	#table-calc .row-read .c-menge::before,
	#table-calc .row-read .c-preis::before {
		content: attr(data-label) " ";
	}

	#table-calc .row-read.val-in-menge .c-menge {
		grid-column: 4;
		grid-row: 1;
		color: inherit;
		font-size: inherit;
	}

	#table-calc .row-read.val-in-menge .c-menge::before {
		content: none;
	}

	#table-calc tr.row-section {
		background: var(--c-bg);
		padding-top: .6rem;
	}

	#table-calc tr.row-total {
		background: var(--c-primary-soft);
		border-top: 1px solid var(--c-text);
	}

	.offer-card.editing #table-calc tr.row-read {
		display: none;
	}

	.offer-card.editing #table-calc tr.row-edit {
		grid-template-columns: repeat(3, minmax(0, 1fr)) 2.25rem;
		row-gap: .3rem;
		padding-top: .5rem;
		padding-bottom: .5rem;
	}

	#table-calc .row-edit .c-komm::before {
		content: none !important;
	}

	#table-calc .row-edit .c-text,
	#table-calc .row-edit .c-komm {
		grid-column: 1 / -1;
	}

	#table-calc .row-edit .c-unit {
		align-self: end;
		padding-bottom: .3rem;
	}

	#table-calc .row-edit td[data-label]::before {
		content: attr(data-label);
		display: block;
		color: var(--c-muted);
		font-size: .7rem;
	}

	#table-calc .row-edit .form-control,
	#table-calc .row-edit .c-text .form-control,
	#table-calc .row-edit .c-komm .form-control {
		min-width: 0;
	}

	#table-calc tr.row-edit.row-section {
		background: var(--c-bg);
	}
}

/* END OFFERTE  *********************************************************************************/

/* BEGIN EINGABEFELDER (von PHP erzeugt)  *******************************************************/

.input-field,
.input-field-medium,
.input-field-large,
.input-field-small,
.input-field-map {
	border: 1px solid var(--bs-border-color);
	border-radius: .25rem;
	background-color: #fff;
	color: var(--bs-body-color);
	padding: .125rem .375rem;
	font-size: .8125rem;
	line-height: 1.4;
}

.input-field:focus,
.input-field-medium:focus,
.input-field-large:focus,
.input-field-small:focus,
.input-field-map:focus {
	outline: 0;
	border-color: #8bb8e0;
	box-shadow: 0 0 0 .2rem rgba(29, 111, 184, .18);
}

.input-field {
	width: 50%;
}

.input-field-medium {
	width: 90%;
}

.input-field-large {
	width: 200px;
}

.input-field-small {
	width: 60px;
	margin-left: 25px;
}

.input-field-map {
	width: 50px;
}

/* END EINGABEFELDER  ***************************************************************************/

/* BEGIN TABLES (auch von der PDF-Ausgabe verwendet)  *******************************************/

.table-header {
	font-weight: 100;
	font-size: 10px;
}

.table-title {
	font-weight: 800;
	font-size: 14px;
}

.table-field {
	text-align: left;
	font-size: 14px;
}

.table-underline {
	text-decoration: underline;
}

.pdf-title {
	font-weight: 800;
	font-size: 14px;
}

.pdf-info {
	font-size: 10px;
}

.grid {
	border: none;
}

.btop {
	border-top: 2px solid #000;
}

.btop-small {
	border-top: 1.5px solid #000;
}

.bbottom {
	border-bottom: 2px solid #000;
}

.funderline {
	text-decoration: underline;
}

.vspace {
	padding-top: 15px;
}

.aright {
	float: right;
	display: inline-block;
	text-align: right;
}

.fbold {
	font-weight: bold;
}

.table-bezeichner {
	display: inline-block;
	width: 300px;
}

.table-bezeichner0 {
	display: inline-block;
	width: 303px;
}

.table-bezeichner2 {
	display: inline-block;
	width: 600px;
}

#table-pdf_info {
	display: none;
}

/* END TABLES  **********************************************************************************/

/* BEGIN PDF-QUELLE  ****************************************************************************/
/* jsPDF-autoTable (useCss) übernimmt Schriftgrösse, Zeilenhöhe, Abstände, Linien und Farben
   aus dem berechneten CSS: Werte entsprechen dem bisherigen Layout (Bootstrap 3) */

#panel4 {
	height: 0;
	overflow: hidden;
	font-size: 10px;
	line-height: 1.42857143;
	color: #333;
	font-weight: 300;
}

:where(#panel4) td,
:where(#panel4) th {
	padding: 0;
}

:where(#panel4) td {
	font-size: 13px;
}

:where(#panel4) th {
	text-align: left;
	font-size: 9px;
	font-weight: 400;
}

#table-calc-pdf {
	width: 100%;
	margin-bottom: 20px;
}

#table-calc-pdf > thead > tr > th,
#table-calc-pdf > tbody > tr > td {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border: 1px solid #ddd;
}

#table-calc-pdf > thead > tr > th {
	vertical-align: bottom;
	border-top: 0;
	border-bottom-width: 2px;
}

#table-calc-pdf > tbody > tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

/* END PDF-QUELLE  ******************************************************************************/
