* { font-family: Arial, Helvetica, sans-serif; }
code, code > span, code > span > span { font-family: "Courier New", Courier, mono; font-size: small }
h1 > code, h2 > code, h3 > code { font-family: "Courier New", Courier, mono; font-size:inherit }

h1 { 
  text-align: center;
  font-size: x-large;
}

h2 { 
  font-size: large;
}

h3 { 
  font-size: medium;
}

body {
  background-color: #EEE;
}

.term {
  font-style: italic;
  color: #006600;
}

#content {
  margin-left: 8em;
  padding-left: 10px;
  border-left: 1px solid black;
}

#sidebar a {
  text-decoration: none;
  color: blue;
  }

#sidebar {
  float: left;
  width: 8em;
  border-right: 1px solid black;
  }

#sidebar ul {
  margin: 0;
  padding: 0em .5em 0em 0em;
  list-style-type: none;
  font-size: small;
}

#sidebar li {
  padding: 0em .5em 2em 0em;
}

#sidebar li > ul > li {
  padding: 1em 0em 0em .5em;
}

#sidebar li > ul > li.first {
  padding: 0em 0em 0em .5em;
}

#sidebar .active {
  font-weight: bold;
}

#sidebar a:hover {
  color: purple;
}

.example { 
  border-style: solid; 
  border-width: 1px; 
  border-color: black;
  background-color: #FFFFCC;
  padding: 5px;
  float: right;
  margin-left: 10px;
}

.note { 
  border-style: solid; 
  border-width: 1px; 
  border-color: black;
  background-color: #DDD;
  padding: 5px;
  float: right;
  margin-left: 10px;
  font-size: small;
}

.narrow {
  width: 300px;
}
.wide {
  width: 400px;
}
.left {
  float: left;
}
.right {
  float: right;
}
.centered {
  float: none;
  margin: 10px 40px 10px 40px;
}
.bad {
  background-color: #FFCCFF;
}

.tryit_title {
  font-weight: bold;
  color: green;
}

.remember_title {
  font-weight: bold;
  color: #6600FF;
}

.tip_title {
  font-weight: bold;
  color: #00CCFF;  
}

.question_title {
  font-weight: bold;
  color: purple;  
}

.codeexample_title {
  font-weight: bold;
  color: black;
}

div.codeexample {
  background-color: white;
  border: 1px solid black;
  padding: 10px;
  margin: 5px;
}

code > span.tag1 {
  color: blue;
}

code > span.tag2 {
  color: green;
}

code > span.tag3 {
  color: purple;
}

span.attr_name {
  color: #FF0000;
}

span.attr_value {
  color: #990000;
}

p.end_lesson {
  font-weight: bold;
  text-align: center;
  color: #FF6600;
}

a.nav_links {
  float: left;
  font-size: small;
  font-weight: bold;
  background-color: #FF00CC;
  color: white;
  padding: 3px;
  border-style: outset;
  text-decoration: none;
  border-color: #FF66CC;
  margin-top: 5px;
}

a.next {
  clear: none;
  float: right;
}