/* $Id: base-html.css 856 2009-05-06 23:27:30Z cdale $ */

/**
 * Base HTML, there are very few class selectors here.
 */


/** fonts **/
  /*
   * Our font size and line height declarations are based on the following ALA
   * article:
   *   http://www.alistapart.com/articles/howtosizetextincss
   *
   * All modern browsrs use a 16px default font size. Specifying the font-size
   * and line-height in ems (relative to the 16px default font) allows the user
   * to resize the font in the browser and produces the most consistent results
   * across different browsers.
   */

html {
  font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
}

body {
  /* Use a 12px base font size with a 16px line height */
  color: #4f4f4f;
  font-size: 0.75em; /* 16px x .75 = 12px */
  line-height: 1.333em; /* 12px x 1.333 = 16px */
}

body, caption, th, td, input, textarea, select, option, legend, fieldset {
/*
  font-family: "Times New Roman", Times, Georgia, "Bitstream Vera Serif", serif;
  font-family: Times, "Times New Roman", Georgia, "Bitstream Vera Serif", serif;
  font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif;

  font-family: Verdana, Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
  font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
  font-family: Helvetica, Arial, "Bitstream Vera Sans", sans-serif;
  font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;

  font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;

   */

  font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}

textarea {
  line-height: 150%;
}

pre, code {
  font-size: 110%; /* Monospace fonts can be hard to read */
}

/** headings **/
h1 {
  color: #000;
  font: 2em arial, helvetica, sans-serif;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2 {
  color: #000;
  font: bold 1.5em arial, helvetica, sans-serif;
  line-height: 1.3em;
  margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */
  margin-bottom: 0.667em;
}

h3 {
  color: #000;
  font: 1.3em arial, helvetica, sans-serif;
  line-height: 1.3em;
  margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */
  margin-bottom: 0.769em;
}

h4, h5, h6 {
  color: #000;
  font-size: 1.1em;
  line-height: 1.3em;
  margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.1 = 0.909 */
  margin-bottom: 0.909em;
}

/** block-level elements **/
p, ul, ol, dl, pre, table, fieldset, blockquote {
  margin: 1em 0;
}

blockquote {
  font-style: italic;
  padding: 0 1em 0 3.5em;
  border: 3px solid #eee;
  -moz-border-radius: 10px;
  background: url(images/blockquote.png) no-repeat 0 0%;
}

/** lists **/
/* standardize list item indentation */
ul, ol {
  margin-left: 0;
  padding-left: 2em;
}

.block ul, /* Drupal overrides */
.item-list ul {
  margin: 1em 0;
  padding: 0 0 0 2em;
}

ul ul, ul ol,
ol ol, ol ul,
.block ul ul, .block ul ol,
.block ol ol, .block ol ul,
.item-list ul ul, .item-list ul ol,
.item-list ol ol, .item-list ol ul {
  margin: 0;
}

li {
  margin: 0;
  padding: 0;
}

.item-list ul li /* Drupal override */ {
  margin: 0;
  padding: 0;
  list-style: inherit;
}

ul.menu li, /* Drupal override */
li.expanded,
li.collapsed,
li.leaf {
  margin: 0;
  padding: 0;
}

ul          { list-style-type: disc; }
ul ul       { list-style-type: circle; }
ul ul ul    { list-style-type: square; }
ul ul ul ul { list-style-type: circle; }
ol          { list-style-type: decimal; }
ol ol       { list-style-type: lower-alpha; }
ol ol ol    { list-style-type: decimal; }

dt {
  margin: 0;
  padding: 0;
}

dd {
  margin: 0 0 0 2em;
  padding: 0;
}

/** links **/
/* The order of link states are based on Eric Meyer's article:
 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
 */
a:link {
  color: #39c;
  text-decoration: underline;
}

a:visited {
  color: #39c;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
  
}

a:active {
}

/** tables **/
/* Override Drupal default CSS */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1em 0;
}

/* let editors choose a width */
.node .content table {
  width: auto;
}

th,
thead th,
tbody th {
  text-align: left;
  border-bottom: 2px solid #ccc;
}

tbody {
  border-top: none;
}

th,
td {
  padding: 0.3em 0.5em;
}


/** abbreviations **/
abbr {
  border-bottom: 1px dotted #666;
  cursor: help;
  white-space: nowrap;
}

/* Date-based "abbreviations" show computer-friendly timestamps which are not
   human-friendly. */
abbr.created {
  border: none;
  cursor: auto;
  white-space: normal;
}

/** images **/
img {
  border: 0;
}

/** horizontal rules **/
hr {
  height: 1px;
  border: 1px solid #666;
}

/** forms **/
form {
  margin: 0;
  padding: 0;
}

fieldset {
  margin: 1em 0;
  padding: 0.5em;
}
