
/* note: top right bottom left */


/* general (at top to be overridden by things below) */

body {
  color: black;
  background: white;
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, sans-serif;
}

a:link { color: #663333; }
a:visited { color: #663333; }
a:hover { color: #CC6600; }

.navbar {
  float: right;
  padding: 0 1em 0 1em;
  margin: 0;
}
.navitem {
  display: inline;
  font-size: 75%;
  color: #999999;
  vertical-align: baseline;
  margin-left: 1px;
  margin-right: 1px;
}
.navitem a:link { color: #663333; }
.navitem a:visited { color: #663333; }
.navitem a:hover { color: #CC6600; }


/* browser-specific */

/* (firefox puts a border around images with links) */
a img {
  border: 0;
}


/* header */

#header {
  position: relative;
  height: 80px;
  background-image: url(img/header.png);
  background-repeat: repeat-x;
}

#header h1 {
  font-size: 150%;
  margin: 0;
  padding: 1ex 1em 0 1em;
}
#header h1 a { text-decoration: none }
#header h1 a:link { color: black; }
#header h1 a:visited { color: black; }


/* entries */

.entry {
  clear: both;
  margin-left: 5%;
  margin-right: 10%;
  margin-top: 1ex;
}

.entry h3:first-letter {
  font-size: 300%;
  color: #CC6600;
}

.entrytext {
  float: right;
  width: 70%;
}

.entryimage {
  clear: none;
  float: right;
  margin: 4ex 30px 5px 0px;
}


/* feature */

.featuretitle {
  position: relative;
  height: 80px;
  background-image: url(img/feature.png);
  background-repeat: repeat-x;
}

.featuretitle img {
  float: left;
  margin: 1em;
}

.featuretitle h1 {
  font-size: 150%;
  margin: 0;
  padding: 1ex 0 0 1em;
}
.featuretitle h1 a { text-decoration: none }
.featuretitle h1 a:link { color: black; }
.featuretitle h1 a:visited { color: black; }

.featuresection {
  clear: both;
  margin-left: 10%;
  margin-right: 5%;
}
.featuresection h3:first-letter {
  clear: both;
  font-size: 300%;
  color: #CC6600;
}
.featuresection h4 {
  clear: both;
  border-bottom: 1px solid #CCCCCC;
}

.featuretext {
  clear: both;
}
.featuretext p {
  margin-top: 0;
  margin-bottom: 2ex;
}
.featuretext img {
  clear: left;
  float: left;
  border: 3px solid #666666;
  margin-right: 1em;
  margin-bottom: 2ex;
}

.featurestep {
  clear: both;
}
.featurestep p {
  width: 40%;
  clear: right;
  float: right;
  margin-top: 0;
  margin-bottom: 2ex;
}
.featurestep img {
  width: 55%;
  clear: left;
  float: left;
  border: 3px solid #666666;
  margin-top: 0;
  margin-bottom: 2ex;
}

.featuretable {
  border-collapse: collapse;
  float: left;
  margin-right: 2em;
  margin-bottom: 2ex;
  font-size: 75%;
}
.featuretable caption {
  caption-side: top;
  text-align: center;
}
.featuretable th {
  font-weight: bold;
  text-align: center;
  border: 1px solid #666666;
  padding: 3px 10px 3px 10px;
  background: #CCFFCC;
}
.featuretable td {
  text-align: center;
  border: 1px solid #666666;
  padding: 3px 10px 3px 10px;
}
.featuretable .highlight1 {
  font-weight: bold;
  color: #990000;
}
.featuretable .highlight2 {
  font-weight: bold;
  color: #990000;
}

/* note: floating the box makes it expand to its contents, which means the
   padding-bottom will actually do something. */

.featurecollage {
  clear: both;
  float: left;
  padding-top: 1ex;
  padding-bottom: 1ex;
}
.featurecollage img {
  width: 128px;
  float: left;
  border: 2px solid #666666;
  margin-right: 3px;
  margin-bottom: 3px;
}

.featurefooter {
  clear: both;
  padding-top: 2ex;
  padding-bottom: 2ex;
}


/* footer */

#footer {
  clear: both;
  margin-left: 10%;
  margin-right: 10%;
  padding-top: 10px;
}

#footer p {
  border-top: 1px solid #CCCCCC;
  padding-top: 5px;
  font-size: 75%; 
  text-align: center;
  color: #AAAAAA;
}


/* miscellaneous (at bottom to override things above) */

img.tinyinline {
  display: inline;
  float: none;
  height: auto;
  width: auto;
  vertical-align: middle;
  border: 1px solid #666666;
  margin: 0;
  padding: 0;
}
