html, body {
  height: 100%;
}

body {
  background-image: url('/static/images/dots.png');
  background-attachment: fixed;
  font-family: 'Pontano Sans', 'Verdana', 'Helvetica', sans-serif;
}

h2 {
  margin: 9px 0px;
}

p {
  font-size: 16px;
}

a:link, a:visited, a:focus {
  text-decoration: none;
  color: rgb(150, 150, 150);
}

a:hover, a:active, a:focus:hover {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.inner {
  margin-left: auto;
  margin-right: auto;
}

.item, .link {
  margin: 20px auto;
  background-color: rgb(255, 255, 255);
}

.item, .thumbnail, #header {
  -moz-box-shadow: 0px 0px 10px 2px rgb(136, 136, 136);
  -webkit-box-shadow: 0px 0px 10px 2px rgb(136, 136, 136);
  box-shadow: 0px 0px 10px 2px rgb(136, 136, 136);
}

.item, .thumbnail {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.item h2 {
  font-family: 'Bevan', 'Georgia', serif;
}

.item h6 {
  font-size: 2em;
}

.item li {
  font-size: 16px;
}

.item {
  padding: 10px 20px;
  margin-bottom: 26px;
}

.item img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
  max-height: 780px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.head {
  height: 200px;
  position: relative;
}

.head .crop, .foot .crop {
  width: 820px;
  overflow: hidden;
  position: absolute;
  left: -20px;
}

.head .crop {
  height: 200px;
  top: -10px;
}

.head .crop img, .foot .crop img {
  max-width: 820px;
  width: 820px;
  height: 300px;
}

.head .crop img {
  -moz-border-radius: 5px 5px 0px 0px;
  -webkit-border-radius: 5px 5px 0px 0px;
  border-radius: 5px 5px 0px 0px;
}

.title, .link div {
  width: 786px;
  padding-left: 20px;
  padding-right: 20px;
  position: absolute;
  background-color: rgb(255, 255, 255);
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.title {
  top: 110px;
  left: -23px;
  height: 48px;
}

.title h1 {
  line-height: 48px;
}

.source {
  padding: 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.source pre {
  margin: 0px;
}

.foot {
  height: 100px;
  position: relative;
}

.foot .crop {
  height: 100px;
  top: 10px;
}

.foot .crop img {
  margin-top: -200px;
  -moz-border-radius: 0px 0px 5px 5px;
  -webkit-border-radius: 0px 0px 5px 5px;
  border-radius: 0px 0px 5px 5px;
}

.link {
  min-height: 300px;
  position: relative;
}

.link div {
  top: 230px;
  left: -3px;
  height: 36px;
}

.link div h2 {
  margin: 0px;
}

.thumbnail {
  height: 300px;
}

.shadow {
  display: none;
}

.last {
  margin-bottom: 0px;
}

#container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  min-height: 100%;
}

#header {
  background-image: url('/static/images/cartographer.png');
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  -moz-border-radius: 0px 0px 5px 5px;
  -webkit-border-radius: 0px 0px 5px 5px;
  border-radius: 0px 0px 5px 5px;
}

#header .loud, #header a:hover, #header a:active, #header a:focus:hover {
  color: rgb(255, 255, 255);
}

#title {
  float: left;
}

#title h1 {
  margin: 0px;
  line-height: 56px;
}

#nav {
  float: right;
  font-size: 18px;
}

#nav ul {
  line-height: 56px;
  margin: 0px;
}

#nav ul li {
  list-style-type: none;
  display: inline-block;
  margin-left: 10px;
}

#content {
  overflow: auto;
  padding-bottom: 48px;
  clear: both;
  width: 100%;
}

#intro h2 {
  font-family: 'Pontano Sans', 'Verdana', 'Helvetica', sans-serif;
}

#footer {
  position: relative;
  margin-top: -48px;
  height: 48px;
  clear: both;
}

/* Opera fix */
body:before {
  content: '';
  height: 100%;
  float: left;
  width: 0px;
  margin-top: -32767px;
}

#icons {
  float: left;
}

#icons img {
  margin-top: 8px;
  margin-right: 8px;
}

#copy {
  float: right;
  font-size: 14px;
  line-height: 48px;
}

@media all and (min-width: 840px) {
  .inner {
    width: 780px;
  }

  .item {
    width: 780px;
  }

  #header, .link, .thumbnail {
    width: 820px;
  }
}

@media all and (max-width: 839px) {
  .inner {
    margin-left: 20px;
    margin-right: 20px;
  }

  #footer .inner {
    margin-left: 30px;
    margin-right: 30px;
  }

  .item {
    max-width: 780px;
    margin-left: 10px;
    margin-right: 10px;
  }

  #header, .link {
    max-width: 820px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media all and (max-width: 716px) {
  #title {
    clear: both;
    width: 100%;
    text-align: center;
  }

  #nav {
    clear: both;
    float: left;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: rgb(0, 0, 0);
    -moz-border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
  }

  #nav ul li {
    display: list-item;
    margin: 0px;
  }

  #nav ul li a {
    width: 100%;
  }
}

@media all and (max-width: 318px) {
  #title h1 {
    font-size: 30px;
  }
}

