/*
 * Copyright (c) 2010 Ryan Govostes
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

body {
  background-color: rgb(250, 249, 248);
  font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  
  /* width of sidebar:    159px
   * padding on sidebar:  2*30px
   * min-width of main:   400px
   * left-margin of main: 30px
   * padding on main:     2*30px
   * total:               709px
   */
  min-width: 709px;
}

body p, body pre {
  margin: 0.66em 0px 1em 1.75em;
}

body a {
  color: rgb(0, 40, 120);
}

body tt, body pre {
  font-family: Menlo, Monaco, 'Courier New', Courier, monospace;
  font-size 12px;
}

#main {
  background-color: white;
  border: 1px solid rgb(221, 217, 215);
  
  min-width: 400px;
  margin-top: 30px;
  margin-left: 30px;
  margin-right: 219px;
  padding: 30px;
}

div.entry div.metadata {
  font-size: 80%;
}

h1.title {
  font-size: 2em;
}

div.section {
  margin-top: 2em;
}

h2, div.section h1 {
  color: rgb(76, 76, 76);
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgb(128, 128, 153);
  margin-top: 1em;
}

h2 a, div.section h1 a {
  color: rgb(76, 76, 76);
  text-decoration: none;
}

ul {
  list-style: square;
}

ul li {
  display: list-item;
  margin-bottom: 0.33em;
}

div.aside {
  display: block;
  background-color: rgb(234, 234, 244);
  border: 1px solid rgb(166, 166, 217);
  padding: 0.5em 1em 0.5em 0.5em;
  margin-top: 1em;
  margin-left: 1.75em;
}

div.aside h1 {
  margin: 1.25em 0 0 1.75em;
  font-size: 100%;
  border-bottom: 1px solid black;
}

div#sidebar {
  color: rgb(180, 135, 145);
  text-overflow: ellipses;
  text-transform: uppercase;
  font-size: 1.1em;
  font-family: "Gill Sans", Helvetica, Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 2px;
  
  padding: 0 30px;
  overflow: hidden;
  
  /*
  Ickiness for sidebarification.
  */
  float: right;
  width: 159px;
}

div#sidebar ul {
  list-style-type: none;
  list-style-image: none;
  padding-bottom: 0.5em;
  
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
}

div#sidebar a
{
  text-decoration: none;
  color: rgb(180, 135, 145);
}

div#sidebar input {
  width: 159px;
}

div#footer {
  font-size: 80%;
  margin-top: 2em;
  margin-bottom: 2em;
  margin-left: 30px;
  margin-right: 219px;
  min-width: 400px;
}

div#footer p {
  margin: 0;
  text-align: center;
}

div#footer a {
  color: rgb(200, 100, 40);
  white-space: nowrap;
}

table {
  margin: 12px auto;
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  border-left: none;
  border-right: none;
}

table tr th {
  border-top: none;
  border-bottom: 1px solid gray;
  border-left: none;
  border-right: none;
  text-weight: bold;
  padding: 0 3px;
}

table tr td {
  border-top: none;
  border-bottom: 1px solid lightgray;;
  border-left: none;
  border-right: none;
  padding: 0 3px;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:last-child {
  border-bottom: none;
}

img.floatleft {
  float: left;
  margin-left: 1.75em;
  margin-right: 0.66em;
}

img.floatright {
  float: right;
  margin-left: 0.66em;
  margin-right: 0;
}
