@font-face {
	font-family: 'trocchi';
	src: url('trocchi.ttf');
}

@font-face {
	font-family: 'Ballet';
	src: url('Ballet.ttf')
}

body {
  background-color: white;
	background-position: top center;
  font-size: 18px;
  font-family: courier, serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  background-color:yellow;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
	background-color: FloralWhite;
}
.captioncredit {
  margin-top: 0;
  font-size: 0.9em;
  text-align:right;
}

.notePadList ul, ol {
	margin: 2em auto;
	padding: 0.5em;
  list-style-position: inside;
	max-width: 70%;
	background-color: FloralWhite;
}

a:hover { 
  background-color: #fff6e6;
}

h1
{
	font-family: "Ballet", courier, serif;
	text-align:center;
	font-size: 3em;
}

h2, h3
{
	display:inline-block;
  background-color:yellow;
  font-style: italic;
}

h4, h5 {
  font-family: "trocchi", "trocchi-alt", serif;
  color: #404040;
}

 a:link,a:visited {color:#707070;text-decoration:underline;}
 a:hover,a:active {color:#a5a5a5;text-decoration:none;background-color:white;background-image: url("linkBackground.png");}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: white;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: dashed;
  outline-width: 2px;
  padding:10px;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #383838;
  padding: 0 5%;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
  background-image: none;
}
#header li a:hover {
  text-decoration: underline;
  background-image: none;
}
#header li a:active {
  text-decoration: underline;
  background-image: none;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}