* {
  margin: 0;
  padding: 0;
}

body {
  background: #f3f3f3 url(../images/header_gradient.png) repeat-x;
}

#root {
  width: 960px;
  text-align: left;
  margin: 0 auto;
}

#top {
  margin: 0 auto;
  width: 900px;
  background: url(../images/header.jpg) no-repeat;
}

#header {
  height: 76px;
}

#header a {
    display: block;
    width: 360px;
    height: 100%;
    text-indent: -9999px;
    outline: none;
}

#nav {
  height: 32px;
  margin-left: -20px;
  list-style-type: none;
}

#nav li {
  float: left;
  height: 32px;
  padding: 0;
  background: none;
}

#nav a, #nav a:visited {
  display: block;
  height: 18px;
  padding: 7px 20px;
  font-family: "Lucida Sans", sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

#nav a:hover {
  color: #c6ff00;
  border-bottom: 10px solid #c6ff00;
}

#nav a.current {
    color: #b5dfff;
    border-bottom: 10px solid #b5dfff;
}

.main {
  width: 900px;
  margin: 0 auto;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.8em;
  line-height: 1.4em;
}

.content {
  position: relative;
  float: left;
  width: 670px;
  padding: 20px;
  padding-left: 0;
  text-align: justify;
}

.sidebar {
  float: left;
  width: 210px;
  padding: 20px 0 20px 0;
}

#bottom {
  height: 140px;
  width: 100%;
  background-image: url(../images/footer_bg.jpg);
  background-repeat: repeat-x;
}

#footer {
  height: 100%;
  width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #414141;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 0.8em;
}

#footer .column {
  width: 200px;
  float: left;
}

#author {
  padding-top: 20px;
  font-size: 0.85em;
}

.clear {
  clear: both;
}

/* TEXT FORMATS */

h1, h2, h3 {
  font-family: "Lucida Sans", sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 1.4em;
  color: #005189;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.1em;
  color: #00245a;
  margin: 0.3em 0;
}

h3 {
  font-size: 1em;
  color: #00245a;
  margin-bottom: 0.3em;
}

.small {
    font-size: 0.85em;
}

.date {
    position: absolute;
    top: 22px;
    right: 20px;
    color: #454545;
    font-size: 1em;
}

p.message {
    margin: 0.4em 0;
    padding: 0.2em;
}

p.message.success {
    color: #5caa00;
}

p.message.error {
    color: #b71414;
}

/* LINKS */

a, a:visited {
  color: #0060aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.ext {
    background: url(../images/external_link.png) no-repeat right;
    padding-right: 14px;
}

/* LISTS */

ul {
    list-style-type: none;
}

ul li {
    padding-left: 20px;
    background: url(../images/list.png) no-repeat 8px 6px;
}

dl {
    padding: 0.5em 0;
    border-top: 1px dotted rgb(200, 200, 200);
}

dl dt {
    display: block;
    float: left;
    width: 200px;
    color: rgb(98, 98, 98);
    font-weight: bold;
}

dl dd {
    margin-left: 200px;
    vertical-align: top;
}

/* CODE */

.code {
    font-family: "Consolas", sans-serif;
}

pre {
    padding: 0.4em;
    margin: 0.4em 0.2em;
    font-family: "Consolas", sans-serif;
    background-color: #ffffff;
}

/* FORMS */

fieldset {
  border: 0;
}

legend {
    font-family: "Lucida Sans", sans-serif;
    font-weight: bold;
    font-size: 1em;
    color: #00245a;
    margin-bottom: 0.3em;
}

.form-data input, .form-data textarea {
    width: 464px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1em;
    padding: 0.2em;
}

.form-data textarea {
    height: 150px;
}

.form-data textarea.comment {
    height: 100px;
}

.form-data ul.messages {
    padding: 0.2em 0 0 0.2em;
    text-align: left;
    list-style-type: none;
    color: rgb(157, 7, 0);
    font-size: 0.9em;
}

.form-data ul.messages li {
    padding: 0;
    background: none;
}

.form-submit {
    padding-left: 200px;
}

.form-submit input {
    padding: 0.2em 2em;
    color: rgb(255, 255, 255);
    font-family: "Lucida Sans", sans-serif;
    font-size: 0.9em;
    font-weight: bold;
    border: 1px solid #1163b9;
    background-color: #136ac5;
}

dl.marker {
    display: none;
}

/* BLOG */

.entry {
    position: relative;
    margin-bottom: 1em;
}

.entry h2 a {
    color: #00245a;
}

.entry h2 a:hover {
    text-decoration: none;
}

.entry .date {
    top: 0.2em;
    right: 0;
}

.entry .readmore {
    float: right;
    display: block;
    width: 150px;
    margin-top: 0.4em;
    text-align: right;
}

/* COMMENTS */

div.comment {
    padding: 0.5em 0;
    position: relative;
    border-top: 1px dotted rgb(200, 200, 200);
    background-image: url(../images/comment.jpg);
    background-position: left 24px;
    background-repeat: no-repeat;
}

div.comment strong {
    display: block;
    margin-bottom: 0.3em;
}

div.comment .date {
    top: 0.5em;
    right: 0;
}

div.comment div {
    margin-left: 18px;
    padding: 1em;
    background-color: rgb(255, 255, 255);
}

/* PROJECTS/ARTICLES */

.container {
    margin-bottom: 1em;
    height: 100px;
    clear: both;
}

/* IMAGES */

img.left {
    float: left;
    margin-right: 1em;
    border: 1px solid rgb(200, 200, 200);
}
img.right {
    float: right;
    margin-left: 1em;
    border: 1px solid rgb(200, 200, 200);
}

img.left.portrait {
    margin-right: 2em;
}

img.impress {
    border: 0;
    position: relative;
    top: 0.25em;
    left: 0.75em;
}

/* TAG CLOUD */

.Zend_Tag_Cloud {
    list-style-type: none;
}

.Zend_Tag_Cloud li {
    display: inline;
    background: none;
    padding: 0;
}

ul.tags {
    margin: 0;
}

ul.tags li {
    display: inline;
    background: url(../images/icons/tag.png) no-repeat left;
    white-space: nowrap;
}

/* PAGINATION */

.pagination {
    text-align: center;
    margin-top: 2em;
}

.pagination a, .pagination span {
    padding: 0.2em 0.6em;
    background: #f9f9f9;
    border: 1px solid #dddddd;
}

.pagination a:hover {
    color: #0060aa;
    border: 1px solid #0060aa;
    text-decoration: none !important;
}

.pagination span.disabled {
    color: #c0c0c0;
}

.pagination span.current {
    font-weight: bold;
}

/* ICONS */

.icon {
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left;
}

.icon.twitter {
    background-image: url('../images/icons/twitter.png');
}

.icon.feed {
    background-image: url('../images/icons/feed.png');
}

.icon.tag {
    background-image: url('../images/icons/tag_red.png');
}

.icon.projects {
    background-image: url('../images/icons/pin.png');
}

.icon.partners {
    background-image: url('../images/icons/world.png');
}

.icon.bookmark {
    background-image: url('../images/icons/bookmark.png');
}

.icon.image {
    background-image: url('../images/icons/image.png');
}

.icon.favorite {
    background-image: url('../images/icons/star.png');
}

.icon.text {
    background-image: url('../images/icons/document_text.png');
}

.icon.balance {
    background-image: url('../images/icons/balance.png');
}

.icon.external {
    background-image: url('../images/icons/external.png');
}
