* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 100%;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	min-width: 980px;
	color: #363636;
}

#container, #headercontainer, #footercontainer {
	margin: 0 auto;
	width: 60em;
}

p {
	margin-bottom: 0.5em;
}

.small p {
	font-size: 0.8em;
}

a {
	text-decoration: none;
	color: #D0005D;
}
a:hover {
	color: #871a57;
}

a.subscribe {
	padding-left: 1.5em;
	color: #D7622B;
	background: url(/images/rss.png) 0 0 no-repeat;
}
a.subscribe:hover {
	color: #A73716;	
}

ul, ol {
	list-style: none;
}

.deemphasise {
	font-weight: normal;
}

.emphasise {
	font-weight: bold;
}

blockquote {
	margin: 0.5em;
	margin-left: 0;
	padding: 0.5em;
	padding-left: 1em;
	color: #191919;
	border-left: solid 1px #d6d6d6;
	background: white;
}

/* flash messages and boxes */

.box {
	float: left;
}
.box.fullwidth {
	width: 59em;
}

#comments .box {
	float: none;
}

p.flash {
	float: left;
	width: 59em;
}

.flash, .box, .errorExplanation {
	border-width: 1px;
	border-style: solid;
	padding: 0.5em;
	margin-bottom: 1em;
}

.flash, .errorExplanation {
	margin-top: 1em;
}

.flash.default, .box {
	color: #818181;
	border: solid 1px #d6d6d6;
	background: #f7f7f7;	
}

.flash.small, .box.small {
	color: #818181;
	border: solid 1px #d6d6d6;
	background: #f7f7f7;
	margin-top: 0; 	
}
.flash.small p, .box.small p {
	font-size: 0.8em;
}

.flash.notice {
	color: #C77D00;
	border-color: #FFDD70;
	background: #FFF8E5;
}

.flash.success {
	color: #00C500;
	border-color: #00E800;
	background: #C9FBE0;
}

.box.connected {
	border: none;
	border-top: solid 1px #d6d6d6;
}

.errorExplanation, .flash.failure {
	border-color: #E2003B;
	background: #F7DEE6;
	color: #82233D;
}
.errorExplanation h2 {
	font-size: 1em;
	color: #82233D;	
}
.errorExplanation ul {
	list-style: circle;
	padding-left: 1.5em;
}
.errorExplanation ul li, .errorExplanation p {
	margin-bottom: 0.2em;
}

dl.box {
	border-left: none;
	border-right: none;
}

dl.box dt {
	font-weight: bold;
}

dl.box dd {
	margin-bottom: 0.5em;
}

/* header */

#header {
	float: left;
	width: 100%;
	border-bottom: solid 1px #d6d6d6;
	background: #f7f7f7; 
}

h1 {
	float: left;
	font-size: 2em;
	line-height: 1.3em;
	color: #363636;
	position: relative;
}

h1 a, #headertools a {
	color: #363636;
}
h1 a:hover, #headertools a:hover {
	color: #D0005D;
}

h1 .acronym {
	display: block;
	float: left;
}

h1 .subhead {
	display: block;
	float: left;
	padding-top: 0.85em;
	padding-left: 2em;
	font-size: 0.3em;
	font-weight: normal;
	line-height: 1.4em;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h1 .emphasise {
	display: block;
}

#headertools {
	float: right;
	padding-top: 0.5em;
	width: 28em;
	position: relative;
}

#headertools ul {
	font-size: 0.55em;
	font-weight: bold;
	line-height: 1.5em;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: left;
}

#headertools ul#user {
	padding-left: 1em;
	background: #fff9b9;
	color: #C77D00;
	float: right;
}

#headertools ul#public {
	float: right;
}

#headertools ul li {
	float: left;
	margin-right: 1em;
}

/* navigation */

#navigation {
	float: left;
	width: 100%;
}

#navigation ul {
	padding-top: 1em;
	font-size: 0.69em;
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: bold;
}

#navigation ul li {
	float: left;
	min-width: 1em;
}

#navigation ul li a {
	display: block;
	border-left: 0.5em solid #ededed;
	padding-left: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-right: 1.9em;
	height: 2.4em;
}

