/* Elements */

* {
  margin: 0;
  padding: 0;
}
html {
  background-color: rgb(237,237,237);
  background-image: url(./images/bg.png);
  background-position: top left;
  background-repeat: repeat-x;
  padding: 0 0 30px 50px;
  font-family: "trebuchet ms", sans-serif;
  font-size: 12px;
  color: rgb(50,50,50);
  min-width: 600px;
  max-width: 900px;
  margin: 0 0 0 auto;
}
dt {
  font-weight: bold;
  padding: 0 0 0 35px;
}
dd {
  padding: 0 30px 0 55px;
}
p {
  padding: 0 35px 5px 35px;
  text-align: justify;
}
h1 {
  font-size: 16px;
  padding: 0 0 20px 3px;
  position: absolute;
  top: 14px;
  right: 0;
  width: 207px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 15px;
  padding: 3px 10px 4px 35px;
}
h4 {
  font-size: 13px;
  padding: 3px 10px 4px 35px;
}
h5 {
  font-size: 12px;
  padding: 3px 10px 4px 35px;
}


a {
  color: rgb(208,41,41);
/*  color: rgb(198,51,51);*/

  text-decoration: none;
}
blockquote {
  padding: 7px 10px 7px 15px;
  color: rgb(80,80,80);
}
pre {
  padding: 7px 10px 7px 50px;
  color: rgb(80,80,80);
}
ul {
  padding: 3px 40px 10px 60px;
}
ul ul {
  padding: 0 0 0 20px;
}
ul li {
list-style-type: disc;
text-align: justify;
}
ul li ul li {
list-style-type: square;
}



img {
border: 0;
}

dd ul {
padding-left: 20px;
}
code {
color: gray;
}
/* Global classes */



div.content {
margin: 20px 225px 0 20px;
background-image: url(./images/content_bg-right.png);
background-position: top right;
background-repeat: repeat-y;
background-color: white;
border-left: 1px solid rgb(192,192,192);
}

#footer {
background-image: url(./images/content_bg-bottom.png);
background-position: bottom right;
background-repeat: repeat-x;
margin-right: 1px;
color: rgb(100,100,100);
}
#footer p {

}
div.content h2 {
background-image: url(./images/content_bg-corner.png);
background-position: top right;
background-repeat: no-repeat;
background-color: transparent;
padding: 20px 10px 10px 20px;
}
div.content h2 span  {

display: none;
}
div.journal h2 {
font-size: 15px;
background: none;
padding: 10px 10px 10px 20px;
}
div.journal h2.first {
background-image: url(./images/content_bg-corner.png);
background-position: top right;
background-repeat: no-repeat;
background-color: transparent;
padding: 20px 10px 10px 20px;
}



#sidebar {
position: absolute;
top: 57px;
right: 0;
width: 207px;
padding: 130px 0 0 0;
background-image: url(./images/image.png);
background-position: top left;
background-repeat: no-repeat;
}

p:hover a {
border-bottom: 1px dashed rgb(198,51,51);
}
p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, td:hover, th:hover, li:hover, dd:hover, dt:hover  {
color: black;
}

h1 span {
color: rgb(198,51,51);
}
#sidebar h2 {
font-size: 1em;
padding-top: 1em;
margin-top: 1em;
}
#sidebar ul  {
  padding: 0;
  margin: 0;
}
#sidebar ul li {
display: block;
font-size: 1em/1em;
text-transform: lowercase;
width: 7em;
}
#sidebar ul li {
font-weight: bold;
}
#sidebar ul li ul li {
font-weight: normal;
padding-left: 12px;
background-image: url(./images/menu-arrow.png);
background-repeat: no-repeat;
background-position: top left;
}
#sidebar ul a {
color: rgb(57,60,57);
text-decoration: none;
border-bottom: none;

}
#sidebar ul a:hover {
color: black;
text-decoration: none;
}


#input, #output, #meta {
float: left;
}
#menu {
margin: 10px 0 15px 5px;
min-height: 7em;
clear: both;
padding: 0;
}
#sidebar p {
padding: 0 35px 0 0;
}
p.first, dt.first {
border-left: 4px solid silver;
padding:  0 35px 0 6px;
margin: 0 0 0 25px;
}
p.first {
  margin-bottom: 5px;
}
p img {
float: right;
padding: 0 0 10px 15px;
}
#navh, #jump {
display: none;
}
p.time, p.meta {
text-align: center;
color: gray;
font-size: 10px;
padding-bottom: 1em;
}


img.eyecandy {
margin: 0 0 0 35px;
}

.meta_article {
float: right;
width: 40%;
background-color: rgb(230,230,230);
padding: 10px 10px 0 10px;
margin: 0 35px 10px 10px;
}
.meta_article p {
padding: 0 0 10px 0 ;
margin: 0;
}

div.biography img {
margin-top: -15px;
padding-right: 35px;
float: right;
}
table {
margin: 10px 5px 10px 35px;
}
div.literature table td {
padding-right: 3px;
vertical-align: top;
}


 /* Photo album styles */


#largeimg {
  background-image: url(./images/largeimg-bg.png);
  background-repeat: no-repeat;
  padding: 8px 10px 10px 8px;  
}

#smallimg {
  background-image: url(./images/smallimg-bg.png);
  background-repeat: no-repeat;
  padding: 8px 10px 10px 8px;  
}

html#photos {
  padding: 0;
  margin: 0;
  width: 100%;
}
html#photos body {
width: 100%;
}
#previmage {
float: left;
}
#previmage img {
display: block;
}


/***/

h2 a, h3 a, h4 a, h5 a, h6 a {
color: rgb(50,50,50);
}

img.game {
float: right;
padding: 0 0 10px 15px;
}

#albums {
margin: 0 0 0 35px;
padding: 0;
}

#albums div {
background-image: url(./images/set_case.gif);
width: 75px;
height: 75px;
padding: 7px 9px 13px 7px;
}
#albums img {
border: 1px solid black;

}
#albums li {
display: block;
float: left;
width: 100px;
}

h3 {
clear: both;
}
#albums p, #albums h3 {
padding-left: 0;
}
#albums h3 {
text-align: center;

}

hr {
width: 50%;
color: rgb(200,200,200);
background-color: rgb(200,200,200);
height: 1px;
border: none;
margin: 3em 0;
}

#content ol {
margin-left: 30px;
}


.bio img {
float: right;
padding: 0 0 0 20px;
margin: 0;

}

