/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 0.8em;
    line-height: 1.4;
    padding: 0 2em;
    background-color: #d5d5d5;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==================
	Layout
	==================*/
#columnOne {
	float: left;
}
#columnTwo{
	float:right;
}

#columnThree {
	clear: both;
}

/* ==================
	Navigation
	==================*/
#mainNavigation {
	float: left;
/*
	margin-top: 0;
	margin-left: 0;
*/
}

#mainNavigation ul {
	margin: 0;
	padding: 0;
}

#mainNavigation li {
	margin: 0;
	padding: 0;
	display: block;
    float: left;
}
#mainNavigation li a {
	border-left: 1px solid gray;
	border-right: 1px solid gray;
    padding: 10px;
    text-decoration: none;
    line-height: 2em;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
    background-color: #e3e3e3;
}
#mainNavigation li:hover, #mainNavigation li a:hover {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	background-color: #939393;
	color: #f1f1f1;
}
#mainNavigation .active {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	background-color: #939393;
	color: #ffffff;
}

	
/* ==================
	Styles
	==================*/
.error { color: #db0202; }
tr. error { color: #db0202; }
.alignRight { text-align: right;}
.alignLeft { text-align: left;}



form > label {
	display: block;
	margin: 1em;
}

form > label > span {
	text-align: left;
	margin-right: 1em;
}

input, textarea {
	padding: 0.3em;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
 }

input[type='submit'] {
	padding: 0.3em 1em;
}

button {line-height: 1.5em;}

select {
	padding: 0.3em;
}
option {
	padding: 0.2em 0 0.2em 0.6em;
}


a {color: black;}
a:visited {color: black;}
a:hover {color: #939393;}


/* ===============
	Table
	===============*/
	
table {
	border-collapse: collapse;
}
th {
	padding: 0.5em 1em;
	text-align: left;
	background-color: #d5d5d5;
}

td {
	padding-left: 0.5em;
	padding-bottom: 0.5em;
	padding-right: 1em;
	padding-top: 0.5em;
	vertical-align: top;
}

.list tr {
	border-bottom: 1px solid gray;
	background-color: #e3e3e3;
}

.list tr:hover {
	background-color: #f1f1f1;
}

/* ==================
	Table Sorter
	==================*/
// From http://tablesorter.com/docs/example-option-sort-list.html
table.tablesorter {
/*
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
*/
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
/*
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
*/
}
table.tablesorter thead tr .header {
	background-image: url(../img/table-sorter-bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
    padding-right: 1.5em;
}
table.tablesorter thead tr th.noSort {
	background-image: none;
	background-color: #d5d5d5;
}

table.tablesorter tbody td {
/*
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
*/
}
table.tablesorter tbody tr.odd td {
/* 	background-color:#F0F0F6; */
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/table-sorter-asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/table-sorter-desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #e3e3e3;
}
/*
// From Stephanie
.sorter:hover {
	background-color: #e3e3e3;
	color: #fff;
}
table.tablesorter thead th.sorter {
    background-image: url(../img/table-sorter-bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 1.5em;
}
table.tablesorter thead tr .headerSortUp {
    background-image: url(../img/table-sorter-asc.gif);
    padding-right: 1.5em;
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(../img/table-sorter-desc.gif);
    padding-right: 1.5em;
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #e3e3e3;
}
*/




/* ==================
	Messages
	==================*/
ul.message li { color: #408000; font-size: 1.25em; margin-left: -2.5em; list-style-type: none; }


/* ==================
	Icons
	==================*/
.icon-home,.icon-pencil,.icon-remove {
	display: inline-block;
	width: 16px;
	height: 16px;
	padding: 2px 4px;
	background-image: url(../img/sprites.png);
	background-repeat: no-repeat;
}
.icon-home {
	background-position: 0 0;
}
.icon-pencil {
	background-position: -32px 0;
}
.icon-remove {
	background-position: -64px 0;
}

/* ==================
	From Freshbooks
	=================*/
	
/* Line 8 */
button
{
  overflow-x: visible;
  overflow-y: visible;
}

/* Line 8 */
.small, small
{
  font-size: 11px;
}

/* Line 8 */
.button
{
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  background-color: #8c8c8c;
  background-image: url("/cache/images/buttons/sprites.v1351539994.png");
  font-family: Arial,Helvetica,sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-size: 14px;
  font-size-adjust: none;
  font-stretch: normal;
  color: #ffffff;
  text-align: center;
  display: block;
  height: 30px;
  line-height: 30px;
  float: left;
  cursor: pointer;
  white-space: nowrap;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  outline-width: 0px;
  outline-style: none;
}

/* Line 8 */
.button, .button.medium:link, .button.medium:active, .button.medium:visited, .button.medium
{
  background-position: left -44px;
}

/* Line 8 */
.button
{
  box-shadow: #d2d2d2;
  border-top-width: 1px;
  border-right-width-value: 1px;
  border-bottom-width: 1px;
  border-left-width-value: 1px;
  border-top-style: solid;
  border-right-style-value: solid;
  border-bottom-style: solid;
  border-left-style-value: solid;
  border-top-color: #595959;
  border-right-color-value: #595959;
  border-bottom-color: #595959;
  border-left-color-value: #595959;
  border-image-source: none;
  border-image-slice: 100% 100% 100% 100%;
  border-image-width: 1 1 1 1;
  border-image-outset: 0 0 0 0;
  border-image-repeat: stretch stretch;
}

/* Line 8 */
.button:focus, .button:hover
{
  background-color: #999999;
}

/* Line 8 */
.button:hover, .button.medium:hover
{
  background-position: left -74px;
}

/* Line 8 */
.button.small, .button.small:link, .button.small:active, .button.small:visited
{
  font-family: Arial,Helvetica,sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 13px;
  font-size-adjust: none;
  font-stretch: normal;
  background-position: left 0px;
  height: 20px;
  line-height: 20px;
}

/* Line 8 */
.button.pill-left
{
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-left-width-value: 1px;
  border-left-style-value: solid;
  border-left-color-value: #595959;
	
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