#navigation ul li a:hover {
	background: #D0005D;
	color: white;
}

/* main */

#main {
	float: left;
	width: 100%;
}

h2, h3 {
	color: #467792;
}

h2 {
	font-size: 2.6em;
	line-height: 1em;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
	float: left;
	width: 100%;
}

h3 {
	font-size: 1.4em;
	line-height: 1em;
	margin-bottom: 0.5em;
}

/* form styles */

input, textarea {
	font-family: "Lucida Grande", "Lucida Sans", sans-serif;
	border: none;
	margin-bottom: 0.5em;
}

input.fullwidthform, textarea.fullwidthform {
	width: 55em;
}

textarea.shallow {
	height: 5em;
}

textarea.medium {
	height: 10em;
}

#main input, #main textarea {
	border: solid 1px #DFE5E8;
	font-size: 1em;
	padding: 0.5em;
	margin-bottom: 0.5em;
}

span.formnotes {
	display: block;
	margin-bottom: 0.5em;
	padding-left: 1em;
	background: url(/images/hintstar.png) 0 0.3em no-repeat;
	font-size: 0.8em;
	color: #818181;
}

div.headboxnotabs input, div.headboxnotabs textarea, div#commentsform input, div#commentsform textarea {
  border: solid 1px #DFE5E8;
  font-size: 1em;
  padding: 0.5em;
  margin-bottom: 0.5em;
}

label, .entries-show #entrymeta .label {
	display: block;
	text-transform: uppercase;
	font-size: 0.6em;
	font-weight: bold;
	color: #818181;
}

#main select {
	margin-bottom: 0.5em;
}

.inlinelabel {
	margin-top: 0.2em;
}

.inlinelabel input {
	vertical-align: top;
}
.inlinelabel label {
	vertical-align: top;
	display: inline;
}

.box legend, .headboxnotabs legend {
	font-size: 0.6em;
	text-transform: uppercase;
	font-weight: bold;
	color: #818181;
}

#main fieldset {
	border: none;
}

#main fieldset:last-child, #main form p:last-child {
	margin-bottom: 0;
}

#main form ul {
	margin-bottom: 0.5em;
}

div.box .box, div.headboxnotabs .box {
	float: none;
}

.box fieldset ul li, .headboxnotabs fieldset ul li {
	font-size: 0.9em;
}

/* home page */

#homeboxes {
	color: #467792;
}

#homeboxes h3 {
	z-index: 100;
	position: relative;
}

#homeboxes h4 {
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
	font-size: 1.5em;
	line-height: 1em;
	margin-top: 1.7em;
	z-index: 100;
	position: relative;
}

#homeboxes h4 a {
	color: #363636;
}
#homeboxes h4 a:hover {
	color: #000;
}

#homeboxes h4 a.author {
	color: #D0005D;
	margin-right: 0.5em;
}
#homeboxes h4 a.author:hover {
	color: #871a57;
}

#homeboxes h4 .subhead {
	display: block;
	margin-top: 0.4em;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	font-size: 0.5em;
	line-height: 1.2em;
	text-transform: uppercase;
}

#homeboxes ul {
	float: left;
	width: 60em;
}

/* Firefox and Safari can't agree on ems so using percentage layout */

/* #homeboxes ul li {
	float: left;
	position: relative;
	width: 17.4em;
	height: 14.525em;
	padding: 0.8em;
	background: #ededed;
	margin-bottom: 1.5em;
} */

#homeboxes ul li {
	float: left;
	position: relative;
	width: 29.2%;
	height: 14.525em;
	padding: 1.4%;
	background-color: #ededed;
	background-image: url(/images/homebox_quotes.png);
	margin-bottom: 1.5em;
}

#homeboxes ul li.nobackground {
	background-image: none;
}

#homeboxes ul li.middle {
	margin-left: 2%;
	margin-right: 2%;
}

#homeboxes p {
	font-size: 1.375em;
	line-height: 1.15em;
}

#homeboxes form {
	margin-top: 1.5em;
	background: white;
	float: left;
}

