/* Header und Footer */
/* Page Footer Style */
.hk-footer-bottom {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;

  /* fix footer position. Don't use this for now ***
  position: absolute;
  bottom: 10px;
  left: 0px;
  right: 0px;
  overflow: hidden;
  *** */
}

#versionNumber {
  flex: 1 0 20%;
  text-align: left;
}

#userInformation {
  flex: 1 0 60%;
  text-align: center;
}

#countdown {
  flex: 1 0 20%;
  text-align: right;
}

/* Page Header Style */
.hk-header-top {
  width: 100%;
  height: 60px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  border-bottom: 1px solid rgb(76, 134, 193);
  /*
  Verschieden Farben, die im Theme vorkommen:

  form tab active backround: rgb(0,128,255)
  rounded header background: rgb(76,134,193)
  browse header background: ""
  browse header background selected: rgb(92, 162, 232)
  rounded backround: rgb(226, 239, 252)
  */

  /* Fix header position. Don't use this for now ****
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  overflow: hidden;
  *** */
}

#homeButtonDiv {
  flex: 1 0 20%;
  text-align: left;
}

#firmenLogoDiv {
  flex: 1 0 60%;
  text-align: center;
  min-width: 0;
}

#firmenlogo {
  height: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#logoutButtonDiv {
  flex: 1 0 20%;
  text-align: right;
}

.hk-header-button {
  width: 50px;
  height: 50px;
  border: 1px solid #c5c5c5;
}

.hk-header-button:hover {
  cursor: pointer;
}

