	/* ====== General Defaults ====== */

a {
	color: #0000dd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: #9d009d;
}

a img {
	border: 0px;
}

img {
	border: 0px;
}

	/* ====== Major Layoutness ====== */

body {
	background: url('/template/images/pattern-back.jpg') top center;
	font-family: Verdana, "Bitstream Vera Sans", Arial, sans-serif;
	font-size: 0.7em;
	margin: 0px;
	padding: 0px;
	text-align: center;
}

#outerframe {
	background: #ffffff url('/template/images/main-back.jpg') repeat-y top center;
	margin: auto;
	text-align: left;
	width: 760px;
}

#innerframe {
	display: inline;
	float: left;
	margin: 0px 30px;
}

#header {
	background: url('/template/images/main-title.jpg') no-repeat;
	height: 125px;
}

#titleimage {
	background: #bb3333;
	border-radius: 5px;
	-moz-border-radius: 5px;
	color: #fff;
	font-size: 12px;
	left: 30px;
	padding: 10px;
	position: relative;
	text-align:center;
	top: 25px;
	width: 300px;
}

#titleimage a {
	color:#fff;
	font-weight: bold;
}

#topnav {
	border-bottom: 3px solid #000000;
	height: 20px;
	overflow: hidden;
	position: absolute;
	text-align: right;
	top: 105px;
	width: 700px;
}

#topnav ul {
	float: right;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#topnav li {
	background: url('/template/images/tab-left-back.gif') no-repeat top left;
	float: left;
	height: 20px;
	margin: 0px 1px;
}

#topnav li:hover {
	background: url('/template/images/tab-left-hover-back.gif') no-repeat top left;
}

#topnav a {
	background: url('/template/images/tab-right-back.gif') no-repeat top right;
	color: #ffffff;
	float: left;
	font-size: 12px;
	font-weight: bold;
	height: 20px;
	margin-left: 7px;
	padding: 3px 10px 0px 3px;
	text-decoration: none;
}

#topnav a:hover, #topnav li:hover a {
	background: url('/template/images/tab-right-hover-back.gif') no-repeat top right;
	color: #ffea5f;
}

#breadcrumbs {
	background: url('/template/images/breadcrumbs-back.gif') no-repeat;
	font-size: 10px;
	height: 40px;
	margin: 3px 0px 10px 0px;
	padding: 0px 0px 0px 15px;
}

#breadcrumbs a {
	color: #0000dd;
	text-decoration: none;
}

#content {
	display: inline;
	float: right;
	margin: 0px 25px;
	width: 500px;
}

#sidenav {
	float: right;
	margin-top: -40px;
	width: 150px;
}

#internetexploreruser {
	margin: 20px 0px;
	text-align: center;
}

#footerimage {
	clear: both;
	text-align: right;
}

#footer {
	background: url('/template/images/footer.jpg') no-repeat;
	clear: both;
	height: 55px;
	width: 760px;
}

#endlinks {
	text-align: center;
	height: 50px;
}

#endlinks a {
	color: #815405;
	font-weight: bold;
	text-decoration: none;
}

	/* ====== Sidebar ====== */

#sidenav .title {
	border-bottom: 1px solid #cacaca;
	font-family: Arial, sans;
	font-size: 1.1em;
	font-weight: bold;
	margin: 15px 0px 5px 0px;
	padding-left: 5px;
}

#sidenav ul {
	list-style-type: none;
	margin: 5px 5px 5px 10px;
	padding: 0px 0px 0px 5px;
}

#sidenav li {
	border-left: 1px solid #000000;
	font-size: 0.9em;
	margin: 2px 0px;
	padding: 0px 0px 0px 5px;
}

#sidenav li:hover {
	border-left: 1px solid #ffb400;
}

#sidenav li a {
	color: #000000;
	text-decoration: none;
}

#sidenav li a:hover {
	color: #444444;
}

#sidenav p {
	color: #333333;
	font-size: 0.8em;
	margin: 10px;
}

#sidenav form {
	margin: 5px;
	padding: 0px;
}

