body {
  margin: 0 auto;
  font-family:Verdana,Tahoma,Arial,sans-serif;
  font-size: 0.9em;
  box-sizing: border-box;
  background-color: white;
}

img {
  border: 0;
}

a {
  border-bottom:1px dotted #888888;
  color:#005b2f;
  text-decoration:none;
}

a:hover {
  border-bottom:1px dotted #888888;
  color:#333333;
  text-decoration:none;
}

a.header {
  color: white;
  text-decoration: none;
  border-bottom: 0;
  margin: 0 0.4em;
}

a.icon {
  text-decoration: none;
  border-bottom: 0;
}

img.icon {
  border: 0;
}

h1 {
  font-size: 1.5em;
  border-bottom: 1px solid gray;
  margin-bottom: 0px; /* edit buttons should be just after line */
}
h2 {
  font-size: 1.3em;
}
h2.top {
  margin-top: 0;
}

legend {
  color: #333;
  background-color: #EEEEEE;
}

summary {
  cursor: pointer;
  font-weight: bold;
}

.nobr {white-space: nowrap}

.even {
  background-color: #EEEEEE;
}

div.header {
  color: white;
  background-color: #86bd00;
  padding: 1em;
}
div#logo {
  float: left;
  padding-right: 1em;
}
div.clear {
  clear: both;
}

div.menus {
  background-color: #005b2f; /*#1e8206;*/
  height: 2em;
  clear: both;
}

div.change_lang {
  color: white;
  font-size: x-small;
  float: right;
  margin: 0.5em;
}
.selected_lang {
  border: 1px solid #86bd00;
  padding: 2px;
}

div.search {
  float: right;
  margin: 0.5em;
  font-size:0.9em;
}
div.login {
  float: right;
  margin: 0.5em;
}
span.username {
  color: white;
}

div#breadcrumb {
  margin-bottom: 0.5em;
}

div.content {
  margin: 0 1em;
}

div#col_content {
  display: inline-block;
  width: 83%;
  padding:0 0 1em 0;
}
div#col_func {
  display: inline-block;
  width: 15%;
  vertical-align: top;
  overflow:hidden;
}

div.message {
  color: red;
  padding: 4px;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  border: 1px solid #DDDDDD;
}

div.footer {
  margin-top: 1.5em;
  margin-left: auto;
  margin-right: auto;
  padding: 0.8em;
  width: 85%;
  color: white;
  background-color: #222222;
  font-size: 0.7em;
  clear: both;
}

div.button {
  border: 2px solid #005b2f;
  background-color: white;
  color: #005b2f;
  padding: 0.2em;
}

div.button a {
  border-bottom: 0px;
}
div.button a:hover {
  color: #005b2f;
  font-weight: bold;
  text-decoration: none;
}

div.edit_icons {
  position: relative;
  right: 2px;
  bottom: 3px;
  padding-top: 5px;
  float: right;
}

div.edit_buttons {
  margin-top: 3em;
  float: left;
  /*width: 20%;*/
  margin-left: 5px;
}

button.delete {
  color: red;
  margin-top: 1em;
}
img.edit_icon {
  display: none; /* showed on mouseover */
  /*visibility:hidden; */
}

.main_title {
  float:left;
  font-size: 1.4em;
  font-weight: bold;
}

.taxo_name {
  margin-top: 0.1em;
  padding-bottom: 2px;
  font-style: italic;
  font-size: 0.9em;
  background-color: #DDDDDD;
}
.taxo_link {
  color: black;
}

