/* Layout */

#page {
  top: 0;
  left: 0;
  margin: 0;
  text-align: left;
}

#header {
  margin: 0;
  padding: 1.5em 1.5em 1.5em 1.35em;
  background: #386DB9;
}

#headerline {
  border-top: 0.10em solid #454545;
  border-bottom: 0.10em solid #454545;
  background: #21416E;
  height: 1.5em;
}

#content{
  margin: 1.5em 0 0 1.5em;
  border-left: 18em solid #ebebeb;
  padding: 0 3em 1.5em 1.5em;
  width: auto;
  min-height: 30em;
}

#sidebar{
  position: absolute;
  left: 1.5em;
  margin: 0;
  padding: 1.5em;
  width: 15em;
  background-color: #ebebeb;
}

#footer {
  clear: both;
  border-top: 0.10em solid #454545;
  background: #21416E;
  height: 1.5em;
}

/* Common tags */

body {
  margin: 0;
  background: white;
  color: black;
  font-size: 10pt;
  font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

a { 
  color: #1a45c7;
  text-decoration: underline; 
}

h1, h1 a, h2, h2 a, h3, h4, h5, h6 {
  margin-bottom: 0;
/*  color: #27a;*/
  text-align: left;
}

h1 {
/*  font-size: 2.6em;*/
  font-size: 1em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

img {
  border: 0;
  margin: 5px;
}

img.wp-smiley {
  margin: 0;
}

textarea {
  font-size: 12px;
}

pre {
  font-size: 12px;
}

code {
  font-size: 12px;
  background-color: #f8f8f8;
  color: #111;
}

abbr {
  cursor:help;
  border-bottom: 0.1em dotted;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

/* Header */
#header h1 {
  color: white;
  margin: 0;
}

#header img {
  position: absolute;
  margin: 0;
  top: 1.5em;
  left: 1.35em;
  width: 4.3em;
  height: 4.3em;
}

#title {
  display: block;
  font-size: 2.6em;
  padding-left: 2.115em;/* =(1.2+4.3)/2.6 */
}

#subtitle {
  display: block;
  padding-left: 5.5em;/* =(1.2+4.3) */
  font-weight: normal;
}

#header a {
  color: white;
  display: block;
}

#header a:hover {
  background-color: #3464aa;
}

/* Content */
#content a:hover {
  background-color: #e8e8e8;
}

/* Sidebar */
#sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.1em;
}

#sidebar ul ul {
  font-size: 1em;
}

#sidebar ul li {
  margin: 0 0 2em 0;
}

#sidebar ul ul {
  margin: 0;
  padding: 0;
}

#sidebar li li {
  margin: 0.1em 0;
}

#sidebar li li li {
  padding-left: 10px;
}

#sidebar ul h2 {
  margin: 0;
  padding: 0;
  font-size: 1.5em;
}

#sidebar a:hover {
  background-color: #d8d8d8;
}

/* Footer */
#footer { 
  text-align: center;
  font-size: 1em;
  background: #21416E;
  color: #eee;
}

#footer a {
  color: #aac;
}

#footer a:hover {
  background-color: #1D3961;
}

/* Post */
.post {
  margin: 0;
  clear: both;
}

.post p, .post ol li, .post ul li{
  margin-top: 0;
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: justify;
}

.post li li {
  font-size: 1em;
}

.post blockquote {
  padding: 0 0 0 2em;
  border-left: 0.4em solid #ccc;
  font-size: 0.9em;
}

.post blockquote blockquote {
  margin-left: 0;
  font-size: 1em;
}

.postmetadata {
  margin: 1em 0;
  font-size: 1em;
  text-align: justify;
}

div.navigation {
  font-size: 1.1em;
}

/* Comments */
#comments {
  margin: 0 2em;
}

.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.commentlist li {
  padding: 2em 0;
  overflow: auto;
  border-bottom: 0.1em solid #eee;
}

.commentlist p {
  margin: 0.5em 0;
  font-size: 1.1em;
}

.commentlist p a {
  border-bottom: 1px solid #ddd;
}

.commentlist p a:hover {
  border-bottom: 1px solid #157;
  text-decoration: none;
}

.commentlist img.avatar {
  float: right; margin: 0 0 0 10px; padding: 3px; border:1px solid #eee;
}

.commentlist h4 {
  margin:0;
}

textarea#comment {
  font-size:1.3em;
  width:100%;
}

/* Calendar */
#wp-calendar caption {
  text-transform: uppercase;
  font-weight: bold;
  color: #27a;
  text-align: center;
}

#wp-calendar thead th {
  font-weight: normal;
  color: #27a;
  text-align: center;
}

#wp-calendar tbody td {
  text-align: center;
}

#wp-calendar tbody td a {
  font-weight: bold;
}

#wp-calendar tbody td.pad {
  border: none;
}