#homeboxes form input {
	border: none;
	background: transparent;
	font-size: 1em;
	font-weight: bold;
	line-height: 1em;
	height: 2.5em;
	margin-bottom: 0;
}

#homeboxes form input.search {
	color: #a5a5a5;
	width: 9em;
	height: 1.8em;
	padding: 0.5em;
	padding-top: 0.7em;
	padding-bottom: 0;
	float: left;
	font-size: 0.9em;
}

#homeboxes form input.submit {
	color: white;
	background: #467792;
	width: 4.2em;
	height: 2.7em;
	float: right;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	margin-top: 0;
}
#homeboxes form input.submit:hover {
	cursor: pointer;
	background: #D0005D;
}
#homeboxes form input.submit:active {
	background: #6B1D39;
}

#homeboxes p.topiclink {
	position: absolute;
	right: 0.8em;
	bottom: 0.8em;
	font-size: 0.75em;
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: bold;
	text-align: right;
	padding-right: 1em;
	width: 14em;
	z-index: 100;
}
#homeboxes p.topiclink a {
	background: url(/images/homebox_arrow.gif) right 4px no-repeat;
	margin-right: -1em;
	padding-right: 1em;
}
#homeboxes p.topiclink a:hover {
	background: url(/images/homebox_arrow.gif) right -29px no-repeat;
}

#homeboxes ul li.explore {
	background-image: url(/images/homebox_hand.gif);
	background-position: 8em bottom;
	background-repeat: no-repeat;
}

span.leftquote {
	color: white;
	font-size: 10em;
	position: absolute;
	top: -0.1em;
	left: 0.05em;
	z-index: 50;
}
span.rightquote {
	color: white;
	font-size: 10em;
	position: absolute;
	bottom: -0.4em;
	right: 0.05em;
	z-index: 50;
}

/* headbox style is the large box with tabs and/or other filters at the top of search pages, topic homepages, and entry listings that are found via tags, authors or sources */

.headboxwithtabs {
	position: relative;
	background: #f7f7f7;
	border-top: solid 1px #d6d6d6;
	border-bottom: solid 1px #d6d6d6;
	width: 100%;
	padding-bottom: 6em;
	float: left;
}

.headboxnotabs {
	position: relative;
	background: #f7f7f7;
	border-top: solid 1px #d6d6d6;
	border-bottom: solid 1px #d6d6d6;
	padding: 2em;
	margin-bottom: 1em;
	width: 56em;
	float: left;
}

.topics-show .headboxnotabs {
	padding-top: 2em;
	margin-top: 1em;
	margin-bottom: 0;
}

.headboxtabs fieldset, .headboxnotabs fieldset {
	color: #818181;
}

/* search form */

#searchform {
	padding-top: 2em;
}

#searchform form {
	padding-left: 4em;
	padding-right: 4em;
}

#searchform fieldset.filter, #searchform fieldset.searchfield {
	float: left;
}

#searchform fieldset.filter {
	width: 11em;
	margin-right: 3em;
	font-size: 0.8em;
}
#searchform fieldset.filter.formats {
	margin-right: 2em;
}

#searchform fieldset.searchfield {
	width: 17em;
}

#searchform fieldset.filter.collapsed legend {
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	color: #818181;
	cursor: pointer;
	background: url(/images/filter_arrow_collapsed.png) 0.1em 0.35em no-repeat;
	padding-left: 1.2em;
	margin-left: -0.1em;
}
#searchform fieldset.filter.expanded legend {
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	color: #818181;
	cursor: pointer;
	background: url(/images/filter_arrow.png) 0em 0.50em no-repeat;
	padding-left: 1.2em;
	margin-left: -0.1em;
}

#searchform fieldset.filter ol {
	padding-left: 1.5em;
	margin-top: 0.5em;
}

#searchform fieldset.filter label {
	text-transform: none;
	font-weight: normal;
	color: #363636;
	margin-bottom: 0.5em;
	font-size: 1em;
}

#searchform fieldset.filter input {
	margin-right: 1em;
	margin-left: -2.1em;
	margin-bottom: 0;
}

#searchform fieldset.searchfield input {
	border: none;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1em;
	height: 2.05em;
}

