#frmCreate .ui-datatable {
    display: inline-block;
    margin: .5em .1em;
    width: auto;
}

#frmCreate .ui-datatable th,
#frmCreate .ui-datatable td,
#frmCreate .ui-datatable-togglable .ui-datatable-header {
    border: 1px solid #666;
}

#frmCreate .ui-datatable table,
#frmCreate .ui-datatable tbody,
#frmCreate .ui-datatable .ui-datatable-separator,
#frmCreate .ui-datatable .ui-datatable-separator th,
#frmCreate .ui-datatable .ui-datatable-separator td {
    border: none !important;
}

#frmCreate .ui-datatable .ui-datatable-empty,
#frmCreate .ui-datatable .ui-datatable-empty th,
#frmCreate .ui-datatable .ui-datatable-empty td {
    background: none;
    border: none !important;
    height: 1em;
}

#frmCreate .ui-datatable td {
    vertical-align: middle; /* ELECT-9316 */
}

#frmCreate .ui-datatable-togglable .ui-datatable-header {
    font-size: 1em;
    font-weight: normal;
}

#frmCreate .ui-datatable-togglable th {
    border-top: none;
}

#frmCreate .ui-datatable-togglable.ui-state-expanded-true .ui-datatable-tablewrapper {
    display: block;
}

#frmCreate .ui-datatable-togglable.ui-state-expanded-false .ui-datatable-tablewrapper {
    display: none;
}

#frmCreate .ui-datatable-togglable .ui-datatable-header {
	padding-left: 5px !important;
}

#frmCreate .ui-datatable-togglable .ui-chkbox-box,
#frmCreate .ui-datatable-togglable .ui-chkbox-box.ui-state-focus {
    background-color: transparent !important;
    border: none;
}
#frmCreate .ui-datatable-togglable .ui-chkbox-box .ui-chkbox-icon {
    background: none transparent !important;
    font-family: FontAwesome !important;
    left: 1px;
    text-indent: 0 !important;
    top: 1px;
    text-align: center;
}

#frmCreate .ui-datatable .ui-rowgroup-header,
#frmCreate .ui-datatable .ui-datatable-sum {
    background: none repeat scroll 0 0 rgba(150, 150, 150, 0.4);
    color: #000;
	font-weight: bold;
}

#frmCreate .ui-datatable .ui-datatable-separator,
#frmCreate .ui-datatable .ui-datatable-separator th,
#frmCreate .ui-datatable .ui-datatable-separator td {
	background: none;
}

#frmCreate .ui-datatable .ui-dt-c-rowgroup-toggler {
    padding: 0;
    text-align: center;
}
#frmCreate .ui-datatable .ui-rowgroup-toggler {
	padding: 0;
}
#frmCreate .ui-datatable .ui-rowgroup-toggler-icon {
	margin: 0 1px;
    position: inherit;
}
#frmCreate .ui-datatable-togglable .ui-chkbox-box .ui-icon-blank::before,
#frmCreate .ui-datatable .ui-rowgroup-toggler-icon.ui-icon-circle-triangle-e:before {
    content: "\f107"; /* ELECTVAPP-100, fa-angle-down statt \f067 (fa-plus) */
}
#frmCreate .ui-datatable-togglable.ui-state-blank-true .ui-chkbox-box .ui-icon-check::before,
#frmCreate .ui-datatable .ui-rowgroup-toggler-icon.ui-icon-circle-triangle-s:before {
    content: "\f106"; /* ELECTVAPP-100, fa-angle-up statt \f068 (fa-minus) */
}
#frmCreate .ui-datatable-togglable.ui-state-blank-false .ui-chkbox-box .ui-icon-blank::before {
    content: "\f00c"; /* fa-check */
}

#frmCreate .ui-datatable-togglable .ui-chkbox-box,
#frmCreate .ui-datatable .ui-rowgroup-toggler-icon {
    color: #000;
	font-size: 14pt;
	font-weight: normal;
}

#frmCreate .ui-datatable tr.ui-state-error,
#frmCreate .ui-datatable tr.ui-state-warn,
#frmCreate .ui-datatable tr.ui-state-info {
    /* NOTE, dass der 'farbige' Rahmen nicht vollständig ist, also besser weglassen. */
    border-color: inherit;
}

#frmCreate .ui-datatable-plausi-fehler {
    display: block;
}

#frmCreate .ui-datatable-plausi-fehler a {
    text-decoration: none;
}

#frmCreate .ui-datatable-plausi-fehler-target{
	margin-top: -10px;
	padding-top: 10px; 
}

#frmCreate .ui-dt-td-numeric {
    /* Cf. ELECTMUC-689 */
    max-width: 5cm;
}

#frmCreate td.ui-dt-td-numeric {
    text-align: right;
    vertical-align: middle;
}

#frmCreate .print-only {
	display: none;
}

.ui-div-summary {
	text-align: right;
	margin-right: 10px;
}

.ui-div-summary .ui-dt-c-numeric {
	display: inline-block;
}

#frmCreate .ui-datatable .ui-inputfield,
#frmCreate .ui-datatable img.keypad-trigger,
.ui-div-summary .ui-inputfield,
.ui-div-summary img.keypad-trigger {
	vertical-align: top;
}

@media print {
	@page {
		size: A4 portrait;
	}

  html, body {
   height: auto; /* ELECTBB-484 */
  }

	body {
		background: none !important;
		font-family: Helvetica, Arial, sans-serif;
		font-size: 12px;
	}

	#frmCreate\:tblStimmeingabePlausiFehler td.ui-state-error {
		white-space: nowrap !important;
	}

	#frmCreate .ui-header-entry {
		display: inherit;
	}

	#frmCreate .ui-header-entry h3 {
		margin-bottom: 0;
	}

	#frmCreate .ui-header-entry p {
		margin-top: 5px;
	}

	#frmCreate\:tblStimmeingabeContent {
		font-size: 7pt !important;
	}

	img.keypad-trigger, button {
		display: none !important;
	}

	input:not(.ui-state-error),
	.ui-widget-content {
		padding: 0 !important;
		border: none !important;
		line-height: 110%;
	}

	.ui-widget-content {
		padding: 0 !important;
		margin: 0 !important;
		background: none !important;
	}

	.ui-datatable {
		margin: 1em 0 !important;
	}

	th,
	td {
		border-color: #aaa !important;
		padding: 2px 10px !important;
		background: none !important;
		color: #000 !important;
		font-size: 7pt !important;
		line-height: 110%;
	}

	.ui-state-default:not(.ui-state-error) {
		border-color: #aaa !important;
	}

	.print-hidden,
	.ui-rowgroup-toggler-icon,
	.ui-fieldset-legend,
	.ui-dt-c-menubutton {
		display: none !important;
	}
}
