/**
 * @file
 * HTML Element Styling
 *
 * This is the "reset" style sheet. It standardizes the properties of the HTML
 * elements across browsers.
 */


/*
 * 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.
 */
body {
  font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
  font-family: "Lucida Grande","Lucida Sans Unicode", Segoe UI, Helvetica, Arial, sans-serif;
}

/*Custom font options*/
body.font-family-arial,
.font-family-arial {
  font-family: Arial, Helvetica, Verdana, "Bitstream Vera Sans", sans-serif;
}

body.font-family-lucida,
.font-family-lucida {
  font-family: "Lucida Grande","Lucida Sans Unicode", Segoe UI, Helvetica, Arial, sans-serif;
}

body.font-family-times,
.font-family-times {
  font-family: Times, "Times New Roman", Georgia, "Bitstream Vera Serif", serif;
}

body.font-family-georgia,
.font-family-georgia {
  font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif;
}

body.font-family-verdana,
.font-family-verdana {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

body.font-family-tahoma,
.font-family-tahoma {
  font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}

#skip-to-nav,
#page,
.font-size-12 #page {
  font-size: 0.75em; /* 16px x .75 = 12px */
  line-height: 1.6em; /* 12px x 1.5 = 18px */
}

.font-size-11 #page {
  font-size: 0.687em; /* 16px x .875 = 11px */
}

.font-size-13 #page {
  font-size: 0.812em; /* 16px x .812 = 13px */
}

.font-size-14 #page {
  font-size: 0.875em; /* 16px x .875 = 14px */
}

.font-size-15 #page {
  font-size: 0.937em; /* 16px x .937 = 15px */
}

.font-size-16 #page {
  font-size: 1.0em; 
}

pre,
code {
  font-size: 1.1em; /* Monospace fonts can be hard to read */
  font-family: "Courier New", "DejaVu Sans Mono", monospace;
}

/*
 * Headings
 */
h1 {
  font-size: 1.8em;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.5em;
  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 {
  font-size: 1.3em;
  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 {
  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 {
  margin: 1em 0;
}

blockquote {
  margin: 1em 2em;
}

/*
 * Lists
 */
ul,
ol {
  margin-left: 0;
  padding-left: 2em; /* LTR */
}

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

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,
li.expanded,
li.collapsed,
li.leaf /* Drupal override */ {
  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 {
  text-decoration: none;
}

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

/*
 * Tables
 *
 * Drupal provides table styling which is only useful for its admin section
 * forms, so we override this default CSS. (We set it back in forms.css.)
 */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom:15px;
  /* width: 100%; */ /* Prevent cramped-looking tables */
}

th,
thead th,
tbody th {
  text-align: left; /* LTR */
  padding: 2px 5px;
  border-bottom: none;
}

tbody td {
  padding: 2px 5px;
}

tbody {
  border-top: none;
}

thead {
    background-color: #DDDDDD;
    border: 1px solid #CCCCCC;
}

tr.even, tr.odd {
    background-color: inherit;
}

tr.even, 
tr.odd {
    border-bottom: 1px solid #E0E0E0;
}

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

abbr.created /* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */ {
  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;
}
