/*
 * Global
 */
html {
  background: #9fa924 url(../images/pridago/background.gif) left top repeat-x;
}

body {
  color: #3e4519;
  font-family: Verdana, Arial, Helvetica, Clean, sans-serif;
}

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

a:active {
  background: #e2e994;
}

h1 {
  color: #949f0b;
  font-size: 116%;
  font-variant: small-caps;
  font-weight: bold;
  margin-bottom: .5em;
}

h2 {
  color: #949f0b;
  font-size: 93%;
  font-weight: bold;
  margin-bottom: .5em;
}

h3 {
  color: #949f0b;
  font-size: 93%;
  font-weight: bold;
  margin-bottom: .5em;
}

.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: #e2e994;
  border: 1px solid #3e4519;
  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 #c00;
}

/*
 * 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: 948px;
}

/*
 * 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: 946px;
}

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

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

.col1 {
  margin-right: 5px;
  margin-left: 240px;
  overflow: hidden;
}

.col2 {
  float: right;
  left: 235px;
  position: relative;
  width: 235px;
}

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

/*
 * Header
 */
#header {
  background: transparent url(../images/pridago/border_top.gif) left top no-repeat;
  height: 60px;
  margin-top: 12px;
}

#header .nav {
  background: #fff;
  border-left: 1px solid #212122;
  border-right: 1px solid #212122;
  font-size: 108%;
  font-weight: bold;
  height: 30px;
  margin-top: 30px;
  overflow: hidden;
}

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

#header .nav li {
  float: left;
  height: 30px;
  list-style: none;
  margin: 0;
  overflow: hidden;
  text-align: center;
  width: 123px;
}

#header .nav li.secondary {
  float: right;
}

#header .nav li a, #header .nav li a:active, #header .nav li a:hover, #header .nav li a:link, #header .nav li a:visited {
  background: #fff url(../images/pridago/nav_button.png) left top no-repeat;
  color: #fff;
  display: block;
  height: 30px;
  padding-top: 5px;
  text-decoration: none;
  width: 123px;
}

#header .nav li a:hover, #header .nav li.selected a, #header .nav li.selected a:active, #header .nav li.selected a:hover, #header .nav li.selected a:link, #header .nav li.selected a:visited {
  background: #e2e994 url(../images/pridago/nav_button_hover.png) left top no-repeat;
  color: #3e4519;
}

#header .nav li.spacer {
  background: #fff url(../images/pridago/nav_spacer.png) left top repeat-x;
  float: none;
  width: auto;
}

/*
 * Content
 */
.colmask {
  background: #fff;
  border-left: 1px solid #212122;
  border-right: 1px solid #212122;
}

.colmask .logo {
  float: right;
  margin-top: .5em;
  margin-right: 2em;
}

#title {
  border-bottom: 1px solid #212122;
  margin-bottom: .5em;
  height: 110px;
  padding: .5em 1em;
}

#title .image {
  float: left;
}

#title h1 {
  color: #3e4519;
  font-size: 182%;
  font-variant: normal;
  font-weight: normal;
  margin-left: 240px;
  margin-top: 20px;
  text-transform: uppercase;
}

#title h2 {
  color: #3e4519;
  font-size: 116%;
  font-variant: small-caps;
  font-weight: normal;
  margin-left: 240px;
  margin-top: 10px;
}

#content {
  line-height: 1.6em;
  min-height: 20em;
  overflow: hidden;
  padding-left: 1em;
}

#content a:hover {
  background: #e2e994;
}

/*
 * Sidebar
 */
#sidebar {
  line-height: 1.3em;
}

.sideitem {
  border: 1px solid #e2e6c5;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  margin-bottom: 1em;
  margin-right: 1em;
  padding: 4px 10px;
  width: 207px;
}

.sideitem ul, .sideitem ol {
  margin: .5em 0 1em 1.5em;
}

.sideitem li {
  list-style-type: square;
}

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

.sideitem.admin {
  background: #fdd;
}

.sideitem.products p {
  text-align: center;
}

.sideitem.links p {
  line-height: 1.5em;
  text-align: center;
}

.sideitem.links a {
  margin: 0 .5em;
}

/*
 * Error
 */
.error h1 {
  color: #c00;
  font-size: 182%;
  margin-top: 1em;
}

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

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

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

.tag2 {
  font-size: 93%;
}

.tag3 {
  font-size: 108%;
}

.tag4 {
  font-size: 123.1%;
}

.tag_cloud {
  text-align: justify;
}

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

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

.pagination a:hover {
  background: #e2e994;
}

.pagination .disabled {
  color: #ddd;
}

.pagination em {
  background: #e2e994;
  font-weight: bold;
}

/*
 * Login
 */
.sessions.new form {
  border: 1px solid #a3a66e;
  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;
  margin-bottom: 1em;
  padding: .5em;
}

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

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

/*
 * Article
 */
.article {
  border: 1px solid #a3a66e;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  margin-bottom: 1em;
  padding: 4px 10px;
  width: 661px;
}

.article .info {
  color: #949f0b;
  font-size: 93%;
}

.article .text {
  margin-bottom: .5em;
}

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

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

.article .trailer {
  background: #e2e6c5;
  clear: both;
  line-height: 1.5em;
  font-size: 77%;
  padding: 1px 5px;
}

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

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

.article .related h3 {
  margin-bottom: 0;
  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;
}

/*
 * Footer
 */
#footer {
  background: transparent url(../images/pridago/border_bottom.gif) left top no-repeat;
  color: #555;
  font-size: 85%;
  height: 55px;
  padding-bottom: 1em;
  padding-top: 25px;
  text-align: center;
}

#footer a, #footer a:active, #footer a:hover, #footer a:link, #footer a:visited {
  background: transparent;
  color: #555;
}
