* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body {
	background-color: #EDDAD2;
	background-image: url('/static/gclogobg.png');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	color: #800;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 14px;
	margin: 8px;
}

img {
	vertical-align: middle;
}

table * {
	margin: 0px;
}

p.intro a.post_no:hover {
	font-weight: bold;
}
a.post_no {
	text-decoration: none;
	margin: 0;
	padding: 0;
}
p.intro a.post_no {
	color: inherit;
}
p.intro a.post_no, p.intro a.email {
	margin: 0;
}
p.intro a.email span.name {
	color: #34345C;
}
p.intro a.email:hover span.name {
	color: #F00;
}
p.intro label {
	display: inline;
}
p.intro time, p.intro a.ip-link, p.intro a.capcode {
	direction: ltr;
	unicode-bidi: embed;
}

h1 {
	margin: 0px;
}

h2 {
	color: #A00;
	font-size: 16px;
	margin: 0px;
	padding: 0px;
}

div.subtitle, h1 {
	clear: both;
	text-align: center;
	font-size: 2em;/*FIXME*/
	color: #A00;
	width: 100%;
}
div.subtitle {
	font-size: 130%;/*FIXME*/
	font-weight: bold;
	font-style: italic;
}


form#post table {
	margin: auto;
}
form#post table input {
	height: auto;
}
input, textarea {
	background-color: #E6CBC0;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
	color: #800;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 14px;
}
input[type="text"],
input[type="password"],
input[type="file"],
select, textarea {
	border-width: 1px;
	border-style: solid none none solid;
	border-color: #CA927B;
}
form#post input[type="text"],
form#post input[type="password"],
form#post input[type="file"],
form#post select,
form#post textarea {
	width: 100%;
	margin: 0;
}
form#post input[type="submit"] {
	float: right;
}
form#post textarea {
	min-height:100px;
	min-width: 300px;
}
form table tr td {
	text-align: left;
	margin: 0;
	padding: 0;
}
form table.mod tr td {
	padding: 2px;
}
form table tr th {
	text-align: right;
	vertical-align: top;
	padding: 4px;
}
form table tr td div {
	float: left;
	/*padding-left: 3px;*/
}
form table tr td div input {
	display: block;
	margin: 2px auto 0 auto;
}
form table tr td div label {
	font-size: 10px;
}


.unimportant, .unimportant * {
	font-size: 10px;
}

p.fileinfo {
	display: block;
	font-size: 12px;
	margin-left: 19px;
}

div.banner {
	background-color: #D30;
	font-size: 16px;
	font-weight: bold;
	margin: 12px 0px 0px 0px;
	padding: 4px;
	text-align: center;
}
div.banner, div.banner a {
	color: #FFF;
}
div.banner a:hover {
	text-decoration: none;
}

img.banner {
	display: block;
	border: 1px solid #a9a9a9;
	margin: 12px auto 0 auto;
}

/* TODO: kill this shit */
div.post img.icon {
	display: inline;
	margin: 0 5px;
	padding: 0;
}
div.post i.fa {
	margin: 0 4px;
	font-size: 16px;
}
div.post.op {
	margin-right: 20px;
}
p.intro {
	margin: 0.5em 0;
	padding: 1px;
	padding-bottom: 0.2em;
}
input.delete {
	float: left;
	margin: 1px 6px 0 0;
	position: relative;
	top: 2px;
}
span.name {
	color: #174;
	font-weight: bold;
}
span.capcode, a.capcode, a.nametag {
	color: #E00;
	margin-left: 0;
}

/*
 * Hide thread/ToC link
 */
a.htl {
	background-color: #F0E0D6;
	border-width: 1px;
	border-style: solid none none solid;
	border-color: #CA927B;
	float: left;
	font-size: 14px;
	font-weight: bold;
	margin-right: 6px;
	padding: 0px 3px 1px 3px;
	text-decoration: none;
}
a.htl:hover {
        background-color: #E6CBC0;
}

/*
 * Thread flag
 */
span.tflag {
	background-color: #F0E0D6;
	border-width: 1px;
	border-style: solid none none solid;
	border-color: #CA927B;
	font-size: 11px;
	font-weight: bold;
	margin-left: 6px;
	padding: 1px 2px 1px 3px;
}

