body {
  font-family: Helvetica, Arial, sans-serif;
  color: black;
  background: #f1ffe6;
  word-spacing: 0.2em;
}

a {
  color: #BD0B2C;
  transition-property: background, text-shadow, text-decoration;
  -webkit-transition-property: background, text-shadow, text-decoration;
  -o-transition-property: background, text-shadow, text-decoration;
  -moz-transition-property: background, text-shadow, text-decoration;
  transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -moztransition-duration: 0.3s;
  text-decoration: none;
}

a:hover {
  text-shadow: #adadad 2px 2px 10px;
  text-decoration: underline;
}

:active {
  outline: none;
}

::selection {
  color: white;
  background: #BD0B2C;
}

::-moz-selection {
  color: white;
  background: #BD0B2C;
}

div#top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 75px;
  background: #7ead57 url(grass.png) no-repeat right top;
  z-index: -1;
  -o-box-shadow: 0 5px 5px #c9e0b4;
  -icab-box-shadow: 0 5px 5px #c9e0b4;
  -khtml-box-shadow: 0 5px 5px #c9e0b4;
  -moz-box-shadow: 0 5px 5px #c9e0b4;
  -webkit-box-shadow: 0 5px 5px #c9e0b4;
  box-shadow: 0 5px 5px #c9e0b4;
}

div#top div.title {
  text-align: right;
  font-weight: bold;
  font-size: 150%;
  padding: 1em 3em;
  color: white;
  text-shadow: black 2px 2px 10px;
}

ul#topnav {
  margin: 0 5%;
  margin-top: 3em;
  padding: 0;
  height: 2em;
  list-style: none;
}

ul#topnav li {
  margin: 0 0.15em;
  height: 2em;
  display: inline;
  white-space: nowrap;
}

ul#topnav li a {
  color: black;
  padding: 0.3em 1em;
  border: thin solid black;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  background: white;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

ul#topnav li a:hover {
  text-shadow: none;
  background-color: hsl(349, 65%, 82%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="hsl(349, 65%, 100%)", endColorstr="hsl(349, 65%, 82%)");
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(hsl(349, 65%, 100%)), to(hsl(349, 65%, 82%)));
  background-image: -moz-linear-gradient(top, hsl(349, 65%, 100%), hsl(349, 65%, 82%));
  background-image: -ms-linear-gradient(top, hsl(349, 65%, 100%), hsl(349, 65%, 82%));
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(349, 65%, 100%)), color-stop(100%, hsl(349, 65%, 82%)));
  background-image: -webkit-linear-gradient(top, hsl(349, 65%, 100%), hsl(349, 65%, 82%));
  background-image: -o-linear-gradient(top, hsl(349, 65%, 100%), hsl(349, 65%, 82%));
  background-image: linear-gradient(top, hsl(349, 65%, 100%), hsl(349, 65%, 82%));
}

ul#breadcrumbs {
  margin: 0 5% 0 20%;
  padding: 0.5em;
  list-style: none;
  white-space: nowrap;
  font-size: 80%;
}

ul#breadcrumbs li {
  white-space: nowrap;
  display: inline;
}

ul#breadcrumbs li:before {
  content: ' » ';
}

ul#breadcrumbs li:first-child:before {
  content: '';
}

ul#breadcrumbs li a {
  color: black;
  white-space: nowrap;
}

ul#nav {
  margin: 0;
  margin-top: 2em;
  padding: 0;
  width: 19%;
  float: left;
  list-style: none;
}

ul#nav li {
  margin: 0.5em 0.3em;
  text-align: right;
}

ul#nav li a {
  display: block;
  font-weight: bold;
}

div#content {
  margin: 0 5% 0 20%;
  padding: 0.2em 0.5em;
  max-width: 50em;
  background: white;
  border: 1px solid black;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  -o-box-shadow: 4px 4px 4px #d0d0d0;
  -icab-box-shadow: 4px 4px 4px #d0d0d0;
  -khtml-box-shadow: 4px 4px 4px #d0d0d0;
  -moz-box-shadow: 4px 4px 4px #d0d0d0;
  -webkit-box-shadow: 4px 4px 4px #d0d0d0;
  box-shadow: 4px 4px 4px #d0d0d0;
}

div#footer {
  margin: 1em 5% 1em 20%;
  padding: 0.2em 0.5em;
  max-width: 50em;
  font-size: 80%;
  color: #a1a1a1;
  text-align: center;
}

div#footer a {
  color: #a1a1a1;
}

h1 {
  font-size: 150%;
  margin-top: 0.5em;
}

h2 {
  font-size: 130%;
}

h3 {
  font-size: 110%;
}

dt {
  margin-top: 1em;
}

img {
  border: 0px;
  background: none;
}

.photo {
  border: 1px solid #aaa;
  -o-box-shadow: 3px 3px 3px #aaa;
  -icab-box-shadow: 3px 3px 3px #aaa;
  -khtml-box-shadow: 3px 3px 3px #aaa;
  -moz-box-shadow: 3px 3px 3px #aaa;
  -webkit-box-shadow: 3px 3px 3px #aaa;
  box-shadow: 3px 3px 3px #aaa;
  margin: 5px 10px 5px 10px;
}

.photo-overlay {
  position: absolute;
  left: 0;
  top: 0;
  opacity:0;
  transition: opacity 1s;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
  -moz-transition: opacity 1s;
  border: 1px solid black;
  margin: 5px 10px 5px 10px;
}

.photo-overlay:hover {
  opacity: 1;
}

.file, .code, pre {
  font-family: monospace;
  word-spacing: 0;
}

.code {
  padding: 2px;
  background: #ededed;
  border: thin solid #d0d0d0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

p.code, div.code {
  padding: 8px;
  margin: 0.8em 1.2em;
  overflow: auto;
  white-space: nowrap;
  background: #f2f2f2 url(code.png) repeat-x;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

ul.news > li {
  margin-top: 1em;
}

@media print {
  body {
    background: none;
  }
  div#top {
    position: static;
    height: auto;
    background: none;
    -o-box-shadow: none;
    -icab-box-shadow: none;
    -khtml-box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  div#top div.title {
    text-align: inherit;
    padding: 0;
    text-shadow: none;
    color: black;
  }
  ul#topnav {
    display: none;
  }
  ul#nav {
    font-size: 80%;
  }
  ul#nav li a {
    font-weight: normal;
  }
  div#content {
    max-width: 50em;
    background: none;
    border: none;
    -o-box-shadow: none;
    -icab-box-shadow: none;
    -khtml-box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}
