body { 
   background-color: #afafff;
   color: #000000; 
   padding:0;
   margin:0;
}
#container{
   background-color: white; /*#ffefef; */
   margin: 0 auto;
   max-width:  1450px;
   border: 1px solid #ffefef;
   margin-top: 1em;
   margin-bottom: 1em;

}

#content-container { overflow: hidden; }
#content-container div { margin-bottom: -20000px; padding-bottom: 20000px; }

#header{
   height: 124px;
   background-color: white; /*#afffaf */
   vertical-align: bottom;
   border-bottom: 20px solid #ffefef;
}

#logo{
   background:#EAEAEA url(/images/logo.jpg) no-repeat right center;
   float: left;
   height: 124px;
   width: 242px; 
}

@media screen and (max-width: 800px) {
   #logo {
      width: 70px;
   }
}

#content, #sidebar, #menubar{
   min-height: 500px;
   padding: 0 10px;
}
#content{
   /* width:540px; */ /* container.width - sidebar.width - menubar.width - 6 * padding  */
   float:left;

}

#menubar{
   background-color: #afafff;
   width:222px;
   float:left;
   display:none;
}

#footer{
   /*   height: 20px; */
   background-color: white; /*#afffaf; */
   margin-top: 3em;
   border-top: 1px solid #c0c0c0;
   padding: 0.5em;
   clear: both;
   color: #c0c0c0;
   font-size: 9px;
   text-align: right;
}
#topmenu{
   float: right;
   padding:0 1em;
   margin:0;
   margin-top: 83px;
}
#topmenu-text{
   float: left;
   padding:0.4em;
   margin:0;
   margin-top: 70px;
   font-size: 16pt;
}

@media screen and (max-width: 1124px) {
   #topmenu-text {
      display: none !important;
   }
}

#topmenu ul{
   list-style-type: none;
   text-transform: uppercase;
   
}

#topmenu li{
   border-left: 1px solid #727272;
   display: inline;
   padding: 0 8px;
   
}
#topmenu a{
   text-decoration: none;
}
#topmenu a:hover {
   text-decoration: underline;
}


#menubar ul{
   list-style-type: none;
   text-transform: uppercase;
   
}

#menubar li{
   display: inline;
   padding: 0 8px;
   
}
#menubar a{
   text-decoration: none;
}
#menubar a:hover {
   background-color: white;
}


body, p, ol, ul, td {
   font-family: verdana, arial, helvetica, sans-serif;
   font-size:   13px;
   line-height: 18px;
}

h1, h2{
   color: #2211cc;
}
h3 {
   color: #303030;
}
h1{
   font-size:14pt;
}

h2{
   font-size: 12pt;
}

h3{
   font-size: 10pt;
}

/* TABLE */
table {
   border-collapse: collapse;
   margin: 10px 0 ;
   border: 1px solid #c0c0c0;
}

table.mittelbreit{
   min-width: 500px;
}
th strong {
   color: #fff;
}
th {
   border-bottom: 1px solid #c0c0c0;
   font-weight: bold;
}

th, td{
   border-left: 1px solid #c0c0c0;
   padding: 0.2em 0.4em 0.1em 0.4em;
   text-align: left;
   font-size: 10pt;
}

th.rechts, td.rechts{
   border-right: 1px solid #c0c0c0;
}

tr.oben{
   border-top: 1px solid #c0c0c0;
}

tr.line2{
   background-color:#ffefef;
}

tr.lieferschein{
   background-color:#efefff;
}

tr.line1:hover, tr.line2:hover{
   background-color: #e0e0ff;
}

tr.noborder{
   border:none;
}
tr.border-all{
   border:1px solid #c0c0c0;
}

td.right{
   text-align:right;
}

pre {
   background-color: #eee;
   padding: 10px;
   font-size: 11px;
}