/*
 * Back to top link
 */
a.btt {
	float: right;
	font-size: 11px;
	margin-left: 6px;
}

div.body {
	text-align: justify;
}
div.post div.body {
	word-wrap: break-word;
	white-space: pre-wrap;
}
div.post.reply {	
	width: 100%;
	background: #E6CBC0;
	margin-top: 8px;
	color: #800;
	padding: 0.2em 0.3em 0.5em 0.6em;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #D9AF9E;
	display: table;
}
span.trip {
	color:#228854;
}
span.quote {
	color: #707070;
	font-style: italic;
}
br.clear {
	clear: left;
	display: block;
}

/*
 * Moderator interface controls
 */
span.controls {
	float: right;
	margin-left: 6px;
	padding: 0px;
	font-size: 11px;
}

/*FIXME*/
div#wrap {
	width: 900px;
	margin:0 auto;
}
div.ban {
	margin: 30px auto;
}
div.ban p, div.ban h2 {
	padding: 3px 7px;
}
/* TODO: single style clause for all similar headers */
div.ban h2 {
	background: #D9AF9E;
	padding: 5px;
	color: black;
	font-size: 16px;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
}
div.ban h2 a{
	display:none;
}
div.ban p {
	font-size: 12px;
	margin-bottom: 12px;
}
div.ban p.reason {
	font-weight: bold;
}
span.heading {
	color: #AF0A0F;
	font-size: 11pt;
	font-weight: bold;
}
span.spoiler {
	background-color: #900;
	color: #900;
	padding: 0px 1px;
}
div.post.reply div.body span.spoiler a {
	color: #900;
}
span.spoiler:hover, div.post.reply div.body span.spoiler:hover a {
	color: #FFF;
}
div.styles {
	float: right;
	padding-bottom: 20px;
}
div.styles a {
	margin: 0 10px;
}
div.styles a.selected {
	text-decoration: none;
}
table.test {
	width: 100%;
}
table.test td, table.test th {
	text-align: left;
	padding: 5px;
}
table.test tr.h th {
	background: #98E;
}
table.test td img {
	margin: 0;
}
fieldset label {
	display: block;
}

div.pages {
	background: #D9AF9E;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
	color: #800;
	display: inline-block;
	margin-top: 30px;
	padding: 8px;
	float: right;
	font-size: 16px;
	font-weight: bold;
}
div.pages a.page {
	padding: 3px 8px 4px 8px;
}
div.pages a.page:hover {
	background-color: #E6CBC0;
}
div.pages span.page_current {
	background-color: #EDDAD2;
	border-width: 1px;
	border-color: #CA927B;
	border-style: solid none none solid;
	margin-left: 4px;
	margin-right: 4px;
	padding: 3px 10px 9px 10px;
}
div.pages span.page_current_b {
	background-color: #EDDAD2;
	border-width: 1px;
	border-color: #CA927B;
	border-style: none none none solid;
	margin-left: 4px;
	margin-right: 4px;
	padding: 8px 10px 4px;
}
div.pages a.selected {
	color: black;
}
div.pages a {
	text-decoration: none;
}

a.ip-link {
	color: #22A;
	font-size: 11px;
	font-weight: bold;
}

/*FIXME*/
hr {
	border: 0;
	height: 1px;
	color: #D9AF9E;
	background-color: #D9AF9E;
}

/* TODO: kill */
div.boardlist {
	color: #D9AF9E;
	font-size: 14px;
	margin-top: 3px;
}
div.boardlist.bottom {
	margin-top: 20px;
}
div.boardlist a {
	text-decoration: none;
}
div.report {
	color: #333;
}

td.minimal, th.minimal {
	width: 1%;
	white-space: nowrap;
}

