/* structure */
body {
  margin: 20px;
  overflow-y: scroll; /* set scrollbar to always-visible (prevents layout from shaking) */
}

.ui-shadow {
  /* everyone hates shadows */
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.buttons span.glyphicon, .buttons span.octicon, .buttons span.txt-icon, .buttons span.fa, .buttons [class^="icon-"], .buttons [class*=" icon-"] {
  margin-right: 5px;
}

.buttons [class^="icon-"], .buttons [class*=" icon-"] {
  font-size: 16px;
}

.buttons span.txt-icon {
  letter-spacing: -0.7px;
}

/* growl */
.ui-growl-item-container {
  background-color: white;
}

/* header */
.navbar-header.logo {
  background-image: url("/abfohlmeldung/jakarta.faces.resource/dgfg.png.xhtml?ln=images");
  width: 136px;
  height: 50px;
}

.navbar-brand {
  font-size: 23px;
}

/* footer */
hr.footer {
  margin-top: 50px;
}

p.footer {
  font-size: 10px;
  color: gray;
  padding: 0 15px;
}

/* login */
.loginBlock {
  display: block;
  width: 450px;
  margin: 50px auto;
}

@media ( max-width: 767px) {
  .loginBlock {
    display: block;
    width: 100%;
    margin: 20px 0;
  }

  .loginBlock .ui-panelgrid .ui-grid-responsive .ui-grid-row {
    border-top: 0;
  }
}

/* table */
.ui-datatable .ui-expanded-row-content {
  background-color: #eee;
}

.ui-datatable td.buttons {
  text-align: right;
}

.ui-datatable td.buttons .btn {
  margin: 0 2px;
}

.ui-progressbar {
  height: 8px;
  width: 150px;
  margin-bottom: 0;
  margin-top: 6px;
  float: right;
}

.wertmitprogress {
  width: 250px;
}

.wertmitprogress .wert {
  white-space: nowrap;
  width: 41px;
  float: left;
  text-align: right;
  margin-right: 6px;
}

.ui-progressbar-value {
  background-color: #bbb;
}

.urgent .ui-progressbar-value {
  background-color: #d9534f;
}

.table tr {
  height: 40px;
}

.table tr.expandable {
  cursor: pointer;
}

.table tr.ui-expanded-row-content {
  cursor: initial;
}

.align-right {
  text-align: right;
}

.edit-button {
  float: right;
}

.ui-expanded-row-content .labels {
  padding-bottom: 15px;
  text-align: center;
}

/* table in panel */
.panel > .ui-datatable > .ui-datatable-tablewrapper > .table {
  margin-bottom: 0;
}

.panel-body > .ui-datatable > .ui-datatable-tablewrapper > .table {
  margin-bottom: 0;
}

/* definition lists */
.dl-horizontal {
  margin-bottom: 0;
}

.dl-horizontal.wide dt {
  width: 300px;
}

.dl-horizontal.wide dd {
  margin-left: 320px;
}

.dl-horizontal.more-space dt {
  margin-bottom: 5px;
}

.dl-horizontal.more-space dd {
  margin-bottom: 5px;
}

.top-margin {
  margin-top: 15px;
}

.dl-horizontal dt .form-group, .dl-horizontal dd .form-group, .dl-horizontal dt .radio, .dl-horizontal dd .radio,
.dl-horizontal dt .checkbox, .dl-horizontal dd .checkbox {
  margin: 0;
}

.dl-horizontal dt div.radio, .dl-horizontal dd div.radio {
  margin-left: 20px;
}

dt {
  font-weight: normal;
  color: #777;
}

.ui-expanded-row-content .buttons {
  padding-top: 30px;
}

.table > tbody > tr.ui-expanded-row-content > td {
  padding: 15px;
  padding-top: 25px;
}

.ui-dialog {
  background: white;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  margin-top: 15px;
}

.modal {
  display: block;
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999;
  background-color: gray;
  opacity: 0.5;
}

.ui-dialog .ui-dialog-content {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.ui-dialog .ui-dialog-content .dialogheader {
  border-bottom: 1px solid rgb(229, 229, 229);
  padding: 10px;
}

.ui-dialog .ui-dialog-content .dialoginhalt {
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 900px;
}

.ui-dialog .ui-dialog-content .dialoginhalt.lessContent {
  padding-top: 30px;
}

.ui-dialog .ui-dialog-content .dialogbuttons {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #eee;
}

.ui-dialog .ui-dialog-content .dialogbuttons a {
  margin-left: 10px;
}

.ui-dialog .ui-dialog-content .dialogheader h2 {
  margin-top: 15px;
}

.ui-panel-title,
.headline {
  color: #fe8d00;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.ui-dialog .ui-panel-title label {
  color: #fe8d00;
}

.ui-dialog label, .info-feldgruppe .ui-grid-row .ui-panelgrid-cell:first-child, .gray {
  color: #777;
  font-weight: normal;
}

.ui-slider-handle {
  background-color: #fe8d00;
}

.info-feldgruppe .ui-panelgrid-cell {
  line-height: 14px;
  padding: 2px 4px;
}

.info-feldgruppe tr td.ui-panelgrid-cell:first-child, .dialogeingabebereich div.ui-grid-row div.ui-panelgrid-cell:first-child,
.info-feldgruppe .ui-grid-row .ui-panelgrid-cell:first-child {
  text-align: right;
}

.info-feldgruppe label {
  margin: 2px 0;
}

.bootstrap-datetimepicker-widget {
  position: absolute;
  z-index: 10000;
}

.icon {
  display: inline-block;
  width: 30px;
  height: 30px;
}

h1 .icon {
  margin-right: 10px;
}

.icon.small {
  width: 20px;
  height: 20px;
}

.icon.large {
  width: 45px;
  height: 45px;
}

.icon.gewebe {
  background-image: url("/abfohlmeldung/jakarta.faces.resource/gewebe.svg.xhtml?ln=images");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon.arrow-right {
  background-image: url("/abfohlmeldung/jakarta.faces.resource/arrow-right.png.xhtml?ln=images");
  width: 20px;
  height: 20px;
}

.icon.arrow-down {
  background-image: url("/abfohlmeldung/jakarta.faces.resource/arrow-down.png.xhtml?ln=images");
  width: 20px;
  height: 20px;
}

.panel-title .icon {
  position: relative;
  top: 4px;
  margin-top: -4px;
}

/* messages */
.ui-message span {

}

#listenForm td[role='gridcell'] a {
  margin-left: 5px;
}

.btn span.fat {
  font-weight: bold;
}

/* radio */
.radio {
  margin-left: 20px;
}

.radio label {
  padding-left: 5px;
}

input[type="checkbox"] + label {
  padding-left: 12px;
}

table.radio {
  margin-top: 0;
  margin-bottom: 0;
}

/* datepicker */
.datepicker, .datetimepicker {
  display: initial;
}

/* backbutton (auf den Detailseiten) */
.backbutton {
  float: right;
}

/* panel */
.panel-collapsed > .panel-heading, .panel-expanded > .panel-heading {
  cursor: pointer;
}

/* autocomplete */
div.ui-autocomplete-panel {
  position: fixed;
  background-color: white;
  border: 1px solid #ccc;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

div.ui-autocomplete-panel ul.ui-autocomplete-items {
  max-height: 300px;
  overflow: scroll-x;
  padding: 0;
}

div.ui-autocomplete-panel ul.ui-autocomplete-items .ui-state-highlight {
  background-color: #fe8d00;
}

.ui-autocomplete .ui-button-icon-primary {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  margin-left: -9px;
  background-size: 100%;
  background-image: url("/abfohlmeldung/jakarta.faces.resource/arrow-down.png.xhtml?ln=images")
}

tr.wichtig {
  border-left: 10px solid #fe8d00;
}

.table > tbody > tr > td.prio,
.table > thead > tr > th.prio {
  padding: 0;
}


.table > tbody > tr > td.toggler,
.table > thead > tr > th.toggler {
  padding-left: 0px;
  padding-right: 0px;
}

div.balken {
  height: 39px;
  width: 5px;
}

div.info, .meldung.INFO .bullet {
  background-color: rgba(0, 128, 0, 0.8);
}

div.warn, .meldung.WARN .bullet {
  background-color: rgba(254, 141, 0, 0.8); /* #fe8d00 */
}

div.error, .meldung.ERROR .bullet {
  background-color: rgba(255, 0, 0, 0.8);
}

.meldung .bullet {
  display: inline-block;
  height: 10px;
  width: 10px;
  border: 1px solid rgb(128, 128, 128);
  margin-right: 5px;
}

.ui-tooltip {
  color: white;
  background-color: #fe8d00;
}

.ui-state-active .ui-icon {
  background-image: url("/abfohlmeldung/jakarta.faces.resource/ui-icons_454545_256x240.png.xhtml?ln=images");
}

.ui-icon {
  width: 16px;
  height: 16px;
}

.ui-icon-triangle-1-s {
  background-position: -64px -16px;
}

.ui-icon-triangle-1-n {
  background-position: 0 -16px;
}

.meldungen {
  margin-top: -26px;
  padding-left: 43px;
}

tr.forschung td.prio:before {
  content: ' ';
  height: 40px;
  position: absolute;
  background-image: url("/abfohlmeldung/jakarta.faces.resource/forschung.png.xhtml?ln=images");
  background-repeat: repeat-x;
  width: 1140px;
  overflow: hidden;
  z-index: -1000;
}

.dmek_eignungspruefung_versicherung {
  padding: 10px;
  margin-top: 20px;
}

/* Tooltips */
.tooltipContent {
  display: none;
}

.tooltip {
  white-space: nowrap;
}

.tooltip-inner .meldungen {
  margin: 0;
  padding: 0;
  text-align: left;
}

.tooltip-inner .meldung .bullet {
  vertical-align: top;
  margin-top: 2px;
}

.tooltip-inner .meldung .text {
  white-space: normal;
  /* margin-left: 15px; */
  display: inline-block;
}

.adminmenu {
  margin-bottom: 20px;
}

.archivreiter {
  margin-bottom: 20px;
}

.headerrule {
  margin-top: 0px;
}

label.header {
  font-weight: bold;
}

th {
  white-space: nowrap;
}