#sidenav input {
	border: 1px solid #000000;
	width: 125px;
}

#sidenav input.checkbox {
	width: auto;
}

#sidenav .buttons {
	padding: 2px;
	text-align: center;
}

#sidenav button {
	background: transparent;
	border: 1px solid #000000;
	padding: 1px 3px;
}

#sidenav .avatar {
	text-align: center;
}

#sidenav .avatar img {
	border: 4px double #000000;
}

#sidenav #atomfeeds {
	border-top: 1px solid #cacaca;
	border-bottom: 1px solid #cacaca;
	margin: 10px 0px;
	padding: 10px;
}

	/* ===== Error Display ===== */

.displayerror {
	border: 1px solid #ff0000;
	margin: 10px;
	padding: 1em;
}
.displayerror .title {
	background: #ffffff;
	border: 1px solid #ff0000;
	color: #ff0000;
	font-weight: bold;
	margin: -2em 0px 5px 20px;
	padding: 1px;
	text-align: center;
	width: 7ex;
}

	/* ====== Content ====== */

#content h1, #content h2, #content h3, #content h4, #content h5, .section-title {
	color: #666666;
	font-family: "Trebuchet MS", Trebuchet, Georgia, "Bitstream Vera Sans", Arial, sans-serif;
}

#content h1, .section-title {
	font-size: 2.5em;
	font-weight: normal;
	margin: 5px 0px;
}

#content .section-title {
	margin: 20px 0px;
}

#content h1 a {
	color: #666666;
	text-decoration: none;
}

#content h2 {
	color: #830000;
	font-size: 2em;
	font-weight: bold;
	line-height: 1;
	margin-left: -5px;
}

#content h3 {
	font-size: 1.5em;
	text-transform: uppercase;
}

#content h4 {
	font-size: 1.4em;
}

#content h5 {
	color: #666666;
	font-size: 1.25em;
}

#content .header .date {
	background: url('/template/images/divider.gif') no-repeat top center;
	color: #777777;
	font-size: 0.9em;
	padding-top: 10px;
	text-align: right;
}

.attachments {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	margin: 20px 0px;
	padding: 2px;
}

.attachments .title {
	font-weight: bold;
	margin-bottom: 5px;
}

#content .meta {
	margin: 5px 0px -1em 0px;
}

#content .meta .meta-name {
	color: #830000;
	display: inline;
	font-size: 0.9em;
	font-variant: small-caps;
}

#content .meta .meta-value {
	color: #555555;
	display: inline;
	font-size: 0.9em;
	margin-left: 3ex;
}

#content .footer {
	background: #f2f2f2;
	border: 1px solid #dbdbdb;
	clear: both;
	font-size: 0.85em;
	margin: 30px 0px;
	padding: 5px 3px;
}

#content .footer ul.toolbox {
	float: right;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#content .footer ul.toolbox li {
	float: left;
	margin: 0px 2px;
	padding: 0px
}

#content .footer ul.toolbox ul {
	background: #ffffff;
	border: 1px solid #830000;
	display: none;
	font-size: 12px;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	position: absolute;
}

#content .footer ul.toolbox ul li {
	display: block;
	float: none;
	margin: 0px 4px 0px 0px;
	padding-right: 20px;
}

#content .footer ul.toolbox li:hover ul {
	display: block;
}

#content .footer ul.toolbox ul a {
	color: #000000;
	display: block;
	height: 18px;
	padding: 1px 2px;
}

#content .footer ul.toolbox ul a:hover {
	background: #0000aa;
	color: #ffffff;
	text-decoration: none;
}

.narrowsearch {
	margin-top: -15px;
	margin-bottom: 30px;
}

.narrowsearch a {
	color: #0000aa;
}

.narrowsearch ul {
	background: #fafafa;
	float: left;
	list-style-type: none;
	margin: 3px;
	padding: 0px;
}
.narrowsearch li {
	border-top: 2px solid #ffffff;
	font-size: 0.9em;
	margin: 0px;
	margin-bottom: .5em;
	width: 94px;
}