span.toolong {
	display: block;
	border-top: 1px dotted #CA927B;
	margin-left: -8px;
	margin-right: -8px;
	margin-top: 14px;
	padding-top: 8px;
	text-align: center;
}
p.intro.thread-hidden {
	margin: 0.5em 0;
	padding: 0;
	padding-bottom: 0.2em;
}
form.ban-appeal {
	margin: 9px 20px;
}
form.ban-appeal textarea {
	display: block;
}
.theme-catalog div.thread img {
	float: none!important;
	margin: auto;
	margin-bottom: 12px;
	max-height: 150px;
	max-width: 200px;
	border-color: #D9AF9E;
	border-style: solid none none solid;
	border-width: 1px;
}
.theme-catalog div.threads {
	text-align: center;
}
.theme-catalog div.thread {
	display: inline-block;
	vertical-align: top;
	margin: 4px;
	text-align: center;
	width: 205px;
	overflow: hidden;
	position: relative;
	font-size: 12px;
	padding: 12px;
	max-height: 300px;
	background-color: #E6CBC0;
	border-color: #D9AF9E;
	border-style: none solid solid none;
	border-width: 1px;
}

fieldset {
	border: 0px;
	margin: 10px 0px;
	padding: 0px;
}
iframe {
	border: 0;
}
fieldset legend {
	margin: 0;
	font-weight: bold;
	padding: 0;
	color: black;
	background: #D9AF9E;
	font-size: 100%;
	padding: 1px 5px 1px 5px;
	width: 100%;
}
legend {
	margin-left: -15px;
	font-weight: bold;
	padding: 5px 5px;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
}
fieldset li {
	font-weight: 400;
	margin-left: -3px;
	width: 105%;
}
fieldset a {
	display: block;
	text-decoration: none;
	width: 100%;
}
fieldset a:hover {
	background-color: #E6CBC0;
}
#sitetitle {
	font-family:Verdana,Tahoma,sans-serif;
	font-size:130%;
	font-weight:700;
}
#topmenu li {
	display: block;
	float: left;
	position:relative;
	right:6px;
	border: 1px solid #888;
	border-bottom:0px;
	padding-top: 3px;
	padding-bottom: 2px;
	padding-left: 10px;
	padding-right: 10px;
	border-left: none;
	margin-top: -9px;
	background-color: #e7c2b3;
}
#topmenu li a {
	text-decoration:none;
}
#topmenu li.first {
	border-left: 1px solid #888;
}
#topmenu li.current {
	margin-top: -11px;
	padding-top: 5px;
	border-bottom: none;
	background-color: #D9AF9E;
}

/* TODO: this crap needs to go */
.deleted{
	width: 140px!important;
}

ul {
	margin: 0;
	padding: 0;
}
li {
	padding: 0 4px;
	margin: 0 4px;
}
li a.system {
	font-weight: bold;
}

div.rd {
	border-top: 1px dotted #D9AF9E;
	display: table;
	margin-top: 20px;
	padding-top: 8px;
	width: 100%;
}
div.rd div {
	display: table-cell;
}

a.omit {
	border: 1px dotted #CA927B;
	display: block;
	margin-top: 6px;
	padding: 8px;
	text-align: center;
	text-decoration: none;
}
a.omit:hover {
	background: #f0e0d6;
}

div.thread_headerw {
	border-width: 1px;
	border-style: none none solid none;
	border-color: #CA927B;
}
div.thread_header {
	background: #D9AF9E;
	padding: 8px;
	margin-top: 20px;
	border-width: 1px;
	border-style: none solid none none;
	border-color: #CA927B;
	display: inline-block;
}
a.thread_subject {
	color: #af0a0f;
	font-size: 16px;
	font-weight: bold;
}

td.post_header {
	padding: 4px 4px 8px 4px;
}
td.post_image {
	padding-right: 10px;
	text-align: left;
	vertical-align: top;
	width: 1px;
}
td.post_body {
	vertical-align: top;
}

table.post-t {
	background-color: #E6CBC0;
	border-color: #D9AF9E;
	border-style: none solid solid none;
	border-width: 1px;
	margin-top: 6px;
}
table.post-t td {
	padding: 8px;
}

img.post-image {
	background-color: #F0E0D6;
	border-color: #D9AF9E;
	border-style: solid none none solid;
	border-width: 1px;
}

/* TODO: eradicate violently */
div.footer {
	margin-top: 20px;
	text-align: center;
	border-top: 1px dotted #D9AF9E;
	font-size: 12px;
	padding: 8px;
}