.hk-header-button>span {
  transform: scale(0.8);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* needed for fixed fix header/footer. Don't use this for now ***
.nt-contentpanel {
  position: absolute;
  top: 65px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  overflow-y: auto;
}
*** */

/* Generelles */
body {
  line-height: normal;
  letter-spacing: normal;
}

.nt-body-div {
  width: 100%;
  height: 100%;
}

textarea {
  font-family: Courier;
  border-radius: var(--entry-radius);
}

.hk-hidden {
  display: none;
}

.hk-fill {
  width: 100%;
}

.nt-normal {
  text-align: left;
  height: 1.0em;
  margin: 1em;
}

.nt-align-right {
  text-align: right;
}

.MainHeading {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #999;
  font-weight: bold;
}

.MainHeadingRed {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #990033;
  font-weight: bold;
}

.SubHeading {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #BBB;
  font-weight: normal;
}

.hk-cell-schmal {
  border: 0px;
  padding: 0;
  margin: 0;
  width: 8px;
}

.nt-page-header {
  border-top: 0px;
  border-left: 0px;
  border-bottom: 0px;
  border-right: 0px;
  font-family: Century Gothic, Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: normal;
  color: #888;
  width: 100%;
  background-color: #FFFFFF;
  padding: 4px;
  border-collapse: collapse;
}

/* Menü */
.nt-menu-div {
  height: 3.0em;
}

/* Form */
.FormTable {
  font-size: 16px;
  padding: 2px;
}

.nt-form-table {
  font-size: 16px;
  padding: 2px;
  border-collapse: collapse;
  text-align: left;
  vertical-align: top;
  margin-left: 10px;
  border: 0px;
}

.nt-form-table-cell {
  padding: 2px;
}

.nt-formcell {
  display: table-cell;
  vertical-align: middle;
  border-collapse: collapse;
  padding: 2px;
}

.nt-form-header-sub-hk {
  font-size: 1.5em;
  border-bottom: 20px
}

.nt-lookup>input {
  min-width: 1em;
}

input {
  border-color: black;
  border-radius: var(--entry-radius);
  border-width: 1px;
  height: 2em;
  font-size: 16px;
}

/*  Handle Input width on Forms
    Sizes:
    xs: Zeit
    s: Nummern, IDs, Datum
    m: kleine Texte im Entry (Auftragsart etc.)
    l: lange Texte (Bezeichnung, Textarea etc)
    
    bei lookups 3em abzug für den Button
*/

/* reset the min with for drop downs */
.ui-selectmenu-button.ui-button {
  min-width: 0;
}

.hk-entry-xs {
  width: 5em;
}

.hk-entry-s {
  width: 10em !important;
}

.hk-entry-m {
  width: 15em !important;
}

.hk-entry-25 {
  width: 22em;
}

.hk-entry-l {
  width: 30em !important;
}

.hk-entry-xl {
  width: 35em;
}

.nt-lookup>.hk-entry-s {
  width: 7em !important;
}

.nt-lookup>.hk-entry-m {
  width: 12em !important;
}

.nt-lookup>.hk-entry-l {
  width: 27em !important;
}

/* Browse */
/* Start Button alignment on browse */
table.Locator {
  float: left;
  margin-right: 2em;
}

.nt-close-button-set {
  margin-top: 0.1em;
  margin-left: 0;
}

.hk-update-buttonset {
  float: left;
  margin-top: 0.1em;
}

.hk-select-buttonset {
  float: left;
  margin-top: 0.1em;
}

@media (max-width: 640px) {
  table.Locator {
    float: none;
  }
}
@media (max-width: 1024px) { /*for small screens */
	.nt-browse-row-header{
		display:contents!important;
	}
}

/* Set Colors */
.hk-langlaufend.default{
  color: #00C000;
  background-color: white;
}

.hk-langlaufend.selected{
  color: white;
  background-color: green;
}

.hk-sambeendet.default{
  color: gray;
  background-color: white;
}

.hk-sambeendet.selected{
  color:white;
  background-color: gray;
}

.hk-sam.default{
  color: teal;
  background-color: white;
}

.hk-sam.selected{
  color: white;
  background-color: teal;
}

.hk-gesperrt.default{
  color: white;
  background-color: #FF8001;
}

.hk-gesperrt.selected{
  color:#B15900;
  background-color: white;
}

.hk-eingriff.default{
  color: white;
  background-color: #8E0000;
}

.hk-eingriff.selected{
  color: white;
  background-color: #CC0000;
}

.hk-ueberfaellig.default{
  color: red;
  background-color: white;
}

.hk-ueberfaellig.selected{
  color: white;
  background-color: red;
}

.hk-warnung.default{
  color: #8001FF;
  background-color: white;
}

.hk-warnung.selected{
  color: white;
  background-color: #8001FF;
}

.hk-offen.default{
  color: navy;
  background-color: white;
}

.hk-offen.selected{
  color: white;
  background-color: navy;
}

/* End Button alignment on browse */

table.BrowseTable {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #333;
  margin: 5px 0px 5px;
  border-color: #888;
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  border-bottom: 1px solid #888;
  border-right: 1px solid #888;
  padding: 2px;
  border-spacing: 0px;
}

table.BrowseTable th {
  /* background-image: url('../images/BrowseHeader.png'); */
  font-weight: normal;
  padding: 1px;
  border-top: 1px solid #AAA;
  border-bottom: 1px solid #FFF;
  border-left: 1px solid #CCC;
  border-right: 1px solid #EEE;
  border-collapse: separate;
  white-space: nowrap;
}

table.BrowseTable td {
  padding: 1px;
  border-left: 0px solid #AAA;
  border-right: 1px solid #EEE;
  border-bottom: 1px solid #CCC;
  border-top: 1px solid #EEE;
  height: 20px;
  /* white-space: nowrap; */
}

.nt-browse-header-not.selected {
  color: #222222;
  font-weight: normal;
}

.nt-browse-data {
  margin-left: 3px;
}

/* Buttons */
.ui-button {
  padding: 0em 1em;
  margin: 0rem;
}

/* Beim hovern werden die icons schwarz. Standard des Themes: weiß (schlecht sichtbar) */
.ui-button:hover .ui-icon {
  background-image: var(--icons-entry);
}

.nt-button {
  justify-content: left;
  padding: 0px 5px;
  margin: 0px !important;
  background-image: none;
}

.nt-button:hover {
  background-image: none;
}

.nt-menu-button {
  min-height: 30px;
}

.nt-small-button {
  height: var(--entry-height);
  justify-content: left;
}

.nt-lookup-button {
  min-width: 3em;
}

.LargeButton {
  width: 192px;
  height: 74px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 10px;
  text-align: left;
}

/* testing SmallButton = SmallBrowseButton 

.SmallButton {
  min-width: 8em;
  height: 30px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 0px;
  text-align: left;
}

*/

.SmallButton {
  min-width: 1em;
  width: 30px;
  height: 30px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 0px;
  text-align: left;
}

.SmallButtonGelb {
  min-width: 1em;
  width: 30px;
  height: 30px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 0px;
  text-align: left;
  background: #FFFFAE url("") !important;
}

.SmallBrowseButton {
  min-width: 1em;
  width: 30px;
  height: 30px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 0px;
  text-align: left;
}

.SmallBrowseButtonGelb {
  min-width: 1em;
  width: 30px;
  height: 30px;
  margin: 0px 1px;
  cursor: pointer;
  padding: 0px;
  text-align: left;
  background: #FFFFAE url("") !important;
}

.hk-button-size1 {
  width: 100px;
  height: 40px;
  margin: 3px 1px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  cursor: pointer;
  padding: 0px;
}

.hk-button-size2 {
  width: 120px;
  height: 50px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  cursor: pointer;
  padding: 0px;
}

.hk-ohnetext-button {
  min-width: 1em;
}

.hk-button-size3 {
  width: 150px;
  height: 40px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  cursor: pointer;
  padding: 0px;
}

.hk-button-size4 {
  width: 40px;
  height: 40px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  cursor: pointer;
  padding: 0px;
}

.hk-button-size5 {
  width: 180px;
  height: 40px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  cursor: pointer;
  padding: 0px;
}

.hk-width-130{
  width:140px;
}
/* Anzeigetexte */
.nt-heading-drot {
  font-weight: bold;
  height: 1.0em;
  color: #990033;
  padding-left: 0.5em;
  padding-top: 0.1em;
  margin: 0.1em;
}

.nt-alert-navy {
  font-weight: bold;
  text-align: left;
  height: 1.0em;
  color: #000080;
  margin: 0.1em;
}

.nt-alert-gray {
  font-weight: bold;
  text-align: left;
  height: 1.0em;
  color: #808080;
  margin: 0.3em;
}

.nt-alert-gray-ul {
  font-weight: bold;
  text-align: left;
  text-decoration: underline;
  height: 1.0em;
  color: #808080;
  margin: 0.3em;
}

.nt-alert-drot {
  font-weight: bold;
  text-align: left;
  height: 1.0em;
  color: #990033;
  margin: 0.6em;
}

.nt-alert-teal {
  font-weight: bold;
  text-align: left;
  font-size: 12pt;
  height: 1.0em;
  color: #004040;
  margin: 0.6em;
}

.nt-alert-navy-ra {
  font-weight: bold;
  text-align: right;
  color: #000080;
  margin: 0.6em;
}

/*
  height: 1.0em;
  padding-left: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.4em;
*/

/* Farbgebung */
.nt-fg-gray {
  color: white;
}

.nt-bg-gelb {
  background: #FFFFAE;
}

.nt-pflicht {
  background-color: #FFFFAE !Important;
}

.nt-cell-navy {
  font-weight: bold;
  color: #000080;
}

.nt-cell-normal {
  font-weight: normal;
  color: #000000;
  padding-left: 1em;
}

.nt-cell-hellrot {
  font-weight: normal;
  text-align: right;
  background: #FFA8A8;
  padding-left: 1em;
}

.nt-cell-hellgelb {
  font-weight: normal;
  background: #FFFFAE;
  padding-left: 1em;
}

/* Einheitliche Größen */
.nt-radio {
  font-size: 16px;
}

.nt-checkbox {
  font-size: 16px;
}

/* Handle Overflow */

div {
  max-width: 100%;
}

.hk-table-div {
  width: 100%;
  overflow-x: auto;
}

.nt-tab-inner {
  overflow-x: auto;
}