/*
 * "Rubydoc" Rdoc CSS
 *
 * Author: James Britt <james@neurogami.com>

 
 Tue Sep 20 23:22:01 MST 2011
 
 */





/* New stuff to change layout */

/* Inuit has rather harsh ol and ul style. FIx this */

ol, ul {
 margin: 0 0 1.5em 8px;

}

#about {
/* float: left;  */
/*  border: 3px solid red; */
/*  margin: 5px; */

}


.section-body {
padding: 2px;
}

#file-index {
 
 margin: 5px 5px 20px 5px;
 padding: 5px 5px 20px 5px;
 
}


#class-index {
 float: left;
  margin: 5px;
  
}

#method-index {
 float: left; 
/*  border: 3px solid red; */
  margin: 5px;

}

#file-index .title, #class-index  .title, #method-index  .title {
 font-size: 110%;
}


.ng-cm-type {
color: #ddd;
padding: 0 10px;
}

/* Base Green is: #6C8C22 */

*{ padding: 0; margin: 0; }
/*
body {
  background: #fff;
	font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
  
}
  */
body.class, body.module, body.file {
    /* margin-left: 40px; */
}
body.file-popup {
	font-size: 90%;
	margin-left: 0;
}

/*
h1 {
	font-size: 2em%;
	color: #07c;
}
h2,h3,h4 { margin-top: 1.5em; }

*/


:link,
:visited {
	color: #07c;
	text-decoration: none;
}
:link:hover,
:visited:hover {
 	border-bottom: 1px dotted #933;
}

pre {
	background: #ddd;
	margin: 0.5em 0;
	padding: 0.5em;
  color: #000;
}

pre.ruby {
  background: #303030;
  color: #fff;
}


/* @group Generic Classes */

.initially-hidden {
	display: none;
}

.quicksearch-field {
	width: 98%;
	background: #ddd;
	border: 1px solid #aaa;
	height: 1.5em;
	-webkit-border-radius: 4px;
}
.quicksearch-field:focus {
	background: #f1edba;
}

.missing-docs {
	font-size: 120%;
	background: white url(../images/wrench_orange.png) no-repeat 4px center;
	color: #ccc;
	line-height: 2em;
	border: 1px solid #d00;
	opacity: 1;
	padding-left: 20px;
	text-indent: 24px;
	letter-spacing: 3px;
	font-weight: bold;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.target-section {
	border: 2px solid #dcce90;
	border-left-width: 8px;
	padding: 0 1em;
	background: #fff3c2;
}

/* @end */


/* @group Index Page, Standalone file pages */
body.indexpage {
	margin: 1em 3em;
}
body.indexpage p,
body.indexpage div,
body.file p {
	margin: 1em 0;
}

.indexpage ul,
.file #documentation ul {
	line-height: 160%;
	list-style: none;
}
.indexpage ul :link,
.indexpage ul :visited {
	font-size: 16px;
}

.indexpage li,
.file #documentation li {
	padding-left: 20px;
	background: url(../images/bullet_black.png) no-repeat left 4px;
}
.indexpage li.module {
	background: url(../images/package.png) no-repeat left 4px;
}
.indexpage li.class {
	background: url(../images/ruby.png) no-repeat left 4px;
}
.indexpage li.file {
	background: url(../images/page_white_text.png) no-repeat left 4px;
}
.file li p,
.indexpage li p {
  margin: 0 0;
}

/* @end */

/* @group Top-Level Structure */

.class #metadata,
.file #metadata,
.module #metadata {
	float: left;
	width: 260px;
}

.class #documentation,
.file #documentation,
.module #documentation {
	margin: 2em 1em 5em 300px;
	min-width: 340px;
}

.file #metadata {
	margin: 0.8em;
}

#validator-badges {
	clear: both;
	margin: 1em 1em 2em;
}

/* @end */

/* @group Metadata Section */
#metadata .section {
	background-color: #eee;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #aaa;
	margin: 0 8px 16px;
	font-size: 90%;
	overflow: hidden;
}
#metadata h3.section-header {
	margin: 0;
	padding: 2px 8px;
	background: #ccc;
	color: #068;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-bottom: 1px solid #aaa;
}
#metadata #home-section h3.section-header {
  border-bottom: 0;
}

#metadata ul,
#metadata dl,
#metadata p {
	padding:  8px;
	list-style: none;
}

 #files ul ,  #file-metadata ul {
  margin-left:18px;
	list-style-image: url(../images/page_green.png);
}

dl.svninfo {
	color: #068;
	margin: 0;
}
dl.svninfo dt {
	font-weight: bold;
}

/* rdoc.css */
ul.link-list li {
	white-space: nowrap;
}

/* RD */
ul.link-list {
  padding: 2px;
  margin-left: 5px;
}

