body {
  margin: 0;
  height: 100vh;
  font-family: 'Roboto';
  font-weight: 400;
  font-size:18px;
}
h1, h2{
	padding: 15px;
background: #FC8210;
background: linear-gradient(85deg,rgba(252, 130, 16, 1) 0%, rgba(221, 221, 221, 1) 100%);
	color:white;
	text-shadow: 3px 3px 30px #999;
}
.wrapper{
	max-width:1280px;
	margin: 0 auto;
	text-align:left;
}
#container {
  display: flex;
  height: calc(100% - 452px);
	margin-bottom:40px;
}
#navbar, #sumbar{
  width: 20%;
  min-width:300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right:20px;
}
#navbar label {
  font-size: 16px;
  margin: 20px 0 5px 0;
  font-weight: 700;
	color: #777;
}

#navbar input {
  width: 100%;
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid #aaa;
  font-family: monospace;
}

#navbar button {
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-size:22px;
}

#navbar button:hover {
  background: #555;
}

#sum, #price, #mats, #posts {
  font-weight:600;
  text-align:right;
}
#sumTable {
  font-size: 18px;
	width:100%;
}
#sumTable td:last-child{
	font-size:14px;
}
#navbar select{
	padding: 10px 5px;
	font-size: 18px;
}
#sumTable td:last-child{
	text-align:left;
}
#lineTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  text-align: right;
}
#lineTable th{
  font-size: 13px;
}
th, td {
  border-bottom: 1px solid #ccc;
  padding: 4px;
  text-align: right;
}

/* Wrapper für Canvas + Raster */
#canvasWrapper {
  position: relative;
  flex-grow: 1;
  border-right: 2px solid rgb(136, 136, 136);  border-bottom: 2px solid rgb(136, 136, 136);
}

/* Raster hinter dem Canvas */
#gridDiv {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(to right, #ccc 1px, transparent 1px),
    linear-gradient(to bottom, #ccc 1px, transparent 1px);
  background-size: 25px 25px;
  z-index: 0;
}

#zaunCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent;
  cursor: crosshair;
  z-index: 1;
}
#picsWrapper img{
	max-width:120px;
	border:1px solid #aaa;
	box-shadow:2px 2px 6px #ccc;
	padding:10px;
	margin: 10px;
}
#picsWrapper img first-child{
	margin-left:0;
}