body {
  background: #FFFFFF;
   background:-moz-linear-gradient(top,#ffffff,#ffffff 180px); /* firefox prefers -webkit- in 46.0a2 */
   background:-webkit-gradient(linear,0 0,0 80,from(#ffffff),to(#ffffff));
   background: linear-gradient(to bottom,#FFFFFF,#FFFFFF 180px);
    background-attachment: local;
    height: 100%;
    color: #000000;
  font-family: arial,helvetica,sans-serif;
  font-size: 10pt;
  margin: 0 4px;
  padding-left: 4px;
  padding-right: 4px;
}

main,
aside,
section {
	display: block;
	margin: 0 auto;
	width: 100%;
}

main {
	max-width: 1110px;
}

/* Tables */
table {
	margin: auto;
}
table.board-list-table {
	width: 100%;
}
table tbody td {
	margin: 0;
	padding: 4px 15px 4px 4px;
	
	text-align: left;
}
table thead th {
	border: 1px solid #000000;
	padding: 4px 15px 5px 5px;
	
	background: #FFFFFF;
	color: #000000;
	text-align: left;
	white-space: nowrap;
}
table tbody tr:nth-of-type( even ) {
	background-color: #FFFFFF;
}

td.minimal,th.minimal {
  width: 1%;
  white-space: nowrap;
}

table.mod.config-editor {
  font-size: 9pt;
  width: 100%;
}

table.mod.config-editor td {
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #98e;
}

table.mod.config-editor input[type="text"] {
  width: 98%;
}

.longtable p {
	margin: 0;
}

/* Uncategorized */
#post-form-outer {
  text-align: center;
}

#post-form-inner {
  display: inline-block;
}

.post-table, .post-table-options, textarea {
  width: 100%;
}

#post-form-inner .post-table tr {
	background-color: transparent;
}

.post-table th, .post-table-options th {
  width: 85px;
  background-color: #000000;
  color: #FFFFFF;
}

.post-table-options {
  display: none;
}

.required-field-cell {
  vertical-align: top;
}

.show-options-cell {
  text-align: right;
}

.hidden {
  display:none;
}

a,a:visited {
  text-decoration: underline;
  color: #000000;
}

a:hover,.intro a.post_no:hover {
  color: #000000;
}

a.post_no {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.intro a.post_no {
  color: inherit;
}

.intro a.post_no,p.intro a.email,p.intro a.post_anchor {
  margin: 0;
}

.intro a.email span.name {
  color: #888888;
}

.intro a.email:hover span.name {
  color: #444444;
}

.intro label {
  display: inline;
}

.intro time,p.intro a.ip-link,p.intro a.capcode {
  direction: ltr;
  unicode-bidi: embed;
}

h2 {
  color: #FFFFFF;
  font-size: 11pt;
  margin: 0;
  padding: 0;
}

header {
  margin: 1em 0;
}

h1 {
  font-family: tahoma;
  letter-spacing: -2px;
  font-size: 20pt;
  margin: 0;
}

header div.subtitle,h1 {
  color: #000000;
  text-align: center;
}

header div.subtitle {
  font-size: 8pt;
}

form table {
  margin: auto;
}

form table input {
  height: auto;
}

input[type="text"],input[type="password"],textarea {
  border: 1px solid #a9a9a9;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  word-spacing: normal;
  font-size: inherit;
  font-family: sans-serif;
}

#quick-reply input[type="text"], input[type="password"], #quick-reply textarea {
  max-width: 100%;
}

#upload input[type="file"] {
  max-width: 230px;
}

form table tr td {
  text-align: left;
  margin: 0;
  padding: 0;
}

form table.mod tr td {
  padding: 2px;
}

form table tr th {
  text-align: left;
  padding: 4px;
}

form table tr th {
  background: #FFFFFF;
}

form table tr td div.center {
  text-align: center;
  float: left;
  padding: 3px;
  padding-top: 0px;
  border: 1px dashed black;
  margin: 2px
}

