.contribute-element, .table td.btn-more {
  text-align: center;
}

#wrap {
  min-height: 100%;
}

#main {
  overflow:auto;
  padding-bottom:50px; /* this needs to be bigger than footer height*/
  clear:both;
}

.footer {
  position: relative;
  margin-top: -50px; /* negative value of footer height */
  height: 50px;
  clear: both;
  text-align: center;
  padding-top:20px;
} 

.footer .copyright {
  clear: both;
}

.footer .icons {
  margin: auto;
  padding-bottom: 20px;
  width: 150px;
  overflow: auto;
}

.footer .icons .icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin: 0 2px;
  float: left;
}

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

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

th.operator {
  vertical-align: middle;
  text-align: center;
  font-family: monospace;
}

table.formula-wrap th, table.formula-wrap td,
table.formula      th, table.formula      td {
  border: none;
  white-space: nowrap;
}

table.formula th.operator {
  font-size: 150%;
  border-right: 1px solid rgb(221, 221, 221);
}

table.formula td.pkgname {
  vertical-align: middle;
}

td table.formula {
  margin-left: -8px;
}

table.formula-wrap {
  width: 100%;
  margin-left: -8px;
}

table.formula-wrap > tbody > tr > th,
table.formula-wrap > tbody > tr > td {
  padding-top: 0;
  padding-bottom: 0;
  border: none;
}

table.formula-wrap > tbody > tr > td:last-child,
table.formula      > tbody > tr > td:last-child {
  width: 100%;
}

tr.embedded-formula > th, tr.embedded-formula > td {
  font-size: 85%;
  padding-top: 4px;
  padding-bottom: 4px;
  border-top: 0;
}

tr.embedded-formula > td:last-child {
  width: 100%;
  text-align: right;
}
