@import "default.css";

img {
    border: 0;
    max-width: 100%;
    horizontal-align: center;
}

/**
 * Spacing fixes
 */

div.body p, div.body dd, div.body li {
  line-height: 125%;
}

ul.simple { 
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* spacing around blockquoted fields in parameters/attributes/returns */
td.field-body > blockquote {
    margin-top: 0.1em;
    margin-bottom: 0.5em;
}

/* spacing around example code */
div.highlight > pre {
    padding: 2px 5px 2px 5px;
}

/* spacing in see also definition lists */
dl.last > dd {
    margin-top: 1px;
    margin-bottom: 5px;
    margin-left: 30px;
}

div.quotebar {
    background-color: #f8f8f8;
    max-width: 250px;
    float: right;
    padding: 2px 7px;
    border: 1px solid #ccc;
}

/**
 * Hide dummy toctrees 
 */

ul { 
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
ul li { 
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
ul li a.reference { 
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/**
 * Make high-level subsections easier to distinguish from top-level ones
 */
div.body h3 { 
  background-color: transparent;
}

div.body h4 { 
  border: none;
  background-color: transparent;
}

/** 
 * Scipy colors
 */

body { 
  background-color: rgb(230,230,230);
}

div.document { 
  background-color: rgb(230,230,230);
  position: relative;
  margin-left: 240px;
  z-index: 0;
  top: 30px;
}

div.sphinxsidebar {
    background-color: rgb(230,230,230);
    margin-left: 0;
    float: none;
    position: fixed;
    overflow: auto;
    width: 240px;
    max-width: 240px;
    height: auto;
    z-index: 1;
    left: 0;
    top: 33px;
    bottom: 0;  
}

div.related {
    font-size: 1em;
    position: fixed;
    line-height: 30px;
    position: fixed;
    height: 30px;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
}

div.related ul {
    background-image: url('navigation.png');
    height: 2em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    color: rgb(100, 100, 100);
}

div.related ul li {
    margin: 0;
    padding: 0;
    height: 2em;
    float: left;
}

div.related ul li.right {
    float: right;
    margin-right: 5px;
}

div.related ul li a {
    margin: 0;
    padding: 0 5px 0 5px;
    line-height: 1.75em;
    color: #EE9816;
}

div.related ul li a:hover {
    color: #3CA8E7;
}

div.sphinxsidebar h3 {
  color: rgb(0,102,204);
}

div.sphinxsidebar h3 a {
  color: rgb(0,102,204);
}

div.sphinxsidebar h4 {
  color: rgb(0,82,194);
}

div.sphinxsidebar p {
  color: black;
}

div.sphinxsidebar a {
  color: #355f7c;
}

div.sphinxsidebar ul.want-points {
  list-style: disc;
}

.field-list th {
  color: rgb(0,102,204);
}

.floatleft {
	position: relative;
	float:left;
	text-align:center;
}
	
.floatcenter {
	position:relative;
        float:none;
	text-align:center;
}

.floatright {
	position: relative;
	float:right;
	text-align:center;
}

div.bodywrapper {
  margin: 0;
}

div.headerfix :target {
  /* compensate fixed header in link anchors */
  padding-top: {{ 30 }};
  margin-top: -{{ 30 }};
}

/** 
 * Extra admonitions 
 */

div.return {
  color: rgb(0,0,255);
}

div.tip {
  background-color: #ffffe4;
  border: 1px solid #ee6;
}

div.availability {
  background-color: #e8f7c4;
  border: 1px solid #adff2f;
}

div.plot-output { 
  clear-after: both;
}

div.plot-output .figure { 
  float: center;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

div.plot-output .caption { 
  margin-top: 2;
  padding-top: 0;
}

div.plot-output p.admonition-title {
  display: none;
}

div.plot-output:after { 
  content: ""; 
  display: block; 
  height: 0; 
  clear: both; 
}

.doctodo {
    background-color: #ccccff;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #cc99ff;
}

.docwarning {
    background-color: #ffe4e4;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #f66;
}

.doccaution {
    background-color: #ff9900;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #f66;
}

.docimportant {
    background-color: #ffcc33;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #f66;
}

.doctip {
    background-color: #ccff66;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #f66;
}

.docavailability {
    background-color: #e8f7c4;
    padding: 10px;
    margin: 0 -20px 0 -20px;
    border-bottom: 1px solid #adff2f;
}

div.admonition p {
    display: inline;
}

div.admonition {
    background-color: #98F5FF;
    border: 1px solid #00B2EE;
    text-align: justify;
    background-image: url('todo.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;  
    padding-left: 33px;
}

.admonition tt {
    background: #98F5FF;
}

div.seealso {
    background-color: #ffc;
    border: 1px solid #ff6;
    text-align: justify;
    background-image: url('seealso.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;  
    padding-left: 33px;
}

.seealso tt {
    background: #ffc;
}

div.warning {
    background-color: #ffe4e4;
    border: 1px solid #f66;
    text-align: justify;
    background-image: url('warning.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;  
    padding-left: 33px;
}

.warning tt {
    background: #ffe4e4;
}

div.todo {
    background-color: #ccccff;
    border: 1px solid #cc99ff;
    text-align: justify;
    background-image: url('todo.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;  
    padding-left: 33px;
}

.todo tt {
    background: #ccccff;
}

div.caution {
    background-color: #ccffff;
    border: 1px solid #99ccff;
    text-align: justify;
}

.caution tt {
    background: #ccccff;
}

div.important {
    background-color: #ffcc33;
    border: 1px solid #ff9900;
    text-align: justify;
}

.important tt {
    background: #ffcc33;
}

div.tip {
    background-color: #ccff33;
    border: 1px solid #33cc33;
    text-align: justify;
}

.tip tt {
    background: #ccff33;
}


div.note {
    background-color: #eee;
    border: 1px solid #ccc;
    text-align: justify;
    background-image: url('info.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;  
    padding-left: 33px;
}

.note tt {
    background: #eee;
}


 p.admonition-title {
   margin: 10px 10px 5px 0px;
   font-weight: bold;
}

/**
 * Styling for field lists
 */

table.field-list th {
  border-left: 1px solid #aaa !important;
  padding-left: 5px;
}

table.field-list { 
  border-collapse: separate;
  border-spacing: 10px;
}

/** 
 * Styling for footnotes
 */

table.footnote td, table.footnote th {
  border: none;
}

pre {
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', 'Trebuchet MS', monospace;
    font-size: 0.95em;
    letter-spacing: 0.015em;
    padding: 0.5em;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

cite, code, tt {
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', 'Trebuchet MS', monospace;
    font-size: 0.95em;
    letter-spacing: 0.01em;
}

a.headerlink {
    color: #c60f0f;
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
    visibility: hidden;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
    visibility: visible;
}


a em {
    color: #CA7900;
    background-color: transparent;
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', 'Trebuchet MS', monospace;
    font-weight: bold;
    border: 0;
    letter-spacing: 0.01em;
    font-style: normal;
    font-size: 0.95em;
    letter-spacing: 0.01em;
}

a em:hover {
    color: #2491CF;
}

a:hover {
    color: #2491CF;
}

a.headerlink:hover {
    background-color: #c60f0f;
    color: white;
}

a tt {
    background-color: transparent;
    font-weight: bold;
    border: 0;
    color: #CA7900;
}

a tt:hover {
    color: #2491CF;
}

.panel {
position: fixed;
top: 60px;
right: 0;
display: none;
background: #000000;
border:1px solid #111111;
font-family: 'Calibri', 'Deja Vu Sans', 'Bitstream Vera Sans', 'Trebuchet MS', monospace;
-moz-border-radius-topleft: 20px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-bottom-left-radius: 20px;
width: 200px;
height: auto;
padding: 20px 30px 30px 30px;
filter: alpha(opacity=85);
opacity: .85;
}

.panel p{
margin: 0 0 15px 0;
padding: 0;
color: #cccccc;
}

.panel a, .panel a:visited{
margin: 0;
padding: 0;
color: #CA7900;
text-decoration: none;
border-bottom: 1px solid #CA7900;
}

.panel a:hover, .panel a:visited:hover{
margin: 0;
padding: 0;
color: #2491CF;
text-decoration: none;
border-bottom: 1px solid #2491CF;
}


.columns{
clear: both;
width: 330px;
padding: 0 0 20px 0;
line-height: 22px;
}

.colleft{
float: left;
width: 130px;
line-height: 22px;
}

.colright{
float: right;
width: 130px;
line-height: 22px;
}

/**
 * Code block.
 * The border colour should be a darker shade of the background colour.
 * The hex code #E8D898 used below is a pale, light grayish amber.
 */
pre {
    padding: 5px;
    background-color: #FFFFE5;
    color: #333333;
    line-height: 120%;
    border: 1px solid #E8D898;
    border-left: none;
    border-right: none;
}

/**
 * Commands or code within text. The hex code #EAEAF8 used below is a
 * pale, light grayish blue.
 */
tt {
    background-color: #EAEAF8;
    padding: 0 1px 0 1px;
    font-size: 0.95em;
}


.pretty-table {
	font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', 'Trebuchet MS', monospace;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}
.pretty-table th {
	background:#b5cfd2 url('cell_blue.jpg');
	border-width: 1px;
	padding: 8px;
      vertical-align: middle;
	border-style: solid;
	border-color: #999999;
}
.pretty-table td {
	background:#dcddc0 url('cell_grey.jpg');
	border-width: 1px;
	padding: 3px;
      vertical-align: middle;
	border-style: solid;
	border-color: #999999;
}

.pretty-table caption
{
  caption-side: bottom;
  font-size: 0.9em;
  font-style: italic;
  text-align: right;
  padding: 0.5em 0;
}

.pretty-table tr:hover th, .pretty-table tr:hover td
{
  background-color: #632a2a;
  color: #0000ff;
  background:#b5cfd2 url('orange_gradient.png');
}

.pretty-table tr:hover th[class=head]
{
  background:#b5cfd2 url('cell_blue.jpg');
  color:#0066CC;
}

.pretty-table tr:hover tt, .pretty-table tr:hover tt
{
  background-color: #632a2a;
  background:#b5cfd2 url('orange_gradient.png');
}

.pretty-table td tt
{
  background: #E0E0E0 url('cell_grey.jpg');
}