/*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;
}

.file {
  float: left;
  margin-right: 2px;
}

.file:not(.multifile) .post-image {
  float: left;
}

.file:not(.multifile) {
  float: none;
}

p.fileinfo {
  display: block;
  margin: 0 0 0 20px;
}

div.post p.fileinfo {
  padding-left: 5px;
}

div.banner {
  background-color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  margin: 0 0 1em;
}

div.banner,div.banner a {
  color: white;
}

div.banner a:hover {
  color: #000000;
  text-decoration: none;
}

img.banner,img.board_image {
  display: block;
  border: 1px solid #FFFFFF;
  margin: 12px auto 0 auto;
}

.post-image {
  display: block;
  float: left;
  margin: 5px 20px 10px 20px;
  border: none;
}

.full-image {
  float: left;
  padding: 5px;
  margin: 0 20px 0 0;
  max-width: 98%;
}

div.post .post-image {
  padding: 5px;
  margin: 0 20px 0 0;
}

div.post img.icon {
  display: inline;
  margin: 0 5px;
  padding: 0;
}

div.post i.fa, div.thread i.fa {
  margin: 0 4px;
  font-size: 16px;
}

div.post.op {
  margin-right: 20px;
  margin-bottom: 5px;
}

div.post.op hr {
  border-color: #FFFFFF;
}

.intro {
  margin: 0.5em 0;
  padding: 0;
  padding-bottom: 0.2em;
}

input.delete {
  float: left;
  margin: 1px 6px 0 0;
}

.intro span.subject {
  color: #000000;
  font-weight: bold;
}

.intro a.thread_subject_link {
    text-decoration: none;
}

.intro span.name {
  color: #000000;
  font-weight: bold;
}

.intro span.capcode,p.intro a.capcode,p.intro a.nametag {
  color: #000000;
  margin-left: 0;
}

.intro a {
  margin-left: 5px;
}

.sage {
  color: red;
  font-weight: bold;
}

.required-star {
  color: maroon;
}

div.post p {
	display: block;
	margin: 0;
	
	line-height: 1.16em;
	font-size: 13px;
	min-height: 1.16em;
}

div.post div.body {
  margin-top: 0.8em;
  padding-right: 3em;
  padding-bottom: 0.3em;
}

div.post.reply div.body {
  margin-left: 1.8em;
}

div.post.reply div.body a {
  color: #000000;
}

div.post.reply.highlighted {
  background-color: #000000;
  color: #FFFFFF;
}

div.post.reply.highlighted span.heading {
  color: #FFFFFF;
}

div.post.reply.highlighted div.body a {
  color: #FFFFFF;
}

div.post.reply.highlighted subject {
  color: #FFFFFF;
}

div.post.reply.highlighted capcode {
  color: #FFFFFF;
}

div.post.reply.highlighted span.name {
  color: #FFFFFF;
}

div.post.reply.highlighted span.trip {
  color: #FFFFFF;
}

div.post.reply.highlighted .quote {
  color: #FFFFFF;
}

div.post div.body {
  word-wrap: break-word;
  white-space: pre-wrap;
}

div.post.reply {
  background: #FFFFFF;
  margin: 0.2em 4px;
  padding: 0.5em 0.3em 0.5em 0.6em;
  border-width: 1px;
  border-style: none solid solid none;
  border-color: #000000;
  display: inline-block;
  max-width: 94%!important;
}

div.post.reply.has-file.body-not-empty {
  min-width: 33%;
}

div.post_modified {
  margin-left: 1.8em;
}
div.post_modified div.content-status {
  margin-top: 0.5em;
  padding-bottom: 0em;
  font-size: 72%;
}
div.post_modified div.content-status:first-child {
  margin-top: 1.3em;
}

div.post_modified div.content-status:first-child {
  margin-top: 1.3em;
}

a.dashed-underline {
  text-decoration: none;
  border-bottom: 1px dashed;
}

span.trip {
  color: #000000;
}

.quote {
  color: #000000;
}
.quote_checked{
 color: #000000;
}

.rquote {
  color: #000000;
}

.red-padding {
  padding-left:3px;
  padding-right:3px;
}


span.omitted {
  display: block;
  margin-top: 1em;
}

br.clear {
  clear: left;
  display: block;
}

span.controls {
  float: right;
  margin: 0;
  padding: 0;
  font-size: 80%;
}

span.controls.op {
  float: none;
  margin-left: 10px;
}

span.controls a {
  margin: 0;
}

div#wrap {
  width: 900px;
  margin: 0 auto;
}

div.module,
div.ban {
  background: white;
  border: 1px solid #FFFFFF;
  max-width: 700px;
  margin: 30px auto;
}

div.ban p,
div.ban h2 {
  padding: 3px 7px;
}

div.ban h2 {
  background: #FFFFFF;
  color: black;
  font-size: 12pt;
}

div.ban p {
  font-size: 12px;
  margin-bottom: 12px;
}

div.ban p.reason {
  font-weight: bold;
}

span.heading {
  color: #000000;
  font-size: 11pt;
  font-weight: bold;
}

span.detected {
  background: #FFFFFF;
  color: #000000;
  padding: 0 1px;
}

span.small {
  color: #000000;
  font-size: 9pt;
  font-weight:bold;
}

span.spoiler {
  background: black;
  color: black;
  padding: 0 1px;
}

div.post.reply div.body span.spoiler a {
  color: black;
}

span.spoiler:hover,div.post.reply div.body span.spoiler:hover a {
  color: white;
}

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: #FFFFFF;
}

table.test td img {
  margin: 0;
}

fieldset label {
  display: block;
}

div.pages {
	color: #000000;
	background: #FFFFFF;
	display: inline-block;
	padding: 8px;
	margin: 8px 0 4px 0;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

div.pages.top {
  display: block;
  padding: 5px 8px;
  margin-bottom: 5px;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0.9;
}

@media screen and (max-width: 800px) {
  div.pages.top {
    display: none!important;
  }
}

div.pages a.selected {
  color: black;
  font-weight: bolder;
}

div.pages a {
  text-decoration: none;
}

div.pages form {
  margin: 0;
  padding: 0;
  display: inline;
}

div.pages form input {
  margin: 0 5px;
  display: inline;
}

hr {
  border: none;
  border-top: 1px solid #000000;
  height: 0;
  clear: left;
}

div.report {
  color: #000000;
}

div.top_notice {
  text-align: center;
  margin: 5px auto;
}

span.public_ban {
  display: block;
  color: red;
  font-weight: bold;
  margin-top: 15px;
}

span.toolong {
  display: block;
  margin-top: 15px;
}

div.blotter {
  color: red;
  font-weight: bold;
  text-align: center;
}

.desktop-style div.boardlist:not(.bottom) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  z-index: 30;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  border-bottom: 1px solid;
  background-color: #FFFFFF;
}

.desktop-style body {
  padding-top: 20px;
}

.desktop-style .sub {
  background: inherit;
}

.desktop-style .sub .sub {
  display: inline-block;
  text-indent: -9000px;
  width: 7px;
  background: url('img/arrow.png') right center no-repeat;
}

.desktop-style .sub .sub:hover,.desktop-style .sub .sub.hover {
  display: inline;
  text-indent: 0;
  background: inherit;
}

#attention_bar {
  height: 1.5em;
  max-height: 1.5em;
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
}

#attention_bar_form {
  display: none;
  padding: 0;
  margin: 0;
}

#attention_bar_input {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
}

#attention_bar:hover {
  background-color: rgba(100%,100%,100%,0.2);
}

.intro.thread-hidden {
  margin: 0;
  padding: 0;
}

form.ban-appeal {
  margin: 9px 20px;
}

form.ban-appeal textarea {
  display: block;
}

.MathJax_Display {
  display:inline!important;
}
pre {
  margin:0
  display: inline!important;
}

.theme-catalog div.thread img {
  float: none!important;
  margin: auto;
  max-height: 150px;
  max-width: 200px;
  box-shadow: 0 0 4px rgba(0,0,0,1);
  border: 1px solid rgba(0,0,0,0);
}

.theme-catalog div.thread {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  font-weight: normal;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 2px;
  height: 300px;
  width: 205px;
  overflow: hidden;
  position: relative;
  font-size: 11px;
  max-height: 300px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 1);
  max-height:300px;
}

.theme-catalog div.thread strong {
  display: block;
}

.theme-catalog div.threads {
  text-align: center;
  margin-left: -20px;
}

.theme-catalog div.thread:hover {
  background: #000000;
  border-color: #000000;
  /* border-style: dashed; */
  color: #FFFFFF;
}

