* {
	margin: 0;
}

html, body {
	height: 100%;
}

body {
	padding: 0;
	font-family: sans-serif;
	height: 100%;
}

pre {
	color: #000000;
	padding: 10px 10px;
	font-family: monospace;
}

div.code {
	margin: 0 40px 0 40px;
	background-color: #EEEEEE;
	overflow: auto;
}

div.clear {
	clear: both;
}

/* Header */

article header {
	margin: 0;
	padding: 0;
	display: block;
	background-color: #363531;
	position: relative;
}

article header h1 {
	margin: 0;
	padding: 15px 0 15px 25px;
	color: #FFFFFF;
	font-size: .9em;
	font-weight: normal;
	text-shadow: -1px 2px 3px #111100;
}

/* Navigation Menu */

nav {
	background-color: blue;
	display: block;
	padding-top: 5px;
	width: 100%;
	padding-bottom: 5px;
	background: rgb(54,53,49); /* Old browsers */
	background: -moz-linear-gradient(top, rgb(54,53,49) 0%, rgb(0,0,0) 30%, rgb(102,102,102) 70%, rgb(255,255,255) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(54,53,49)), color-stop(30%,rgb(0,0,0)), color-stop(70%,rgb(102,102,102)), color-stop(100%,rgb(255,255,255))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgb(54,53,49) 0%,rgb(0,0,0) 30%,rgb(102,102,102) 70%,rgb(255,255,255) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgb(54,53,49) 0%,rgb(0,0,0) 30%,rgb(102,102,102) 70%,rgb(255,255,255) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgb(54,53,49) 0%,rgb(0,0,0) 30%,rgb(102,102,102) 70%,rgb(255,255,255) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#363531', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgb(54,53,49) 0%,rgb(0,0,0) 30%,rgb(102,102,102) 70%,rgb(255,255,255) 100%); /* W3C */
}

nav ul {
	background-color: white;
	margin: 0;
	padding: 0 40px 0 0;
	height: 30px;
	list-style: none;
	padding-left: 40px;
	overflow: hidden;
	background: rgb(238,238,238); /* Old browsers */
	background: -moz-linear-gradient(top, rgb(238,238,238) 0%, rgb(229,227,227) 50%, rgb(221,219,211) 46%, rgb(225,222,221) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(238,238,238)), color-stop(50%,rgb(229,227,227)), color-stop(46%,rgb(221,219,211)), color-stop(100%,rgb(225,222,221))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgb(238,238,238) 0%,rgb(229,227,227) 50%,rgb(221,219,211) 46%,rgb(225,222,221) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgb(238,238,238) 0%,rgb(229,227,227) 50%,rgb(221,219,211) 46%,rgb(225,222,221) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgb(238,238,238) 0%,rgb(229,227,227) 50%,rgb(221,219,211) 46%,rgb(225,222,221) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#e1dedd',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgb(238,238,238) 0%,rgb(229,227,227) 50%,rgb(221,219,211) 46%,rgb(225,222,221) 100%); /* W3C */
}

nav ul li {
	display: inline-block;
	padding: 0;
	margin: 0 -3px;
	height: 30px;
	border: none;
}

nav ul li:hover, 
nav ul li.current {
	background: rgb(157,180,205); /* Old browsers */
	background: -moz-linear-gradient(top, rgb(157,180,205) 0%, rgb(144,170,199) 50%, rgb(130,159,192) 46%, rgb(129,158,191) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(157,180,205)), color-stop(50%,rgb(144,170,199)), color-stop(46%,rgb(130,159,192)), color-stop(100%,rgb(129,158,191))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgb(157,180,205) 0%,rgb(144,170,199) 50%,rgb(130,159,192) 46%,rgb(129,158,191) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgb(157,180,205) 0%,rgb(144,170,199) 50%,rgb(130,159,192) 46%,rgb(129,158,191) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgb(157,180,205) 0%,rgb(144,170,199) 50%,rgb(130,159,192) 46%,rgb(129,158,191) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9db4cd', endColorstr='#819ebf',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgb(157,180,205) 0%,rgb(144,170,199) 50%,rgb(130,159,192) 46%,rgb(129,158,191) 100%); /* W3C */
}

nav ul li.changes {
	background: rgb(204,157,157); /* Old browsers */
	background: -moz-linear-gradient(top, rgb(204,157,157) 0%, rgb(198,145,145) 50%, rgb(191,130,130) 46%, rgb(188,128,128) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(204,157,157)), color-stop(50%,rgb(198,145,145)), color-stop(46%,rgb(191,130,130)), color-stop(100%,rgb(188,128,128))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgb(204,157,157) 0%,rgb(198,145,145) 50%,rgb(191,130,130) 46%,rgb(188,128,128) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgb(204,157,157) 0%,rgb(198,145,145) 50%,rgb(191,130,130) 46%,rgb(188,128,128) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgb(204,157,157) 0%,rgb(198,145,145) 50%,rgb(191,130,130) 46%,rgb(188,128,128) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc9d9d', endColorstr='#bc8080',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgb(204,157,157) 0%,rgb(198,145,145) 50%,rgb(191,130,130) 46%,rgb(188,128,128) 100%); /* W3C */
}

nav ul li a {
	display: block;
	padding: 0 10px;
	margin: 0;
	line-height: 30px;
	font-weight: bold;
	text-decoration: none;
	color: #666666;
	text-transform: uppercase;
	font-size: 0.6em;
}

nav ul li a:hover,
nav ul li.current a,
nav ul li.changes a {
	color: #FFFFFF;
}

/* Footer */

