@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600);

html { 
  font-size: medium;
  font-family: "Open Sans", Tahoma, Geneva, sans-serif;
}

body { 
  background-color: #e7e700; 
  margin-left:2%; 
  margin-right:2%; 
}

img.mainlogo {
  margin: 1em 0.5em 0.25em 0;
  float: left;
  max-height: 10em;
}

article {
  min-height: 50em;
}

h1.title {
  margin: 0.5em;
  font-size: 1.75em;
  font-weight: bold;
  text-align: center;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
  text-align: left;
}

section {
   clear: both;
   overflow: auto;
}

section.page { 
  background-image: url("pics/gradientO.png");
  background-repeat: repeat-x;

  margin: 8px;
  padding: 9px 11px;
  border-radius: 25px;
}

section#halle {
  height: 254px;
  background-position: center; 
  background-repeat: no-repeat;
  background-image: url("pics/halle.png");
  background-size: cover;
}

section#kuchen {
  height: 254px;
  background-position: center; 
  background-repeat: no-repeat;
  background-image: url("pics/kuchen.jpg");
  background-size: cover;
}

section#buecher {
  height: 254px;
  background-position: center; 
  background-repeat: no-repeat;
  background-image: url("pics/buecher.jpg");
  background-size: cover;
}

section#schuhe {
  height: 254px;
  background-position: center; 
  background-repeat: no-repeat;
  background-image: url("pics/schuhe.jpg");
  background-size: cover;
}

section#impressum { 
  background-image: url("pics/gradientO.png");
  background-repeat: repeat-x;

  margin: 8px;
  padding: 9px 11px;
  border-radius: 25px;
}

section#kontact { 
  background-image: url("pics/gradientO.png");
  background-repeat: repeat-x;

  margin: 8px;
  padding: 9px 11px;
  border-radius: 25px;
}
 
#preise {
   text-align: right;
} 
#preise th {
   padding-left: 0.25em;
   padding-right: 0.25em;
} 

nav.menu {
  clear: left;
  margin: 0;
  padding: 0;
  height: 2.75em;
  background-color: #ff0000;
  left: 2%;
  right: 2%;
}

nav.menu
    {
  position: -webkit-sticky; /* Safari */
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 0;
    }

.navcolor {
   color: #000000;  
}

.navbgcolor {
   color: #ff0000;  
}

.bigfat {
  font-weight: bold;
  font-size: 2em;
}

ul.menu {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
}

ul.menu li {
  float: left;
  display: block;
  padding: 0.75em;
}

ul.menu li.login {
  float: right;
}

ul.menu li.name {
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.25em;
  padding: 0.25em 0.5em 0.25em 0.5em;
  display: inline;
}

ul.menu li a {
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
}

ul.menu li a.xmenu {
   color: #ffffff;
   text-decoration-line: overline underline;
}

ul.menu li a.login {
  background-color: #000000;
  border-color: white;
  border-style: solid;
  margin: 0.25em;
  padding: 0.25em 0.5em 0.25em 0.5em;
  border-radius: 1em;
  display: inline;
}

ul.menu li a.dropdown {
  display: none; 
}

ul.menu li a:hover {
  background-color: #ddd;
  color: black;
}

div.hamburg {
  width: 2em;
  height: 0.25em;
  background-color: white;
  margin: 0 0 0.25em 0;
}

.dropdown-content {
  background-color: #ff0000;
  padding: 0.5em 0.5em 0.5em 0;
  display: inline;
}

.dropdown-content a {
  font-size: 1em;
  padding: 0.5em;
}

.dropdown-content a:hover {
   background-color: #f1f1f1
}

.login-content {
  display: none;               
  background-color: #ff0000;
  box-shadow: 0px 8px 16px 0px #7f7f7f;
  position: absolute;
  top: 2.75em;
  right: 0.25em;
  z-index: 1;
}

.login-content a {
  display: block; 
  margin: 1em;  
}

.login:hover .login-content {
  display: block;
}

ul.tabheader {
  clear: both;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
  border-color: #000000;
  border-style: none none solid none;
}

ul.tabheader li {
  float: left;
  display: block;
  margin-bottom: -0.25em;
  margin-left: 0.25em;
  padding: 0.5em;
  border-color: #000000;
  border-style: solid;
  border-radius: 1em 1em 0 0;
  background-color: #ff0000;
}

ul.tabheader li.selected {
  float: left;
  display: block;
  margin-left: 0.25em;
  padding: 0.5em;
  border-color: #000000;
  border-style: solid;
  border-radius: 1em 1em 0 0;
  background-color: #000000;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
}

ul.tabheader li a {
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
}

ul.tabheader li a:hover {
  background-color: #ddd;
  color: black;
}

a.anchor {
    display:block;
    height: 2.5em;
    margin:-2.5em 0 0;
}

