* {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  font-family: "Lucida Console",sans-serif;
  color: #111;
  background: url('/media/img/iustitia.png') no-repeat top left;
}

a {
  color: #111;
  text-decoration: none;
}

ul {
  list-style-type: none;
}

img {
  border: none;
}

#header {
  margin: 40px 10% 0 117px; 
  padding-bottom: 4em;
  border-bottom: 1px solid #aaa;
  white-space: nowrap;
}

#logo {
  float: left;
  margin-left: 70px;
  margin-right: 3em;
  margin-bottom: 1em;
}

#tools {
  position: relative;
  display: inline;
  list-style-type: none;
  float: right;
  white-space: nowrap;
}

#tools li {
  display: inline;
  background-color: #292931;
  line-height: 38px;
  padding: 10px 1em 10px 1em;
  border-right: 2px solid white;
  font-size: 1em;
}

#tools li a {
  color: white;
}

#darkbox {
  display: none;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index:1000;
  -moz-opacity: 0.8;
  opacity:.80;
  filter: alpha(opacity=80);
}

#login {
  float: right;
  clear: both;
  position: absolute;
  background-color: white;
  padding: 1em;
  right: -2em;
  top: 3em;
  display: none;
  z-index:1001;
  border: 2px solid #ddd;
}

#login input {
  border: 1px solid #ddd;
}

#loginemail, #loginpassword {
  width: 15em;
  clear: both;
  display: block;
}

#loginpassword {
  margin-top: 0.5em;
}

#logincancel {
  float: left;
  margin-top: 0.8em;
}

#loginsubmit {
  float: right;
  margin-top: 0.8em;
}



#description {
  margin: 1em 10% 0 117px; 
  background-color: #292931;
  color: white;
  font-size: 0.8em;
}

#description p {
  padding: 1em;
}

#iustitia {
  float: left;
  position: relative;
  top: -2.5em;
  right: 0.5em;
  z-index: -1;
}

#nav {
  margin: 1em 10% 0 117px;
  border-top: 1px solid #aaa;
  list-style-type: none;
  font-size: 0.8em;
  font-weight: bold;
  padding-top: 1em;
}

#nav li {
  display: inline;
}

#pagetitle {
  margin: 0.5em 10% 0 117px;
  color: #111;
  width: 30%;
  padding: 0.2em;
  border-bottom: 1px solid grey;
  white-space: nowrap;
}

#items {
  margin: 2em 25% 0 10%;
  font-family: Verdana,sans-serif;
  font-size: 0.9em;
  text-align: justify;
}

.item {
  padding-bottom: 1em;
  background-color: #fff;
  border-bottom: 1px solid grey;
  font-size: 1em;
  margin: 1em;
  margin-bottom: 2em;
}

.itempic {
  float: left;
  margin-right: 1em;
}

.itemtitle {
  margin-bottom: 0.5em;
  font-size: 1em;
}

.itemmod {
  font-size: 11px;
  font-weight: normal;
  border-bottom: none !important;
}

.itemsignup {
  font-weight: 800;
  font-size: 0.8em;
}

.iteminfo {
  margin-top: 1em;
  font-size: 0.8em;
  line-height: 2em;
}

.itemcomment {
  width: auto;
  border-bottom: 1px solid grey;
  margin-top: 1em;
  white-space: nowrap;
}

.itemcomments {
}

.itemcommentinfo {
  font-size: 0.8em;
}

.itemcommentform {
  margin-top: 1em;
}

.itemcommenttext {
  display: block;
  border: 1px solid lightgrey;
  color: grey;
  width: 50%;
  height: 8em;
  margin-bottom: 0.5em;
}

.itemcommentsubmit {
  display: block;
  background-color: white;
  border: 1px solid lightgrey;
}

.itemuserlist {
  position: relative;
  left: -2em;
  font-size: 0.8em;
  background-color: white;
}

.itemuserlist li {
  list-style-type: none;
  display: inline;
}


.itemsignupform {
  position: relative;
}

.itemsignupmemberlistfilter {
  margin-bottom: 0.5em;
}

.itemsignupform li {
  list-style-type: none;
}

.itemsignupform input {
  
}

.itemsignupmemberlist {
  display: none;
  background-color: white;
  position: absolute;
  left: 9em;
  top: 0em;
  border: 2px solid #ddd;
  padding: 0.5em;
}

#items pre {
  margin-bottom: 1em;
  font-family: Verdana,sans-serif;
}

#items p, h1, h2, h3, h4, h5, h6, ul {
  margin-bottom: 1em;
}

#items a {
  border-bottom: 1px dotted black;
}

#items ul {
  list-style-type: square;
  margin-left: 2em;
}

#items ol {
  margin-left: 2em;
}

#items hr {
  margin: 2em;
  width: 50%;
  height: 1px;
}

@media print {
  #tools, #nav, #description {
    display: none;
  }
  * {
    margin: 0;
    padding: 0;
  }
}