.page-changer { /* The page changer deally at the end of some pages */
	clear: both;
	line-height: 1em;
	margin: 10px;
	text-align: center;
}
.page-changer select {
	margin: 0px 10px;
	vertical-align: middle;
}

	/* ====== Articles ====== */

.article {

}

.article .content {
	color: #222222;
	margin: 10px;
}

.article .content div.quote, blockquote {
	background: url('/template/images/quote.gif') no-repeat top left;
	color: #444444;
	margin: 20px 0px;
	padding-left: 35px;
	padding-bottom: 1px;
}

#content .article .content div.quote p, #content .blockquote p {
	margin: 0px;
	padding: 0px;
}

.article .content dl {
	background: url('/template/images/def.gif') no-repeat top left;
	margin: 0px;
	padding: 0px 0px 0px 35px;
}

.article .content dt {
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}

.article .content dd {
	margin: 0px 0px 0px 10px;
}

.article .content .cutter {
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
}

.article .content div.cutter {
	padding: 5px 0px;
}

.article .content .inlineimage {
	margin: 25px 0px;
	text-align: center;
}

.article .content .inlineimage img {
	border: 1px solid #aaaaaa;
	padding: 3px;
}

.article .content .inlineimage .options {
	height: 25px;
	visibility: hidden;
	margin-top: -25px;
}

.article .content .inlineimage .options a {
	background: #ffffff;
	border: 1px solid #000000;
	color: #000000;
	padding: 1px 3px;
}

.article .content .inlineimage:hover .options {
	visibility: visible;
}

.article .content .customize .inlineimage {
	margin: 0px;
	padding: 0px;
}

.article .content .customize .inlineimage img {
	border: 0px solid #aaaaaa;
	padding: 0px;
}

.article .author {
	margin: -5px 10px 0px 0px;
	text-align: right;
}

.article p.footnote {
	padding: 2px 15px;
}

.article p.footnote sup:first-child {
	display: block;
	float: left;
	margin-left: -15px;
	margin-right: 2px;
}

.article #fn1 {
	border-top: 1px solid #666666;
	margin-top: 30px;
}

/* ===== Article-s ===== */

#content .article-s {
	background: #fafafa;
	margin: 10px 0px;
}

#content .article-s h1 {
	border: 1px solid #e0e0e0;
	font-size: 1.5em;
	padding-left: 1px;
}

#content .article-s .date {
	background: transparent;
	padding: 0px;
}

#content .article-s .tags {
	float: right;
	font-size: 0.8em;
	margin: 2px 10px;
}

#content .article-s .description {
	padding: 10px;
}

#content .article-s .readmore {
	clear: both;
	text-align: right;
}

/* ===== Files ===== */

.file .content {
	padding: 25px 0px;
	text-align: center;
}

.file .content img {
	border: 0px solid #830000;
}

.file .author {
	margin: -5px 10px 0px 0px;
	text-align: right;
}

.includethis {
	background: #f9f9f9;
	border: 1px solid #888888;
	margin: 15px 0px;
	padding: 1px 50px;
}

/* ===== Tiny File ===== */

.file-tiny {
	float: left;
	height: 35px;
	padding: 1px 5px;
}
.file-tiny img {
	vertical-align: middle;
}

/* ===== Medium File ===== */

.file-medium {
	float: left;
	height: 100px;
	margin: 5px;
	overflow: hidden;
	text-align: center;
	width: 100px;
}

.file-medium a {
	display: block;
}

	/* ====== Latest Files ====== */

#latestfiles {
	text-align: center;
}

#latestfiles-arrows {
	text-align: center;
}

#latestfiles-arrows img {
	margin: 0px 10px;
}

#latestfiles-displaybox {
	height: 100px;
	margin: 2px auto;
	overflow: hidden;
	width: 100px;
}

#latestfiles-thumbs {
	width: 420px;
	text-align: center;
}

#latestfiles-displaybox .thumb {
	float: left;
	margin: 0px 5px;
	width: 90px;
	height: 100px;
}

#latestfiles-displaybox img {
	border: 1px solid #cacaca;
	padding: 2px;
}