footer {
  background-color: #000000;
  list-style-type: none;
  text-align: center;
  margin: 1em 0 0 0;
  padding: 0;
}

footer a {
  text-decoration: none;
  font-size: 1em;
  color: #f2f2f2;
  display: inline-block;
  padding: 10px;
}

ul.boxes {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

#c1, #c2 {
  justify-content: center;
}

ul.boxes > li {
  width: 15em;                                                                                      
  margin: 0.5em;
  padding: 0;
  border-color: #000000;
  border-style: solid;
  border-radius: 1em;
}

ul.boxes > li.wide {
  width: 25em;
}

ul.boxes > li.xwide {
  width: 35em;
}

ul.boxes > li.text {
  width: 75%;
  border-style: none;
}

ul.boxes > li > div {
  margin: 0.75em;
}

ul.boxes > li > p {
  padding: 0 1em 0.5em 1em;
}

ul.boxes > li > p:first-child {
  padding: 0.75em;
}

br.clear {
  clear: both;
}

div.boxr {
  display: inline;
  float: right;
  border-color: #000000;
  border-style: solid;
  border-radius: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
}

div.right {
  display: inline;
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

div.boxr > div {
  margin: 0.75em;
}

div.boxl {
  display: inline;
  float: left;
  border-color: #000000;
  border-style: solid;
  border-radius: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
}

div.left {
  display: inline;
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

div.simple > ul {
  overflow: auto;
}

div.boxl > div {
  margin: 0.75em;
}

div.box {
  border-color: #000000;
  border-style: solid;
  border-radius: 1em;
  margin: 0 0.5em 0.5em 0.5em;
  max-width: 30em;
}

div.box30 {
  border-color: #000000;
  border-style: solid;
  border-radius: 1em;
  margin: 0 0.5em 0.5em 0.5em;
  width: 30em;
}

div.box > div {
  margin: 0.75em;
}

.canceled {
    text-decoration:line-through;
}

div.canceltext {
    font-weight: bold;
    font-size: 110%;
    border-color: #FF6A00;
    border-radius: 0.5em;
    border-style: solid;
    padding: 0.25em;
}

table {
  margin: 0.5em;
}

table td {
  padding: 0.25em;
}

.boxheader {
  text-decoration: none;
  margin: 0;
  padding: 0.5em;
  text-align: center;
  background-color: #000000;
  color: white;
  border-radius: 0.5em;
}

.boxheader a {
  text-decoration: none;
  color: white;
}

table.data {
  border-collapse: collapse;
}

table.x60 {
    max-width: 60em;
}

td.i10 {
    min-width: 10em;
}

table.data td {
  border: 2px solid #ff0000;
}

table.data th {
  background-color: #ff0000;
  color: white;
  border: 2px solid #000000;
  padding: 0.25em;
}

table.data th a {
  color: white;
}

.edit {
  width: 100%;
  padding: 0;
  margin: 0;
}

td.data {
    padding: 0;
    margin: 0;
}

table.data td.tablecmdline {
  border: none;
  padding: 0.5em 0.5em 0.5em 0.5em;
}

td.price {
  text-align: right;
}

td.number {
  text-align: right;
}

td.smallcomment {
  text-align: left;
  font-size: 0.8em;
}

.linkButton { 
    background: none;
    border: none;
    color: #f2f2f2;
    text-decoration: underline;
    cursor: pointer; 
    font-size: 1em;
}

.button {
  background-color: #000000;
  border-color: #000000;
  border-radius: 1em;            
  color: #f2f2f2;   
  font-size: 1.25em;
  padding: 0.25em 0.5em 0.25em 0.5em;
}

.smallbutton {
  background-color: #000000;
  border-color: #000000;
  border-radius: 0.5em;            
  color: #f2f2f2;   
  font-size: 0.8em;
  padding: 0.2em 0.3em 0.2em 0.3em;
}

.removebutton {
  background: url("pics/remove16.png") no-repeat bottom right;
  border: none;
  width: 18px;
  height: 18px;
  spacing: 0.25em;
}

.button a {
  color: white;   
  text-decoration: none;
}

.button:hover {
  background-color: #ddd;
  color: black;
}

a.flat {
  color: black;
}

dt {
   margin-top: 1em;
   font-weight: bold;
}

dd {
   margin-top: 0.5em;
}

input[type="email"] {
    width: 18em;
}
input[type="password"] {
    width: 12em;
}
input[type="number"] {
    width: 4em;
}
textarea {
    width: 100%;
    height: 6em;
}
textarea.big {
    margin: 2%;
    width: 95%;
    height: 25em;
}
textarea.r4 {
    margin: 2%;
    width: 95%;
    height: 4em;
}
textarea.long {
    width: 25em;
    height:10em;
}
textarea.small {
    width: 15em;
    height: 6em;
}

input.user {
    width: 12em;
}
input.date {
    width: 8em;
}
input.zip {
    width: 5em;
}
input.shorturl {
    width: 20em;
}
input.url {
    width: 25em;
}
input.longtext {
    width: 20em;
}
input.notice {
    min-width: 30em;
}
input.shorttext {
    width: 5em;
}
input.number {
    width: 4em;
}
input.itemsize {
    width: 6em;
}
input.itemcolor {
    width: 10em;
}
input.itemtext {
    width: 98%;
    min-width: 10em;
}
input.price {
    width: 5em;
    text-align: right;
}
label {
    font-style: italic;
}
div.warning {
   color: #FF6A00;
}
span.error {
    color: #FF6A00;
}
p.error {
    font-weight: bold;
    font-size: 110%;
    color: #FF6A00;
    border-color: #FF6A00;
    border-radius: 0.5em;
    border-style: solid;
    padding: 0.25em;
}
p.exception {
    font-weight: bold;
    font-size: 110%;
    color: #FF6A00;
    border-color: #FF6A00;
    border-radius: 0.5em;
    border-style: solid;
    padding: 0.25em;
}
p.message {
   font-weight: bold;
   font-size: 110%;
   color: #000000;
   border-color: #000000;
   border-radius: 0.5em;
   border-style: solid;
   padding: 0.25em;
}
input.missing {
   background-color: #FF6A00;
}
label.missing {
   background-color: #FF6A00;
}
input.hl {
   background-color: #FF7F7F;
}
span.hl {
   font-weight: bold;
   font-size: 1.1em;
}
dl.tab {
    display: grid;
    grid-template-columns: auto 1fr;
}
dl.tab dt {
    font-weight: normal;
    margin: 0.5em;
}
a.emailpdf:after {
    content: "";
    display: inline-block;
    background: url("pics/emailpdf.png") no-repeat top right;
    width: 36px;
    height: 26px;
}
a.printpdf:after {
    content: "";
    display: inline-block;
    background: url("pics/printpdf.png") no-repeat top right;
    width: 27px;
    height: 23px;
}
a.listpdf:after {
    content: "";
    display: inline-block;
    background: url("pics/listpdf.png") no-repeat top right;
    width: 27px;
    height: 23px;
}
a.labels:after {
    content: "";
    display: inline-block;
    background: url("pics/labels.png") no-repeat top right;
    width: 27px;
    height: 23px;
}
a.numpdf:after {
    content: "";
    display: inline-block;
    background: url("pics/numpdf.png") no-repeat top right;
    width: 27px;
    height: 23px;
}
button.printpdf {
    border: 0px;
    background: url("pics/printpdf.png") no-repeat top left;
    width: 27px;
    height: 23px;
}
button.labels {
    border: 0px;
    background: url("pics/labels.png") no-repeat top left;
    width: 27px;
    height: 23px;
}
a.help {
  text-decoration: none;
  background-color: #000000;
  border-color: #000000;
  border-radius: 1em;            
  color: #f2f2f2;   
  font-size: 1em;
  padding: 0.25em 0.5em 0.25em 0.5em;
  margin-right: 1em;
}

img.logo {
  max-width: 36em;
  min-width: 9em;
  height: auto;
  max-height: 12em;
}

img.preview {
    max-width: 23em;
    max-height: 12em;
    height: auto;
}

.bar {
   background-color: #B0B0FF;
   border-style: solid;
   border-color: #8080FF;
   border-radius: 0 0.5em 0.5em 0;
}

.inc {
   font-size: 0.75em;
   color: #00A000;
}

.dec {
   font-size: 0.75em;
   color: #ff0000;
}

@media screen and (max-width: 65em) {

  ul.menu li a.dropdown {
    display: inline; 
  }
 
  .dropdown-content {
    display: none;               
    box-shadow: 0px 8px 16px 0px #7f7f7f;
    position: absolute;
    top: 2.75em;
    left: 0.25em;
    z-index: 1;
  }
  
  .dropdown-content a {
    display: block;   
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  ul.boxes li.xwide {
    width: 25em;
  }

  input[type="email"] {
      width: 15em;
  }
  textarea {
      width: 100%;
      height: 6em;
  }
  textarea.long {
      width: 15em;
      height: 10em;
  }
  textarea.small {
      width: 15em;
      height: 6em;
  }

  input.url {
      width: 15em;
  }

  input.longtext {
      width: 15em;
  }

  td.w3, th.w3 {
     display: none; 
  }

  div.box {
    max-width: 30em;
  }
}

@media screen and (max-width: 50em) {

    ul.menu li.name {
        font-weight: bold;
        font-size: 1.2em;
        margin-left: auto;
        margin-right: auto;
        padding: 0.2em 0.25em 0.2em 0.25em;
        display: inline;
        text-align: center;
    }

    td.w3, th.w3 {
        display: none;
    }

    td.w2, th.w2 {
        display: none;
    }

    div.box {
        max-width: 30em;
    }
}