#searchform fieldset.searchfield input#q {
	color: #a5a5a5;
	width: 8em;
	padding: 0.3em;
	padding-top: 0.2em;
	float: left;
	height: 1.5em;
	border: 1px solid #DFE5E8;
	background: #fff;
}

#searchform fieldset.searchfield input.submit {
	color: white;
	background: #467792;
	width: 2em;
	padding: 0.4em;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	margin-top: 0;
}
#searchform fieldset.searchfield input.submit:hover {
	cursor: pointer;
	background: #D0005D;
}
#searchform fieldset.searchfield input.submit:active {
	background: #6B1D39;
}

/* search results */

div.searchresults, div.latestentries {
	float: left;
	padding-top: 1.5em;
	padding-left: 4em;
}

ol#posts {
	width: 40em;
}

li.searchresult {
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
	margin-bottom: 1em;
}

li.searchresult h4 {
	font-size: 1.1em;
}

li.searchresult h4 a {
	display: inline-block;
	color: #467792;
	padding-left: 1.5em;
	margin-left: -1.5em;
	background-position: 0em 0.1em;
	background-repeat: no-repeat;
}
li.searchresult h4 a:hover {
	color: #005262;
}

li.searchresult.format-document h4 a {
	background-image: url(/images/page_white.png);
}
li.searchresult.format-webpage h4 a {
	background-image: url(/images/page_white_link.png);
}
li.searchresult.format-blog h4 a {
	background-image: url(/images/page_white_text.png);
}
li.searchresult.format-podcast h4 a {
	background-image: url(/images/ipod_cast.png);
}
li.searchresult.format-video h4 a {
	background-image: url(/images/film.png);
}

li.searchresult p {
	font-size: 0.9em;
	line-height: 1.4em;
	margin-bottom: 0.4em;
}

li.searchresult p.attributes {
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	font-size: 0.9em;
	color: #818181;
	margin-bottom: 0em;
}

/* entry pages */

.entries-show #entrycontent {
	width: 40em;
	margin-right: 20em;
} 

.entries-show #entrycontent dl.box {
	width: 39em;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
}

.entries-show #entrycontent p {
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
	line-height: 1.4em;
}

.entries-show #entrycontent a {
	word-wrap: break-word;	
}

.entries-show ul#entrymeta {
	float: right;
	width: 15em;
	background: #f7f7f7;
	border-top: solid 1px #d6d6d6;
	border-bottom: solid 1px #d6d6d6;
	padding: 1em;
}

.entries-show ul#entrymeta li.tags a {
	text-transform: lowercase;
}

.entries-show h3 {
	margin-bottom: 0.5em;
}

.entries-show h3.entryinfo {
	font-size: 1em;
	font-weight: normal;
	margin-bottom: 1em;
	color: #818181;
}

.entries-show h3.entryinfo .comments {
	margin-left: 1em;
}

.entries-show #entrymeta li {
	margin-bottom: 0.5em;
}

.entries-show .download {
	padding-top: 0.4em;
}

.entries-show .download a {
	padding: 0.35em;
	padding-left: 1.4em;
	background: url(/images/arrow_down.png) 0.3em 0.45em no-repeat;
	background-color: #fff;
	border: solid 1px #d6d6d6;
	-webkit-border-radius: 0.3em;
	-moz-border-radius: 0.3em;
}
.entries-show .download a:hover {
	background-color: #d9fdd5;	
	border: solid 1px #95c794;
	color: #D0005D;
}

#entrycontent ul, #entrycontent ol, .entry-content ul, .entry-content ol {
	padding-left: 1em;
	margin-bottom: 0.5em;
}

#entrycontent ul, .entry-content ul {
	list-style: circle;
}

#entrycontent ol, .entry-content ol {
	list-style: decimal;
}

#entrycontent {
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
}

#entrycontent h1 {
	font-size: 1.75em;
}
#entrycontent h2 {
	font-size: 1.5em;
}
#entrycontent h3 {
	font-size: 1.25em;
}
#entrycontent h4 {
	font-size: 1em;
}

span.edit a {
	padding-left: 1.2em;
	background: url(/images/pencil.png) 0em 0.1em no-repeat;	
}