.theme-catalog div.thread:hover .quote {
  color: #FFFFFF;
}

.theme-catalog div.thread:hover span.subject {
  color: #FFFFFF;
}

.theme-catalog div.thread:hover a {
  color: #FFFFFF;
}

.theme-catalog div.grid-size-vsmall img {
  max-height: 33%;
  max-width: 95%
}

.theme-catalog div.grid-size-vsmall {
  min-width:90px; max-width: 90px;
  max-height: 148px;
}

.theme-catalog div.grid-size-small img {
  max-height: 33%;
  max-width: 95%
}

.theme-catalog div.grid-size-small {
  min-width:140px; max-width: 140px;
  max-height: 192px;
}

.theme-catalog div.grid-size-medium img {
  max-height: 33%;
  max-width: 95%
}

.theme-catalog div.grid-size-medium {
  min-width:200px; max-width: 200px;
  max-height: 274px;
}

.theme-catalog div.grid-size-large img {
  max-height: 40%;
  max-width: 95%
}

.theme-catalog div.grid-size-large {
  min-width: 256px; max-width: 256px;
  max-height: 384px;
}

.theme-catalog img.thread-image {
  height: auto;
  max-width: 100%;
}

@media (max-width: 420px) {
  .theme-catalog ul#Grid {
    padding-left: 18px;
  }

  .theme-catalog div.thread {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .theme-catalog div.threads {
    overflow: hidden;
  }
  div.post .body {
    clear: both;
  }
}

