/* Stylesheet for Allison RDoc template */
/* Copyright 2006 Cloudburst LLC */

/* default styles */

* {
margin: 0;
padding: 0;
border: none;
}

a {
color: #E5366F;
font-weight: bold;
text-decoration: none;
}

a:hover {
text-decoration: underline;
} 
a:visited {
font-weight: bold;
}

html, body {
color: #270f2b;
font: 1em Helvetica, sans;
background-color: #faf6fa;
text-align: center;
margin: 0;
margin-left: 30px;
padding: 0;
}

p, ul, ol, li {
line-height: 1.4em;
margin: .4em;
} 

ul {
margin-top: 1em;
margin-bottom: 1em;
} 

h1 {
margin-top: 1em;
margin-bottom: 0.2em;
font-size: 2.2em;
} 

#item_name {
margin-top: -.4em;
}

h2 {
font-size: 2em;
margin-top: 1em;
margin-right: -1em;
}

/* center everything */

#container {
margin: 20px auto 0 auto;
text-align: left;
}

/* header stuff */

#header {
padding: 10px;
padding-top: 0;
width: 800px;
height: 71px;
_height: 81px;
margin-bottom: 5px;
font-family: "Trebuchet MS", sans-serif;
}

#header h1 {
color: #000;
font-size: 5em;
margin: 0;
} 

#header p {
margin: 0;
padding: 0;
padding-left: 3px;
color: #fff;
} 

#header a {
color: #E5366F;
text-decoration: none;
font-weight: bold;
}

/* basic layout and navigation bars */

#left {
background-color: #411948;
width: 0px;
float: left;
_width: 0px;
} 

#left a {
line-height: 1.2em;
} 

#left div.curve {
float: left;
background-color: #411948;
}

/* navigation bar colors and text styles */

.navigation {
width: 0px;
margin: 10px;
padding: 10px;
text-align: left;
background-color: #faf6fa;
overflow: hidden;
} .navigation a, {
margin-left: 10px;
} .navigation h3 {
font-weight: bold;
margin-bottom: 5px;
} .dark {
background-color: #B99AB8;
} .dark a, .dark span {
color: #fff;
margin-left: 10px;
} span.bpink {
color: #E5366F;
font-weight: bold;
margin-left: 10px;
} span.bpink a, .dark span a {
margin-left: 0;
} #spacer {
background-color: #faf6fa;
height: 30px;
display: none;
}

#content {
padding: 20px;
width: 800px;
background-color: #faf6fa;
float: left;
}

#content  p {
  margin-bottom: 1em;
}

.clear {
clear: both;
}

#footer {
margin: 0 auto;
text-align: right;
background-color: #faf6fa;
font-size: .8em;
padding: 10px;
} 
#footer a {
font-weight: normal;
color: #B99AB8;
}

/* for that dumb redirect index page I can't avoid */

#redirect {
text-align: center;
} 
#redirect a {
color: #411948;
}

/* tables */

table {
width: 600px;
border-collapse: collapse;
}
td, th {
background-color: #faf6fa;
text-align: left;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
line-height: 1.2em;
} 
th {
color: #fff;
background-color: #6e2640;
} 
th.description {
text-align: center;
} 
td.highlight {
color: #E5366F;
} 
td.first, th.first {
background-color: #6e2640;
}


/* method details */

div.a_method {
background: #ccc;
padding-left: 1px;
margin-left: 3px;
} 

div.a_method h3 {
color: #E5366F;
} 

div.a_method div {
background: #faf6fa;
padding-left: 10px;
} 

div.a_method a.small {
font-size: .1em;
line-height: .1em;
} 



div.a_method h1 {
color: #E5366F;
font-size: 2em;
margin-top: 0.4em;
}

div.a_method h2 {
color: #444;
font-size: 1.5em;
margin-left: 1em;
margin-top: 0.4em;
margin-bottom: 0.1em;
}

div.section_spacer {
height: 0;
margin-top: 20px;
}


/* index includes on the navigation bar */

div.index a {
font-size: .8em;
} 
#method {
display: none;
} 
#file, #class {
display: block;
} 
div.list_header {
float: left;
} 
div.list_header_link {
float: right;
padding-top: 3px;
} 
div.list_header_link a {
font-weight: normal;
} 
#method_wrapper {
margin-bottom: 0;
}

.index label {
font-size: 0.8em;
} 
.index form input {
width: 110px;
} 
.index form {
margin-bottom: 10px;
}

ol, ul {
margin-left: 1em;
} 
ul {
list-style-type: square;
}

p.source_link a {
text-align: right;
font-weight: normal;
} 
div.source {
display: none;
} 
} 
p.source_link {
text-align: center;
}

/* från reddish */

pre {
background-color: #FFFFCC;
padding-left: 2px;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 1.8em;
border: solid 1px #FFCC99;
}

code {
    font-family: Monaco, "Courier New", monospace;
}

#content h3 {
color: #E5366F;
} 

#content img, embed {
    padding: 0.5em;
    margin: 0.5em;
    background: #f9f9f9;
    border: 1px solid #ccc;
}

#content blockquote {
  margin: 20px 25px 20px 25px;
  border-left: solid 4px #ccc;  
}

#content blockquote p {
  padding-left: 0px;
}

/* source code highlighting */

pre .ruby-value, pre .ruby-symbol {
color: #1104bb;
} pre .ruby-value.str, pre .ruby-node {
color: #E5366F;
} pre .ruby-ivar, pre .ruby-cvar {
} pre .ruby-comment {
color: #009500;
} pre .ruby-constant {
color: #cd8802;
} pre .ruby-keyword {
color: #8d04aa;
}

.article_title a {
color: black;
font-weight: bold;
text-decoration: none;
}

.article_title a:hover {
text-decoration: none;
} 
.article_title a:visited {
font-weight: bold;
}

.article_date {
color: #444;
} 

/*************************************
 +Comments (from Simpla)
 *************************************/
.commentsblock{
	margin:0.5em;
	padding:1em;

}
.commentsblock textarea{
	width:35em;
}
.commentsblock input, .commentsblock textarea{
	border:1px solid #d1d1d1;
}
.commentsblock textarea:focus{
	background:#eee;
	border:1px solid #a1a1a1;
}
.commentsblock textarea:focus, .commentsblock input:focus{
	background:#eee;
	border:1px solid #a1a1a1;
}
.commentauthor{
	display:block;
	font-size:1.5em;
}
ol.commentlist{
	color:#777;
	font-size:0.9em;
	list-style-type:none;
	margin:0;
	margin-top:1.5em;
	padding:0;
}
.commentlist li{
	margin-bottom:0.5em;
	padding:0.5em 1em;
}
.alt{
	background:#f3f5e9;
	border:1px dotted #d1d1d1;
	padding:0.5em;
}
h3#comments{
font-size:1.6em;
}
