@import "/mensamax/css/base.css";
@import "/mensamax/css/Dateireiter.css";

/* dirty hacks */
/* TODO mit echter Grafik ersetzen*/
[src="../../img/movedown.gif"],
[src="../../img/moveup.gif"] {
  filter: invert(1);
}

/* CSS Document */
body {
  scrollbar-face-color: #7090ff;
  scrollbar-highlight-color: #41a8f7;
  scrollbar-shadow-color: #ffffff;
  scrollbar-3dlight-color: #ffffff;
  scrollbar-arrow-color: #ffffff;
  scrollbar-track-color: #bbd5ff;
  scrollbar-darkshadow-color: #999999;
  min-height: 100vh;
}

ul,
ol {
  padding-left: 1em;
}

/* input fields */
input,
select,
.tbDatum {
  height: unset !important;
}

  input[type="image"] {
    border: none;
    padding: 0;
  }

.tbRequiered,
[style*="background-color:NavajoWhite"],
[style*="background-color:#FFDEAD"],
[style*="background-color: navajowhite"] {
  background-color: #9ccdff33 !important;
}

form > table + table {
  margin-top: 0.5rem;
}

table + table {
  margin-top: 0.5em;
}

label + input, label + select {
  margin-left: 0.5em;
}

[type="radio"] + label {
  margin-left: 0.2em;
}

.speiseplan-menue {
  background-color: #f5f4f4;
  background-color: var(--bg-color, #f5f4f4);
  padding: 0.25em !important;
  border-radius: 2px;
  border: 1px solid #e2e2e2;
  box-shadow: 1px 1px 4px #00000011;
  height: 1px;
}

#lblSpeiesplanHinweis {
  display: block;
}

select {
  min-width: 3em;
}

/* dialog */
.dialog {
  box-shadow: 0px 0px 2px #cacaca, 0px 0px 10px #c1c1c1;
  border-radius: 2px;
  background-color: #f9f9f9;
  border-spacing: 0.5em;
  margin: 0;
}

#meldung {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #e8e8e8;
  background-color: #ffffff;
  box-shadow: 0px 0px 2px #cacaca, 0px 0px 10px #c1c1c1;
}

/* form */
body > form {
  padding: 1.5rem;
  width: 900px;
}

/* table */
.tdHeader,
.tdHeader > td,
.tdHeader > th,
.tdHeaderTop > td,
.tdHeaderTop > th,
.tdFooter > td,
.tdFooter > th,
.tdFooter2 > td,
.tdFooter2 > th,
.tdFooterNoHover > td,
.tdFooterNoHover > th,
.tdFooterSel > td,
.tdFooterSel > th,
.odd > td,
.even > td,
th[align],
td[align],
td[onclick] {
  padding: 0.2em;
}

table {
  border-color: #a8a8a8;
  border-style: solid;
  border-width: 0;
}

/* special components */
#chkHinweis td {
  white-space: nowrap;
  padding: 0 0.5em;
}

/* misc */
.tabs {
  position: relative;
  min-height: 350px;
  clear: both;
  margin: 15px 0;
}

.tab {
  float: left;
}

  .tab label {
    background: #eee;
    padding: 10px;
    border: 1px solid #ccc;
    position: relative;
  }

  .tab [type="radio"] {
    display: none;
  }

.content {
  position: absolute;
  top: 2em;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc;
  width: 300px;
}

.showToolTip {
  visibility: visible !important;
  margin-top: -3px;
  margin-left: 15px;
  z-index: 999;
  max-width: 330px;
}

div.tooltip {
  position: relative;
  display: inline;
}

  div.tooltip span {
    position: fixed;
    color: #ffffff;
    background: #f8ad22;
    text-align: center;
    visibility: hidden;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 10px;
  }

    div.tooltip span:after {
      content: "";
      position: absolute;
      top: 23%;
      right: 100%;
      margin-top: -8px;
      width: 0;
      height: 0;
      border-right: 8px solid #f8ad22;
      border-bottom: 8px solid transparent;
    }

.ulMed {
  list-style: none;
  padding: 0;
}

  .ulMed span {
    vertical-align: middle;
  }

  .ulMed img {
    margin-left: 3px;
    vertical-align: middle;
    cursor: pointer;
    height: 10px;
    width: 10px;
  }

  .ulMed li {
    display: inline-block;
  }

.divAppendChild {
  border-radius: 10px;
  background-color: orange;
  color: white;
  padding: 2px 7px;
  margin: 2px 2px;
  white-space: nowrap;
}

.autoDataForm,
.autoStamm {
  margin-left: auto !important;
  margin-right: auto !important;
}

form > .dataform {
  margin-left: 0.5em;
  margin-right: 0.5em;
  width: calc(100% - 1em) !important;
}

