/*  Color pallette from this web site:  */
/* http://blog.mollietaylor.com/2012/10/color-blindness-and-palette-choice.html */


/***********************************************/
/* HTML tag styles                             */
/***********************************************/
body{
	color: #000000;
	line-height: 1.30;	
	margin: 15px;
	padding: 15px;
	background-image: url(paper.gif);
        max-width: 960px;
        margin: 0 auto;
}

/******* hyperlink and anchor tag styles *******/

a:link, a:visited{
	color: #3322CC;
	text-decoration: none;
	font-style: italic;
}

a:hover, a:active{
	color: #AA4499;
	text-decoration: underline;
	font-style: italic;
}

/************** header tag styles **************/

h1{
 font: bold 200% Arial,sans-serif;
 color: #332288;
 margin: 0px;
 padding: 0px;
}

h2{
 font: bold 150% Arial,sans-serif;
 color: #117733;
/* border-style: solid;  */
 margin: 0px;
 padding: 0px;
}

h3{
 font: bold 120% Arial,sans-serif;
 color: #A6761D;
 margin: 0px;
 padding: 0px;
/* border-style: solid;   */
/* background-color: silver;   */
}

h4{
 font: 100% Arial,sans-serif;
 color: #AA4499;
 margin: 0px;
 padding: 0px;
}

h5{
 font: 100% Arial,sans-serif;
 color: #AA4499;
 margin: 0px;
 padding: 0px;
}

.boxed, .tocitem {
    border-width: medium;
    border-style: solid;
    padding: 10px;
    margin: 0px 0px 15px 0px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*************** list tag styles ***************/

ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: disc;
}

/********* form and related tag styles *********/

form {
	margin: 0;
	padding: 0;
}

label{
 font: bold 1em Arial,sans-serif;
 color: #117733;
}
				
input{
font-family: Arial,sans-serif;
}

/**************  Main navigation bar:  *******************/

.mainNav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

.mainNav ul li {
    float: left;
    background: #BBBBDD;
}

.mainNav ul a:link, .mainNav ul a:visited {
    display: block;
    float: left;
    padding: 0 12px;
    line-height: 50px;
    text-decoration: none;
    color: black;
    font-weight: bold;
	font-family: Arial;
    font-size: 12px;
}

.mainNav ul a:hover, .mainNab ul a:active {
    background: #9999BB;
}

.clear {
    clear: both;
}


/**************  Figure display styles  *******************/


/*Figure with caption eg for in a tutorial or documentation*/
div.figure  {margin-left: auto; margin-right: auto; text-align:center}
div.caption {font-family:Arial; 
             font-size:0.9em; 
             text-align:center;
             padding-top:1em; 
             padding-bottom:0.5em;}

/*Float image which text will flow around, eg in tutorials toc*/
img.toc_float{float:left;
              padding-top:0em; 
              padding-bottom:1em;
              padding-right:1.5em; 
              width: 10em;}

/*Float image which text will flow around, eg in tutorials toc*/
img.toc_float_big{float:left;
              padding-top:0em; 
              padding-bottom:1em;
              padding-right:1.5em; 
              width: 18em;}


/**************  Text styles  *******************/

/* if you want to step out of the narrative for a second */
div.note {margin-left:3em; 
          text-align:left; 
          font-style: italic}


/* TOC item
div.tocitem {clear:both;
             padding-top:2em;
             padding-bottom:1em;}

*/

/* author credit */
p.authors{clear:both;
          font-style:italic;
          text-align:right;}

/* for code snippets */
span.inline_code  {font-family:"Courier New"}
span.code_comment {font-family:"Times New Roman"}

/* These code-snippet classes should have about the same styling */

/* inline code */
span.inline_code  {font-family:"Courier New"; 
              font-weight:bold;}

/* one line of code, with no box. */
div.code_line {font-family:"Courier New"; 
              font-weight:bold;
              margin-left: 4em; 
              margin-right:4em}

/* Code in a box.  May be used with <pre> tag. */
div.code_box {font-family:"Courier New"; 
              font-weight:bold;
              border: 1px solid black;
              padding: 1em; 
              margin-left: 3em; 
              margin-right:3em}

/* Include a file and show it as code in a box. .*/
/* This only works reliably if the mime type is set text/plain using the .htaccess file*/
object.code_include {font-family:"Courier New"; 
              border: 1px solid black;
              padding: 1em; 
              margin-left: 3em; 
              width: 40em;}