ul.link-list .type {
	font-size: 8px;
	text-transform: uppercase;
	color: white;
	background: #efefef;
	padding: 2px 4px;
	-webkit-border-radius: 5px;
}

/* @end */


/* @group Project Metadata Section */
#project-metadata {
	margin-top: 3em;
}

.file #project-metadata {
  margin-top: 0em;
}

#project-metadata .section {
	border: 1px solid #aaa;
}
#project-metadata h3.section-header {
	border-bottom: 1px solid #aaa;
	position: relative;
}
#project-metadata h3.section-header .search-toggle {
	position: absolute;
	right: 5px;
}


#project-metadata form {
	color: #777;
	background: #ccc;
	padding: 8px 8px 16px;
	border-bottom: 1px solid #bbb;
}
#project-metadata fieldset {
	border: 0;
}

#no-class-search-results {
	margin: 0 auto 1em;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #aaa;
}

/* @end */


/* @group Documentation Section */
#description {
	font-size: 100%;
	color: #333;
}

#description p {
	margin: 1em 0.4em;
}

#description li p {
  margin: 0;
}

#description ul {
	margin-left: 1.5em;
}
#description ul li {
	line-height: 1.4em;
}

#description dl,
#documentation dl {
	margin: 8px 1.5em;
	border: 1px solid #ccc;
}
#description dl {
	font-size: 14px;
}

#description dt,
#documentation dt {
	padding: 2px 4px;
	font-weight: bold;
	background: #ddd;
}
#description dd,
#documentation dd  {
	padding: 2px 12px;
}
#description dd + dt,
#documentation dd + dt {
	margin-top: 0.7em;
}

#documentation .section {
	font-size: 90%;
}
#documentation h3.section-header {
	margin-top: 2em;
	padding: 0.75em 0.5em;
	background-color: #dedede;
	color: #333;
	font-size: 150%;
	border: 1px solid #bbb;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#constants-list > dl,
#attributes-list > dl {
	margin: 1em 0 2em;
	border: 0;
}
#constants-list > dl dt,
#attributes-list > dl dt {
	padding-left: 0;
	font-weight: bold;
	font-family: Monaco, "Andale Mono";
	background: inherit;
}
#constants-list > dl dt a,
#attributes-list > dl dt a {
	color: inherit;
}
#constants-list > dl dd,
#attributes-list > dl dd {
	margin: 0 0 1em 0;
	padding: 0;
	color: #068;
}

/* @group Method Details */

#documentation .method-source-code {
	 display: none; 
}

#documentation .method-detail {
	margin: 0.5em 0;
	padding: 0.5em 0;
	cursor: pointer;
}

#documentation .method-detail:hover {
	background-color: #eee;
  color: #000;
}
#documentation .method-heading {
	position: relative;
	padding: 2px 4px 0 20px;
	font-size: 125%;
	font-weight: bold;
	color: #333;
	background: url(../images/brick.png) no-repeat left bottom;
}
#documentation .method-heading :link,
#documentation .method-heading :visited {
	color: inherit;
}
#documentation .method-click-advice {
	position: absolute;
	top: 2px;
	right: 5px;
	font-size: 10px;
	color: #9b9877;
	visibility: hidden;
	padding-right: 20px;
	line-height: 20px;
	background: url(../images/zoom.png) no-repeat right top;
}
#documentation .method-detail:hover .method-click-advice {
	visibility: visible;
}

#documentation .method-alias .method-heading {
	color: #068;
	background: url(../images/brick_link.png) no-repeat left bottom;
}

#documentation .method-description,
#documentation .aliases {
	margin: 5px 20px;
  /*
  
	line-height: 1.2em;
	color: #068;
  */
}
#documentation .aliases {
	padding-top: 4px;
	font-style: italic;
	cursor: default;
}
#documentation .method-description p {
	padding: 0;
}
#documentation .method-description p + p {
	margin-bottom: 0.5em;
}
#documentation .method-description ul {
  margin-left: 1.5em;
}

#documentation .attribute-method-heading {
	background: url(../images/tag_green.png) no-repeat left bottom;
}
#documentation #attribute-method-details .method-detail:hover {
	background-color: transparent;
	cursor: default;
}
#documentation .attribute-access-type {
	font-size: 60%;
	text-transform: uppercase;
	vertical-align: super;
	padding: 0 2px;
}
/* @end */

/* @end */



/* @group Source Code */

div.method-source-code {
     background: #262626; 
    color: #efefef; 
    margin: 1em;
    padding: 0.5em;
    border: 1px dashed #999;
    overflow: hidden;
}

div.method-source-code pre {
	background: inherit;
	padding: 0;
 	color: white; 
	overflow: auto;
}