a { color: #000; }

.field_label{
   vertical-align: top;
   width: 10em;
   float: left;
   text-align: right;
   margin-top: 0.2em;
   margin-right: 0.5em;
   display: block;
   clear: both;
}
.form_field{
}

/* label and field side by side; the field stays next to its label even
   when the label wraps */
.form_row{
   display: flex;
   align-items: flex-start;
   margin: 0.5em 0;
}
.form_row .field_label{
   float: none;
   clear: none;
   flex: 0 0 14.5em;
   width: auto;
   margin: 0 0.5em 0 0;
   padding-top: 2px;
}
.form_row .form_field{
   flex: 1 1 auto;
   min-width: 0;
}
.form_row .form_field select{
   max-width: 100%;
}
.form_hint{
   display: block;
   font-size: 11px;
   line-height: 14px;
   color: #707070;
}

.form_description{
   font-size: 10px;
   visibility: hidden;
}
.form_description img{
   visibility: visible;
}
.form_description:hover{
   visibility: visible;
}

.fieldWithErrors label {
   font-weight
}

.fieldWithErrors input {
   border: 2px inset red;
   /*background-color: #FFDEDC;*/

}
.fieldWithErrors{ 
   display: inline;
}
.form_error_message{
   font-size: 8pt;
   color: red;
}

select{
   background: white;
}
fieldset table, fieldset tr, fieldset td, fieldset th{
   border: none;
}
fieldset td{
   vertical-align: top;
}
#errorExplanation {
   width: 400px;
   border: 2px solid red;
   padding: 7px;
   padding-bottom: 12px;
   margin-bottom: 20px;
   background-color: #f0f0f0;
}

#errorExplanation h2 {
   text-align: left;
   font-weight: bold;
   padding: 5px 5px 5px 15px;
   font-size: 12px;
   margin: -7px;
   background-color: #c00;
   color: #fff;
}

#errorExplanation p {
   color: #333;
   margin-bottom: 0;
   padding: 5px;
}

#errorExplanation ul li {
   font-size: 12px;
   list-style: square;
}


/* pagination */
.pagination {
   padding: 3px;
   margin: 3px;
}
.pagination a {
   padding: 2px 5px 2px 5px;
   margin: 2px;
   border: 1px solid #2211cc;
   text-decoration: none;
   color: #2211cc;
}
.pagination a:hover, .pagination a:active {
   border: 1px solid #2211cc;
   color: #2211cc;
}
.pagination span.current {
   padding: 2px 5px 2px 5px;
   margin: 2px;
   border: 1px solid #2211cc;
   font-weight: bold;
   background-color: #2211cc;
   color: #FFF;
}
.pagination span.disabled {
   padding: 2px 5px 2px 5px;
   margin: 2px;
   border: 1px solid #eee;
   color: #ddd;
   display: none;
}


fieldset{
   background-color: #ffefef;
   border:1px solid #cc2211;
   padding: 1em;
   margin: 0.5em 0 1.5em 0;
}

legend{
   border:1px solid #cc2211;
   background-color: white;
   color: #cc2211;
   padding: 0.1em 0.7em 0.2em 0.7em;
   font-size: 12pt;
}

input.submit, input.submit-center {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10px;
   /*   color: #000000;
      background-color: #FFFFFF;
      border: 1px solid #6666ff;
      */
}
input.submit{ 
   float: right;
}
input.submit-center{ 
}

.textarea-2-lines{
   height: 2.2em;
   width: 220px;
}
.textarea-3-lines{
   height: 3em;
   width: 220px;
}

.textarea-5-lines{
   height: 5em;
   width: 220px;
}
.textarea-8-lines{
   height: 8em;
   width: 220px;
}

.textarea-5-lines-wide{
   height: 5em;
   width: 400px;
   overflow:auto;
}


.textarea-10-lines{
   height: 10em;
   width: 400px;
}

.textarea-20-lines{
   height: 20em;
   width: 400px;
}

.no-bottom-padding{
   padding-bottom:0; 
   margin-bottom:0
}
.no-top-padding{
   padding-top:0; 
   margin-top:0
}

p.big{
   font-size: 16px;
}

p.kunde_inaktiv{
   color: #ff1111;
   font-size: 14px;
}

td.bestellung_fehlt{
}

td.bestellung_vorhanden{
}
td.rechnung_fehlt{
}

td.rechnung_bezahlt{
}
td.rechnung_nicht_bezahlt{
}
td.rechnung_nicht_bezahlt a{
   color: red;
}

th.diese_woche, td.diese_woche{
}

th.uebernaechste_woche, td.uebernaechste_woche{
}

/* tr Erste Zeile einer Gerichtegruppe */
tr.bestellung-even-first, tr.bestellung-odd-first{
   /*   border-top: 1px solid #dfdfff; */
}

