/*
 * Global
 */
body {
  background: #fff url(../images/zargony/background.gif) repeat-x left top;
  color: #222;
  font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

a, a:active, a:hover, a:link, a:visited {
  color: #930;
  text-decoration: underline;
}

a:active, a:hover {
  background: #eee;
}

h1 {
  font-family: "Lucidamac Bold", "Lucida Grande", Arial, sans-serif;
  font-size: 174%;
  font-weight: bold;
  letter-spacing: -1px;
  margin-bottom: .2em;
  margin-top: .7em;
}

h2 {
  font-size: 146.5%;
  font-weight: bold;
  margin-bottom: .2em;
  margin-top: .5em;
}

h3 {
  font-size: 108%;
  font-weight: bold;
  margin-bottom: .2em;
  margin-top: .5em;
}

h4 {
  font-weight: bold;
  margin-bottom: .2em;
  margin-top: .5em;
}

code {
  background-color: #eee;
  padding: .1em .2em;
}

.icon {
  vertical-align: text-bottom;
  margin: .1em 0;
}

.rss_icon {
  background: transparent url(../images/feed-icon-16x16.gif) left top no-repeat;
  min-height: 18px;
  padding-left: 20px;
}

.preview {
  background: #f8f8f8 url(../images/preview.png) left top repeat;
  margin-bottom: .5em;
  padding: .5em 1em;
}

.translation_missing {
  border-bottom: 1px dotted #f00;
}

/*
 * Forms
 */
input[type=text], input[type=password], input[type=submit], input[type=button], textarea, select {
  background: #ecdad1;
  border: 1px solid #aaa;
  margin: 5px;
  padding: .1em;
}

input[type=text], input[type=password], textarea, select {
  font-family: Verdana, Arial, Serif;
  font-size: 93%;
}

input[type=submit], input[type=button] {
  font-weight: bold;
  padding: 2px 10px;
}

label {
  display: inline;
}

.hints {
  color: #aaa;
  display: inline;
  font-size: 93%;
  font-style: italic;
}

.hints .warning {
  color: #a44;
}

.hints a {
  color: #aaa;
  text-decoration: underline;
}

.spinner {
  margin-left: 10px;
}

.notice {
  background: #beb;
  font-weight: bolder;
  margin: 1em 0;
  padding: 1em;
}

.error {
  background: #ebb;
  border: 2px solid #f00;
  font-weight: bolder;
  margin: 1em 0;
  padding: 1em;
}

.field_with_errors {
  display: inline;
}

.field_with_errors input, .field_with_errors textarea, .field_with_errors select {
  outline: 2px solid #c66;
}

/*
 * Fixed width layout
 * (see http://matthewjamestaylor.com/blog/how-to-convert-a-liquid-layout-to-fixed-width)
 */
body {
  text-align: center;
}

#page {
  margin: 0 auto;
  text-align: left;
  width: 950px;
}

/*
 * 2-column layout
 * (see http://matthewjamestaylor.com/blog/ultimate-2-column-right-menu-ems.htm)
 */
body {
  border: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

#header {
  clear: both;
  float: left;
  width: 100%;
}

.colmask {
  clear: both;
  float: left;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.colleft {
  float: left;
  margin-left: -20em;
  position: relative;
  right: 100%;
  width: 200%;
}

.col1wrap {
  float: left;
  left: 50%;
  padding-bottom: 1em;
  position: relative;
  width: 50%;
}

.col1 {
  margin-right: 1em;
  margin-left: 20em;
  overflow: hidden;
}

.col2 {
  float: right;
  left: 20em;
  position: relative;
  width: 19em;
}

#footer {
  clear: both;
  float: left;
  width: 100%;
}

/*
 * Header
 */
#header {
  background: transparent url(../images/zargony/header_shadow.gif) repeat-x left bottom;
  color: #444;
  height: 4.6em;
  margin-bottom: 2em;
}

#header h1 {
  float: left;
  font-family: Georgia, serif;
  font-size: 400%;
  font-weight: bold;
  margin: 0;
}

#header h1 a, #header h1 a:active, #header h1 a:hover, #header h1 a:link, #header h1 a:visited {
  background: transparent;
  color: #444;
  text-decoration: none;
}

#header h2 {
  float: right;
  font-size: 100%;
  font-weight: normal;
  margin: 2.5em .3em 0 0;
}

