body {
	background-image: url('../images/bg.png');
	color: #000305;
	font-size: 87.5%;
	font-family: Arial, 'Lucida Sans Unicode';
	line-height: 1.5;
	text-align: left;
	margin: 0 auto;
	width: 75%;
	clear: both;
	min-width: 800px;
}

a {
	text-decoration: none;
}

a:link, a:visited {
	color: #CF5C3F;
}

a:hover {
	color: #000;
}

table {
	border-collapse:collapse;
	max-width: 100%;
}

td {
	padding: 2px 10px 2px 5px;
}

textarea { 
	resize:none; 
}

.tablewithborder td {
	border: 1px solid #000;
}

.endlink {
	text-align: right;
}

.questions {
	list-style-type:lower-alpha;
	margin: 0;
}

header h2 {
	color: #CF5C3F;
}

#mainheader img {
	height: auto;
	margin: 2% 0;
}

#mainheader nav {
	height: 40px;
	background-color: #666;
	color: #FFF;
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
}

#mainheader nav ul {
	list-style: none;
	margin: 0 auto;
}

#mainheader nav ul li {
	float: left;
	display: block;
}

#mainheader nav ul li:hover {
	background-color: #CF5C3F;
}

#mainheader nav ul li a:link, #mainheader nav ul li a:visited {
	display: inline-block;
	height: 20px;
	color: #FFF;
	padding: 10px 25px;
}

#mainheader nav a:hover, #mainheader nav a:active, #mainheader nav .active a:link, #mainheader nav .active a:visited, #mainheader a.active {
	background: #CF5C3F;
	background: -moz-linear-gradient(top, #ce7b67 0%, #ce401c 100%, #bc523a 100%, #7db9e8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ce7b67), color-stop(100%,#ce401c), color-stop(100%,#bc523a), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ce7b67 0%,#ce401c 100%,#bc523a 100%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ce7b67 0%,#ce401c 100%,#bc523a 100%,#7db9e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ce7b67 0%,#ce401c 100%,#bc523a 100%,#7db9e8 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ce7b67 0%,#ce401c 100%,#bc523a 100%,#7db9e8 100%); /* W3C */
}

#mainheader nav ul ul {
	position: absolute;
	display: none;
	padding: 0;
}

#mainheader nav ul ul li {
	position: relative;
	display: block;
	float: none;
	background-color: #666;
	z-index: 1;
}

#mainheader nav ul ul li:hover {
	background-color: #666;
}

#mainheader nav ul ul li a:link, #mainheader nav ul ul li a:visited {
	display: block;
}

#mainheader nav ul li:hover > ul {
	display: block;
}

#mainheader #crumbs {
	width: 100%;
	height: 28px;
	background-color: #fff;
	list-style-type: none;
	padding-top: 10px;
	padding-left: 0px;
	padding-bottom: 0px;
	font-size: 12px;
	margin: 20px 0px 0px 0px; 
	z-index: -1;
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
}

#mainheader #crumbs li {
	position: relative;
	float:left;
	color:#777;
	margin: 0;
}

#mainheader #crumbs li:before {
	content: ">";
	left: 0;
}

#mainheader #crumbs .first:before {
	content: "";
	left: 0;
}

#mainheader #crumbs li a {
	padding-left: 13px;
	padding-right: 13px;
}

#mainheader #crumbs li a:link, #mainheader #crumbs li a:visited {
	color: #777;
}

#mainheader #crumbs li a:hover, #mainheader #crumbs li a:focus {
	color: #dd2c0d;
}

#content {
	width: 77%;
	float: left;
	line-height: 25px;
}

#maincontent {
	background-color: #FFF;
	padding: 5px 30px 20px 30px;
	margin-top: 20px;
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
}

.post-info {
	font-style: italic;
	color: #999;
	font-size: 85%;
}

.sidebar {
	width: 15%;
	float: left;
	background-color: #FFF;
	margin-right: 2%;
	margin-top: 20px;
	padding: 2px 3% 5px 3%;
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
	clear: both;
}

.sidebar h2 {
	margin-bottom: 2px;
}

.sidebar ul {
	margin: 0;
	padding: 0px 0px 10px 0px;
}

.sidebar ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.sidebar ul li a {
	display: block;
	padding: 5px 0px 5px 2px;
}

.sidebar ul li a:hover {
	background-color: #CF5C3F;
	color: #fff;
	transition: color 100ms linear;
	transition: background-color 100ms linear;
}

#mainfooter {
	width: 100%;
	float: left;
	background: #666666; /* Old browsers */
	background: -moz-linear-gradient(top,  #666666 1%, #353535 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#666666), color-stop(100%,#353535)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #666666 1%,#353535 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #666666 1%,#353535 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #666666 1%,#353535 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #666666 1%,#353535 100%); /* W3C */
	margin: 20px 0px;
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
}

#mainfooter p {
	width: 92%;
	margin: 0 auto;
	padding: 10px 0px;
	color: #FFF;
}

#answer {
	display: none;
}

#answer:target {
	display: block; 
}

pre {
	margin: 0;
    line-height: 140%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
}

code { 
	display: block;
    padding: 0.5em 1em;
    border: 1px solid #bebab0;
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    line-height: 140%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    background: #faf8f0;
}