/* -*- mode: css -*-  */

body {
  font-family: sans-serif;
  text-align: justify;
  margin: 1em;
  /* #feeds is 11.5em wide, add 2*1em margin */
  margin-right: 13.5em;
/*  border: 1px solid green; */
}

h1, h2, h3, div {
  -moz-border-radius: 6px;
}

h1 {
  margin-top: 0px;
  background-color: #f29d9d;
  border: thick solid #f24949;
  padding: 0.25em;
}

h2 {
  background-color: #9dc8f2;
  border: medium solid #499df2;
  padding: 0.25em;
  margin-top: 0px;
  clear: both;
}

h3 {
  background-color: #acf29d;
  border: medium solid #65f249;
  padding: 0.25em;
  
  margin-bottom: 0.5em;
  clear: both;
}

h4 {
  border-bottom: medium solid #aaa;;

  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 2em;
  margin-right: 4em;
  font-style: italic;
}


h1 a, h2 a, h3 a, h4 a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

p.meta {
  font-size: small;
  color: grey;
}

hr {
  clear: both;
}

div.footer {
  font-size: small;
  color: grey;
  clear: both;
}


/********************************************/
/**  Styling of the box of feeds           **/
/********************************************/

#feeds {
  border: medium solid #f2d649;
  background-color: #f2e49d;
  overflow: auto;
  padding: 0.5em;
  width: 10em;

  position: absolute;
  top: 1em;
  right: 1em;
/*
  bottom: 1em;
*/
  text-align: center;
}

#feeds p {
  margin: 0em;
  font-style: italic;
}

#feeds div.faces {
  margin-top: 2em;
}

#feeds img {
  height: 75px;
  max-width: inherit;
  margin: 0.5em;
}

#feed a {
  text-decoration: none;
}



/********************************************/
/**  Styling of the box of recent entries  **/
/********************************************/

/* (Not used at the moment)

div.recent {
  font-size: smaller;
  background-color: #9df29d;
  border: medium solid #49f249;
  padding: 0.2em;
  position: relative;
  margin-top: 1em;
  margin-bottom: 1em;
}

div.recent p {
  margin: 0px;
  overflow: hidden;
  white-space: nowrap;
}

div.recent div.post {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

div.recent div.comments {
  margin-left: 1em;
  margin-right: 0em;
}

div.recent div.comment {
  border: none;
  margin: 0.1em;
}

div.recent div.content {
  font-weight: bold;
}

img.fade {
  position: absolute;
  top: 0px;
  right: 0px;

  height: 100%;
  width: 64px;

  z-index: 1;
}
*/

/************************************/
/**  Styling of individual posts.  **/
/************************************/

div.post {
  margin-bottom: 2em;
}


div.content, div.comments {
  margin-left: 4em;
}

div.comments {
  font-size: small;
}

div.comment {
  border-bottom: medium solid grey;
  margin: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  font-style: italic;
}

div.comment em {
  font-style: normal;
}


img.face {
  float: right;
  margin-left: -20px;
  margin-bottom: -1.5em;
}


/***************************/
/**  Misclaneous styles.  **/
/***************************/

.error {
  background-color: rgb(255, 200, 200);
  border: medium solid rgb(255, 100, 100);
  padding: 0.5em;
}

div.recent .error {
  border-width: thin;
  padding: 0.1em;
}


/********************************/
/**  Common WordPress styles.  **/
/********************************/

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
	
img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.alignright {
  float: right;
}
	
.alignleft {
  float: left
}


acronym, abbr {
  cursor: help;
  border-bottom: 1px dashed #999;
}

blockquote {
  margin: 15px 30px 0 10px;
  padding-left: 20px;
  border-left: 5px solid #ddd;
}

blockquote cite {
  margin: 5px 0 0;
  display: block;
}

.center {
  text-align: center;
}

a img {
  border: none;
}

td, th {
  padding-right: 1em; 
}