#header .nav {
  clear: right;
  float: right;
  margin-top: 10px;
}

#header .nav ul {
  list-style: none;
  margin: 0;
}

#header .nav li {
  display: inline;
  list-style: none;
  margin: 0 .2em;
}

/*
 * Content
 */
.col1wrap {
  border-right: 2px dotted #ddd;
}

/*
 * Sidebar
 */
.sideitem {
  border-bottom: 2px dotted #ddd;
  font-size: 93%;
  padding-bottom: .5em;
}

.sideitem h1 {
  color: #444;
  font-size: 116%;
  font-weight: bold;
  letter-spacing: 0;
  margin-top: .3em;
}

.sideitem ul, .sideitem ol {
  margin: .4em 0 0 1.3em;
}

.sideitem li {
  list-style-type: square;
  margin-bottom: .4em;
}

.sideitem .dimmed {
  color: #aaa;
  font-size: 85%;
}

.sideitem.admin {
  background: #fdd;
}

.sideitem.twitter .followme {
  float: right;
}

.sideitem.twitter li {
  line-height: 1.1em;
}

.sideitem.donations .info {
  font-size: 85%;
  text-align: justify;
}

/*
 * Error
 */
.error h1 {
  color: #c00;
}

.error .text {
  font-size: 116%;
  margin-top: 1em;
}

.error .alternatives {
  margin-top: 3em;
}

/*
 * Tags
 */
.tag1 {
  font-size: 93%;
}

.tag2 {
  font-size: 116%;
}

.tag3 {
  font-size: 138.5%;
}

.tag4 {
  font-size: 153.9%;
}

.tag_cloud {
  text-align: justify;
}

/*
 * Pagination
 */
.pagination {
  margin: 3em auto;
  text-align: center;
}

.pagination span, .pagination em, .pagination a {
  border: 1px solid #ddd;
  font-style: normal;
  padding: .3em;
  text-decoration: none;
}

.pagination .disabled {
  color: #ddd;
}

/*
 * Login
 */
.sessions.new form {
  border: 2px solid #ddd;
  padding: 1em;
}

.sessions.new input {
  margin-bottom: 1em;
}

.sessions.new input[type=text], .sessions.new input[type=password] {
  width: 15em;
}

.sessions.new input[type=submit] {
  margin-top: 1em;
}

/*
 * Drafts
 */
.drafts {
  background: #eeb;
  padding: .5em;
}

.drafts li {
  font-size: 116%;
}

.drafts .title {
  font-weight: bold;
}

/*
 * Article
 */
.article {
  margin-bottom: 2em;
  padding-bottom: .5em;
}

.article h1 a {
  text-decoration: none;
}

.article h1 a:hover {
  background: transparent;
  text-decoration: underline;
}

.article .info {
  color: #666;
  font-family: "Lucidamac Bold", "Lucida Grande", Arial, sans-serif;
  font-size: 123.1%;
  letter-spacing: -1px;
  line-height: 14px;
  margin-bottom: .5em;
}

.article .text {
  font-size: 93%;
  line-height: 1.4em;
  margin: 1em .5em;
}

.article .text img {
  display: block;
  margin: 0 auto;
}

.article .more {
  font-size: 108%;
  font-weight: bold;
}

.article .trailer {
  background: #eee;
  clear: both;
  line-height: 1.5em;
  font-size: 77%;
  margin-top: 1em;
  padding: .3em .5em;
}

.article .buttons {
  float: right;
  height: 20px;
  margin-top: 5px;
}

.article .buttons .button {
  float: right;
  margin-left: 2em;
}

.article .buttons .flattr {
  margin-top: 2px;
}

.article .related h3 {
  margin-top: .7em;
}

.article .related ul {
  margin-bottom: 0;
  margin-top: 0;
}

.article input[type=text], .article textarea {
  width: 95%;
}

.article #disqus_thread {
  margin-top: 2em;
}

.article .dsq-brlink {
  color: #666;
}

/*
 * Footer
 */
#footer {
  border-top: 1px solid #ccc;
  color: #666;
  font-size: 85%;
  padding: .5em 0;
  text-align: center;
}

#footer a, #footer a:active, #footer a:hover, #footer a:link, #footer a:visited {
  color: #666;
}
