#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, monospace !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: "\f107"; /* ELECTVAPP-2016, fa-angle-down statt \f00c (fa-check) */
}
#frmCreate .ui-datatable-togglable .ui-chkbox-box .ui-icon-check::before {
    content: "\f106"; /* ELECTVAPP-2016, fa-angle-up statt \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 .ui-state-important td:nth-child(n+2) {
    font-weight: bold;
    font-size: 120%;
    padding-top: 20px;
    padding-bottom: 20px;
}

#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;
}

.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 {
	#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;
	}

  th, th span,
  td, td span,
	#frmCreate\:tblStimmeingabeContent {
		font-size: 7pt !important;
    color: #000 !important;
	}

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

	th, th span,
	td, td span {
		padding: 2px 10px !important;
		background: none !important;
		line-height: 110%;
	}

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

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

  #frmCreate .ui-datatable-togglable th {
    border-top: 1px solid #aaa;
  }

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

  #frmCreate .ui-datatable-togglable .ui-datatable-header {
		display: none !important;
	}
}