/* comments */

#comments {
	float: left;
	width: 40em;
}

.entries-show #comments {
	margin-top: 2em;	
}

#commentscontent {
	margin-bottom: 2em;
}

#commentsform {
	background: #f7f7f7;
	border-top: solid 1px #d6d6d6;
	border-bottom: solid 1px #d6d6d6;
	padding: 1em;
	margin-top: 1em;
}

#commentscontent ol {
	list-style: decimal;
	padding-left: 2em;
	color: #A8A8A8;
	font-weight: bold;
	font-size: 0.75em;
}

#commentscontent ol li {
	margin-bottom: 1.4em;
}

#commentscontent ol li p {
	margin-bottom: 0.4em;
	color: #5F5F5F;
	font-weight: normal;
	font-size: 1.3em;
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
}

#commentscontent ol li p.commentauthor {
	font-size: 1.1em;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
}

/*
#commentsform input, #commentsform textarea {
	border: solid 1px #DFE5E8;
	padding: 0.5em;
	margin-bottom: 0.5em;
	font-size: 0.8em;
}
*/

#commentsform .fieldWithErrors input, #commentsform .fieldWithErrors textarea {
	border: solid 1px #E2003B;
}

#commentsform p.commentfield input, #commentsform .fieldWithErrors input, #commentsform p.box {
	width: 24em;
}

#commentsform textarea {
	width: 37em;
	height: 7em;
}

#main input.submit, #main .submit_field input {
	color: white;
	background: #467792;
	border: none;
	padding: 0.3em 0.75em 0.3em 0.75em;
	margin: 0;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	font-size: 0.85em;
	margin-top: 0.5em;
}
#main input.submit:hover, #main .submit_field input:hover {
	cursor: pointer;
	background: #D0005D;
}
#main input.submit:active, #main .submit_field input:active {
	background: #6B1D39;
}

#commentsform label {
	margin-bottom: 0.5em;
}

#comments form .box.small p {
	margin-bottom: 0;
}


/* old comments with sidebar form

#commentscontent {
	float: left;
	width: 40em;
}

#commentsform {
	margin-left: 43em;
	width: 15em;
	background: #f7f7f7;
	border-top: solid 1px #d6d6d6;
	border-bottom: solid 1px #d6d6d6;
	padding: 1em;
}

#commentscontent ol {
	list-style: decimal;
	padding-left: 2em;
	color: #A8A8A8;
	font-weight: bold;
	font-size: 0.75em;
}

#commentscontent ol li {
	margin-bottom: 1.4em;
}

#commentscontent ol li p {
	margin-bottom: 0.4em;
	color: #5F5F5F;
	font-weight: normal;
	font-size: 1.3em;
}

#commentscontent ol li p.commentauthor {
	font-size: 1.1em;
}

#commentsform input, #commentsform textarea {
	border: solid 1px #DFE5E8;
	padding: 0.5em;
	margin-bottom: 0.5em;
	width: 20.9em;
}

#commentsform input#comment_submit {
	color: white;
	background: #467792;
	border: none;
	width: 6em;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
	font-size: 0.9em;
}
#commentsform input#comment_submit:hover {
	cursor: pointer;
	background: #D0005D;
}

#commentsform label {
	margin-bottom: 0.5em;
}

*/

/* topic home */

.topics-show .headboxwithtabs  {
	padding-top: 1em;
	margin-top: 1em;
}

h2 .subhead {
	display: block;
	font-size: 0.3em;
	line-height: 1.5em;
	text-transform: uppercase;
}

.subtopics {
	margin-top: -0.4em;
	margin-bottom: 1.2em;
	width: 100%;
	font-size: 0.75em;
	font-weight: bold;
	color: #467792;
	text-transform: uppercase;
	float: left;
	line-height: 0.75em;
}

.subtopics p {
	margin-bottom: 0;
}

.subtopics ul li {
	float: left;
	margin-right: 0.75em;
	padding-right: 0.75em;
	border-right: solid 0.2em #d6d6d6;
}
.subtopics ul li:last-child, .subtopics ul li.noborder {
	border-right: none;
	margin-right: 0;
}