/* @group Ruby keyword styles */
.ruby-constant   { color: #7fffd4; background: transparent; }
.ruby-keyword    { color: #00ffff; background: transparent; }
.ruby-ivar       { color: #eedd82; background: transparent; }
.ruby-operator   { color: #00ffee; background: transparent; }
.ruby-identifier { color: #ffdead; background: transparent; }
.ruby-node       { color: #ffa07a; background: transparent; }
._ruby-comment    { color: #b22222; font-weight: bold; background: transparent; }
.ruby-regexp     { color: #ffa07a; background: transparent; }
.ruby-value      { color: #7fffd4; background: transparent; }

/*  JGB 2012-10-17 */
.ruby-comment    { color: #5eff1f; font-weight: bold; background: transparent; }
/* @end */
/* @end */


/* @group File Popup Contents */

.file #metadata,
.file-popup #metadata {
}

.file-popup dl {
	font-size: 80%;
	padding: 0.75em;
	background-color: #dedede;
	color: #333;
	border: 1px solid #bbb;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.file dt {
	font-weight: bold;
	padding-left: 22px;
	line-height: 20px;
	background: url(../images/page_white_width.png) no-repeat left top;
}
.file dt.modified-date {
	background: url(../images/date.png) no-repeat left top;
}
.file dt.requires {
	background: url(../images/plugin.png) no-repeat left top;
}
.file dt.scs-url {
	background: url(../images/wrench.png) no-repeat left top;
}

.file dl dd {
	margin: 0 0 1em 0;
}
.file #metadata dl dd ul {
	list-style: circle;
	margin-left: 20px;
	padding-top: 0;
}
.file #metadata dl dd ul li {
}


.file h2 {
	margin-top: 2em;
	padding: 0.75em 0.5em;
	background-color: #dedede;
	color: #333;
	font-size: 120%;
	border: 1px solid #bbb;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* @end */




/* @group ThickBox Styles */
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#068;
}

#TB_window :link,
#TB_window :visited        { color: #068; }
#TB_window :link:hover,
#TB_window :visited:hover  { color: #000;    }
#TB_window :link:active,
#TB_window :visited:active { color: #068; }
#TB_window :link:focus,
#TB_window :visited:focus  { color: #068; }

#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #068;
	border-left: 1px solid #068;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
	font-size: 22px;
}

#TB_title{
	background-color: #07c;
	color: #dedede;
	height:40px;
}
#TB_title :link,
#TB_title :visited {
	color: white !important;
	border-bottom: 1px dotted #dedede;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

/* @end */

/* @group Debugging Section */

#debugging-toggle {
	text-align: center;
}
#debugging-toggle img {
	cursor: pointer;
}

#rdoc-debugging-section-dump {
	display: none;
	margin: 0 2em 2em;
	background: #ccc;
	border: 1px solid #999;
}


/* Glommed from Babel */

.search-field {
  font-family: Monaco, Consolas, "Lucida Console", monospace;
 /* position: absolute; */
  left: 203px;
  padding: 0 1px 2px 2px; /* TRBL */
  background: #f5f5f5;
  border: 1px solid silver;
  color: silver;
  width: 8em; /* search... */
  margin-bottom: 10px;
}

.search-field.active {
  background: #fffffa;  /* very pale yellow */
  color: black;
}

.indexpage .entries {
  padding: 0.2em 0;
  font-size: 80%;
  overflow-x: hidden;
  overflow-y: auto;
}



#class-index .entries , #method-index .entries {
  /* Sort of hacky but a fix */
  width: 460px;
  text-overflow: ellipsis;

}

.indexpage p {
  white-space: nowrap;
}
.indexpage .type {
  color:#444;
  font-size:75%;
  padding-left:0.67ex;
  display:inline-block;
  width:0.85em;
}
.indexpage a, .indexpage a:hover {
  padding: 0 0.5ex;
}


#footer {
  margin-top: 50px;
  font-size:0.75em;
  text-align: center;
/* bottom: 3px;
right: 10px;
*/
}


body.index  #footer {

color: #999;
margin-top:30px;
position:absolute;
position:fixed;

bottom:0;
width: 90%;
height:30px;			/* Height of the footer */
text-align: right;
font-size: 0.75em;



}

/* @end */



/* Make it more like new ruby-doc.org */

h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, "Times New Roman", serif; 
   color: #6C6C6C;
}


.index-g1 h2 a, .index-g1 h2 a:visited , .index-g1  h2 a:link,
.index-g0 h2 a, .index-g0 h2 a:visited , .index-g0  h2 a:link {
/* color: #6C6C6C !important; */
color: #c7211b !important;
text-decoration: none!important;
border-bottom: none;
}


h2 a, h2 a:visited , h2 a:link {
/*color: #fff!important; */
color: #fff;
text-decoration: none!important;
border-bottom: none;
}

#description h2 a, #description  h2 a:visited , #description  h2 a:link {
color: #CC3333;
text-decoration: none!important;
border-bottom: none;
}


