body {
  color: black;
  background-color: white;
  margin: 1em 2em;
  font-family: arial,helvetica,verdana,geneva,sans-serif;
  font-size: 10pt;
}
h1, h2, h3 {
  color: black;
  font-size: 16pt;
  font-weight: bold;
  font-variant: small-caps;
  margin: 0;
  padding: 0;
}
h2 {
  font-size: 12pt;
  padding: 0 1.5em;
  margin: 0.5em -1.5em;
  border: 1px solid black;
  border-width: 1px 0;
}
h2.skills {
  background-color: gray;
}
h2 a {
  float: right;
  font-size: 10pt;
  text-decoration: underline;
  font-variant: normal;
  font-weight: normal;
}
h3 {
  font-size: 12pt;
  font-variant: normal;
  margin-bottom: -0.75em;
}
ul {
  list-style-image: url('/dogtivities/images/dot-paw.png');
}
ul li {
  margin: 0.5em 0;
}
table ul {
  margin: 0;
  padding: 0;
}
table ul li {
  margin-left: 2em;
}
dl.test ul li {
  padding: 0;
  margin: 0 0 0.3em 0.7em;
}
dl.test ul {
  margin-bottom: -0.3em;
}
dl.test .descr {
  margin-bottom: 0.3em;
}
dl.test .note {
  margin-top: 0.6em;
}

.small {
  font-size: 0.8em;
}

table.list {
  border-spacing: 0 2em;
}
table.list th.num,
table.list th.title {
  vertical-align: top;
}
table.list th.num {
  text-align: right;
  padding-right: 0.5em;
}
table.list th.title {
  width: 12.5em;
  text-align: left;
  border-top: 1px solid #e5e5e5;
}
.title {
  background-color: #f2f0e5;
}

table.grid {
  border-collapse: collapse;
  border: 2px solid #999999;
  width: 120em;
}
table.grid td,
table.grid th {
  vertical-align: top;
}
table.grid th.num {
  padding-right: 0.5em;
  padding-left: 0;
  text-align: right;
}
table.grid tbody th.title {
  text-align: left;
}
table.grid tbody td {
  width: 12em;
}
table.grid .gray,
table.grid tbody th {
  background-color: #f2f0e5;
}
table.grid th,
table.grid td {
  border: 1px solid #e5e5e5;
}
table.grid tbody th.num {
  border-right: none;
}
table.grid tbody th.title {
  border-left: none;
}
table.grid .dark.top {
  border-top-color: #999999;
  border-top-width: 2px;
}
table.grid .dark.bottom {
  border-bottom-color: #999999;
  border-bottom-width: 2px;
}
table.grid .dark.left {
  border-left-color: #999999;
  border-left-width: 2px;
}
table.grid .dark.right,
table.grid .l4,
table.grid .l7,
table.grid .l10 {
  border-right-color: #999999;
  border-right-width: 2px;
}
table.grid tbody td.l1,
table.grid tbody td.l2,
table.grid tbody td.l3,
table.grid tbody td.l4,
table.grid tbody td.l5,
table.grid tbody td.l6,
table.grid tbody td.l7,
table.grid tbody td.l8,
table.grid tbody td.l9,
table.grid tbody td.l10 {
  background-color: white;
  color: black;
}

dl.test {
  margin: 0;
}
table.test {
  border-collapse: collapse;
  width: 100%;
}
table.test td,
table.test th,
dl.test {
  font-size: 0.8em;
}
table.test td,
table.test th {
  border: 1px solid #e5e5e5;
  padding: 0.2em;
}
table.test th,
dl.test dt {
  color: #666666;
  font-weight: bold;
}
table.test th {
  text-align: left;
  vertical-align: top;
  width: 12em;
}
table.test tbody td,
table.test tbody th,
dl.test dt.details,
dl.test dd.details {
  display: none;
}
table.test.expanded,
dl.test.expanded {
  border-bottom: 5px solid #e5e5e5;
}
table ~ table.test.expanded,
dl ~ dl.test.expanded {
  border-top: 5px solid #e5e5e5;
}
table.test.expanded tbody td,
table.test.expanded tbody th {
  display: table-cell;
}
dl.test.expanded dt.details,
dl.test.expanded dd.details {
  display: block;
}
dl.test dd {
  margin: 0;
  padding: 0 0 0.5em 1em;
}

.toggle-button {
  float: right;
  padding: 0;
  margin: 0 0 0 1em;
  font-weight: bold;
  font-size: 1.3em;
  color: white;
  text-align: center;
  width: 0.8em;
  height: 0.75em;
  line-height: 0.75em;
  background-color: #00b200;
  border: 1px solid black;
  cursor: pointer;
}
.toggle-button:hover {
  color: black;
  background-color: #00d900;
}
.toggle-button:after {
  content: "+";
}
.expanded .toggle-button:after {
  content: "×";
}
dl.test .toggle-button {
  margin-right: 1em;
}

.expanded .B {
  background-color: #f2f0e5;
}
.H {
  background-color: #ffffd9;
  border: 1px solid #ffcc00;
}
.NF {
  background-color: #e5ffcc;
  border: 1px solid #99cc66;
}
.R {
  background-color: #cce5ff;
  border: 1px solid #6699cc;
}
.ND {
  background-color: #cccccc;
  border: 1px solid #999999;
}
dl.test  dt.NF,
dl.test  dt.R,
dl.test  dt.ND {
  border-bottom: none;
}
dl.test  dd.NF,
dl.test  dd.R,
dl.test  dd.ND {
  border-top: none;
}
div.H {
  padding: 0 0.2em;
  font-size: 0.8em;
}

.l1 {
  background-color: white;
}
.l2 {
  background-color: #ffff66;
}
.l3 {
  background-color: #ffbf00;
}
.l4 {
  background-color: #ff6600;
}
.l5 {
  background-color: #009900;
}
.l6 {
  background-color: #2123a3;
  color: #999999;
}
.l7 {
  background-color: #731d73;
  color: #999999;
}
.l8 {
  background-color: #990000;
  color: #999999;
}
.l9 {
  background-color: #663300;
  color: #999999;
}
.l10 {
  background-color: black;
  color: gray;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

#view-skills,
#view-grid {
  display: none;
}

#view-links .active {
  font-weight: bold;
}

#view-links li {
  font-weight: bold;
}

#view-links li a {
  font-weight: normal;
}

#footer {
  font-size: 0.8em;
  text-align: center;
  color: gray;
  margin-top: 2em;
}
