@media screen, projection {
/* exploit a parsing bug so @media rules are visible to MacIE5 */
.BeNiceToMacIE5 {
  font-family: "\"}\"";
  font-family: inherit;
}

body {
  background-image:url('images/bg2.jpg');
  background-repeat: repeat;
  color: #000;
}

a:visited {
  color: white;
}

a:hover {
  color: gray;
}

a:link {
  color: white;
}

.wrapper {
  background-color: black;    /* different color than content */
  margin: 1% 5%;
  padding: 0;
  border: thin solid gray;
}

h1 {
  background-color: black;    /* different color than content */
  color: white;
  margin: 0;
  padding: .2em 2%;
}

h2 {
  margin: .2em 0;
}

.main {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: thin solid gray;
  border-bottom: thin solid gray;
  color: black;
  background: white url(images/2col-bg2.png) 75% 0 repeat-y;
/* background-color value is for content background.
   Image is 2000px wide, ~25% is colored, where sidebar should be 
   (exact pixel count of colored area is actually closer to 26%).
   Position corresponds to right sidebar, repeat img vertically.
   Could be easily modified for left sidebar - just flip the image,
   change bg position to 25% and change .content to float:right.
*/
}

.content {
  width: 67%;         /* width of .main container */
  float: left;        /* left side of window */
  margin: 0;
  padding: 1% 2%;
}

.sidebar {
  margin-left: 75%;   /* past content */
  padding: 1%;
  font-size: 90%;
}

.clear {
  clear: both;        /* extend height of .main to longest column */
  height: 1px;
  overflow: hidden;   /* prevent IE expanding the container */
  margin: 0;          /* keep flush with surrounding blocks */
}

.footer {
  background-color: black;  /* same bg color as h1 */
  color: black;
  margin: 0;          /* flush with .main */
  padding: 1% 2%;
  font-size: 8pt;
  text-align: center;
} 

.sidebar ul {
  margin-left: 1em;
  padding-left: 0;
}

} /* end @media rules */

#menu { background-color: black; width:610px; margin:0 auto; height:32px;}
#menu ul { margin:0; padding:0;}
#menu ul li{ display:inline-block; float:left; width:100px; list-style:none; text-align:center; height:32px;}
#menu a { display:block; float:left; width:100px; color:white; font-size:14px;  padding-top:8px; text-transform:uppercase;text-decoration:none;}
#menu a:hover{ color: gray; padding-top:8px; height:24px;}
#main { width:100%;}