body {
    font-family: verdana, arial, sans-serif;
    font-size: medium;
    background: #59806F;
    color: #ffffff;
    margin: 0px;
    background-image: url(/images/gradient3.gif);
    background-repeat: repeat-x; 
    padding: 0px;
}

.h2 {
    font-size: large;
    display: inline;
    font-variant: small-caps;
}

.h3 {
    font-size: small;
    display: inline;
    font-variant: small-caps;
}

a {
    text-decoration: none;
    font-weight: bold;
}

a:link, a:visited {
    background: inherit;
    color: #ffffff;
}

#header {
    height: 20px;
    padding: 5px;
    color: inherit;
    background: #000000;
    border-bottom: 10px solid #59806F;
}

#header .left {
    float: left;
}

#header .right {
    float: right;
}

div#menu {
    background: #336633;
    border-top: 5px solid #648F7D;
    color: inherit;
    padding: 5px;
}

div#menu ul#navigation {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  height: 1.2em;
  margin-left: auto;
  margin-right: auto;
}

div#menu ul#navigation li {
  min-width: 20%;
  width: 19%;
  float: left;
  text-align: center;
  margin: 0;
}

div#menu ul#navigation li a { 
   padding: 5px 30px 4px 30px;
}

div#menu ul#navigation li a:hover {
    color: inherit;
    background: #648F7D;
    font-weight: bold;
}

div#menu ul#navigation li.here a {
    text-decoration: underline;
    font-weight: bold;
}

#content {
    background: #CFE6DC;
    color: #000000;
    margin: 0px 15% 40px 15%;
    border: 5px solid #336633;
    padding: 20px;
    min-height: 250px;
}

#content a {
    color: #000000;
    background: inherit;
}

#content input {
    background: #f6f6f6;
    color: #000000;
    border: 2px solid #336633;
}

#content textarea {
    background: #f6f6f6;
    color: #000000;
    height: 200px;
    width: 400px;
    border: 2px solid #336633;

}

#content fieldset {
    font-size: small;
}

#content fieldset table {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#content legend {
    font-size: medium;
}

#content #instructions {
    overflow: scroll;
    border: 5px solid #336633;
    background: #648F7D;
    color: #ffffff;
    height: 300px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 95%;
}

#content #source {
    overflow: scroll;
    border: 5px solid #336633;
    background: #648F7D;
    color: #ffffff;
    padding: 10px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 95%;
}

#content .code_source {
    overflow: scroll;
    border: 5px solid #336633;
    background: #648F7D;
    color: #ffffff;
    height: 300px;
    padding: 10px;
    margin: 2% 2% 2% 2%;
}

#content #secondary_nav {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: small;
}

#content #secondary_nav a {
    color: #336633;
    background: inherit;
}

.clear {
    clear: both;
}

img {
    border: 0px;
}

.xx-small {font-size: xx-small;}
.x-small {font-size: x-small;}
.small {font-size: small;}
.medium {font-size: medium;}
.large {font-size: large;}
.x-large {font-size: x-large;}
.xx-large {font-size: xx-large;}

#lightsout_grid {
    width: 200px;
    height: 200px;
    border:2px solid #f6f6f6;
    margin-top: 5%;
}

#lightsout_grid td {
    width: 20%;
    border:2px solid #f6f6f6;
}

#colorjunction_grid {
    width: 200px;
    height: 200px;
    border: 1px solid #f6f6f6;
}

#game_container {
    text-align: center;
}
 
#game_container div, #game_container table {
    margin-left: auto;
    margin-right: auto;
}

.tooltip {
    background: #f6f6f6;
    color: #000000;
    padding: 5px;
    font-size: small;
    border: 2px solid #336633;
}

.browsers {
    position: absolute;
    right: 20%;
    left: 70%;
}

#city_canvas {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    margin: auto;
}

#city_blimp {
    z-index: 2;
    position: absolute;
    background: #00ffff;
    color: inherit;
}

