/*
 * One of the more frustrating aspects of working with CSS is failing to consider
  * the default styles that browsers apply by default.
   *
    * This file resets everything. Be sure to include as the first stylehseet.
     */

/* Set a standard base font */
html, body, td 
{
  font: normal 10pt/1.7em Tahoma, Arial, Helvetica, sans-serif;
}

/* Reset inconsistent padding and margin values to a standard default */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, li, dd, dt, img,
blockquote, q, table, thead, tbody, tfoot, caption, th, tr, td, a, form,
input, textarea, fieldset, pre
{
  margin: 0; 
  padding: 0;
}

/* Create some standard heading sizes */
h1, h2, h3, h4, h5 
{
  font-weight: bold;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

/* Set standard link colors */
/* I personally think text-decoration:underline looks crappy because it
   chops off descenders, let's use border-bottom instead */
a 
{
  border-bottom: 1px solid black;
    text-decoration: none;
  }

  a:link, a:visited 
  {
    color: blue;
    border-bottom-color: blue;
  }

  a:hover 
  {
    color: green;
    border-bottom-color: green;
  }

  a:active 
  {
    color: red;
    border-bottom-color: red;
  }

  a img, :link img, :visited img 
  {
    border: none
  }

  /* Kill those irritating table borders.
     Due to lagging IE standards, there's no way to kill its default
        cellspacing in CSS. */
  table 
  {
    border-collapse: collapse;
  }

  /* Remove automatic top/bottom margins on nested lists */
  ul ul, ul ol, ul dir, ul menu, ul dl,
  ol ul, ol ol, ol dir, ol menu, ol dl,
  dir ul, dir ol, dir dir, dir menu, dir dl,
  menu ul, menu ol, menu dir, menu menu, menu dl,
  dl ul, dl ol, dl dir, dl menu, dl dl
  {
    margin-top: 0; 
    margin-bottom: 0;
  }

  /* Harmonize list bullet type */
  ul, dl 
  {
    list-style-type: square;
  }

  ol
  {
    list-style-type: decimal;
  }

