
/* --------------- global items --------------- */

html {
  font: medium sans-serif
}

body {
  margin-left : 0; 
  margin-right : 0; 
}


h2 {
  background: #039;
  color: #FE1;
  font-size: 100%;
  font-weight: bold;
  margin: 0.7em 0 0.1em 0;
  padding: .25em 1em .25em 1em;
  -webkit-border-radius: .7em;
  -moz-border-radius: 1em;
  border-radius: 1em;
}

aside h2 {
  margin: 0.7em 0.7em 0.1em 0.7em;
}

body > article header {
  font-size: 200%;
  margin-top: .4em;
  margin-left: -0.2em;
  margin-bottom: 0.8em;
  text-indent: -28px;
  font-variant: small-caps;
  display: block;
  clear: both;
}

body > article header h3 {
  font-size: 60%;
  margin: 0;
  text-indent: -28px;
}

section article header h3 {
  margin: 0 0 1em 0;
  padding-left: 2.4em;
  text-indent: -28px;
}

article header hr {
  display: block;
  background-color: #039;
  margin: 0;
  margin-left: 2px;
}

article h4 {
  margin-top: 2em;
  font-size: 300%;
  text-align: center
}

header time {
  font-size:small;
  font-weight: normal;
  display: block;
  text-align: right
}

h3:before {
  content: url("images/intertwingly.png");
  padding-right: 0.5em;
}

h3[id]:hover:after {
  content: " #" attr(id); 
  font-size: 50%;
  color: #CCD;
  text-decoration: none;
  font-variant: normal;
}

hr {
  display: none;
}

input, textarea {
  color: #000;
  background-color: #DEF;
  padding: 2px;
  -webkit-border-radius: .9em;
  -moz-border-radius: 1em;
  border-radius: 1em;
}

/* ------------------- links ------------------ */

a {
  color: #049;
  font-weight: bold;
  text-decoration: none;
}

a:link {
  text-decoration: none;
}

a:visited {
  color: #409;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.flamebait {
  font-weight: normal;
  text-decoration: line-through;
}

del.flamebait a {
  text-decoration: line-through;
  font-weight: normal;
  background-color: transparent;
}

del.flamebait a:hover {
  text-decoration: none;
}

a[rel~="nofollow"]:before {
  content: url("images/nofollow.png");
}

a.openid:before {
  content: url('images/openid.png');
}

/* ------------------ images ------------------ */

img {
  border: 0;
}

img.floatright {
  padding-left: 1em;
  float: right;
}

img.floatleft {
  float: left;
  padding-right: 1em;
  padding-bottom: 0.2em;
}


/* ------------------ banner ------------------ */

body > header h1 {
  text-decoration: none;
  color : #FE1; 
}

body > header h1 a:hover {
  text-decoration: none;
}

body > header h1 a:visited {
  text-decoration: none;
  color : #FE1; 
}

h1 {
  float: left;
  padding-left : 3%; 
  margin: 0;
  color : #E54; 
  font : bold italic 340%/0.7em Helvetica Neue Black Condensed, Arial Black, Arial, Sans-Serif; 
}

body > header form {
  z-index: 0;
  float: right;
  right: 1em;
  text-align: center;
  position: absolute;
  width: 10em;
  text-align: right;
  margin-top: 0.2em;
  margin-right: 0.2em;
  margin-bottom: -0em;
  padding: 0.4em 0.4em 0.2em 0em;
  background-color: #039;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  border-radius: 1em;
}

#q {
  width: 7.5em;
  margin-bottom: 0.3em;
}

body > header form div {
  display: inline
}

body > header form:before {
  content: url("images/opensearch.png");
}

body > header form label {
  display: none;
}

body > header {
  padding-top : .4em; 
  margin: -0.5em 0 1.53em 0;
  background : #039 url("images/blueback.png") repeat-x;
  color : #FFF; 
  display: block;
}

body > header p {
  padding: 0 0 0 3em;
  margin: 0;
  font-family: Geneva, Lucida, Helvetica, sans-serif;
  clear: both;
}

/* --------------- center area --------------- */

section article p {
  margin-top: 0;
  padding: 0;
  clear: none;
}

li {
  line-height: 2;
}

section, article {
  display: block;
  line-height: 1.4;
  font-size: 160%;
  color: #000;
  margin: 0em 2em 1em 1em;
  z-index: 0;
  padding-left: 1.5em;
}

section article header h3 {
  margin-left: -1em;
}

section article aside {
  margin: -1.1em -1.1em 0 0;
  padding : 0.5em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 0 1em 0 1em;
  background-color:#CCD;
  float: right;
}

.excerpt {
  display: none;
}

