html
{
  background-color: #eee;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

body
{
}

header
{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: .75em;
}

.logo
{
  font-size: 14pt;
  color: #335;
  text-decoration: none;
}

.logo>img
{
  vertical-align: middle;
}

header p
{
  margin: .5em 0 0 0;
  color: #89b;
}

.toplevel-division
{
  display: none;
}

#nav
{
  font-size: 12pt;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

#nav li
{
  display: inline;
}

#nav a
{
  padding: .4em;
  color: #000099;
  text-decoration: none;
}

@media (max-width: 360px)
{
  #nav a
  {
    display: block;
  }
}

#nav a:hover
{
  color: #4444F9;
  background-color: #dddddd;
}

#content
{
  padding: 0 1em 0 1em;
}

#content h1
{
  font-size: 14pt;
}

#content h2
{
  font-size: 12pt;
}

#content h3
{
  font-size: 11pt;
}

#content h4
{
  font-size: 10pt;
}

#content h5
{
  font-size: 9pt;
}

#content h6
{
  font-size: 8pt;
}

#content .image
{
  text-align: center;
}

#content .image img, #content .image video
{
  width: 90%;
  box-shadow: 0px 0px 4px gray;
}

.post-title
{
  color: #333;
}

.post-title:hover
{
  color: #00D;
}

.post-title a
{
  text-decoration: none;
}

.post-date
{
  font-size: 9pt;
  font-style: italic;
}

p.profile-pic
{
  float: right;
  display: inline-block;
  border-radius: 100%;

  padding: .25em;
  padding-left: .75em;

  width: 50%;
  max-width: 230px;
}

p.profile-pic img
{
  width: 100%;
  padding: .25em;
  border-radius: 100%;
  box-shadow: 0px 0px 4px gray;
}

ul.portfolio
{
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.portfolio li
{
  display: block;
  float: left;
  margin: 2%;
  width: 45%;
  overflow: hidden;
  box-shadow: 0px 0px 4px gray;
  position: relative;
}

@media (min-width: 769px)
{
  ul.portfolio li
  {
    height: 240px;
  }
}

@media (max-width: 769px)
{
  ul.portfolio li
  {
    display: inline-block;
    float: none;
    width: 90%;
  }
}

ul.portfolio li.portfolio-singlecolumn
{
  display: inline-block;
  float: none;
  width: 90%;
  height: inherit;
}

ul.portfolio a
{
  color: gray;
}

ul.portfolio a:hover
{
  color: black;
}

ul.portfolio img
{
  width: 100%;
}

ul.portfolio p.caption
{
  position: absolute;
  border-top: solid 1px #CCCCCC;
  background-color: white;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .5em;
  margin: 0;
}

p.used-with-permission
{
  font-size: 80%;
  color: #555;
}

footer
{
  clear: both;
  padding-top: 2em;
  color: #777;
  font-size: 70%;
  text-align: center;
}