.compact-boardlist {
  padding: 3px;
  padding-bottom: 0;
}

.compact-boardlist .cb-item {
  display: inline-block;
  vertical-align: middle;
}

.compact-boardlist .cb-icon {
  padding-bottom: 1px;
}

.compact-boardlist .cb-fa {
  font-size: 21px;
  padding: 2px;
  padding-top: 0;
}

.compact-boardlist .cb-cat {
  padding: 5px 6px 8px 6px;
}

.cb-menuitem {
  display: table-row;
}

.cb-menuitem span {
  padding: 5px;
  display: table-cell;
  text-align: left;
  border-top: 1px solid rgba(0,0,0,0.5);
}

.cb-menuitem span.cb-uri {
  text-align: right;
}

.boardlist:not(.compact-boardlist) #watch-pinned::before {
  content: " [ ";
}

.boardlist:not(.compact-boardlist) #watch-pinned::after {
  content: " ] ";
}

.boardlist:not(.compact-boardlist) #watch-pinned {
  display: inline;
}

.boardlist:not(.compact-boardlist) #watch-pinned a {
  margin-left: 3pt;
}

.boardlist:not(.compact-boardlist) #watch-pinned a:first-child {
  margin-left: 0pt;
}

.compact-boardlist #watch-pinned {
  display: inline-block;
  vertical-align: middle;
}

.new-posts {
  opacity: 0.6;
  margin-top: 1em;
}

.new-threads, .board-settings {
  text-align: center;
}

#options_handler, #alert_handler {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9900;
}

#options_background, #alert_background {
  background: black;
  opacity: 0.5;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#options_div, #alert_div {
  background-color: #d6daf0;
  border: 1px solid black;
  display: inline-block;
  position: relative;
  margin-top: 20px;
}

#options_div {
  width: 600px;
  height: 360px;
}

#alert_div {
  width: 500px;
}

#alert_message {
  text-align: center;
  margin: 13px;
  font-size: 110%;
  padding-top: 10px;
}

.alert_button {
  margin-bottom: 13px;
}

#options_div textarea {
  max-width: 100%;
}

#options_close, #alert_close {
  top: 0px;
  right: 0px;
  position: absolute;
  margin-right: 3px;
  font-size: 20px;
  z-index: 100;
}

#options_tablist {
  padding: 0px 5px;
  left: 0px;
  width: 70px;
  top: 0px;
  bottom: 0px;
  height: 100%;
  border-right: 1px solid black;
}

.options_tab_icon {
  padding: 5px;
  color: black;
  cursor: pointer;
}

.options_tab_icon.active {
  color: red;
}

.options_tab_icon i {
  font-size: 20px;
}

.options_tab_icon div {
  font-size: 11px;
}

.options_tab {
  padding: 10px;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 81px;
  right: 0px;
  text-align: left;
  font-size: 12px;
  overflow-y: auto;
}

.options_tab h2 {
  text-align: center;
  margin-bottom: 5px;
}

.mobile-style #options_div, .mobile-style #alert_div {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 0px;
}

.mentioned {
  word-wrap: break-word;
}

.poster_id {
  cursor: pointer;
  white-space:nowrap;
}

.poster_id::before {
  content: " ID: ";
}

pre {
/* Better code tags */
  max-width:inherit;
  word-wrap:normal;
  overflow:auto;
  display: block!important;
  font-size:9pt;
  font-family:monospace;
}

span.pln {
  color:grey;
}

@media screen and (min-width: 768px) {
  .intro {
    clear: none;
  }

  div.post div.body {
    clear: none;
  }
}