/* th und td Erste Zeile einer Gerichtegruppe */
th.bestellung-even-first, td.bestellung-even-first, th.bestellung-odd-first, td.bestellung-odd-first{
   padding-top: 1.5em;
}

/* th und td Erste Zeile einer ungeraden Gerichtegruppe */
th.bestellung-even-first, td.bestellung-even-first{
}
/* th und td Erste Zeile einer geraden Gerichtegruppe */
th.bestellung-odd-first, td.bestellung-odd-first{
}

/* th und td einer ungeraden Gerichtegruppe */
th.bestellung-even-first, td.bestellung-even-first, th.bestellung-even, td.bestellung-even{
}

/* th und td einer geraden Gerichtegruppe */
th.bestellung-odd-first, td.bestellung-odd-first, th.bestellung-odd, td.bestellung-odd{
   /*   background-color: #ffbfbf; */
}

th.bestellung-even-first, th.bestellung-odd-first, th.bestellung-even, th.bestellung-odd{
   vertical-align: top;
}

th.neue-kategorie, td.neue-kategorie{
   padding-top: 1.2em;
}
.menge-diff
{
   font-size:10px;
   border:none;
   width: 40px;
}

.diff-details{
}

.liste{
}

.liste th{
   font-weight: bold;
   font-size: 10pt;
   text-align: center;
}

.liste td.name{
   text-align: left;
}
.liste td.mengen{
   text-align: center;
   font-size: 8pt;
   line-height: 1.1em;
   
}

.neuro tr.hauptgericht td{
  padding-bottom: 2.5em;
  vertical-align: top;
}

.neuro  td.zahl{
  /* border-bottom: 1px solid #909090; */
}

.neuro tr.border-top-strong td{
  /*  border-top: 2px dotted black; */
}

.neuro tr th.day-header{
  min-width: 70px;
  padding-left: 1em;
  padding-right: 1em;
}

.neuro tr th.note-header
{
  width: 40px;
  overflow: hidden;
}

td.border-top, th.border-top{
   border-top: 1px solid #c0c0c0;
}
th.border-top-left, td.border-top-left{
   border-top: 1px solid #c0c0c0;
   border-left: 1px solid #c0c0c0;
}

th.border-right, td.border-right{
   border-right: 1px solid #c0c0c0;
}

td.zahl-ohnebg, td.zahl{
   font-weight: bold;
   font-size: 13pt;
}
td.zahl-ohnebg{
   text-align: right;
}
td.zahl{
   background-color: #d0d0d0;
   text-align: center;
}

td.big, .liste th.big{
   font-weight: bold;
   font-size: 12pt;
   text-align: center;
}

.liste td.summe-rechts, .liste td.summe{
   font-weight: bold;
   font-size: 12pt;
}

.liste td.summe-rechts{
   text-align: right;
}
.liste td.summe{
   text-align: center;
}

.liste td.rechts{
   text-align: right;
}

/* === FLASH MESSAGES === */
#flashcontent{ 
   width: 330px;
}
p.hinweistext, p.errorExplanation {
   border:medium none;
   font-weight:normal;
   list-style-image:none;
   list-style-position:outside;
   list-style-type:square;
   font-size:100%;
   margin: 1em 0 2em 0;
   min-height:35px;
   padding:1.6em 1em 1.2em 90px;
}

p.errorExplanation {
   margin-top: 1em;
   background:#EAEAEA url(/images/warn.png) no-repeat scroll 0.5em 0.8em;
   border:1px solid #9D0C15;
   color:#1F1F1F;
}

p.hinweistext{
   background: #eaeaea url(/images/ok.png) no-repeat  0.5em 0.8em;
   border: 1px solid #88932b;
   color: #1F1F1F;
}


/* Versand einer Rechnung fehlgeschlagen (TASK-7) */
.versandfehler {
   color: #9D0C15;
}
p.versandfehler {
   border: 1px solid #9D0C15;
   padding: 0.5em;
}

#errorExplanation h2{
   font-size: 110%;
   color:red;
}

#errorExplanation ul li{
   color:red;
}



.header2_container{
   display: flex;
   flex-wrap: wrap;
   flex-direction: row;
}

.header2_small_column{
   flex: 35%;
}
.header2_large_column{
   flex: 65%;
}

@media screen and (max-width: 1000px) {
   .header2_container {
      flex-direction: column;
   }
}
