/* $Id: html-elements.css,v 1.1.2.1 2007/11/29 00:50:59 johnalbin Exp $ */

/****
**** HTML ELEMENT STYLING
****/


/** 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 */
}

#page {
  /*
   * To use a 12px font size on the page, delete the 14px declarations.
   * to use a 14px font size on the page, delete the 12px declarations.
   */

  /* Use a 12px base font size with a 16px line height */
  font-size: 0.75em; /* 16px x .75 = 12px */
  line-height: 1.333em; /* 12px x 1.333 = 16px */

  /* Use a 14px base font size with a 18px line height */
  /* font-size: 0.875em; */ /* 16px x .875 = 14px */
  /* line-height: 1.286em; */ /* 14px x 1.286 = 18px */
}

body, caption, th, td, input, textarea, select, option, legend, fieldset  {
  margin: 0;
  padding: 0;
}

input, textarea { 
  font-family: HelveticaNeue,Helvetica,Arial,sans-serif;
  font-size: 11pt;
}

/* Fix for FF extra padding added to inputs */
input::-moz-focus-inner {
border: 0;
padding: 0;
}

input.form-checkbox { 
  margin-right: 10px;
}

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

/** headings **/
h1 {
  color: #333;
  font-size: 2em;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 0.5em; /* 0.5em is equavalent to 1em in the page's base font.
                           Remember, a margin specified in ems is relative to
                           the element's font-size, not to the pages' base
                           font size. So, for example, if we want a 1em margin
                           (relative to the base font), we have to divide that
                           length by the element's font-size:
                           1em / 2em = 0.5em */
}

h2 {
  color: #7D1D3D;
  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;
  font-family: HelveticaNeue,Helvetica,Arial,sans-serif
}

h3 {
  color: #568391;
  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, blockquote {}
p {
  line-height: 1.4em;
}

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

.block ul, /* Drupal overrides */
.item-list ul {}

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: #158a9e; /* #2d7000;*/
}

a:visited {
  color: #158a9e; /* #2d7000;*/
}

a:active {
  color: #158a9e; /* #2d7000;*/
}

/** tables **/
/* Override Drupal default CSS */
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 90%;
}

thead {}

tbody {
  border-top: 1px solid #eee;
}

table td {
 vertical-align: top;
 padding: 4px 9px 4px 4px;
 font-size: 0.95em;
}

table tr {
  padding: 0.1em 0.6em;
}

table tr.odd, table tr.even {}

table tr.even {
  /*background: #F7F3E4;*/
  background-color: #f0f0f0;
}
table tr.even:hover {
  /*background: #eee;  */
}

table tr.odd {
  background: #FFFFFF;  
}
table tr.odd:hover {
  /*background: #eee;  */
}

th,
thead th,
tbody th,
tr.thead td {
  text-align: left;
  vertical-align: top;
  padding: 4px 9px 8px 4px;
  /*background: #673301 url("public/images/backgrounds/bg-brown-tall.gif") repeat-x left bottom;*/
  /*border-bottom: 1px solid #D8B951;*/
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  /*color: #ffffff;*/
  /*font-size: 0.95em;*/
  line-height: 1.2em;
  font-weight: bold;
}

tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active {
color:#FFFFFF;
}

#autocomplete li.selected, tr.selected td, tr.selected td.active {
background:#A75876 none repeat scroll 0 0;
color:#FFFFFF;
}

/** 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: none;
  border-bottom: 1px solid #ccc;
  margin: 1.5em 0;
}

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

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

.clearfix:before,
.clearfix:after {
content: ".";
display: block;
height: 0;
overflow: hidden;
}

.clearfix:after { 
clear: both;
}

.clearfix {
zoom: 1; /* IE < 8 */
}

/* (en) overflow method for clearing floats */
.floatbox { overflow:hidden }

/* (en) IE-Clearing: Only used in Internet Explorer, switched on in iehacks.css */
#ie_clearing { display: none }