a, a:visited {
	color: #af0a0f;
}
a:hover, p.intro a.post_no:hover {
	color: #d00;
}

li {
	list-style: none;
}

/***********************************************/
div.lss {
	color: #D9AF9E;
	font-size: 16px;
}
div.lss div.ls {
	border-color: #D9AF9E;
	border-style: solid none solid solid;/*FIXME*/
	border-width: 1px;
	display: inline-block;
	margin-right: 8px;
	margin-top: 2px;
	padding-bottom: 1px;
	padding-top: 1px;
}
div.lss div.ls.ls-last {
	margin-right: 0px;
}
div.lss div.ls a {
	border-color: #D9AF9E;
	border-style: solid;
	border-width: 1px;
	font-weight: bold;
	margin-left: -1px;
	padding: 1px 10px 1px 10px;
	text-decoration: none;
}
div.lss div.ls a:hover {
	background-color: #E6CBC0;
}
/***********************************************/
/***********************************************/
div.blist {
	color: #D9AF9E;
	font-size: 16px;
}
div.blist div.blist_cat {
	border-color: #D9AF9E;
	border-style: solid none solid solid;/*FIXME*/
	border-width: 1px;
	display: inline-block;
	margin-right: 8px;
	margin-top: 2px;
	padding-bottom: 1px;
	padding-top: 1px;
}
div.blist div.blist_cat a.blist_a {
	border-color: #D9AF9E;
	border-style: solid;
	border-width: 1px;
	font-weight: bold;
	margin-left: -1px !important;
	padding: 1px 10px 1px 10px;
	text-decoration: none;
}
div.blist div.blist_cat a.blist_a:hover {
	background-color: #E6CBC0;
}
/***********************************************/
/***********************************************/
div.banner div.blist {
	color: #FFF;
}
div.banner div.blist div.blist_cat {
	border-color: #FFF;
}
div.banner div.blist div.blist_cat a.blist_a {
	border-color: #FFF;
}
div.banner div.blist div.blist_cat a.blist_a:hover {
	background-color: #E87350;
}
/***********************************************/
/***********************************************/
div.blist_elem {
	color: #FFF;
	display: inline-block;
	margin-left: 0px;
	margin-right: 8px;
}
/***********************************************/
/***********************************************/
div.sb h2 {
	background: #D9AF9E;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
	color: black;
	font-size: 14px;
	margin-top: 10px;
	padding: 1px 3px 1px 3px;
}
div.sb a {
	display: block;
	text-decoration: none;
	width: 100%;
}
div.sb a:hover {
	background-color: #E6CBC0;
}
/***********************************************/

div.head {
	background-color: #D9AF9E;
	margin-top: 10px;
	margin-bottom: 30px;
	padding: 8px;
	border-width: 1px;
	border-style: none solid solid none;
	border-color: #CA927B;
}
div.tocbox {
	background-color: #F0E0D6;
	border-width: 1px;
	border-style: solid none none solid;
	border-color: #CA927B;
	margin-top: 8px;
	max-height: 300px;
	overflow: auto;
}
table.toc {
	border-spacing: 1px;
	font-size: 13px;
	width: 100%;
}
table.toc tr:hover {
	background-color: #E6CBC0;
}
table.toc th {
	background-color: #E6CBC0;
	text-align: left;
}
table.toc .toc-id {
	text-align: center;
	width: 50px;
}
table.toc .toc-by,
table.toc .toc-last {
	width: 1px;
	white-space: nowrap;
}
table.toc .toc-nposts {
	width: 50px;
}

/*
 * Post markup
 */
div.body h1 {
	color: #800;
	display: inline-block;
	font-size: 16px;
	margin: 4px auto;
}
div.body h2 {
	color: #800;
	display: inline-block;
	font-size: 14px;
	margin: 4px auto;
	text-align: center;
	width: 100%;
}
div.body pre {
	display: inline;
	font-family: Tahoma, Verdana, sans-serif;
}

hr.expand {
	display: none;
}

div#expand-all-images a {
	font-weight: bold;
}
