* {
  margin: 0;
  padding: 0;
  border: 0
}
article, aside, details, dialog, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  background: #fff url('html-background.gif') repeat-x;
  font: 16px 'Lucida Sans Unicode', Arial;
}
label, input, textarea {
  font: 16px 'Lucida Sans Unicode', Arial;
}
body {
  width: 1230px;
  margin: 0 auto;
  margin-bottom: 20px;
}
h1 {
  height: 150px;
  font: bold 60px /150px Arial;
  background: url('flag.jpg') no-repeat 306px 53px
}
h1 span {
  color: #ccc;
}
h4 {
  font-size: 30px;
  color: #4c2761;
  margin: 20px 0px 15px 0px;
}
a {
  text-decoration: none;
}
section#recentworks {
  padding-bottom: 20px;
}
section#recentworks img.first {
  margin-left: 60px;
}
section#recentworks img {
  margin-left: 40px;
}
nav {
  height: 95px;
  background: url('menu-splash.jpg') repeat-x bottom;
  clear: both;  
}
nav ul {
  height: 95px;
  background: url('menu-splash.jpg') no-repeat;
  list-style: none;
}
nav li {
  line-height: 80px;
}
nav ul a {
  font-size: 30px;
  color: #fff;
  margin-left: 40px;
  float: left;
  text-shadow: 0 5px 5px #000;
}
nav ul a:hover {
  color: #ccc;
}
a#rssicon {
  position: relative;
  top: -109px;
  left: 1100px;
  z-index: 1;
}
div#content {
  margin: 0 auto;
  border: 2px solid #ccc;
  border-top: 0;
  height: auto;
  overflow: auto;
  padding-bottom: 10px;
}
div#content > aside {
   width: 400px;
   float: right;
   margin-bottom: 20px;
}
div#entries {
  width: 806px;
  float: left;
}
article h3 a, article h3 {
  font-size: 30px;
  color: #4c2761;
}
article h4 {
  font-size: 20px;
  width: 726px;
  float: left;
  clear: both; 
  margin-bottom: 5px;   
}
article aside.date {
  width: 60px;
  height: 74px;
  float: left;
  margin: 10px;
  background: url('date.jpg') no-repeat;
  color: #fff;
  text-align: center;
  font: bold 18px /28px Arial, Helvetica;

}
aside.date > span {
  float: left;
  width: 60px;
  height: 45px;
  color: #000;
  line-height: 45px;
  font-size: 30px;
}
article h3 {
  float: left;
  clear: both;
  width: 700px;
}
article span.cats {
  width: 700px;
  background: url('category.jpg') no-repeat center left;
  float: left;
  clear: both;  
  text-indent: 2em;
  font-size: 12px;
}
span.cats a {
  color: #3a3a3a;
  font-size: 14px;
}
span.cats a:hover {
  text-decoration: underline;
}
article p {
  width: 726px;
  float: left;
  clear: both;  
  margin-top: 0.5em;
  margin-bottom: 0.7em;
  line-height: 1.4em;
  text-align: justify;
 }
