body {
  position: relative;
  background-color: #cccccc;
  padding: 5px;
  font-family: "Liberation Sans",sans-serif;
  margin: 5px;
  text-align: center;
}

h1 {
  font-size: 24px;
}

.fixblock {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  background-color: #cccccc;
  z-index: 10;
  padding: 10px;
  /*padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;*/
  border-bottom: 1px dashed black;
  width: calc(100% - 20px);
}

.abutton {
  text-decoration: none;
}

.buttons {
  border-radius: 10px;
  background-color: #FF0000;
  padding: 5px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

.buttons h1 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.pictext{
  width: 100%;
}

.pictext h1,h3 {
  margin: 1px;
}

.catcard {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-color: #FFFFFF;
  width: 140px;
  height: 275px;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
  padding: 5px;
  text-align: center;
  font-size: 18px;
  margin: 5px;
  color: black;
}

.catcard img {
  position: absolute;
  bottom: 5px;
  left: 5px;
  width: 140px;
  height: 180px;
}

.tovcard {
  display: inline-block;
  vertical-align: middle;
  background-color: #FFFFFF;
  border: 1px solid #000000;
  width: 320px;
  height: 140px;
  border-radius: 10px;
  box-shadow: 5px 5px 10px #000000AA;
  padding: 5px;
  text-align: left;
  font-size: 14px;
  margin: 5px;
  color: black;
}

.tovparams {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  border-top: 1px dotted black;
  /*border: 1px solid red;*/
}

.tovparams div {
  flex-grow: 1;
  text-align: center;
}

#calcdisp {
  background-color: white;
  font-size: 42px;
  border-radius: 5px;
  font-family: Droid Sans Mono, monospace;
}

#calckbrd > div {
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 5px 5px 10px #000000AA;
  margin: 5px;
  background-color: #FFFFFF;
  font-size: 42px;
  font-family: Droid Sans Mono, monospace;
  width: 70px;
  height: 50px;
  vertical-align: middle;
}

#calckbrd .notnum {
  font-family: Droid Sans Mono, monospace;
  background-color: #DEAA87;
  overflow: hidden;
  font-size: 42px;
  width: 128px;
  height: 50px;
}

#calckbrd #butconfirm {
  width: 280px;
}

.orderitem {
  border-bottom: 1px solid #000000;
  text-align: left;
  margin-top: 10px;
}

#itog {
  margin-top: 15px;
  text-align: right;
  font-size: 24px;
}

.dbtable {
  width: 100%;
}

.dbtable td {
  border: 1px solid black;
  text-align: left;
  padding: 5px;
}

.backdiv {
  background-color: #FFFFFF;
  padding: 5px;
}

.formstyle {
  text-align: left;
}

.formstyle input,textarea {
  box-sizing: border-box;
  width: 100%;
}

.formstyle textarea {
  height: 4em;
}

.formstyle div {
  margin: 5px 0px 5px 0px;
}

.adminform input {
  margin-top: 10px;
  font-size: 16pt;
  width: 250px;
}

.selectblock {
  text-align: left;
}

.selectblock input {
  width: auto;
}

.prop {
  text-align: left;
}

.prop div {
  margin: 5px 0px 5px 0px;
}

.prop span {
  font-weight: bold;
}

.orderClickedRow {
  cursor: pointer;
}

#cart {
  position: fixed;
  width:75px;
  height: 75px;
  left: 10px;
  bottom: 10px;
  cursor: pointer;
  z-index: 20;
  border-radius:25px;
  overflow: visible;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#cart img {
  width: 75px;
  height: 75px;
  filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
}

#searchbox {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: baseline;
  position: fixed;
  width: calc(100% - 105px);
  height: 35px;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  border-radius:5px;
  border: 2px solid rgb(133, 133, 133);
  background-color: #FFFFFF;
  padding: 2px 2px 0px 0px;
}

#searchbox input {
  width: 100%;
  font-size: 24px;
  background: none;
  border: none;
}

#searchbox div {
  flex-grow: 1;
}

#searchbox img {
  width: 30px;
  filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.custominput {
  font-size: 24px;
  margin-bottom: 30px;
}

a.anchor {
  scroll-margin-top: 50px;
}

.tovopis {
  margin-top: 20px;
  text-align: left;
}

.tovname {
  cursor: pointer;
  text-decoration: underline solid;
  color: #000055;
}

.tovname span {
  padding: 1px;
}

:active, :hover, :focus {
  outline: 0;
  outline-offset: 0;
}

#spacer {
  height: 50px;
}

#pricedisp {
  border: 1px solid black;
  margin: 5px;
}

.dbtable .consoletable {
  border: none;
  padding-top: 20px;
}

.catanchor {
  scroll-margin-top: 115px;
}

@media screen and (max-height:450px) {
  .fixblock {
    position: absolute;
  }
}