ul.topicfeatures {
	float: left;
	width: 100%;
	margin-top: 1em;
}

ul.topicfeatures li {
	float: left;
	width: 13%;
	height: 4.5em;
	padding: 0.15em 1% 0.35em 1%;
	margin-right: 2%;
	overflow: hidden;
	background-color: #F2F2F2;
	background-position: right top;
	background-repeat: no-repeat;
}
ul.topicfeatures li:hover {
	background-color: #E3E3E3;
}
ul.topicfeatures li.last {
	margin-right: 0;
}

ul.topicfeatures li.original {
	background-image: url(/images/topic_feature_original.png);
}
ul.topicfeatures li.external {
	background-image: url(/images/topic_feature_external.png);
}

ul.topicfeatures li a {
	display: block;
	height: 100%;
	width: 100%;
	color: #467792;
}
ul.topicfeatures li a:hover {
	color: #00505F;
}

ul.topicfeatures h4, ul.topicfeatures p {
	line-height: 1em;
}

ul.topicfeatures h4 {
	font-size: 0.8em;
	margin-bottom: 0.1em;
}

ul.topicfeatures p {
	font-size: 0.7em;
}

.topicmainfeature {
	margin-left: 18.5em;
	width: 28em;
	float: left;
}

ul#previousopinion {
	position: absolute;
	top: 1em;
	left: 0.5em;
	width: 16em;
}

div#populartags, ul#popularsources {
	margin-left: 50em;
	width: 9.5em;
	padding-right: 0.5em;
	margin-bottom: 1em;
	line-height: 0.8em;
	word-wrap: break-word;
}

div#populartags p, ul#popularsources li {
	margin-bottom: 0.4em;
}

div#populartags p {
	text-transform: lowercase;
}

.topicmainfeature h3, .topicmainfeature p, ul#previousopinion p.title {
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Georgia, Times, "Times New Roman", serif;
}

.topicmainfeature h3#topicmainfeatureheading {
	color: #363636;
	font-size: 1.5em;
	margin-bottom: 0.5em;
	margin-top: -1.25em;
	padding-top: 1em;
	margin-left: -1.25em;
	padding-left: 1.25em;
	background: url(/images/topic_quote.png) 0 0 no-repeat;
}

.topicmainfeature h3#topicmainfeatureheading a {
	color: #363636;	
}
.topicmainfeature h3#topicmainfeatureheading a:hover {
	color: #000;
}

.topicmainfeature h4 {
	font-size: 0.8em;
	margin-bottom: 2.5em;
}

.topicmainfeature p {
	line-height: 1.4em;
	margin-bottom: 0.4em;
}

.topicmainfeature h4 span {
	margin-right: 0.5em;
}
.topicmainfeature h4 span.author {
	text-transform: uppercase;
}
.topicmainfeature h4 span.date {
	text-transform: uppercase;
}
.topicmainfeature h4 span.comments {
	text-transform: uppercase;
	font-weight: normal;
}
.topicmainfeature h4 span.commentinvite {
	font-weight: normal;
}

#topiclatest {
	margin-top: 0;
}

#topiclatest h4 {
	margin-bottom: 0.5em;
}

#topiclatest ul h4, div#populartags h4, ul#previousopinion p.author {
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-size: 0.7em;
	font-weight: bold;
}

ul#previousopinion p.author, .topicmainfeature h4 {
	color: #467792;
}

ul#previousopinion p.title {
	font-size: 0.8em;
	margin-bottom: 0;
}

div#populartags p, ul#popularsources li {
	font-size: 0.75em;
}

ul#previousopinion li {
	margin-bottom: 0.5em;
}

/* doctype filter tabs */

#doctypefiltercontainer {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 60em;
}

ul.doctypefilter {
	float: left;
	width: 58em;
	padding-left: 2em;
}

ul.doctypefilter li {
	float: left;
	width: 7.5em;
}

