@charset "UTF-8";

/* base */

body,
div,
h1,
h2,
h3,
p,
ul,
ol,
li,
dl,
dt,
dd,
blockquote,
table,
caption,
tr,
th,
td,
img,
strong,
em,
tt,
form,
textarea,
input,
select,
button {
  border: none;
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  color: #333;
  font-family: "Open Sans", sans-serif;
  line-height: 160%;
  padding: 1em 10% 4em;
}

/* main */

h1 {
  font-size: 160%;
  font-weight: bold;
  margin-top: 2em;
}

h2,
h3 {
  clear: both;
  font-weight: bold;
}

h2 {
  background: #063;
  color: #fff;
  font-size: 110%;
  margin: 3.5em 0 1.5em;
  padding: .4em 7px .2em;
}

h3 {
  border-top: #ccc 1px solid;
  margin: 1.5em 2px 0 10px;
  padding: 2px 5px 0;
}

p,
ul,
ol,
dl,
blockquote,
table {
  margin: 1em 10px 0 20px;
}

div.pmid p {
  margin-left: 40px;
  text-indent: -20px;
}

ul,
ol {
  margin-left: 50px;
}

ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin: 0 0 0 2em;
}

li {
  padding-left: 0.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 1em;
}

blockquote {
  border: #ddd 1px solid;
  padding: 0 1.5em 1em;
}

blockquote p,
blockquote blockquote,
blockquote pre {
  margin: 1em 0 0;
}

blockquote ul,
blockquote ol {
  margin: 1em 0 0 2em;
}

table {
  border-collapse: collapse;
  table-layout: auto;
}

tr {
  border-bottom: #ccc 1px solid;
  border-top: #ccc 1px solid;
}

th,
td {
  padding: .2em 1em 0;
  vertical-align: middle;
}

th {
  background: #eee;
  text-align: center;
}

caption {
  text-align: left;
}

.matrix th,
.matrix td {
  border: #ccc 1px solid;
}

.noBorder tr {
  border: none;
}

.noBorder td {
  padding: 1em 2em 0 0;
  vertical-align: top;
}

img {
  max-width: 100%;
  margin-top: 1em;
}

a {
  text-decoration: none;
}

a,
button {
  color: #093;
}

a:hover {
  text-decoration: underline;
}

button:hover {
  background: #eee;
}

a:active,
button:active {
  color: #c00;
}

em {
  text-decoration: underline;
}

strong {
  font-weight: bold;
}

tt {
  font-family: monospace;
}

del {
  text-decoration: line-through;
}

sup,
sub {
  font-size: x-small;
}

button,
input,
select,
textarea {
  background: #fff;
  border: #ccc 1px solid;
}

textarea {
  height: 10em;
  width: 100%;
}

button,
input,
select, {
  margin-right: .5em;
}

button {
  padding: 0 .5em;
}

button,
select {
  cursor: pointer;
}

.date {
  float: right;
  font-size: 80%;
  font-weight: normal;
  margin-left: 1em;
}

.noLineHeight {
  line-height: 100%;
}

.box {
  border: #333 1px solid;
  padding: .2em .5em;
}

.italic,
.italic * {
  font-style: italic;
}

.left {
  text-align: left;
}

.right,
.tdRight tr {
  text-align: right;
}

.center,
.tdCenter tr {
  text-align: center;
}

/* header */

#header {
  border-bottom: #063 1px solid;
  width: 100%;
}

#header p {
  margin: 0;
  padding: 0;
}

#header p img {
  margin: 0;
}

#logoimg {
  float: right;
}

p#labname {
  font-size:240%;
  font-weight:bold;
  padding: .3em 0 .5em;
}

#labname a {
  color: #063;
}

p#menu {
  padding-left: .5em;
}

#menu a {
  margin-right: 1.5em;
}

/* color */

.b {
  color: #36f;
}

.g {
  color: #0c0;
}

.bg {
  background: #090;
}

.o { 
  color: #f90;
}

.bo {
  background: #f60
}

.r {
  color: #f66;
}

.br {
  background: #900;
}

.v {
  color: #c0f;
}

.bv {
  background: #f3c;
}

.bw {
  background: #fff;
}

.by {
  background: #ff0;
}