/* ===== Comment Form ===== */

#commentpopup {
	background-color: #ffffff;
	border: 1px solid #830000;
	border-top: 6px solid #830000;
	display: none;
	float: left;
	overflow: auto;
	position: fixed;
	text-align: left;
	z-index: 50;
}
#comment-form-title {
	border-bottom: 1px solid #830000;
	color: #830000;
	font-weight: bold;
	padding-left: 10px;
}
#commentpopup .popup-close {
	float: right;
}
#commentpopup .popup-close a {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}
.comment-form form {
	margin: 10px 0px 10px 0px;
}
.comment-form .identification {
	border-bottom: 1px solid #000000;
	margin-bottom: 15px;
	height: 12em;
}
.comment-form .identification .tabs {
	border-bottom: 1px solid #000000;
	margin: 0px 0px 10px 0px;
}
.comment-form .identification .tab {
	border-top: 1px solid #000000;
	border-right: 1px solid #000000;
	border-left: 1px solid #000000;
	display: inline;
	margin: 0px 3px;
	padding: 3px 3px 0px 3px;
}
.comment-form .identification .tab:hover {
	color: #ffffff;
	background-color: #000000;
}
#comment-form-login {
	display: none;
	margin: 0px 20px 5px 20px;
}
#comment-form-nologin {
	margin: 0px 20px 5px 20px;
}
#comment-form-login .remember {
	margin: 0.25em;
}
#comment-form-login .remember input, #comment-form-login .remember label {
	display: inline;
	margin: 0px;
	width: auto;
}
.comment-form label {
	color: #333333;
	display: block;
	margin-left: 15px;
}
.comment-form label a {
	color: #0000aa;
	text-decoration: none;
}
.comment-form input.text {
	border: 1px solid #000083;
	font-size: 0.8em;
	width: 250px;
}
.comment-form textarea {
	border: 1px solid #000083;
	font-family: Georgia, "Times New Roman", serif;
	margin: 5px 0px;
	width: 320px;
}
.comment-form button {
	background-color: #ffffff;
	border: 2px solid #000083;
	color: #000083;
}
.comment-form .buttons {
	padding-top: 10px;
	text-align: center;
}
.comment-form .comment {
	margin: 10px 20px;
}

/* ===== Comments Display ===== */

.comments {
	color: #555555;
	font-size: 1.1em;
}
.comments .comment table {
	border: 1px solid #ffffff;
	margin: 5px 2px;
	padding: 2px;
	width: 100%;
}
.comments .comment.byauthor table {
	border: 1px solid #aa0000;
}
.comments .comment table.alternate {
	background-color: #eeeeee;
}
.comments .comment table:hover {
	border: 1px solid #888888;
}
.comments .comment td.avatar {
	text-align: center;
	padding: 1em 0px;
	vertical-align: top;
	width: 100px;
}
.comments .comment td.avatar img {
 border: 4px double #000000;
}
.comments .comment td.title {
 border-bottom: 1px solid #830000;
 color: #000000;
 font-weight: bold;
 height: 1em;
}
.comments .comment td.content {
 vertical-align: top;
}
.comments .comment td.date {
 font-size: 0.8em;
 font-weight: bold;
 vertical-align: bottom;
}
.comments .comment td.author {
 font-weight: bold;
 text-align: right;
}
.comments .nocomments {
 background-color: #eeeeee;
 color: #666666;
 padding: 20px;
 text-align: center;
}
.comments .postcomment {
 padding: 10px;
 text-align: right;
}

/* ====== Tooltip ====== */

#tooltip {
	background: #ffffff;
	border: 1px solid #830000;
	display: none;
	position: absolute;
	width: 30ex;
	padding: 1px;
}

#tooltip-top-content {
	background: #830000;
	color: #ffffff;
	font-weight: bold;
	text-align: center;
	padding: 1px;
}

#tooltip-body-content {
	padding: 3px;
	text-align: left;
}

/* ====== Admin Overrides ====== */

.admin form input {
	width: 350px;
}

.admin form textarea {
	width: 500px;
}
