/* blueprint overrides... */
abbr, acronym { border: none; }
.alt { color: #333; font-size: 1.2em;}
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; }

a.button,
button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  display: inline;
  float: none;
  margin: 0;
}

input {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 1em;
}

body code,
body tt {
  font: 1.5em inconsolata, consolas, "deja vu sans mono", "droid sans mono", proggy, monofur, profont, monaco, "andale mono", courier, monospace;
  line-height: 1.25;
/*  margin: 0;*/
/*  padding: 0;*/
}
/* ...blueprint overrides */

/* compensating for rdoc nasty html... */
hr { display: none; }
/* ...compensating for rdoc nasty html */

/* html5... */
header, footer, nav, article, aside, section { display: block !important; }
/* ...html5 */

/* macro... */
#sidebar,
article {
  margin-top: 3em;
}

#sidebar {
  background: #c3d9ff;
  clear: both;
  border: 1px solid #9ebdcc;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  margin-right: 8px;
}

footer {
  padding-top: 3em;
  text-align: right;
}

footer p {
  margin: 1em 0;
}
/* ...macro */

/* header... */
#site_search {
  margin-top: 2em;
}

#site_search input {
  padding: 4px 10px 4px 7px;
  line-height: 1em;
  margin: 0;
}

#urls {
  margin-top: 2.5em;
  text-align: right;
}

#urls dt,
#urls dd {
  display: inline;
  margin: 0;
  padding: 0;
}

#urls dt {
  margin-right: .25em;
}

#urls dd {
  margin-right: 1em;
}

header h1 a {
  text-decoration: none;
  color: black;
}

header h1 {
  text-shadow: 3px 3px 3px #bbb;
  font-weight: bold;
  font-size: 10em;
  letter-spacing: -.06em;
  margin: 0;
  float: left;
}

header h1 .ri {
  letter-spacing: -.02em;
}

header nav {
  margin-top: 1em;
  float: left;
}

header nav li {
  list-style-type: none;
  font-size: 1.3em ;
}

h2 .alt {
  color: #ccc;
}

header h2.alt {
  font-size: 1.25em;
  margin: 0 0 0 .5em;
  color: #aaa;
}
/* ...header */

/* sidebar... */
#sidebar .section {
  padding: 20px;
}

#sidebar .section.classes {
  padding-bottom: 0;
}

#sidebar nav h4 {
  font-weight: bold;
  display: inline;
}

#sidebar input {
  width: 95%;
  font-size: 1.5em;
  padding: .25em;
}

input.ghosted {
  color: #999;
}

#sidebar .no_results {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid red;
  text-align: center;
}

#sidebar nav ul,
#sidebar nav h4 {
  margin: 0;
}

#sidebar nav li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
/* ...sidebar */

/* article... */
article h3 {
  margin-top: .5em;
  font-size: 2em;
  letter-spacing: -.06em;
}

article header span.class a {
  text-decoration: none;
}

article h4 {
  font-weight: bold;
}

article section#description {
  font-size: 1.75em;
  color: white;
  color: black;
  padding: 1em;
  margin-bottom: 1em;
  background: #dbdbdb;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dbdbdb), to(#bdbdbd));
  border: 1px solid #ccc;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
}

article section#description pre {
  font-size: 14px;
  margin-bottom: 2em;
  margin-top: -1.5em;
}

article section#description div.example-code {
  font-size: 0.6em;
  margin-bottom: 2em;
  margin-top: -1.5em;
}

article section#description :last-child {
  margin: 0;
}

article section .toggle_source {
  float: right;
}

.toggle_list {
  float: right;
}

.toggle_list a {
  font-weight: bold;
}

article section#properties dt,
article section#properties dd {
  margin: 0;
}

article section#properties dt.name,
article section#properties dd.object_type {
  float: left;
}

article section#properties dd.object_type {
  margin-left: 1em;
  font-style: italic;
}

article section#properties dd.explanation {
  clear: both;
  margin-bottom: .5em;
}

dd.source {
  margin-left: 0;
}

span.optional {
  font-weight: normal;
  font-style: italic;
  color: #666;
}

/* code...*/
code {
  display: block;
  white-space: pre;
  padding: 0 1em;
  background: #ebebeb;
  border: 1px solid #ccc;
  margin-bottom: 1em;
}

code span.ruby-keyword,
code span.ruby-operator {
  color: #ff7800
}

code span.ruby-constant,
code span.ruby-method_name,
code span.ruby-symbol,
code span.ruby-class_name {
  color: #3b5bb5
}

code span.ruby-string { color: #409b1c }
code span.ruby-comment { color: #8c868f }
/* ...code*/

#search-results ol {
  list-style-type: none;
}

/* ...article */

/* tutorial...*/
.tutorial code {
  font-size     : 1em ;
  padding       : 0 ;
  display       : inline ;
}

.tutorial pre code {
  padding       : .5em ;
  display       : block ;
}

.tutorial {
  border-bottom : 2px #CCC solid ;
  border-top    : 2px #CCC solid ;
  padding       : 1em 0 ;
  margin        : 0.5em 0 ;
}

.tutorials li {
  font-size     : 1.4em ;
}

.tutorial-pagination .previous  { float: left; }
.tutorial-pagination .next      { float: right; }

.tutorial-pagination .previous:before { content: "Previous: "; }
.tutorial-pagination .next:before     { content: "Next: "; }

/* ...tutorial*/