.DataForm,
.Dataform,
.dataform,
.autoDataForm,
.DataForm_ohneBorder {
  background-color: #fff;
  background-color: var(--bg-color-light, #fff);
  padding: 0.5em;
  border-spacing: 0.5em;
  border-radius: 5px;
  border-radius: var(--border-radius-large, 5px);
  width: 100% !important;
  box-shadow: 0 0 3px #000a0a27;
  border-style: none !important;
}

  .dataform:not(table),
  .Dataform:not(table),
  .DataForm:not(table) {
    padding: 1em;
  }

  .dataform > * + *,
  .Dataform > * + *,
  .DataForm > * + * {
    margin-top: 0.5rem;
  }

  .DataForm > tbody > tr:last-of-type {
    height: 100%;
  }

  .DataForm .button,
  .Dataform .button,
  .dataform .button,
  .DataForm_ohneBorder .button {
    background: linear-gradient(-180deg,#fafbfc,#f5f5f4 90%);
    border: 1px solid rgb(222, 222, 222);
    box-shadow: none;
  }

    .DataForm .button:disabled,
    .Dataform .button:disabled,
    .dataform .button:disabled,
    .DataForm_ohneBorder .button:disabled {
      box-shadow: none;
    }

.dataform-full-height {
  height: 100%;
}

.tablecell-full-height {
  height: 0; /* 0 ist korrekt, damit passt sich die Höhe der höchsten Nachbarzelle an */
}

.hinweis:empty {
  display: none;
}

.hinweis {
  display: block;
  color: white;
  background-color: #d84315;
  padding: 0.5em;
  border-radius: 2px;
  border-radius: var(--border-radius-small, 2px);
}

.hinweisGross {
  font-size: 15px;
  font-weight: bold;
  color: Red;
  background-color: #ffff00;
}

.hinweis2Gross {
  font-size: 15px;
  font-weight: bold;
  color: Red;
}

.OuterTable {
  border-spacing: 0.5rem;
  width: 100% !important;
}

div.OuterTable {
  padding: 0.5em;
}

  div.OuterTable > * + * {
    margin-top: 0.5em;
  }

.TabelleOhneBorder {
  background-color: #eeeeff;
  font-size: 10px;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  border-bottom: 0px;
  margin: 5px 5px 5px 5px;
}

#btnSuche,
[value="Suche"] {
}

#lblKontohinweis {
  color: #d84315 !important;
}

/* alte Buttons*/
.button_invisible {
  display: none;
}

.button {
  /*
background-color: #7090FF;
border-color: #666666;
border-width: 1px;
color: #FFFFFF;
*/
  font-size: inherit;
  padding: 0.35em 0.5em;
  border: 1px solid #fff;
  border-color: var(--bg-color-light, #fff);
  cursor: pointer;
  background-color: #fff;
  background-color: var(--bg-color-light, #fff);
  border-radius: 5px;
  border-radius: var(--border-radius-large, 5px);
  box-shadow: 0 0 3px #000a0a27;
}

  .button:disabled {
    background-color: #eaeaea;
    border-color: #eaeaea;
    color: grey;
    box-shadow: 0 0 3px #000a0a3b;
  }

.button_large {
  background-color: #6666ff;
  border-color: #666666;
  border-width: 1px;
  color: #ffffff;
  height: 18px;
  width: 210px;
}

.button_nav {
  /*
background-color: #7090FF;
border-color: #666666;
border-width: 1px;
color: #FFFFFF;
*/
  font-size: 10px;
  font-family: Webdings;
  height: 20px;
}

.button_plz {
  /*
background-color: #6666FF;
border-color: #666666;
border-width: 1px;
color: #FFFFFF;
font-weight: bold;
*/
  font-size: 8px;
  text-align: center;
  font-family: Webdings;
  width: 20px;
  height: 20px;
}

.colorpicker-element {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

  .colorpicker-element > input {
    width: 5em;
  }

  .colorpicker-element > span {
    display: flex;
    justify-content: center;
    align-items: center;
  }

.tb_anz {
  border-right: 0px;
  border-top: 0px;
  border-left: 0px;
  color: #ff0000;
  border-bottom: 0px;
  background-color: #eaeaea;
}

.rb {
  border-width: 0px;
  border-color: #666666;
}

.chk {
  margin-left: 0px;
}

.tbInvisible {
  display: none;
}

.tbDatum {
  display: inline-block;
  width: 5.8em;
  text-align: center;
}

.tbZeit {
  width: 3.5em;
  text-align: right;
}

.tbMust {
  background-color: LemonChiffon;
}

.tb_right {
  text-align: right;
  resize: none;
}

.tb_center {
  text-align: center;
  resize: none;
}

.tb_readonly {
  background-color: #fafafa;
  color: #5e5f69;
  resize: none;
}

.tb_readonly_bold {
  background-color: #efefef;
  font-weight: bold;
}

.tb_readonly_right {
  background-color: #efefef;
  text-align: right;
  resize: none;
}

.tbfett {
  font-weight: bold;
  width: 140px;
}

.tbVerl {
  font-weight: bold;
  color: red;
  text-align: center;
  width: 40px;
  resize: none;
}

.list {
  border-color: #ffffff;
  width: 250px;
}

a {
  color: inherit;
}

  a:visited {
    font-weight: 500;
    color: #666666;
    text-decoration: none;
  }

  a:hover {
    font-weight: 500;
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  a:link {
    font-weight: 500;
    text-decoration: none;
  }

hr {
  width: 50;
  color: #666666;
  size: 5px;
}

.select {
  border-top: 1px;
  border-bottom: 1px;
  border-right: 1px;
  border-left: 1px;
  border-style: solid;
  border-color: #666666;
}

.cb {
  zoom: 1.5;
}

.normal {
}

.tdTop {
  font-size: 1.2em;
  font-weight: bold;
  background: none;
  padding: 0.25rem 0rem;
}

.zusatzstoffe {
  font-size: 0.75em;
}

.zusatzstoff-allergen {
  color: #B71C1C;
}

.menue-preis {
}

.menue-hauptspeise {
}

.menue-bild img {
  width: 145px;
  height: auto;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0px 0px 2px #00000020, 3px 3px 5px #00000010;
}

.tdSelected,
.tdSelected2,
.tdSelected3 {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
}

.tdSelected {
  background: gold;
  background: linear-gradient(to top right, #9ccdff33 60%, #9ccdff);
  border-color: var(--primary-color);
}

.tdSelected2 {
  background-color: #f2f371;
}

.tdSelected3 {
  background-color: #e89090;
}

.hinweisInput {
  font-weight: bold;
  color: Red;
  background-color: #ffff00;
  border-style: none;
  text-align: center;
}

.LabelInput {
  background-color: #bbd5ff;
  border-style: none;
}

.labelFett {
  font-weight: bold;
}

.trOver {
  color: #000000;
  text-decoration: none;
  background-color: NavajoWhite;
}

.requ {
  color: red;
}

.hint {
  color: green;
}

.linkedLabel {
  cursor: help;
}

.lblAusgabe {
  font-size: 32px;
  font-weight: bold;
  color: #000000;
}

.EmailTextBox {
  color: Black;
  text-align: left;
}

.lblTouch {
  font-size: x-large;
  font-weight: bold;
  color: #000000;
}
/* Essensausgabe */
.Merkmal {
  padding-left: 15px;
  color: Black;
  width: auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background: #fceabb; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZWFiYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZjY2Q0ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2Y4YjUwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmYmRmOTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient( top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100% ); /* FF3.6+ */
  background: -webkit-gradient( linear, left top, left bottom, color-stop(0%, #fceabb), color-stop(50%, #fccd4d), color-stop(51%, #f8b500), color-stop(100%, #fbdf93) ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient( top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100% ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient( top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100% ); /* Opera 11.10+ */
  background: -ms-linear-gradient( top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100% ); /* IE10+ */
  background: linear-gradient( top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100% ); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-8 */
}

.clickCell {
  cursor: pointer;
}

  .clickCell:hover {
    background-color: #ffdead;
  }

.mainWidth {
  width: 675px;
}

.w20 {
  width: 20%;
}

.w25 {
  width: 25%;
}

.w33 {
  width: 33%;
}

.w98 {
  /*width: 100% !important;*/
}

.w99,
[width="99%"],
[width="98%"],
[width="97%"],
.autoStamm {
  width: 100% !important;
}

.w100 {
  width: 100%;
}

.w2p {
  width: 2px;
}

.w90p {
  width: 90px;
}

.w100p {
  width: 100px;
}

.w110p {
  width: 110px;
}

.w130p {
  width: 130px;
}

.w140p {
  width: 140px;
}

.w150p {
  width: 150px;
}

.w160p {
  width: 160px;
}

.w250p {
  width: 250px;
}

.w300p {
  width: 300px;
}

.w705p {
  width: 705px;
}

.noM {
  margin: 0 0 0 0;
}

.m3 {
  margin: 3px 3px 3px 3px;
}

.mL3 {
  margin-left: 3px;
}

.mL5 {
  margin-left: 5px;
}

.mR0 {
  margin-right: 0;
}

.mR1 {
  margin-right: 1px;
}

.mR2 {
  margin-right: 2px;
}

.mR3 {
  margin-right: 3px;
}

.mR5 {
  margin-right: 5px;
}

.noB {
  border-width: 0;
}

.center {
  text-align: center;
}

#iHilfe,
#iAuswahlBox {
  border: none;
  border-radius: 2px;
  position: fixed;
  width: 600px;
  min-height: 220px;
  height: auto;
  box-shadow: 1px 1px 4px #00000020;
}

#divHilfeClose,
#divAuswahlClose {
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url(../img/close_20x20.png);
  background-repeat: no-repeat;
  margin: 3px;
  cursor: pointer;
}

#divAuswahlDisable,
#divHilfeDisable {
  position: absolute;
  left: 0px;
  top: 0px;
  opacity: 0.5;
  background-color: #606060;
}

.invisible {
  display: none;
}

.stamm,
.autoStamm {
  border-width: 1px;
  border-collapse: collapse;
  border-style: solid;
  border-color: #aca899;
}
/* NEW CSS3 Styles
.button
		{
			display: inline-block;
			outline: none;
			cursor: pointer;
			text-align: center;
			text-decoration: none;
			padding: .2em .2em .2em;
						-webkit-border-radius: .5em;
			-moz-border-radius: .5em;
			border-radius: .5em;
			-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
			-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
			box-shadow: 0 1px 2px rgba(0,0,0,.2);
		}
		.button:hover
		{
			text-decoration: none;
		}
		.button:active
		{
			position: relative;
			top: 1px;
		}
		.blue
		{
			color: #fef4e9;
			border: solid 1px #7090FF;
			background: #7090FF;
			background: -webkit-gradient(linear, left top, left bottom, from(#95B9FE), to(#7090FF));
			background: -moz-linear-gradient(top,  #95B9FE,  #7090FF);
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#95B9FE', endColorstr='#7090FF');
		}
		.blue:hover
		{
			background: #f47c20;
			background: -webkit-gradient(linear, left top, left bottom, from(#4a65c3), to(#95B9FE));
			background: -moz-linear-gradient(top,  #5c80ff,  #95B9FE);
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c80ff', endColorstr='#95B9FE');
		}
		.blue:active
		{
			color: #1a4dff;
			background: -webkit-gradient(linear, left top, left bottom, from(#7090FF), to(#95B9FE));
			background: -moz-linear-gradient(top,  #7090FF,  #95B9FE);
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7090FF', endColorstr='#95B9FE');
		}
		.button.small
		{
			font-size: 13px;
		}
		.button.medium
		{
			font-size: 18px;
		}
		.button.big
		{
			font-size: 30px;
		}
		.button.invisible
		{
			width: 0px;
			height: 0px;
			background-color: Transparent;
			border-width: 0px;
		}
 */

.iFrame,
.iFrameHinweis {
  padding: 0px;
  border: solid 1px black;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.iFrameHinweis {
  position: absolute;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
  box-shadow: 1px 1px 4px #00000038;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  background-color: #f5f4f4;
  background-color: var(--bg-color, #f5f4f4);
}

[id^="divMeldung"] {
  position: absolute;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
}

  [id^="divMeldung"] > iframe {
    height: 300px !important;
  }

.right {
  text-align: right;
}

.left {
  text-align: left;
}
/*.center{
	text-align:center;
}*/

.backRed {
  background-color: red;
}

.menuCell,
.backBlue {
  /*background-color: #D0E0FF;*/
  vertical-align: middle;
}

.MMTable {
  border-collapse: collapse;
}

  .MMTable > thead > tr {
    font-weight: bold;
    background-color: #c0c0c0;
    color: #000;
  }

    .MMTable > thead > tr > th {
      border: 1px solid #aca899;
    }

  .MMTable > tbody > tr:not(:nth-child(2n + 1)) {
    background-color: #f5f5f5;
  }

  .MMTable > tbody > tr:nth-child(2n + 1) {
    background-color: #eee;
  }

  .MMTable > tbody > tr:hover {
    background-color: #fee4b6;
  }

  .MMTable > tbody > tr > td {
    border: 1px solid #aca899;
  }

.hinweis-dialog-content {
  background-color: transparent;
  flex-grow: 1;
  padding: 0.5em;
  overflow-y: auto;
  text-align: center;
}

.hinweis-dialog {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100vh;
}

.hinweis-dialog-header {
  display: flex;
  font-weight: bold;
  justify-content: space-between;
  padding: 0.5em;
}

.hinweis-dialog-footer {
  display: flex;
  justify-content: center;
  padding: 0.5em;
}

  .hinweis-dialog-footer input[type="button"] {
    cursor: pointer;
    min-width: 5em;
  }

  .hinweis-dialog-footer > * + * {
    margin-left: 0.5em;
  }

.ml1em {
  margin-left: 1em;
}
