body{
  background-color: LightGrey;
  margin:0em;
  font-family:arial, sans-serif;
}

header {
  position: fixed;
  width: 100%;
  height:2em;
  top: 0;
  margin-top: 0em;
  box-shadow: 0px 0px 0.7em #555;
  padding: 0.5em;
  white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
    z-index: 100;


}

pre {
  font-family:arial, sans-serif;
  white-space:pre-line;
}

h1{
  margin: 0em;
  /*float:left;*/
  display: inline; /*damit Aktionen in der selben Zeile stehen*/
}

h2{
  margin: 0em;
  /*float:left;*/
  display: inline; /*damit Aktionen in der selben Zeile stehen*/
}

nav {
    float:left;
    margin:1em;
    margin-top: 0.5em;
    width:  10em;
    /*box-shadow: 0px 0px 0.7em #555;
    position:fixed;*/


}

nav ul{
  list-style-type: none;
  padding: 0em;
  margin: 0em;
}

nav li{
    background-color: DarkGray;
    margin-top:0.5em;
    text-decoration: none;
}

nav li.pfad{
    background-color: Silver;
    margin-top:0;
    text-decoration: none;
    white-space: nowrap;
}

nav li.pfadWichtig{
    background-color: LightCoral;
    margin-top:0;
    text-decoration: none;
}

nav li.pfadUeberschrift{
    
}

