/***
*General content styles
*/

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

h1 {
	font-size: 1.4em;
	font-weight: bold;
	padding-bottom: 0.5em;
}

h2 {
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 0.5em;
}

h3 {
	font-size: 1em;
	font-weight: bold;
	padding-bottom: 0.5em;
}

h4 {
	font-size: 0.9em;
	font-weight: bold;
	padding-bottom: 0.5em;
}

h5 {
	font-size: 0.8em;
	font-weight: bold;
	padding-bottom: 0.5em;
}

pre {
	border: 1px dashed #454545;
	padding: 5px 10px;
	width: 90%;
	margin-bottom: 1em;
}

p {
	line-height: 1.4;
	padding: 0 0 0.8em 0;
}

a {
	color: #9d0303;
}

th {
	font-weight: bold;
}

tr {
	padding-bottom: 0.4em;
}

tr.feedroweven {
	background-color: #eee;
}

tr.feedrowodd td,
tr.feedroweven td {
	padding: 0.4em 0.5em;
	line-height: 1.4;
}

table.feedtable tr td a {
	padding-bottom: 0.3em;
}

div.breadcrumbs {
	padding: 0 0.2em 0.8em 0;
	font-size: 0.8em;
}

div.breadcrumbs a {
	color: #9d0303;
}

div.current {
	font-weight: bold;
	font-size: 0.9em;
}

div.contents {
	min-height: 250px;
	padding-left: 0.5em;
}

div.contents ul {
	padding: 0 0 0.8em 1.2em;
}

div.contents li {
	list-style-type: disc;
	line-height: 1.6;
}

div.contents img {
	padding: 0 0.3em;
}

div.userlogin {
	display: none;
}

div.toc {
	border: 1px solid #d5d5d5;
	margin: 0 0.5em 1.2em 0;
	background-color: #eee;
	-webkit-border-radius: 10px;
}

div.toc ol {
	padding: 0.5em 0;
}

div.toc ol li {
	margin-left: 1em;
	list-style-type: none;
	line-height: 1.8;
}

div.toc a {
	padding: 0 0 0.5em 0;
	color: #000;
	font-weight: bold;
}

ol.sub {
	margin-left: 2em;
}

ol.sub a {
	font-weight: normal;
}

div.toggle,
div.down {
	padding: 0.8em 0 0.8em 0.4em;
}

div.toggle a {
	background: url(images/triangle.png) no-repeat center left;
	padding-left: 1.2em;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

div.toggle a.disabled {
	filter: alpha(opacity=30);
	-webkit-opacity: 0.30;
}

div.down a {
	background: url(images/down.png) no-repeat center left;
	padding-left: 1.2em;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}


div.js-main div#share {
	padding: 0 0 0.8em 0.3em;
}

div.js-main div#share a {
	background: url(images/plus.png) no-repeat center left;
	padding-left: 20px;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	font-size: 1em;
}

/***
*Comment-specific styles
*/

div.comments {
	background-color: #eee;
}

div.comments ul,
div.white ul {
	padding: 0.6em 0 0.6em 0;
}

div.comments ul li,
div.white ul li {
	list-style-type: none;
	line-height: 1.4;
	padding: 0 0.5em 0 1.2em;
}

div.comments ul li.username,
div.white ul li.username {
	font-weight: bold;
}

div.comments ul li.username a,
div.white ul li.username a {
	color: #9d0303;
	font-size: 0.9em;
}

div.comments ul li.datetime,
div.white ul li.datetime {
	color: #767676;
	font-size: 0.8em;
	float: right;
	padding-right: 1em;
}

div.comments li.text,
div.white li.text {
	font-size: 0.9em;
}

div.comments li.delete,
div.white li.delete {
	text-align: right;
}

input.delete {
	background-color: transparent;
	border: none;
	font-size: 0.9em;
	text-decoration: underline;
	color: #000;
}

div.addcomment {
	margin: 0.8em 0 1em 0;
	padding: 6px;
	font-size: 0.9em;
	border-top: 1px solid #e5e5e5;
}

div.addcomment textarea {
	width: 98%;
	height: 80px;
	border: 1px solid #d4d4d4;
	text-align: center;
	color: #9c9c9c;
	margin: 0.6em 0.6em 0 0.2em;
}

div.addcomment textarea#comment {
	border-color: #d5d5d5;
	border-top: none;
}

div.addcomment textarea#comment:focus {
	color: #9b9b9b;
}

div.addcomment button,
div.addcomment button.disabled {
	background: url(images/gray-bg.png) repeat-x center center;
	border: 1px solid #c4c4c4;
	width: 64px;
	height: 30px;
	margin: 0.8em 0 0 0.5em;
	font-size: 1em;
	-webkit-border-radius: 5px;
}

div.addcomment button.disabled {
	-webkit-opacity: 0.40;
	filter: alpha(opacity=40);
}

button#ajaxbutton {
	background: url(images/gray-bg.png) repeat-x center center;
	border: 1px solid #c4c4c4;
	width: 64px;
	height: 30px;
	font-size: 1em;
	-webkit-border-radius: 5px;
}

/***
*Files-specific styles
*/

div.file {
	background: url(images/arrow.png) no-repeat right center;
	padding: 0.4em 0 0.4em 0.5em;
	width: 98%;
}

div.gray {
	background-color: #eee;
}

div.file div.filename,
div.file div.addedby,
div.file div.datetime {
	padding-bottom: 0.2em;
}

div.filename {
	color: #9d0303;
	text-decoration: underline;
}

div.file div.addedby {
	font-size: 0.8em;
}

div.file div.datetime {
	font-size: 0.8em;
	color: #767676;
}