footer {
	display: block;
	height: 45px;
	padding: 0;
	background: #363531; /* Old browsers */
	background: -moz-linear-gradient(top, rgb(0,0,0) 0%, rgb(54,53,49) 5%, rgb(54,53,49) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(0,0,0)), color-stop(5%,rgb(54,53,49)), color-stop(100%,rgb(54,53,49))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgb(0,0,0) 0%,rgb(54,53,49) 5%,rgb(54,53,49) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgb(0,0,0) 0%,rgb(54,53,49) 5%,rgb(54,53,49) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgb(0,0,0) 0%,rgb(54,53,49) 5%,rgb(54,53,49) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#363531',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgb(0,0,0) 0%,rgb(54,53,49) 5%,rgb(54,53,49) 100%); /* W3C */
}

footer ul {
	margin: 0;
	list-style: none;
	float: right;
	padding: 0 24px 0 0;
}

footer ul li {
	display: inline-block;
	line-height: 45px;
	padding-left: 10px;
	color: #FFFFFF;
	font-size: .8em;
	font-weight: normal;
	text-shadow: -1px 2px 3px #111100;
}

footer ul li a {
	color: #FFFFFF;
	font-weight: normal;
	text-shadow: -1px 2px 3px #111100;
	text-decoration: none;
}

.push  {
	margin-top: 30px;
	height: 45px;
}

/* Article Content */

article {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -45px;
}

article section {
	position: relative;
}

article section {
	padding-left: 40px;
	padding-right: 40px;
}

article img {
	margin: 0 40px 0 40px;
	padding: 0;
	border: none;
}

article section hgroup h1 {
	line-height: 1;
	padding-right: 5px;
	margin: 25px 0 15px 0;
	color: #222222;
	font-size: 1em;
	text-shadow: -1px 2px 3px #DDDDDD;
	font-weight: normal;
}

article h2 {
	line-height: 2;
	padding-right: 5px;
	margin: 15px 40px 15px 40px;
	color: #222222;
	font-size: 1em;
	text-shadow: -1px 2px 3px #DDDDDD;
	font-weight: normal;
	border-bottom: 1px solid #DDDDCC;
}

article h3 {
	line-height: 2;
	padding-right: 5px;
	margin: 10px 40px 0 40px;
	color: #222222;
	font-size: .9em;
	text-shadow: -1px 2px 3px #DDDDDD;
	font-weight: normal;
}

article section p {
	position: absolute;
	top: -5px;
	right: 40px;
	margin: 0;
}

article section p a {
	background-color: #88B31D;
	font-size: 8px;
	padding: 4px 6px;
	border-radius: 10px;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	vertical-align: middle;
}

article section p a:hover {
	background-color: #000000;
}

article section ul {
	position: absolute;
	top: 0;
	right: 40px;
	margin: 0;
	padding: 0;
	border-radius: 10px;
}

article section ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	background-color: #666666;
}

article section ul li:first-child {
	border-radius: 10px 0 0 10px;
	background-color: #666666;
}

article section ul li:last-child {
	border-radius: 0 10px 10px 0;
	background-color: #666666;
}

article section ul li:hover {
	background-color: black;
}

article section ul li a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 8px;
	display: block;
	padding: 4px 6px;
	text-transform: uppercase;
	vertical-align: middle;
	line-height: 10px;
}

/* Tables */

table {
	border-collapse: collapse;
	width: 100%;
}

th:first-child, 
td:first-child {
	padding-left: 40px;
}

thead th {
	font-size: .6em;
	font-weight: normal;
	text-align: left;
	padding: 0.75em 40px 0.75em 0;
}

tbody tr td a {
	text-decoration: none;
	color: black;
}

tbody tr td {
	font-size: 0.7em;
	padding: 0.75em 40px 0.75em 0;
	text-align: left;
}

tfoot td {
	text-align: right;
	padding: 0.75em 40px 0.75em 0;
	font-size: 0.7em;
}

table th:first-child,
table td:first-child {
    padding-left: 5px;
}

table tbody tr:nth-child(2n+1),
table tbody tr:nth-child(2n) {
	border: none;
}

table tbody tr:nth-child(2n+1) {
	background-color: #EEEEEE;
}

/* Forms */

form {
	margin-left: 40px;
	margin-right: 40px;
	font-size: 0.8em;
	text-align: left;
}

input[type=text],
input[type=password],
textarea,
select {
	display: block;
    margin-bottom: 10px;
}

fieldset:nth-child(2n+1),
fieldset:nth-child(2n+2) {
	margin-bottom: 10px;
}

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

fieldset h2 {
	line-height: 2;
	padding-right: 5px;
	margin: 15px 0 15px 0;
	color: #222222;
	font-size: 1.3em;
	text-shadow: -1px 2px 3px #DDDDDD;
	font-weight: normal;
	border-bottom: 1px solid #DDDDCC;
}

input[type=checkbox] {
	float: left;
	margin-bottom: 10px;
	margin-right: 5px;
	margin-top: 5px;
}

textarea {
	width: 100%;
}

label {
	font-size: .9em;
	line-height: 2em;
}

button {
	margin-right: 5px;
}

a.return,
a.edit {
	background-color: rgb(79,133,187);
	font-size: 8px;
	padding: 4px 6px;
	border-radius: 10px;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	vertical-align: middle;
}

a.return:hover,
a.edit:hover {
	background-color: #000000;
}

/* Table Sorter */

th.headerSortUp:after {
	content: " ↑";
}

th.headerSortDown:after {
	content: " ↓";
}

th.header {   
    cursor: pointer;
}