nav li.pfadMarkiert{
    background-color: DimGrey;
    margin-top:0;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

nav li.pfadUeberschriftMarkiert{
    background-color: DimGrey;
    color: white;
}

nav a {
  color:Black;
  padding: 0.5em;
  display: block;
    text-decoration: none;
}

nav li.pfadMarkiert a{
    background-color: DimGrey;
    margin-top:0;
    text-decoration: none;
    color: white;
}

nav li.pfadUeberschriftMarkiert a{
    background-color: DimGrey;
    color: white;
}

nav p {
  
  padding-left: 0.5em;
  
}

nav summary {
  color:Black;
  padding: 0.5em;
  display: block;
  text-decoration: none;
}

nav summary:hover {
    background-color: DimGrey;
    color: white;
    cursor: pointer;
}

summary {
  color:Black;
  font-weight: bold;
  padding: 0.5em;
  padding-left: 0em;
}

summary:hover {
    background-color: DimGrey;
    color: white;
    cursor: pointer;
}

nav a:hover {
    background-color: DimGrey;
    color: white;
}

main {
    /*background-color:lightblue;*/
    margin-left: 12em;
    margin-top:3em;
    padding: 0em;
    min-width: 30em;
    display: flow-root;
}

footer {
  /*position: fixed;
  bottom:0;
  width:100%;*/
  clear: both;
  background-color: yellow;
  box-shadow: 0px 0px 0.7em #555;
  height:1.5em;
  padding: 0.5em;
}

article{
  float: left;
  margin: 1em;
  padding: 1em;
  background-color: white;
  box-shadow: 0px 0px 0.7em #555;
  font-size: 1em;
    text-size-adjust: none;
}

input.formular {
  font-size: 1em;
  width:99%;
}

input.formularOhneTasten {
  font-size: 1em;
  width:99%;
  text-align:right;
}

input.formularOhneTasten::-webkit-outer-spin-button,
input.formularOhneTasten::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

select.formular {
  font-size: 1em;
  width:102%;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

select.select-Button {
    font-size: 0.9em;
    background-color: whitesmoke;
    appearance:none;
    /*color: black;
    border: 1px solid grey;*/
    padding: 0.1em 0.4em;
    /*text-align: center;
    text-decoration: none;
    display: inline-block;*/
    /*margin-left: 1em;*/
    /*display: inline; /*damit Aktionen in der selben Zeile stehen*/
}

select.select-Button:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

select.select-Button-H2 {
    font-family: 'FontAwesome', Arial;
    font-size: 1em;
    background-color: whitesmoke;
    appearance:none;
    /*color: black;
    border: 1px solid grey;*/
    padding: 0.08em 0.4em;
    float:right;
    display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
    /*margin-right: 1em;*/
    vertical-align: middle;
    margin-left: 0.5em;
    margin-top: 0.15em;
    
}

select.select-Button-H2:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

option {
    background-color: white;
    color: black;
}

option:hover {
    background-color: whitesmoke;
}

.OptionenEinerKat {
  animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

.ZeileRoute {
  /*animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
    /*margin-top: 5%;*/
    }
  to {
    opacity: 1;
    /*margin-left: 0%;*/
    }
}

textarea.formular {
  font-size: 1em;
  font-family:arial, sans-serif;
  width:100%;
}

article h2{
  margin-top:0em;
  display: inline-block; /*damit Aktionen in der selben Zeile stehen*/
}

.DesignAllgemein{
  background-color: #3C876B;
  color: White;
}

.DesignKunden{
  background-color: DarkRed;
  color: white;
}

.DesignProjekt{
  background-color: DarkBlue;
  color: white;
}

.DesignWartung{
  background-color: #3C876B;
  color: white;
}

.DesignAuftrag{
  background-color: DarkGreen;
  color: white;
}

.DesignAngebot{
  background-color: Chocolate;
  color: white;
}

.DesignRechnungen{
  background-color: Teal;
  color: white;
}

.DesignMaterial{
  background-color: sienna;
  color: white;
}

.DesignStundensatz{
  background-color: RebeccaPurple;
  color: white;
}

.DesignIndividuell{
  background-color: DimGray;
  color: white;
}

.DesignBenachrichtigungen{
  background-color: LightCoral;
  color: white;
}

.NeueZeile{
    clear: both;
}

.artikelBreit {
   width:53em;
}

.artikel100Prozent {
   width:90%;
}

.artikel50Prozent {
   width:45%;
}

.artikelBreitNeueZeile {
   width:53em;
   clear: both;
    
}

.artikelMittel {
   width: 24.5em;
}

.artikelMittelNeueZeile {
   width: 24.5em;
   clear: both;
    
}

.artikelMittelNoFloat {
   width: 24.5em;
   float: none;
}

.artikelKlein {
   width: 10em;

}

.H1Aktion {
  /*float:right;*/
  display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
  margin-right: 1em;
  vertical-align: middle;
}

.H1AktionNebeneinander {
  /*float:right;*/
  display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
  margin-right: 0em;
  vertical-align: middle;
}

.H2Aktion {
  /*float:left;*/
  display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
  margin-right: 1em;
  vertical-align: middle;
  margin-top: 0.2em;
}

.H2AktionRechts {
  float:right;
  display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
  /*margin-right: 1em;*/
  vertical-align: middle;
  margin-left: 0.5em;
  margin-top: 0.2em;
}

.H2TextRechts {
  float:right;
  display: inline-block; /*damit Aktionen in der selben Zeile wie Hx stehen*/
  /*margin-right: 1em;*/
  vertical-align: middle;
  margin-left: 0.5em;
  margin-top: 0.2em;
}

.BoxAktion {
  float:right;
  text-align: right;
  margin-left: 1em;
  margin-left: 0.5em;
}

article table{
  border-collapse: collapse;
  margin-top: 1em;
}

table.TabelleDaten tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.TabelleDaten th{
    text-align: center;
}

table.TabelleDaten thead tr:nth-child(even) th {
    font-weight: normal;
    vertical-align: bottom;
}

.TextVertikal {
    text-align:center;
    white-space:nowrap;
    transform-origin:50% 50%;
    transform: rotate(90deg);
    height: 10em;

}

table.TabelleDaten td{
    border: 1px solid;
    text-align: right;
}

table.TabelleDaten tfoot{
    border: 0px solid;
}

table.TabelleDaten tfoot tr{
    border: 0px solid;
    font-weight: bold;
}

table.TabelleDaten tfoot tr td{
    border: 0px solid;
    text-align: right;
}

tr{
  border-bottom: 1px solid black;
}

th{
  text-align: left;
}

/*table, th, td {
  border: 1px solid black;
}*/

/*
tr:nth-child(2n) {
    background-color: WhiteSmoke;
}
*/

a.link_standard:link{
  color:#3C876B;
}

a.link_standard:visited{
  color:#3C876B;
}

a.link_header:link{
  color:white;
}

a.link_header:visited{
  color:white;
}

a.link_kunde:link{
  color:DarkRed;
}

a.link_kunde:visited{
  color:DarkRed;
}

a.link_aktion_kunde{
  text-align: right;
}

a.link_aktion_kunde:link{
  color:DarkRed;
}

a.link_aktion_kunde:visited{
  color:DarkRed;
}

a.link_projekt:link{
  color:DarkBlue;
}

a.link_projekt:visited{
  color:DarkBlue;
}

a.link_auftrag:link{
  color:DarkGreen;
}

a.link_auftrag:visited{
  color:DarkGreen;
}

a.link_angebot:link{
  color:Chocolate;
}

a.link_angebot:visited{
  color:Chocolate;
}

a.link_rechnung:link{
  color:Teal;
}

a.link_rechnung:visited{
  color:Teal;
}

a.link_unwichtig:link{
  color:Gray;
}

a.link_unwichtig:hover{
  background-color: Gray;
  color:White;
}

.unwichtig{
  color:Gray;
}

a.link_unwichtig:visited{
  color:Gray;
}

a.neutral{
  
}

a.neutral:link{
    color:black;
    text-decoration: none;
}

a.neutral:visited{
    color:black;
    text-decoration: none;
}

a.neutral:hover{
  background-color: Grey;
  color:LightGrey;
}

a.tabelle{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle:link{
    color:#3C876B;
    text-decoration: none;
}

a.tabelle:visited{
    color:#3C876B;
    text-decoration: none;
}

a.tabelle:hover{
  background-color: #3C876B;
  color:LightGrey;
}

a.tabelle_projekt{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_projekt:link{
    color:DarkBlue;
    text-decoration: none;
}

a.tabelle_projekt:visited{
    color:DarkBlue;
    text-decoration: none;
}

a.tabelle_projekt:hover{
  background-color: DarkBlue;
  color:LightGrey;
}

a.tabelle_auftrag{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_auftrag:link{
    color:DarkGreen;
    text-decoration: none;
}

a.tabelle_auftrag:visited{
    color:DarkGreen;
    text-decoration: none;
}

a.tabelle_auftrag:hover{
  background-color: DarkGreen;
  color:LightGrey;
}

a.tabelle_angebot{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_angebot:link{
    color:Chocolate;
    text-decoration: none;
}

a.tabelle_angebot:visited{
    color:Chocolate;
    text-decoration: none;
}

a.tabelle_angebot:hover{
  background-color: Chocolate;
  color:black;
}

a.tabelle_rechnung{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_rechnung:link{
    color:Teal;
    text-decoration: none;
}

a.tabelle_rechnung:visited{
    color:Teal;
    text-decoration: none;
}

a.tabelle_rechnung:hover{
  background-color: Teal;
  color:white;
}

a.tabelle_unwichtig{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_unwichtig:link{
    color:Gray;
    text-decoration: none;
}

a.tabelle_unwichtig:visited{
    color:Gray;
    text-decoration: none;
}

a.tabelle_unwichtig:hover{
  background-color: Gray;
  color:White;
}


.unwichtig{
  color:DarkGray;
}


a.tabelle_material{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_material:link{
    color:sienna;
    text-decoration: none;
}

a.tabelle_material:visited{
    color:sienna;
    text-decoration: none;
}

a.tabelle_material:hover{
  background-color: sienna;
  color:LightGrey;
}

a.tabelle_stundensatz{
  padding: 0.1em;
  display: block;
  height: 100%
}

a.tabelle_stundensatz:link{
    color:RebeccaPurple;
    text-decoration: none;
}

a.tabelle_stundensatz:visited{
    color:RebeccaPurple;
    text-decoration: none;
}

a.tabelle_stundensatz:hover{
  background-color: RebeccaPurple;
  color:LightGrey;
}

a.button:link,a.button:visited{
  background-color: whitesmoke;
  color: black;
  font-size: 0.9em;
  border: 1px solid grey;
  padding: 0.1em 0.4em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  /*margin-left: 1em;*/
  display: inline; /*damit Aktionen in der selben Zeile stehen*/
}

a.button:hover, a.button:active {
  background-color: grey;
  color: white;
}

a.ButtonGross:link, a.ButtonGross:visited{
  font-size: 1.1em;
  padding: 0.3em 0.4em;
}

.seite_aktuell{
  font-weight: bold;
}

.element_kompletteBreite{
  display:block;
}

.element_rechtsbuendig{
  text-align: right;
  margin-top: 0;
}

dl {
    display: grid;
    grid-template-columns: 20% 80%;
    /*hyphens: auto;*/
}

dl.platzsparend,
dl.verschachtelt{
    display: block;
}

dl.verschachtelt > dt{
    color: black;
}

dl.platzsparend > dd,
dl.verschachtelt > dd{
    margin-left: 1em;
}

dl.verschachtelt > dd > dl{
    margin-top: 0em;
}

dl.verschachtelt > dd > dl:first-child{
    margin-top: 0em;
}

dl.einstellungen {
    display: grid;
    grid-template-columns: 50% 50%;
    /*hyphens: auto;*/
}

dt {
    grid-column-start: 1;
    color: grey;
    margin-top: 0.5em;
    /*white-space: nowrap;    /*Zeilenumbruch*/
    /*hyphens: auto;          /*Silbentrennung*/
}

.dt-wichtig {
    color: IndianRed;
    font-weight: bold;
}

dt.kunde{
    color: IndianRed;
}

dt.projekt{
    color: RoyalBlue;
}

dt.auftrag{
    color: #3C876B;
}

dd{
  margin-top: 0.5em;
}

.specs dd {
    grid-column-start: 2;
    margin-left: 0;
    padding-left: 1em;

}

.preis { 
    text-align:right;
    padding-right: 1em;
}

.buttonRechts { 
    text-align:right;
    float:right;
    padding-left: 1em;
}

i.anmerkung {
    color: Silver;
    
}

i.unwichtig {
    color: Silver;
    font-style: normal;
    
}

.tabbed {
    /*width:55em;*/
    float: left;
    margin-top: 1em;
    /*padding: 1em;
    background-color: white;
    box-shadow: 0px 0px 0.7em #555;
    font-size: 1em;*/
    z-index: 1;
}

.tabbedB {
    /*width:55em;*/
    float: left;
    margin-top: 1em;
    /*padding: 1em;
    background-color: white;
    box-shadow: 0px 0px 0.7em #555;
    font-size: 1em;*/
    z-index: 1;
}

.tabbed > input,
.tabbed article > div { 
    display: none; 
    z-index: 2;
}

.tabbedB > input,
.tabbedB article > div { 
    display: none; 
    z-index: 2;
}

.TabRaster > div { 
    display: none; 
}

.TabRasterB > div { 
    display: none; 
}

.TabRaster > div.Uebersicht { 
    display: block; 
}

.TabRasterB > div.Uebersicht { 
    display: block; 
}

.tabbed article > div.Uebersicht { 
    display: block; 
    z-index: 2;
}

.tabbedB article > div.Uebersicht { 
    display: block; 
    z-index: 2;
}

.tabbed article.ArtikelBreit{
    margin-top:3.5em;
    width:53em;
    float:none;
    /*animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
    z-index: 3;
    position:relative;
}

.tabbedB article.ArtikelBreit{
    margin-top:3.5em;
    width:53em;
    float:none;
    /*animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
    z-index: 3;
    position:relative;
}

.tabbed article>div {
  /*padding: 20px;*/
  width: 100%;
  border: 0px solid silver;
  /*background: #fff;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: #444;
    margin:0em;
    box-shadow: 0px 0px 0.7em #555;*/
    /*animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

.tabbedB article>div {
  /*padding: 20px;*/
  width: 100%;
  border: 0px solid silver;
  /*background: #fff;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: #444;
    margin:0em;
    box-shadow: 0px 0px 0.7em #555;*/
    /*animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

#tab1:checked ~ article .tab1,
#tab2:checked ~ article .tab2,
#tab3:checked ~ article .tab3 { 
    display: block; 
}

#tab1B:checked ~ article .tab1B,
#tab2B:checked ~ article .tab2B,
#tab3B:checked ~ article .tab3B { 
    display: block; 
}

.TabLeiste{
    float:left;
    margin-left:1em;
    background-color: DarkGray;
    box-shadow: 0px 0px 0.7em #555;
  
}

.TabLeisteB{
    float:left;
    margin-left:1em;
    background-color: DarkGray;
    box-shadow: 0px 0px 0.7em #555;
  
}

.TabLeiste label {
   float: left;
   padding: 0.7em 0.5em;
   /*border-top: 1px solid silver;
   border-right: 1px solid silver;*/
   background: DarkGray;
   color: #eee;
   border: none;
   font-size:1.5em;  
    z-index: 4; 
}

.TabLeisteB label {
   float: left;
   padding: 0.7em 0.5em;
   /*border-top: 1px solid silver;
   border-right: 1px solid silver;*/
   background: DarkGray;
   color: #eee;
   border: none;
   font-size:1.5em;  
    z-index: 4; 
}

.TabLeiste label:hover { 
    background: Gray; 
    cursor: pointer;
    }

.TabLeisteB label:hover { 
    background: Gray; 
    cursor: pointer;
    }

#tab1:checked ~ .TabLeiste label[for="tab1"],
#tab2:checked ~ .TabLeiste label[for="tab2"],
#tab3:checked ~ .TabLeiste label[for="tab3"]{
    background: white;
    color: #111;
    position: relative;
    font-weight: bold;
    /*border-bottom: none;*/
    /*box-shadow: 0px 0px 0.7em #555;*/
    /*box-shadow: 0px -8px 8px 1px rgba(0,0,0,0.40);*/
}

#tab1B:checked ~ .TabLeisteB label[for="tab1B"],
#tab2B:checked ~ .TabLeisteB label[for="tab2B"],
#tab3B:checked ~ .TabLeisteB label[for="tab3B"]{
    background: white;
    color: #111;
    position: relative;
    font-weight: bold;
    /*border-bottom: none;*/
    /*box-shadow: 0px 0px 0.7em #555;*/
    /*box-shadow: 0px -8px 8px 1px rgba(0,0,0,0.40);*/
}

.TabLeiste label[for="Uebersicht"]{
    background: white;
    color: #111;
    position: relative;
    font-weight: bold;
    margin-right: 5em;
}

.TabLeisteB label[for="Uebersicht"]{
    background: white;
    color: #111;
    position: relative;
    font-weight: bold;
    margin-right: 5em;
}

#tab1:checked ~ .TabLeiste label[for="tab1"]:after,
#tab2:checked ~ .TabLeiste label[for="tab2"]:after,
#tab3:checked ~ .TabLeiste label[for="tab3"]:after {
  content: "";
  display: block;
  position: absolute;
  height: 0.8em;
  width: 100%;
  background: white;
  left: 0;
  bottom: -1px;
}

.container_button_bild {
  position: relative;
  width: 5em;
  float: left;
  margin-right:0.5em;
  margin-left:0.6em;
}

.image_button_bild {
  display: block;
  width: 100%;
  height: auto;
}

.overlay_button_bild {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .2s ease;
  background-color: grey;
}

.container_button_bild:hover .overlay_button_bild {
  opacity: 1;
}

.text_button_bild {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.9em;
}

.wrapper {
  position: relative;
  width:  24.5em;
  height: 200px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.signature-pad {
  position: absolute;
  left: 0;
  top: 0;
  width: 24.5em;
  height:200px;
  border: 1px solid #CCCCCC;
}