﻿/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
            + Sean Pollock (templatefusion.org
   DATE:    2006.09.12 
   PURPOSE: Styles the html elements
 **************************************************************/

/* Forces horizontal scrollbar on in Mozilla */
html {
  margin-bottom: 1px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em Tahoma, Veranda, sans-serif;
  line-height: 180%;

  background: fixed #afafaf url(../img/bg/bg.gif) repeat-x;
  color: #333333;
}

h1, h2, h3, h4, h5, h6, p, dl {
  margin: 0;
  padding: 10px 0;
}

h1 {   
  clear: both;
  font: 400 1.9em Tahoma, Veranda, sans-serif;
  color: #226622;  
}

h2 {
  clear: both;
  font: 400 1.3em Tahoma, Veranda, sans-serif;
  color: #61804E;
}

h3 {
  font: 700 1.1em Tahoma, Veranda, sans-serif;
  color: #8F512A;
}

h4 {
  font: 400 0.9em Tahoma, Veranda, sans-serif;
  text-transform: uppercase;
}

a {
	text-decoration: none;
	color: #33CC33;
}

a:hover {
  color: #226622;
}


ol {  
  margin: 10px 30px;
  padding: 0 30px;

  font-size: 1.4em;
  color: #532406;
  background-color: #FFF;
}

ol:hover {
  color: #884e29;
}

ol span {
  font-size: 0.7em;
  color: #6D6864;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #DDD;
}

blockquote {
  margin: 10px 0;
  background-color: #e1e1e1;
  border-bottom: 1px solid #B8E78B;
}

blockquote p {
  margin: 0.4em 0.8em;
}

del {
  color: #AAA;
}

code {
  margin: 15px 0;
  padding: 10px;
  display: block;
  overflow: auto;
  
  font: 400 1em courier, monospace;
  line-height: 120%;
  white-space: pre;
  
  background: #F4F4F4;
  border-bottom: 1px solid #D3D3D3;
}



/**************************************************************
   Tables
 **************************************************************/

table {
  width: 100%;
  margin-bottom: 10px;  
  
  font-size: 1em;
  border-collapse: collapse;
}

table caption {
  margin-top: 10px;
  padding: 0 0 0.5em 3px;

  font: 400 0.8em georgia, sans-serif;
  text-align: left;  
}

table th,
table td {
  text-align: left;
  vertical-align: top;
  padding: 4px 7px !important;
  padding: 6px 10px;
}


thead th {
  background-color: #F1FFE3;
  border-bottom: 1px solid #B8E78B;
}

tbody tr.dark {
  background-color: #F5F5F5;
}

tbody td {
  border-bottom: 1px solid #DDD;
}

tbody tr:hover {
  background-color: #FBFEDF;
}

/**************************************************************
   Form Elements
 **************************************************************/

label {
  float: left;
  text-align: right;
  width: 9em;
  padding-right: 1em;
  
}


input,
textarea,
select {
  padding: 4px;
  font: 400 1em georgia, sans-serif;
  
  color: #666;
  background: #FFF;
  border-width: 1px;
  border-style: solid;
  border-color: #888 #DDD #DDD #888;  
}

input:hover,
textarea:hover,
select:hover {
  padding: 4px;
  font: 400 1em georgia, sans-serif;
  
  color: #666;
  background: #e5feff;
  border-width: 1px;
  border-style: solid;
  border-color: #888 #DDD #DDD #888;  
}


input:focus,
textarea:focus,
select:focus {  
  padding: 3px;
  color: #000;
  background: #F1FFE3;
  border-width: 2px;
}

input.button {
  padding: 1px 10px;

  font: 400 1em georgia, sans-serif;
  cursor: pointer;

  color: #fff;
  background: #508231;
  border-width: 1px;
  border-style: solid;
  border-color: #B8E78B #2D5018 #2D5018 #B8E78B;
}

input.button:hover {
  background:#318182;
  border-color: #8be7df #18504b #18504b #8be7df;
}

.required {
  cursor: help;
  border-bottom: 1px solid #CCC;
}



/**************************************************************
   Images
 **************************************************************/

img.floatRight {
  margin: 5px 0px 10px 15px;  
}

img.floatLeft {
  margin: 5px 15px 10px 0px;
}

a img {
  border: 0;
}

a:hover img {
  border: 0;
}


/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.09.12 
   PURPOSE: Fixes IE's major problems
 **************************************************************/

#content {  
  /* takes care of POS IE and it's support for transparent .png */
  background: none;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg/content.png',sizingMethod='scale');
}
