/* ericw.ca (Eric Woroshow) */

body {
  font-family: Georgia, serif;
  font-size: 10pt;

  border-top: 5px solid #414141;

  background-color: #ececec;
  background-image: url('/images/background.png');
  background-repeat: repeat-x;
}

/* Typography */
h1 {
  font-size: 1.4em;
  color: #414141;
  margin: 1.5em 0 0.5em 0;
}

h2 {
  font-size: 1.1em;
  font-weight: normal;
  font-style: italic;
  margin: 1.5em 0 0.5em 0;
}

h1 + h2 {
  margin-top: 1em;
}

p {
  text-indent: 0;
  line-height: 1.75;
}

p + p {
  text-indent: 1em;
}

pre {
  line-height: 1.2;
  margin: 1em 0 1em 2em;
}

ul {
  list-style: disc;
  margin: 0.5em 0 0.5em 0;
}

ol {
  list-style: decimal;
  margin: 0.5em 0 0.5em 0;
}

li {
  margin: 0 0 0 2em;
  line-height: 1.5;
}

a:link, a:visited {
  text-decoration: none;
  color: #b74a4a;
}

a:hover {
  color: #771818;
  border-bottom: 1px solid #771818;
  background-color: #f7d6d6;
}

/* Header */
div#header {
  border-top: 5px solid #b74a4a;
}

div#header h1 {
  margin: 0;
}

div#header h1 a {
  font-size: 30px;
  font-style: italic;
  color: #ffffff;
  background-color: #414141;
  padding: 20px 20px 10px 20px;
  margin-left: 20px;
}

div#header h1 a:hover {
  border-bottom: none;
}

div#header h1 a span.highlight {
  color: #b74a4a;
}

/* Footer */
p#footer {
  font-size: 70%;
  color: #414141;
  padding: 2em 0 2em 0;
}

/* Container */
div#container {
  max-width: 700px;
  margin: -3.5em 0 -1em 180px;
  padding: 0 2em 0 2em;
  background-color: #ffffff;
}

/* Home */
img#headshot {
  float: right;
  margin-left: 2em;
}

ul.simple {
  list-style: none;
  margin: -0.25em 0 0 0;
}

ul.simple li {
  margin: 0 0 0.25em 0;
}

/* Projects */
div.screenshots img {
  margin: 1em 0 1em 2em;
}

div.game-applet {
  margin: 1em;
}

/* Resume */
div#resume h1 {
  margin: 1.3em 0 0.4em 0;
  color: #000000;
}

div#resume h2 {
  display: inline;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
}

div#resume ul {
  list-style: disc;
  margin: 0.4em 0 1em 0;
}

div#resume li {
  margin: 0 0 0 1.25em;
}

div#resume ul ul {
  margin: 0;
  list-style: circle;
}

div#resume ul ul li {
  margin: 0 0 0 2.5em;
}

/* Blog */
div.post {
  margin-bottom: 3em;
}

div.post span.date, div.comments span.date {
  color: #777777;
}

div.post h3.commentbar {
  font-weight: normal;
  line-height: 1.5em;
  padding: 0 0 0 23px;
  margin: 0 0 0.2em 0;
  background: url('/images/comment.png') no-repeat 0 50%;
}

div.post h4 {
  font-weight: normal;
  font-style: italic;
  margin: 1em 0 0 0;
}

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

div.comment + div.comment {
  margin-top: 1em;
}

h1.blogheader {
  font-size: 11pt;
  font-weight: normal;
  font-style: italic;
  margin-top: 2em;
}

p.blogfooter {
  border-top: 1px solid #cccccc;
}

form.comment-form  {
  padding: 0.5em 0.5em 0.1em 0.5em;
  background-color: #f6f6f6;
  border-top: 1px dashed #cccccc;
}

/* Forms */
form.form div.row {
  margin: 0 0 1em 0;
  clear: both;
}

form.form div.buttons {
  padding-top: 0.4em;
}

input.text, textarea.textarea {
  font-family: Georgia, serif;
  border-bottom: 1px solid #dddddd;
  border-left: 1px solid #c3c3c3;
  border-right: 1px solid #c3c3c3;
  border-top: 1px solid #7c7c7c;
  font-size: 100%;
}

input.text {
  height: 1.4em;
  padding: 2px 0 0 2px;
}

textarea.textarea {
  padding: 4px 0 0 4px;
}

label.desc {
  display: block;
  font-size: 0.9em;
}

label.sub {
  font-size: 0.9em;
  line-height: 1.4em;
  color: #444444;
  display: block;
}

input.small {
  width: 25%;
}

input.medium {
  width: 45%;
}

input.large, textarea.textarea {
  width: 80%;
}

textarea.small {
  height: 5.5em;
}

textarea.medium {
  height: 10em;
}

textarea.large {
  height: 20em;
}

button.button {
  font-family: Georgia, serif;
  background-color: #f5f5f5;
  border: 1px solid #dedede;
  border-bottom: 1px solid #bfbfbf;
  border-right: 1px solid #bbbbbb;
  color: #000000;
  cursor: pointer;
  margin: 0 0.7em 0 0;
  padding: 5px 10px 6px 10px;
  overflow: visible;
  width: auto;
}

button.button:hover {
  background-color: #dff4ff;
  border: 1px solid #a7cedf;
  color: #336699;
}

.error-message {
  color: #b74a4a;
}

