/**
 * DocBook CSS Stylesheet for producing the JpGraph HTML manual
 * 
 * Version: $Id$
 *
 */

@import "phphl.css";

@import url(http://fonts.googleapis.com/css?family=Cantarell:400,700);

p {
   font: normal 14px Cantarell, sans-serif;
   font-weight: 400;
   margin-top: 4px;
   margin-bottom: 6px;
}

h1, h2, h3, h4 {
    margin-top: 14px;
    margin-bottom: 4px;
}

h1 {
    font-family: Cantarell, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #204a87;
}

h2, h3, h4 {
    font-family: Cantarell, sans-serif;
    color: #0489B7;
    line-height: 2;
    border-bottom: solid 1px #e0e0df;
}

hr {
   display: none;
   border-top: solid 1px #e0e0df;
   border-bottom: 0;
   border-left: 0;
   border-right: 0;
   height: 0;
}

h2 {
    font-size: 20px;
    font-weight: 700;
}

h3 {
    font-size: 17px;
    font-weight: 400;
}

html {
   margin: 0;
   padding: 0;
}

body {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;

/*    padding-left: 10px;
    padding-right: 10px;
    padding-top: 1px;
    box-shadow: 6px 0 20px  -4px #222 , -6px 0 20px  -4px #222;*/



}

h3.author {
    font-size: 15px;
    font-weight: 400;
    border-bottom: 0;
    border-top: solid 1px #e0e0df;
    text-align: right;
}

.pubdate {
   text-align: right;
   margin-bottom: 50px;
   color: rgb(69, 161, 190);
   margin-top: -5px;
   font-size: 13px;
}

.important,
.warning,
.note,
.tip,
.caution
{
   -moz-box-shadow: inset 0 0 9px #888;
   -webkit-box-shadow: inset 0 0 9px #888;
   box-shadow: inner 0 0 9px #888;
   padding: 5px;
   margin-top: 15px;
   margin-bottom: 15px;
   border-radius: 10px;

}

.important th,
.warning th,
.note th,
.tip th,
.caution th
 {
   font-family: Cantarell, sans-serif;
   font-weight: 700;
   font-size: 14px;
   padding-top: 8px;
   color: #0489B7;
}

li > p {
   margin: 0px;
   margin-bottom: 4px;
}

/* Lists inside tables do not waste so much space on the left */
td ul {
   padding-left: 20px;
   padding-right: 0px;
}

.term {
   font-family: Cantarell, sans-serif;
   font-weight: 700;
   font-size: 14px;
}

.variablelist dd {
   margin-left: 10px;
   padding-left: 0;
}

/* Term (i.e., definition title) */
.variablelist dt {
   margin-top: 18px;
   margin-bottom: 0px;
   color: #204a87;
}

.programlisting {

   -moz-box-shadow: inset 0 0 9px #204a87;
   -webkit-box-shadow: inset 0 0 9px #204a87;
   box-shadow: inner 0 0 9px #204a87;
   background-color: rgb(228,240,245);
   padding: 10px;
   border-radius: 10px;
   color: #204a87;

   /* http://stackoverflow.com/questions/4413015/browser-compatible-word-wrap-an
      d-whitespace-pre */
   white-space: -moz-pre-wrap; /* Firefox */
   white-space: -pre-wrap; /* ancient Opera */
   white-space: -o-pre-wrap; /* newer Opera */
   white-space: pre-wrap; /* Chrome; W3C standard */
   word-break: break-all;
   word-wrap: break-word; /* IE */

   /* TODO: generate alternate lines and apply CSS3 nth-child(odd|even) pseudo-
      class */

  width: 95%;

}

dtd d.programlisting {
   width: 450px; /* TODO: this is an ugly workaround */
}

.emphasis {
   color: #204a87;
}

.term .emphasis em {
   font-style: normal;
   color: rgb(69, 161, 190);
   font-weight: 400;
}

.toc {
   background-color: #f0f9ff;
   border: solid 1px #c0c9ff;
   font-family: Cantarell, sans-serif;
   font-size: 14px;
   font-weight: 400;
   line-height: 1;
   color: #555;
   width: 300px;
   padding: 10px;

   border-radius: 10px;
   margin-top: -70px;

}

.toc dl {
   margin: 0;
   line-height: 1.5;
}

.toc dt {
   padding: 0px;
   margin: 0px;
}

.toc dd {
   margin-left: 25px;
}

.toc p {
   display: none;
}


/* ========================================================================== */

filename, .option {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
}
.guimenu, .guimenuitem {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    padding: 0 3px;
    background-color:#FF7;
}
.classname {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    font-weight:bold;
}
.methodname {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    font-weight:bold;
}
.command {
    font-weight: bold;
}
.parameter {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
}
.envar {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    font-weight:bold;
}
.function {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
}

.screen {
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    padding: 5px;
    overflow: hidden;
}
.synopsis {
    padding-left: 5px;
    font-family: "Bitstream Vera Sans Mono", Courier, monospace;
    background-color: #fef3c1;
}

div.mediaobject {
    margin-top: 15px;
    margin-bottom: 15px;
}

.mediaobject img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.screenshot {
    margin: 10px;
    text-align: center;
}

/*p, .synopsis, .example, .important, .formaltable {
    margin: 0 15px 1em 15px;
}*/

a:hover {
    aborder-bottom: 1px solid gray;
   text-decoration: underline;
}

a, a:visited {
    color: #0489B7;
    font-weight: normal;
    text-decoration: none;
}

.example {
	background: #fff;
	border: none;
	margin-left: 0px;
	margin-right: 15px;
}

.example p.title,
.figure p.title{
    font-size: 0.85em;
}

.example-contents {
    background-color: #fff;
    padding: 2px;
}

.figure {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/*
.titlepage h2.title {
   font-weight:bold;
}
*/

/* TOC */

/*.toc span.preface {
    padding-left: 15px;
    font: bold 1.05em Arial, serif;
    font-style: italic;
}


.toc span.part {
    padding-left: 15px;
    font: bold 1.3em Arial, serif;
}*/

span.chapter {
    padding-left: 15px;
    font: normal 1.05em Arial, serif;
}

span.sect1 {
    padding-left: 15px;
    font-size: .85em;
    font: normal .85em Georgia, serif;

}

/*div.toc {
    background-color:#efeedd;
    border:1px solid #cebcac;
    padding-bottom:2px;
    padding-top:10px;
    margin-bottom:15px;
}*/

span.sect2 {
    padding-left: 15px;
    font-size: .85em;
    font: normal .85em Georgia, serif;

}



/*.toc b {
    font-size: 1.5em;
    color:#555;
}*/

div.list-of-examples  {
    padding-top:10px;
    padding-bottom:5px;
    background-color:#e5ded2; 
    background-color:#efeedd;
    border:1px solid #c5beb2; 
    margin-bottom: 15px;
}

div.list-of-examples dl {
    margin-left: 25px;
}

div.list-of-figures  {
    padding-top:10px;
    padding-bottom:5px;
    background-color:#e5ded2; 
    background-color:#efeedd;
    border:1px solid #c5beb2; 
    margin-bottom: -1px;
    margin-top: -16px;
}

div.list-of-figures dl {
    margin-left: 25px;
}

div.navheader {
    background-color:#ebf1e8;
}

div.navfooter {
    background-color:#ebf1e8;
}

div.navheader td {
    font-size:0.85em;
}

div.navfooter td {
    font-size:0.85em;
}


