body {
 background-color: white;
 color: black;
 min-width: 30em;
 max-width: 50em;
 margin-left: auto;
 margin-right: auto;
}

.lowerright {
 position: fixed;
 bottom: 0px;
 top:50%;
 right: 2%;
}

.only_javascript {
 display: none;
}

p {
 text-align: justify;
}

p.code {
 border: medium solid rgb(0,0,0);
  font-family: Courier New,Courier,monospace;
  background-color: rgb(220,220,220);
  padding: 5px;
  margin-left: 5%;
  margin-right: 5%;
}

p.warning {
  border-top: double medium Red;
  border-bottom: double medium Red;
  margin-left: 5%;
  margin-right: 5%;
  padding-top: 5px;
  padding-bottom: 5px;
}

p.exercise {
  border-top: double medium Black;
  border-bottom: double medium Black;
  margin-left: 5%;
  margin-right: 5%;
  padding-top: 5px;
  padding-bottom: 5px;
}

span.programName {
  font-family: Courier New,Courier,monospace;
} 

span.code {
  font-family: Courier New,Courier,monospace;
}

span.formula {
text-align: center;
}

span.menuChoice {
  font-family: Courier New,Courier,monospace;
}

a.menu:hover {color: #FF0000; font-weight:normal}
a.menu {
  color: #FFFFFF;
  text-decoration: none;
}

img.programPic {
 float: right;
}

a.imgLink {
 color: white;
}


li {
 list-style-type: disc;
}

div.main{overflow:auto; height:100%;}

div.updateInfo {
 clear: both;
 padding-top: 3 em;
 font-style: italic;
}

ul {
 margin-top: 0px;
}

var {
 font-style: italic;
}

var sub {
 font-style: normal;
}

span.eqn, div.displayeqn {
 white-space: nowrap;
}

div.displayeqn {
 text-align: center;
 width: 100%;
}

.eqn sup, .displayeqn sup {
 vertical-align: 0.8ex;
 font-size:65%;
}

.eqn sub, .displayeqn sub {
 vertical-align: -0.6ex;
 font-size:65%;
}

/* LaTeX text-styles, from the instructions at http://edward.oconnor.cx/2007/08/tex-poshlet accessed 14 March 2009 */
.latex sup {
  font-size: 0.85em;
  vertical-align: 0.15em;
  margin-left: -0.36em;
  margin-right: -0.15em;
}

.tex, .latex, .tex sub, .latex sub {
  font-size: 1em;
}

.tex sub, .latex sub {
  vertical-align: -0.5ex;
  margin-left: -0.1667em;
  margin-right: -0.125em;
}

.tex sub, .latex sub, .latex sup {
  text-transform: uppercase;
}


div.content {
 margin: 3 em;
}

@media print {
  div.updateInfo{display:none;}
  .unprintable{display:none;}
  div.main{overflow:visible;}
  div.content{margin: 0 em;}
}
