/* General layout rules */

#header {
  background-image: url('../images/mozilla-banner.gif');
  background-repeat: no-repeat;
  background-color: rgb(2, 2, 4);
  height: 58px;
  position: relative;
}

#header h1 {
  position: absolute;
  right: 5px;
  bottom: 10px;
  margin-left: 600px;
  font-size: 150%;
  color: white;
  text-align: right;
}

#header a {
  color: blue;
}

#navbar {
  font-size: 80%;
  border-bottom: 1px solid rgb(2, 2, 4);
}

#navbar img {
  vertical-align: middle
}

#navbar a {
  color: blue;
}

.navbox {
  float: right;
  padding: 2px 5px 2px 20px;
}

#breadcrumbs {
  padding: 2px 0 2px 10px;
}

#content {
  padding: 10px 10px 10px 10px;
}

#platforms {
  float: right;
}

.body h2 {
  font-size: 120%;
  margin: 0 20px 0.5em 20px;
  text-align: center;
  padding: 2px;
  color: black;
  font-weight: bold;
  /*background: silver;
  cursor: pointer;
  -moz-border-radius: 10px;*/
}

.body ul {
  margin-bottom: 2em;
}

.body ul.bulletlist {
  margin-left: 2em;
}

.body ul.bulletlist li {
  list-style-type: disc;
}

.body ul.implementlist li {
  text-align: center;
}

.body p {
  margin-bottom: 0.5em;
}

#overview {
  position: fixed;
  top: 68px;
  right: 10px;
  background-color: white;
  margin-bottom: 10px;
  width: 200px;
  font-size: 80%;
}

#overview .block {
  border: 1px solid blue;
  text-align: center;
  padding: 5px;
  margin-bottom: 10px;
}

#overview h2 {
  font-weight: bold;
  margin-top: 0;
}

#overview + .body {
  margin-right: 210px;
}

/* Index page rules */

.interfacelist {
  -moz-column-count: 3;
}

.componentlist {
  -moz-column-count: 2;
}

.filtersection {
  padding: 1px;
}

.variants {
  vertical-align: super;
  font-size: 70%;
}

/* Interface rules */
.controls {
  text-align: center;
}

.controls input {
  vertical-align: baseline;
}

.hidesame .unchanged {
  display: none;
}

.diff {
  width: 100%;
  table-layout: fixed;
}

.diff .before {
  width: 50%;
}

.diff .after {
  width: 50%;
}

.diff h2 {
  text-align: center;
}


tr.added .after,
div.added {
  background-color: lightgreen;
}

tr.removed .before,
div.removed {
  background-color: rgb(255, 204, 153);
}

.matching {
}

.modified {
  background-color: lightblue;
}
.commentrow td {
  padding-top: 1em;
  vertical-align: bottom;
}

.signaturerow td {
  padding-bottom: 1em;
  vertical-align: top;
}

.member, .idl {
  font-family: monospace;
  margin: 1em 0 1em 40px;
}

.diff .signature {
  margin: 2px;
}

.signature {
  padding-left: 8em;
  text-indent: -8em;
}

.param {
  white-space: nowrap;
}

.comment {
  color: grey;
  padding-left: 4em;
  margin-bottom: 0.5em;
  font-size: 90%;
}

.sourcelink {
  vertical-align: middle;
}

.keyword {
  color: darkred;
}

.keyword[title] {
  border-bottom: 1px dashed darkred;
}

.name {
  color: green;
}

.name a,
.type a {
  color: inherit;
}

.type {
  color: blue;
}

.value {
  color: purple;
}

