/*div, body, h1 {
  margin: 0;
  padding: 0;
}
*/
body {
  font-family: "Verdana", Arial, sans-serif;
  font-size: 14px;
  color: black;
  background-color: #ffffff;
}

/* Page layout */

div.header, div.content, div.footer {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
div.aligner {
  max-width: 40em;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

div.header {
  background: url(bgtop.jpg) top left repeat-x;
}


/* Default body styles */
body a {
  text-decoration: none;
  color: #ce5c00;
}

.clearer {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

body h1, body h2, body h3, body h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: normal;
  color: #3465a4;
  margin-bottom: .8em;
}

body h1 {
  color: #204a87;
}

body h2 {
  padding-bottom: .5em;
  border-bottom: 1px solid #3465a4;
}

a.headerlink {
  visibility: hidden;
  color: #dddddd;
  padding-left: .3em;
}

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;
}



/* Header */

div.header {
  padding-top: 10px;
  padding-bottom: 10px;
}

div.header h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: normal;
  font-size: 160%;
  letter-spacing: .08em;
  display: inline;
}

div.header h1 a {
  color: white;
}

div.header div.rel {
  /*margin-top: 1em;*/
  display: inline;
  
}

div.header div.rel a {
  color: #fcaf3e;
  letter-spacing: .1em;
  text-transform: uppercase;
}

p.logo {
    float: right;
}

img.logo {
    border: 0;
}

/*-------------------------body text styles ----------------------------*/

div.content{
  background-color: white;
  padding-top: 1em;
  padding-bottom: 20px;
  /*padding-right: 2em;*/
  text-align: left;
}

div.content .toctree-wrapper ul li {
    list-style-type: disc;
    padding-left: 2em;
    text-indent: -2em;
/*    margin-left: 2em;
*/}

div.content .citation {
    font-family: serif;
}

div.content .citation .label {
    font-weight: bold;
    padding-right: 1em;
}

div.content p {
  line-height: 1.4em;
}

div.content ul {
  margin-left: 1.2em;
  list-style-type: square;
}

div.content dd {
  margin-left: 1.2em;
  margin-top: .4em;
  margin-bottom: 1em;
}

div.content .section {
  margin-top: 1.7em;
  margin-bottom: 1.0em;
}
div.content .section:first-child {
  margin-top: 0px;
}
div.content div.highlight {
  padding: 3px;
  background-color: #eeeeec;
  border-top: 2px solid #dddddd;
  border-bottom: 2px solid #dddddd;
  margin-top: .8em;
  margin-bottom: .8em;
}

div.content h2 {
  margin-top: .7em;
}

div.content p, div.content blockquote {
  margin-bottom: .5em;
}

div.content blockquote {
  padding-left: 4em;
  padding-right: 4em;
}

div.content li.toctree-l1 {
  margin-bottom: 1em;
}

div.content .descname {
  font-weight: bold;
}

div.content .docutils.literal {
  background-color: #eeeeec;
  padding: 1px;
}

div.content .docutils.xref.literal {
  background-color: transparent;
  padding: 0px;
}

div.content table.footnote .label {
  padding-right: 0.5em;
}
/* Dropdowns */
.dropdown .collapsed {
/*  color: #F00;*/
}

div.dropdown {
  max-width: 100%;
  font-size: .9em;
  text-align: left;
  border-left: 1em solid #fcaf3e;
  border-bottom: 1px solid #fcaf3e;
  padding-left: 0.3em;
  margin-bottom: 0.3em;
  margin-top: 0.3em;
}

div.dropdown h3 {
  color: #2e3436;
  text-transform: uppercase;
  font-size: 130%;
  letter-spacing: .1em;
  margin-bottom: 0;
  margin-top: 0.3em;
}

div.dropdown ul {
  list-style-type: none;
  margin-left: 2em;
}

div.dropdown li.toctree-l1 a {
  display: block;
/*  padding: 1px;
  border: 1px solid #dddddd;
  background-color: #eeeeec;
  margin-bottom: .4em;
  padding-left: 3px;
  color: #2e3436;*/
}

div.dropdown li.toctree-l2 a {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #dddddd;
}

div.dropdown li.toctree-l2:last-child a {
  border-bottom: none;
}

div.dropdown li.current, div.dropdown li.current li.current {
/*  border-right: 5px solid #fcaf3e;
  border-top: 1px dashed #fcaf3e;
  border-bottom: 1px dashed #fcaf3e;*/
  font-weight: bold;
  list-style-type: square
}

div.dropdown li.current li {
  font-weight: normal;
  list-style-type: none
}

div.dropdown li.current li.toctree-l2 a {
  border-right: none;
  border-top: none;
  border-bottom: none;
}


/* Footer */

div.footer {
  font-size: .8em;
  background: url(bgfooter.png) top left repeat-x;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.footer, div.footer a {
  color: #111111;
}

div.footer .right {
  text-align: right;
  width: 60%
}

div.footer .left {
  text-transform: uppercase;
  width: 35%
  
}


/* Styles copied form basic theme */

/* -- search page ----------------------------------------------------------- */

ul.search {
    margin: 10px 0 0 20px;
    padding: 0;
}

ul.search li {
    padding: 5px 0 5px 20px;
    background-image: url(file.png);
    background-repeat: no-repeat;
    background-position: 0 7px;
}

ul.search li a {
    font-weight: bold;
}

ul.search li div.context {
    color: #888;
    margin: 2px 0 0 30px;
    text-align: left;
}

ul.keywordmatches li.goodmatch a {
    font-weight: bold;
}

/* -- index page ------------------------------------------------------------ */

table.contentstable {
    width: 90%;
}

table.contentstable p.biglink {
    line-height: 150%;
}

a.biglink {
    font-size: 1.3em;
}

span.linkdescr {
    font-style: italic;
    padding-top: 5px;
    font-size: 90%;
}

/* -- general index --------------------------------------------------------- */

table.indextable td {
    text-align: left;
    vertical-align: top;
}

table.indextable dl, table.indextable dd {
    margin-top: 0;
    margin-bottom: 0;
}

table.indextable tr.pcap {
    height: 10px;
}

table.indextable tr.cap {
    margin-top: 10px;
    background-color: #f2f2f2;
}

img.toggler {
    margin-right: 3px;
    margin-top: 3px;
    cursor: pointer;
}