.warning {
  border-width: 6px;
  border-color: #000;
  border-style: solid;
  color: #FFF;
  background-color: #F00;
  margin: 1.5em 1.5em;
  padding: 1em 1em 0em 1em;
  -webkit-border-radius: 4em;
  -moz-border-radius: 4em;
  border-radius: 4em;
}

.ad {
  text-align: center;
}

.ad2 {
  text-align: center;
  margin-bottom: 1em;
}

section article, .livepreview {
  border-width: 1px;
  border-style: outset;
  font-weight: normal;
  margin: 1em 0;
  padding: 1em 1em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.livepreview {
  border-color: #884;
  background: #FF8;
  font-size: small;
}

.livepreview h3 {
  color: #00F;
  font-style: italic !important;
}

input[name="name"], input[name="email"], input[name="url"],
textarea[name="comment"] {
  width: 100%;
}

input[name="url"] {
  background: right url('images/openid.png') no-repeat #DEF;
}

header + svg {
  float: right;
  margin-left: 0.5em;
}

li > a > svg {
  float: left;
  margin-right: 0.3em;
}

footer {
  display: block;
  margin-top: 0;
  clear: both;
  text-align: right;
}

.spellcheck {
  cursor: help;
  border-bottom: 1px dashed red;
}

pre.code, blockquote.code {
  margin: 1em;
  background-color: #FED;
  border-style: solid;
  border-width: 1px;
  border-color: #48C;
  padding: 0.5em;
  overflow: auto;
}

code {
  /* font-family: Courier, Helvetica, serif; */
  font-family: monospace, serif;
}

blockquote.quote {
  border-left: medium solid black;
  padding-left: 1em;
  margin: 0;
}

dd {
  margin-bottom: 1em
}

ins {
  text-decoration: none;
  border-bottom: 1px dotted;
}

/* --------------- right bar --------------- */

body > aside {
  background-color: #CCD;
  color: #000;
  position: fixed;
  right: 1em;
  text-align: center;
  top: 5em;
  width: 10em;
  z-index: 2;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  border-radius: 1em;
}

nav {
  margin-top: 0.5em;
  margin-bottom: 0.7em;
  display: block;
}

ul.compact li {
  line-height: 1.2;
}

nav ul {
  padding : 0;
  list-style-type: none;
  margin: 0;
}

nav a {
  font-weight: normal;
}


.calendar {
  width: 98%;
  margin-left: 1%;
  padding: 0;
}

table.calendar {
  background-color: #ccd;
  -moz-border-radius: 1.2em;
}

table caption {
  color: white;
  border: 10px;
  margin-bottom: 10px;
  font-size: xx-large;
}

table caption a {
  color: white;
  border: 10px;
  margin-bottom: 10px;
  font-size: xx-large;
}

.calendar td {
  height: 7em;
  vertical-align: top;
  background-color: white;
}

.calendar th {
  color: white;
  height: 2em;
  width: 14%;
  padding-top: 0.2em;
  background-color: #039;
}

.calendar th:first-child {
  -moz-border-radius: 1em 0 0 0;
  border-radius: 1em 0 0 0;
}

.calendar th:last-child {
  -moz-border-radius: 0 1em 0 0;
  border-radius: 0 1em 0 0;
}

.calendar tr:last-child > td:first-child {
  -moz-border-radius: 0 0 0 1em;
  border-radius: 0 0 0 1em;
}

.calendar tr:last-child > td:last-child {
  -moz-border-radius: 0 0 1em 0;
  border-radius: 0 0 1em 0;
}

td:hover a.day {
  color: #FD0;
}

.day {
  -moz-border-radius: 0 0 0 0.5em;
  border-radius: 0.2em;
  font-family: verdana, arial, sans-serif;
  font-weight: bold;
  float: right;
  color: white;
  background: black
}

.calendar ul {
  list-style: none;
  margin: 0;
  padding: 0 3px 0 3px;
}

.calendar li {
  clear: left;
}

.entry {
  font-weight: normal;
  color: black;
}

.calendar li {
  padding-top: 6px;
  font-size: small;
}

.calendar tr td ul li a {
  color: black
}

.calendar a div {
  float:left !important
}

.leftbar {
  background: White;
  color: yellow;
  left: 1.25em;
  position: absolute;
  text-align: center;
  top: 4em;
  width: 10.5em;
  z-index: 2;
  -moz-border-radius: 1em;
  border-radius: 1em;
}
.leftbar h2 a { color: yellow }
.rightbar h2 a { color: yellow }

.rightbar {
  color: #000;
  position: absolute;
  right: 1em;
  text-align: center;
  top: 4em;
  width: 10em;
  z-index: 2;
}