article pre {
  width: 686px;
  float: left;
  clear: both;  
  overflow: hidden;
  margin: 20px;
  overflow: auto;
}
article ul.entry-unrd-list {
  clear: both;
}
article span.meta {
  float: left;
  clear: both; 
  margin-top: 0.5em;
  overflow:hidden;
}
article span.meta > a {
  color: #8855a6;  
}
article p > a {
  color: #8855a6;
}
article p > a:hover, article span.meta > a:hover {
  text-decoration: underline;
}
article > section {
  float: left;
  width: 726px;
  height: auto;
  overflow: auto;
  margin-bottom: 20px;
}
article {
  overflow: hidden;
}
footer {
  margin: 0 20px;
  margin-bottom: 20px;
  clear: both;
  line-height: 80px;
  background: url('footer-splash.jpg') repeat-x center left;
  -moz-box-shadow: 0 5px 15px #999;
  -webkit-box-shadow: 0 5px 15px #999;
  box-shadow: 0 5px 15px #999;
}
footer div {
  background: url('footer-splash.jpg') no-repeat bottom right;
}
footer p {
  background: url('footer-splash.jpg') no-repeat;
  font-size: 16px;
  color: #fff;
  text-align: center;
  text-shadow: 0 5px 5px #000;
}
footer a {
  color: #fff;
  text-shadow: 0 5px 5px #000;  
}
input#searchstring {
  border: 1px solid #afafaf;
  width: 198px;
}
input#searchsubmit {
  border: 1px solid #afafaf;
  background-color: #eee;
  padding: 0 1em;
  z-index: 2;
}
aside h4 {
  font-size: 24px;
  color: #4c2761;
  margin: 8px 0;
}
aside#sidebar img {
  padding: 3px;
  background: #fff;
  border: 1px solid #ddd;
  margin-right: 10px;
  float: left;
}
article img.entryimg {
  padding: 3px;
  background: #fff;
  border: 1px solid #d9d9d9;
  margin: 1em auto;
  display: block;
}
aside#sidebar a {
  color: #222;
}
aside#sidebar a:hover {
  text-decoration: underline;
}
aside#sidebar > section {
  height: auto;
  overflow: auto;
  margin-bottom: 10px;
}
section#blogroll ul, section#categories ul {
  list-style: none;
}
section#blogroll li, section#categories li {
  height: 24px;
  line-height: 24px;
  text-indent: 30px;
  background: url('blogroll-icon.jpg') no-repeat center left;
  margin-bottom: 6px;
}
section#blogroll li > a + span {
  visibility: hidden;
}
section#blogroll li > a:hover + span {
  color: #888;
  visibility: visible;
}
section#categories li {
  background: url('category-icon.jpg') no-repeat center left;   
}
div#blip-widget {
  margin-left: 50px;
  padding-top: 10px;
}
section#aboutme {
  padding-right: 20px;
}
section#aboutme a.readmore {
  float: left;
  margin-top: 1em;
}
section#tagcloud {
  text-align: justify;
  margin-right: 20px;
}
section#tagcloud ul {
  overflow: hidden;
}
section#tagcloud li {
  display: inline;
}
div#comments {
  float: left;
  clear: both;
  width: 726px;
  margin-left: 80px;
  margin-bottom: 20px;  
  border: 1px solid #d9d9d9;
  border-bottom: 0;
}
div#comments > section {
  height: auto;
  overflow: auto;
  border-bottom: 1px solid #d9d9d9;
}
div#comments span.cauthor {
  float: left;
  margin-top: 20px;
  margin-left: 20px;
}
div#comments span.cdate {
  float: left;
  clear: left;
  margin-left: 20px;  
  font-size: 12px;
}
div#comments span.ccontent {
  float: left;
  margin: 20px;
  margin-top: 0;
  clear: both;
}
div#comments img.cavatar {
  float: right;
  margin: 20px 20px 20px 0;
  padding: 9px; 
  background-color: #fff;
  border: 1px solid #d9d9d9;
}
form#postcomment, form#entry_form {
  display: block;
  clear: both;
  margin-left: 178px;
  float: left;
  background-color: #eee;
  border: 1px solid #d9d9d9;
  margin-bottom: 20px;
}
form#postcomment fieldset, form#entry_form div.row {
  height: auto;
  overflow: auto;
  margin: 10px 20px;
}
form#postcomment label, form#entry_form label {
  font-size: 14px;
  line-height: 28px;
  float: left;
  width: 200px;
}
form#postcomment input, form#entry_form input {
  font-size: 14px;
  padding: 5px;
  border: 1px solid #d9d9d9;
  width: 200px;
  float: left;
}form#postcomment textarea, form#entry_form textarea {
  font-size: 13px;
  padding: 5px;
  border: 1px solid #d9d9d9;
  width: 280px;
  float: left;
}
div#infobox {
  margin-left: 80px;
  margin-bottom: 20px;  
  border: 1px solid #d9d9d9;  
  padding: 20px;
  clear: both;
}
input#submitcomment {
  margin-left: 200px;
}
p.pagination {
  margin-left: 80px;
  margin-bottom: 20px;  
  text-align: center;
}
p.pagination a, a{
  color: #4c2761;
}
ul#error {
  list-style: none;
  clear: both;
  float: left;
  margin-bottom: 20px;
  margin-left: 178px;
  width: 490px;
  padding: 20px;
  border: 1px solid red;
}
div.center {
  margin-left: 80px;
  float: left;
  text-align: center;
}
img.img-no-border {
  margin-top: 10px;
}