.city_status {
    z-index: 1;
    background: inherit;
    color: #ff0000;
}

.city_bomb {
    background: #00ffff;
    color: inherit;
}

.city_building_layer {
    border-top: 2px #00ffff solid;
}

#pong_board {
    background: #000000;
    color: #ffffff;
    text-align: center;
    border: 2px solid #ffffff;
}

#pong_board span {
    margin-left: 10px;
    margin-right: 10px;
    font-weight: bold;
}

#pong_ball, #pong_player, #pong_opponent {
    position: absolute;
    background: #ffffff;
    color: inherit;
    height: 5px;
    width: 5px;
    font-size: 5px;
}

#pong_center_line {
    position: absolute;
    border-left: 1px dashed #ffffff;
}

#towers_of_hanoi_board {
    height: 300px;
    width: 600px;
}

.towers_of_hanoi {
    padding: 10px;
    width: 175px;
    text-align: center;
    margin: 0 auto;
}

.towers_of_hanoi_pole {
    position: absolute;
    background: #0000ff;
    color: inherit;
}

.towers_of_hanoi_left, .towers_of_hanoi_middle, .towers_of_hanoi_right { 
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background: #0000ff;
    color: inherit;
    margin-bottom: 2px;
}

#towers_of_hanoi_stats {
    width: 75px;
    font-size: x-small;
}

#simon {
    border: 5px solid #000000;
}

#simon td {
    width: 200px;
    height: 100px;
}

#simon .simon_yellow {
    background: #FFFF00;
    color: inherit;
}

#simon .simon_red {
    background: #ff0000;
    color: inherit;
}

#simon .simon_green {
    background: #3D8B37;
    color: inherit;
}

#simon .simon_blue {
    background: #0000FF;
    color: inherit;
}

#simon .simon_yellow_hilite {
    background: #FFCC11;
    color: inherit;
}

#simon .simon_red_hilite {
    background: #FFC1C1;
    color: inherit;
}

#simon .simon_green_hilite {
    background: #83F52C;
    color: inherit;
}

#simon .simon_blue_hilite {
    background: #67C8FF;
    color: inherit;
}

#maze_table .start {
    border-top: 5px solid #00cc00;
    border-left: 5px solid #00cc00;
}

#maze_table .stop {
    border-right: 5px solid #ffff00;
    border-bottom: 5px solid #ffff00;
}

#maze_table .up {
    border-top: 1px solid #ff0000;
}

#maze_table .down {
    border-bottom: 1px solid #ff0000;
}

#maze_table .left {
    border-left: 1px solid #ff0000;
}

#maze_table .right {
    border-right: 1px solid  #ff0000;
}

.code_container {
    margin-top: 1.5em;
}

.code_requires {
    font-size: small;
}

.code_options {
    float: right;
}

#copyright {
    margin: 2em 3em 0px 3em;
    background: #ffffff;
    color: #000000;
    border: 2px solid #336633;
    padding: 10px;
    font-size: small;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.alternate_tooltip {
    padding: 10px;
    background: #0000ff;
    color: #ff0000;
    font-size: large;
    border: 2px dashed #000000;
}

#jsokoban, #jsokoban-board {
    text-align: center;
    margin: 0 auto;
}

#map-editor {
    width: 410px;
    margin: 0 auto;
}

#map-editor textarea {
    width: 410px;
}

#jsokoban td {
    height: 30px;
    width: 30px;
    background: #bababa;
}

#jsokoban .wall {
    background-color: #99cc32;
}

#jsokoban .storage {
    background-color: #ffffaa;
}

#jsokoban .ruby {
    background-image: url(/images/large_ruby.png);
}

#jsokoban .player {
    background-image: url(/images/large_user_suit.png);
}

#jsokoban-stats {
    text-align: center;
}

#jsokoban-stats .moves {
    margin-right: 2em;
}
