/*
 * Layout based on the Holy Grail 3-Column Liquid Layout at
 * http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm
 */

body {
  background-color: #041a61;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 90%;
  margin: 0;
  min-width: 800px;
  padding: 0;
  width: 100%;
}
a {
  color: #3256B6;
}
a:visited {
  color: #68228b;
}
a:hover, a:visited:hover {
  color: #e00;
  text-decoration: none;
}
h1, h2, h3 {
  clear: both;
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  font-weight: normal;
  margin: 0.8em 0 0.2em 0;
  padding: 0;
}
p {
  margin: 0.4em 0 0.8em 0;
  padding: 0;
}
img {
  border: none;
  margin: 1em;
}
img.left {
  float: left;
  margin-left: 0;
}
img.right {
  float: right;
  margin-right: 0;
}

h1 {
  font-size: 240%;
}
h2 {
  font-size: 210%;
}
h3 {
  color: #999;
  font-size: 180%;
  /*margin-top: 1.5em;
  margin-bottom: .5em;*/
}
.hidden {
  display: none;
}
.clear {
  clear: both;
}

#header {
  background-color: #4f57c5;
  border-bottom: 4px solid #fc0;
  color: white;
  float: left;
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
}
#header-content {
  margin: 15px 20px 30px;
}
#site-title {
  color: white;
  font-size: 300%;
}
#site-title a, #site-title a:visited {
  color: white;
  text-decoration: none;
}
#site-title a:hover, #site-title a:hover {
  color: white;
  text-decoration: underline;
}
#site-subtitle {
  font-size: 120%;
  letter-spacing: 2px;
}

#colmask {
  background-color: #f0f8ff;  /* left column bg */
  background-image: url(../images/paper10.png);
  clear: both;
  float: left;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#colmid {
  background-color: #ffffff;  /* center column bg */
  background-image: url(../images/paper10.png);
  float: left;
  left: 200px;
  position: relative;
  width: 200%;
}

#colright {
  background-color: #f0f8ff;  /* right column bg */
  background-image: url(../images/paper10.png);
  float: left;
  left: 50%;
  margin-left: -440px;
  position: relative;
  width: 100%;
}

#content-wrapper {
  float: right;
  position: relative;
  right: 100%;
  width: 50%;
}

#content-pad {
  margin: 0 10px 0 450px;
  overflow: hidden;
}

#content {
  overflow: hidden;
  width: 100%;
}

#left-sidebar {
  float: left;
  left: 240px;
  margin-left: -50%;
  overflow: hidden;
  position: relative;
  width: 180px;
}

#right-sidebar {
  float: left;
  left: 0px;
  /*overflow: hidden;*/  /* Don't set overflow hidden or the calendar tooltips are cut off. Not sure what side effects this will have. */
  position: relative;
  width: 200px;
}

#footer {
  border-top: 4px solid #fc0;
  clear: both;
  color: #e0ffff;
  float: left;
  font-size: 85%;
  margin: 0;
  padding: 0;
  width: 100%;
}
#footer p {
  padding: 10px;
}
#footer a {
  color: #e0ffff;
}
#footer a:visited {
  color: #ffffe0;
}
#footer a:hover, #footer a:visited:hover {
  color: #ffe0ff;
  text-decoration: none;
}

#content h1 {
  margin-top: 0.5em;
}
#content h3 a {
  border-bottom: 1px dotted #a3a39c;
  display: block;
  padding-bottom: 2px;
  text-decoration: none;
}
#content p {
  line-height: 160%;
}
/*#content ol, #content ul, #content dl {
  margin-left: 1.5em;
}*/
#content .info {
  clear: both;
  color: #4682b4;
  font-size: 80%;
  margin-top: 1.5em;
}
#content .entry .info {
  margin-top: 1em;
}

.sidebar {
  font-size: 90%;
  padding: 0 10px 10px;
}
.sidebar h3 {
  color: #333;
  font-size: 160%;
}
.sidebar p {
  line-height: 140%;
}
.sidebar ul {
  list-style: none;
  margin: 0.5em 0 0.5em 1em;
  padding: 0;
}
.sidebar li {
  margin-bottom: 0.5em;
}
.sidebar ul a {
  text-decoration: none;
}
.sidebar .badges ul {
  list-style: none;
  margin-left: 0;
}
.sidebar .badges li {
  margin: 0;
}
.sidebar .badges img {
  margin: 0 1em 1ex 0;
}
.sidebar .feed img {
  float: left;
  margin: 0 1em 1ex 0;
}

.sidebar .quote {
  font-size: 110%;
  margin: 1em 0.5em;
}

.sidebar .ad img {
  display: block;
  margin: 2em auto;
}

.sidebar .poll-title {
  font-size: 110%;
  font-weight: bold;
  line-height: 120%;
  margin: 0;
}
.sidebar #poll_form ul {
  margin: 1em 0;
}
.sidebar #poll_form ul li {
  position: relative;
}
.sidebar #poll_form ul li input {
  margin: 0;
  position: absolute;
  top: 0.1em;
}
.sidebar #poll_form ul li label {
  display: block;
  margin-left: 20px;
}
.poll-results {
  border-collapse: collapse;
  margin: 0 0 0 1em;
}
.poll-results th {
  background-color: #ccc;
  padding: 0.5ex;
}
.poll-results td {
  padding: 0.5ex 0.5em 0 0.5em;
}
.poll-results .answer {
  text-align: left;
}
.poll-results .result {
  text-align: right;
}

#boc-logo {
  float: right;
}
#boc-logo img {
  margin: -1em 0 0 0;
}

#content .page-navigation {
  font-weight: bold;
  margin: 2em 0;
  text-align: center;
}