h1 a, h1 a:visited , h1 a:link {
color: #fff!important;
text-decoration: none!important;
border-bottom: none;
}

#documentation h1 a, #documentation  h1 a:visited , #documentation  h1 a:link {
color: #333 !important;
}


h2 a:hover {
 color:red!important;
 text-decoration: none!important;
}


html {
 color: #6C6C6C;
}


 a,  a:visited,   a:link {
color: #333 ! important;
text-decoration: none  ! important;
opacity: 1.0;
border-bottom: dotted #cdcdcd 1px
}


a:hover {
 color:red!important;
 text-decoration: none!important;
  opacity: 1.0;
}

#header {
  margin-top:1em;
  text-align: right;
  background:url(../images/logo-rubydoc.gif) 850px 0 no-repeat ; 
  height: 120px;
}

#header h1{
 margin: 5px 120px 5px  0px;
}



#header p  {
margin: 5px 120px 5px  0px;
font-size: 1.5em;
}



#OLD_actionbar {
  background: #646462 ! important;
  color: #fff ! important;
  font-weight: bold;
  width: 100% ! important;
  line-height: 2em;
  height: 2em;
  font-family: Helvetica, Arial, sans-serif; 
  border: solid #646462 1px;
}

#OLD_actionbar .right {
  text-align: right;
}

#OLD_actionbar li a, #OLD_actionbar li  a:visited , #OLD_actionbar li  a:link {
color: #fff ! important;
text-decoration: none  ! important;
opacity: 1.0;
border-bottom: none;
}


#OLD_actionbar li  a:hover {
 color:red!important;
 text-decoration: none!important;
  opacity: 1.0;
  border-bottom: none;
}

#OLD_actionbar li {
display: inline;
padding: 2px 5px;
}



.wrapper{
	width:960px; 
	margin:0 auto;
	padding:0 10px;
}





#alternateFormatLink {

position:fixed; background: none;
border:1px solid #fefefe;
width:150px;
z-index:100;
 margin: 0;
 right: 0px;
 top: 140px;
 font-size:60%;
 background-color:rgba(255,255,255,0.5);
}


.rdocstar #alternateFormatLink {
  right : -50px ! important;
}

#alternateFormatLink  {
 display:block;
 margin:0 0.5em;

}

.rotate {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  /* Should be unset in IE9+ I think. */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

  #carbonads, #carbonads_1  {
    border: dotted 1px #FCC;
   padding: 5px;
   margin: 30px 2px 70px;
  
  }
  .carbon-text {  display:block }


  .
@media (max-width: 720px){

    #alternateFormatLink {
display: none;

}


.wrapper{
	width:auto!important;
	padding:10px!important;
	width:auto!important;
}


header p {
font-size: 1em;
}
/* We need to force the div with the method list to fall
   below the clas list div
 */

#method-index, #class-index{
  clear: both;
}

/* 
Sat Sep 24 23:21:56 MST 2011
Need a better way to do this; 
  using a fixed em size is hacky because:
  - Different browser handle it differently
  - Different ruby versions have a different number of classes listed.

  But: This makes it usable for now.
*/
#class-index {
  height: 140em;
}

#OLD_actionbar {
  height: 5em;
 
}

  div.adzbox  {
   /* display:none; */
  float: left ! important;
  margin-left: 10px;
  clear: both;
  }
}

@media print{

.wrapper{
	width:75%;
	margin:0 auto;
}


}



  .wrapper {
/* adjust spacing to allow more room on the right */
/*    margin-right:10%; */
	width:1010px; 
	margin:0 auto;
	padding:0 10px;
}


.class #documentation,
.file #documentation,
.module #documentation {
	min-width: 340px;
  max-width: 560px;
}


  div.adzbox , div.adzbox-index, div.adzbox-adjecent-files, div.adzbox-no-files-index {

    height: 250px;
    width:  130px;
    width:  160px;
    float: right;

    margin-right: -40px;    
    
/*    border: solid 1px #333; 
    background-color: #33f; 
*/
 }


  div.adzbox-no-files-index {
  
   margin-top: -220px;
   margin-right: -40px;    
   
  }

  
  div.adzbox-index {
  
   margin-top: 1px;
   margin-right: 1px;    
   margin-right: 60px;    
   
  }
  
  div.adzbox-adjecent-files {
    margin-top: -10px;
    margin-right: -30px;   
  }
  
  div.adzbox  {
  
    margin-top: 200px;

  }


#extraz {
  float: right;
  width: 170px;
  height: 260px;

  margin-right: -100px;
  /* background-color: #f30;  */

}


.rd-ab-msg {
font-family: Helvetica, Arial, sans-serif; 
  border: 1px solid #AB5454; 
  padding: 5px;
   margin-right: 20px; 
  color: #999;
  background: #FDFDFD;
  font-size: 12px;
  font-weight: bold;
}