ul.doctypefilter li a {
	display: block;
	width: 8em;
	height: 3em;
	padding: 0.45em;
	font-size: 0.8em;
	font-weight: bold;
	background: #E3E3E3;
	color: #363636;
	border: 1px solid #E3E3E3;
	border-bottom: 1px solid #d6d6d6;
	position: relative;
	z-index: 200;
}
ul.doctypefilter li a:hover {
	background: #C9C9C9;
	color: #000;
	border: 1px solid #C9C9C9;
	border-bottom: 1px solid #d6d6d6;
}
ul.doctypefilter li a:active {
	background: #A8A8A8;
	color: #000;
	border: 1px solid #A8A8A8;
	border-bottom: 1px solid #d6d6d6;
}

ul.doctypefilter li a.current {
	background: #fff;
	border: 1px solid #d6d6d6;
	border-bottom: 1px solid #fff;
}

ul.doctypefilter li a .subhead {
	display: block;
	font-weight: normal;
	font-size: 0.9em;
}

/* bits and pieces for search results listings */

div.resultstatistics {
	float: left;
	width: 100%;
	padding-top: 2em;
}

div.pagination {
	margin-top: 2em;
	margin-bottom: 1em;
	text-align: center;
}

div.pagination a, div.pagination span {
	padding: 0.2em;
}

a.next_page, a.prev_page {
	font-weight: bold;
}

span.directdownload a {
	padding-left: 1.2em;
	background: url(/images/arrow_down.png) 0em 0.1em no-repeat;
}

span.directurl {
	padding-left: 1.4em;
	background: url(/images/link_go.png) 0em 0em no-repeat;
}

/* JS expander */

.expand, .collapse {
	border-top: solid 1px #e3e3e3;
	text-align: right;
	font-family: Calibri, Arial, "Liberation sans", sans-serif;
}
.expand a, .collapse a {
	background-position: 0.5em 0.7em;
	background-repeat: no-repeat;
	padding: 0.4em;
	padding-left: 1.5em;
	font-size: 0.75em;
}
.expand a {
	background-color: #e3e3e3;
	background-image: url(/images/expand_down.png);	
}
.collapse a {
	background-color: #e3e3e3;
	background-image: url(/images/expand_up.png);	
}

/* listings homepages - tags, authors, sources */

#listinginfo {
	float: left;
	padding-left: 2em;
	width: 20em;
}

.users-show .searchresults, .sources-show .searchresults {
	padding-top: 0.5em;
}

.sources-index li.searchresult h4 a {
	background-image: url(/images/star.png);
}

/* user profile page */

#mycontributions {
	clear: both;
	padding-top: 1em;
}

#mycontributions h4 {
	margin-bottom: 1em;
	color: #467792;
}

/* my suggestions page */

.suggestionslist ol li {
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #EAEAEA;
}
.suggestionslist ol li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;	
}

/* sign in page */

.clearance .headboxnotabs form, .sessions-new .headboxnotabs ul {
	float: left;
	margin-right: 6em;
}

.clearance .headboxnotabs ul {
	list-style: circle;
}

.clearance .headboxnotabs ul li {
	margin-bottom: 0.5em;
}

/* inline sign-in form  */
.headboxnotabs fieldset, ul#account-links {
  float: left;
  margin-right: 6em;
}
ul#account-links {
  list-style: circle;
}

/* footer */

#footer {
	float: left;
	width: 100%;	
	border-top: solid 1px #d6d6d6;
	background: #f7f7f7;   
	padding-top: 0.5em;
	padding-bottom: 1.5em;
}

#footer ul li {
	float: left;
	width: 9em;
	padding-right: 1em;
}

#footer ul li p {
	font-size: 0.65em;
}

a#cfghlogo {
	text-indent: -5000em;
	display: block;
	background: url(/images/cfgh_logo.png) top left no-repeat;
	width: 9.4em;
	height: 4.2em;
}

/* sticky footer code from http://www.cssstickyfooter.com/using-sticky-footer-code.html */

html, body, #container {height: 100%;}

body > #container {height: auto; min-height: 100%;}

#main {padding-bottom: 7em;}  /* must be same height as the footer (or more in this case to create some whitespace above the footer) */

#footer {position: relative;
	margin-top: -5em; /* negative value of footer height */
	height: 5em;
	clear:both;} 

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */