* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
}
p{
  margin: 0;
}

.wrapper {
  width: 900px;
  margin: auto;
  margin-bottom: 20px;
}

/* LOGIN */
#banner1 {
  width:770px;
  margin:10px auto;
}
#banner2 {
  width:770px;
  margin:10px auto;
}


#logincontainer {
  width:500px;
  height:300px;
  border:1px solid black;
  position:relative;
  margin:40px auto;
}

#loginform {
  width: 200px;
  margin: 50px 150px;
  line-height: 1.5;
}

#loginform input {
  border:1px solid black;
  width: 100%;
}

#loginform p {
}

/* MENU */
#menu {
  display: inline-block;
  width:100%;
  min-height:40px;
  background-color: #c0392b;
  margin-bottom: 15px;
  padding: 0 15px;
  text-align: center;
}
#menu a {
  text-align: center;
  margin: 0 0.5em;
  display: inline-block;
  line-height: 40px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

#menu form {
  margin: 0;
  padding: 0;
  display: inline-block;
}

/* TABLE */

table#auftraege tr td:nth-child(1){
  text-align: right;
}

.auftrag select{
  background-color: #fff;
}

table#auftraege {
  border-collapse: collapse;
}

table#auftraege td {
  padding: 4px;
}

table#newauftrag input, .auftrag input {
  width: 100%;
}

table#newauftrag textarea, .auftrag textarea{
  min-width:450px;
  min-height:150px;
}

table.newuser tr th, table#newauftrag tr th, .auftrag th{
        text-align: right;
  padding-right: 1.5em;
}

table#userlist tr th{
  border-bottom:1px solid #000;
}

#editblock img,
#editauftrag img {
        width:100px;
        float:left;
}

.stati-container {
  margin-bottom: 20px;
}

tr.not-checked-before {
  background-color: yellow;
}

tr.not-checked-after {
  background-color: orange;
}

.navbar {
  display: block;
  width: 100%;
  min-height: 50px;
}

ul.submenu,
ul.submenu > li{
  padding: 0;
  margin: 0;
  float: left;
}

ul.submenu {
  display: block;
  list-style: none;
}

ul.submenu > li{
  position: relative;
  display: block;
}

ul.submenu > li > a{
  padding: 15px;
  position: relative;
  display: block;
}

ul.submenu > li:first-child > a{
  padding-left: 0;
}