div.description {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.left_icon_margin {
  margin-left: 20px;
}

.help_text {
  color: #666666;
  font-style: italic;
  font-size: 0.9em;
}

.private, .status-private {
  color: red !important;
}
.status-private a {
  color: red;
}
.status-private a:hover {
  color:#333333;
}

/* class used by Django form handling */
ul.errorlist {
  list-style-type: none;
  color: #F00;
  margin: 0;
  margin-left: 0.5em;
  padding: 0;
}
ul.nobullet { list-style-type: none; }

/* forms */
table.form { width: 100%; }
.form th, th.left_header {
  vertical-align: top;
  padding-top: 5px;
  text-align: right;
  width: 20%;
}
.form textarea, .form input[type='text'] { width: 100%; box-sizing: border-box; }
.form select { max-width: 100%; }

div.photo {
  background-color: #e7ffac;
  padding: 4px;
  border: 1px solid #005b2f;
  margin-top: 2px;
}
div.photo_title {
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
  margin-top: 5px;
}

div.object_block_left {
  float: left;
  clear: left;
}
div.object_block_right {
  float: right;
  clear: right;
}
div.object_block_center {
  float: center;
  clear: center;
}
div.object_block_left, div.object_block_right, div.object_block_center {
  /*display: inline-block;*/
  border: 1px solid #CCC;
  margin: 0.3em;
  padding: 0;
  width: 47%;
}

.object_block_title {
  background-image: url("../img/header-bg.3628e76739b1.png"); background-repeat: repeat;
  font-size: 1em;
  font-style: italic;
  margin: 0;
  /*margin-top: 0.3em;
  margin-bottom: 0.1em;*/
  padding: 4px;
  padding-right: 1.6em; /* make room for dropdown menu */
}
div.object_block_content {
  padding: 3px;
}
div.object_block_navigation {
  text-align: center;
}

div.attributes_block {
  border: 1px solid #005b2f;
  padding: 2px;
  background-color: #EEE;  
}

/* This should be probably attributes of an enclosing column... */
div.block {
  float: right;
  margin: 0.6em;
}
div.half_block {
  width: 45%;
}

div.block h2 {
  padding: 4px;
  font-size: 1.1em;
  background-color: #005b2f;
  color: white;
  margin-top: 0;
  margin-bottom: 0px;
}
div.block_content {
  border-width: 1px;
  border-style: solid;
  border-color: #005b2f;
  margin-bottom: 1em;
}
div.block ul {
  padding-left: 2em;
  list-style-type: disc;
  list-style-image: url("../img/arrow_in_a_box.54aea4209c08.png");
  margin-bottom: 0.2em;
}
div.block p {
  font-size: 0.8em;
  margin-left: 1em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  list-style-image: url("../img/arrow_in_a_box.54aea4209c08.png");
}

div.expandable {
  margin-left: 1.5em;
  list-style-image: url("../img/open.2e85a2b88608.png");
}
img.expander {
  float:left;
  margin-top: 3px;
  margin-left: -1em;
}
/* Pagination styles */
div.pagination {
  font-size: 0.8em;
  margin-top: 0.8em;
}

.display-by-div {
  padding: 4px;
  background-color: #efefef;
  font-style: italic;
  font-size: small;
}

/* Search page styles */
div.search_crit {
  margin: 1em 0;
}
div.minus_icon {
  float: right;
}
li.search_result {
  padding-bottom: 0.5em;
}

div.img_result {
  float: left;
  padding: 0.5em;
  margin: 0.5em;
  border: 1px dotted gray;
  width: 144px;
}
div.img_result .caption {
  font-style: italic;
}
div.img_result .object_link {
  font-weight: bold;
}

/* Help pages styles */
p.note {
  background-color: #fdfdf2;
  background-image: url("../img/note.cb956589031f.png"); 
  background-repeat: no-repeat;
  padding: 0.8em 0.8em 0.8em 3.5em;
  border: 1px solid #999999;
}

li.task-done {
  list-style-image: url("../task/img/done.5359de7a06ba.png")
}
li.task-early {
  list-style-image: url("../task/img/early.992af0c942f6.png")
}
li.task-unknown {
  list-style-image: url("../task/img/unknown.119853f82337.png")
}
li.task-late {
  list-style-image: url("../task/img/late.a1f05fd56cec.png")
}