div.file div.size {
	float: right;
	font-size: 0.8em;
	padding: 1.5em 3em 0 0;
	color: #454545;
}

/***
*Related pages-specific styles
*/

div.pages div.toggle,
div.tags div.toggle { 
	padding-left: 0.5em;
}

div.pages div.down,
div.tags div.down {
	padding: 0.8em 0 0.8em 0.5em;
}

div.pages ul,
div.tags ul {
	padding: 0 0 0 0;
}

div.pages ul li,
div.tags ul li {
	list-style-type: none;
	padding: 0.6em 0 0.6em 1.8em;
}

div.pages ul li a,
div.tags ul li a {
	text-decoration: none;
	color: #000;
}

div.pages ul li.gray,
div.tags ul li.gray {
	background-color: #eee;
}

div.tags button.addtag, div.no-tags button.addtag {
	float: right;
	border: 1px solid #c4c4c4;
	background: url(images/gray-bg.png) repeat-x center center;
	padding: 0.4em 0;
	-webkit-border-radius: 5px;
	margin: 0.5em 0.6em 0 0;
	font-size: 0.9em;
}

textarea.addtag {
	width: 95%;
	height: 150px;
	margin-top: 0.3em;
	border-color: #8a8a8a;
}

a.cancel {
	float: left;
	margin: 1.2em 0 0 1.4em;
	padding: 0.2em;
	color: #000;
}

/***
*Search results-specific styles
*/

div.pagination {
	padding: 1em 0.5em;
}

div.right {
	float: right;
	background: url(images/search_right.png) no-repeat center center;
	width: 44px;
	height: 44px;
}

div.right a {
	display: block;
	width: 44px;
	height: 44px;
}

div.num {
	margin: 0 auto;
	width: 230px;
	text-align: center;
	padding-top: 0.8em;
}

div.left {
	background: url(images/search_left.png) no-repeat center center;
	width: 44px;
	height: 44px;
	float: left;
}

div.left a {
	display: block;
	width: 44px;
	height: 44px;
}

div.disabled {
	filter: alpha(opacity=25);
	-webkit-opacity: 0.25;
	-moz-opacity: 0.25;
	opacity: 0.25;
}

div.result {
	padding-top: 1em;
	overflow-x: hidden;
}

div.result div.container {
	border-top: 1px solid #d2d2d2;
	padding-right: 0.4em;
}

div.result div.last {
	border-bottom: 1px solid #d2d2d2;
}

div.result img {
	display: none;
}

div.title {
	font-size: 1em;
	padding: 0.5em 0 0 0.5em;
}

div.preview {
	padding: 0.3em 0.1em 0.6em 0.7em;
	font-size: 0.8em;
	color: #5c5c5c;
}

span.keyword {
	font-weight: bold;
	background-color: #fff9cf;
}

/***
*Notes-specific styles
*/

div.tabs ul.notes {
	width: 240px;
}

div.tabs ul.notes li a {
	display: block;
	padding: 0 6px;
}

div.tabs ul.notes li a.selected,
div.tabs ul.notes li a {
	height: auto;
	padding: 9px 10px;
}

div.message {
	background: url(images/arrow.png) no-repeat center right;
	border-bottom: 1px solid #d2d2d2;
	padding: 0.6em 0.8em;
}

div.from {
	font-weight: bold;
	padding: 0 0 0.2em 0;
}

div.date {
	float: right;
	font-size: 0.8em;
	color: #5c5c5c;
	padding-right: 1.2em;
}

div.subject {
	font-size: 0.8em;
}

div.line1 {
	font-size: 0.9em;
	color: #5c5c5c;
}

div.message-reply {
	padding-left: 0.6em;
}

div.js-main div.view {
	padding: 0 0 0.5em 0.5em;
}

div.view div.compose {
	padding-top: 0.5em;
	border-top: 1px solid #e5e5e5;
}

div.compose form {
	color: #545454;
	margin-left: 0.5em;
}

div.compose p {
	font-size: 0.9em;
	color: #454545;
}

input.to,
div.compose textarea {
	padding: 0.5em 0.4em 0.2em 0.4em;
	margin: 0.3em 0 0.6em 0;
	border-color: #8a8a8a;
	width: 93%;
}

div.compose textarea {
	height: 100px;
	margin-bottom: 0;
}

div.tagging textarea {
	width: 95%;
	height: 8em;
	padding: 0.4em 0.2em;
	margin-top: 0.3em;
	border-color: #8a8a8a;
}

div.compose button,
div.tagging button {
	float: left;
	background: url(images/gray-bg.png) repeat-x center center;
	border: 1px solid #c4c4c4;
	height: 30px;
	margin: 0.8em 0 0 0;
	font-size: 1em;
	-webkit-border-radius: 5px;
}

div.compose button {
	margin-bottom: 1em;
}

div.reply {
	padding-left: 0.5em;
}

div.text {
	padding: 0.2em 0 1em 0;
}

div.input {
	border-top: 1px solid #a9a9a9;
	padding-top: 0.6em;
}

/***
 *No content
 */

div.no-files,
div.no-notes,
div.no-results {
	padding-top: 0.4em;
	text-align: center;
	font-style: italic;
	color: #8d8d8d;
}

div.no-files,
div.no-results {
	padding: 1em 0.5em 0 0.5em;
	line-height: 1.5;
}

li.no-tags,
li.no-pages {
	font-style: italic;
	color: #8d8d8d;
	padding-left: 1.8em;
}

div.restricted {
	padding: 1em 0 0 0;
	font-style: italic;
	color: #8d8d8d;
	text-align: center;
}
