html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0
}

article, aside, footer, header, nav, section {
  display: block
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

figcaption, figure, main {
  display: block
}

figure {
  margin: 1em 40px
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  text-decoration: none;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b, strong {
  font-weight: inherit;
  font-weight: bolder
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em
}

dfn {
  font-style: italic
}

mark {
  /* no idea what this is for */
  background-color: #cb4b16;
  color: #002b36
}

small {
  font-size: 80%
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

audio, video {
  display: inline-block
}

audio:not([controls]) {
  display: none;
  height: 0
}

img {
  border-style: none;
  box-shadow: -3px 3px 3px #00161C
}

svg:not(:root) {
  overflow: hidden
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button, input {
  overflow: visible
}

button, select {
  text-transform: none
}

button, html [type="button"],
/* 1 */
[type="reset"], [type="submit"] {
  -webkit-appearance: button
}

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0
}

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText
}

fieldset {
  padding: .35em .75em .625em
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal
}

progress {
  display: inline-block;
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  padding: 0
}

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details,
/* 1 */
menu {
  display: block
}

summary {
  display: list-item
}

canvas {
  display: inline-block
}

template {
  display: none
}

[hidden] {
  display: none
}

#mainpage {
  background: #002b36;
  background-blend-mode: multiply;
  padding: 0;
  height: 100%;
  margin: 0;
  color: #839496;
  font-family: submona
}

#mainpage ::-moz-selection {
  background: #002b36;
  color: #93a1a1;
}

#mainpage ::selection {
  background: #002b36;
  color: #93a1a1;
}

#mainpage a {
  color: #859900;
  cursor: pointer
}

#mainpage a:hover {
  text-decoration: underline;
}

hr {
  border: 1px solid #002b36
}

td {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#mainpage .flex-thread {
  padding-right: 300px;
  min-width: 500px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start
}

#mainpage .post, #mainpage .errormsg, #mainpage .infopost {
  max-width: 500px;
  min-width: 250px;
  margin: 14px 7px;
  background: #073642;
  padding: 5px 10px 5px 7px;
  text-align: left;
  position: relative;
  display: none;
  color: #93a1a1;
  border: 3px solid #002630;
}

#mainpage .posthead, #mainpage .errorhead, #mainpage .infohead {
  font-size: 12pt;
  background: #073642;
  padding-left: 4px
}

#mainpage .posthead {
  color: #31a1eb;
}

#infopagecontainer {
  font-size: 10pt;
  line-height: 16px;
  margin-left: -2px
}

#mainpage #infopagemenu {
  padding-left: 5px;
  background: #073642
}

#mainpage .postbody, #mainpage .errorbody, #mainpage .infobody, #mainpage #infopage {
  margin: 3px 0 4px 2px;
  font-size: 10pt;
  line-height: 16px;
}

#mainpage .infopagelink {
  color: #93a1a1;
  text-decoration: none
}

#mainpage .infopagelink.selected {
  color: #93a1a1;
  text-decoration: underline
}

#mainpage .post.selected {
  border: 3px solid #b58900;
  padding: -3px
}

#mainpage .post.mediaonly {
  min-width: 200px
}

#mainpage .post.withmedia {
  min-width: 350px
}

#mainpage .post.smalltext {
  max-width: 350px
}

#mainpage .post.largetext {
  max-width: 650px
}

#mainpage .infopost {
  max-width: 100%;
  min-width: 400px;
  margin-left: calc(50% - 300px);
  margin-right: calc(50% - 300px);
  display: none;
  flex: 0 1 100%
}

#mainpage .postnum {
  color: #cb4b16;
  text-decoration: none;
  outline: 0
}

#mainpage .postnum:hover {
  color: #cb4b16;
  text-decoration: underline;
}

#mainpage .viewthread {
  color: #93a1a1;
  text-decoration: none;
  outline: 0
}

#mainpage blockquote {
  border-left: 3px solid #2aa198;
  color: #2aa198;
  margin: 7px auto 7px 0;
  padding: 0 4px 0 8px;
  display: inline-block;
}

#mainpage .media {
  float: left;
  position: relative;
  display: inline-block;
  padding: 0 0 3px 3px;
}

#mainpage .media img {
  margin: 4px 8px 0 0;
  max-width: 200px;
  max-height: 200px;
  cursor: pointer
}

#mainpage .media a.videoicon {
  position: absolute;
  top: 6px;
  right: 10px;
  line-height: 10px;
  display: block;
  text-align: center;
  background: #073642;
  color: #93a1a1;
  text-decoration: none;
  outline: 0
}

#mainpage .media a.hidebtn {
  position: absolute;
  top: 6px;
  right: 10px;
  line-height: 10px;
  display: block;
  text-align: center;
  background: #073642;
  color: #93a1a1;
  text-decoration: none;
  outline: 0;
  display: none
}
#mainpage .media a.videoicon.hovered {
  right: 26px
}

#sidebar {
  float: right;
  width: 300px
}

#mainpage #sidebar_content {
  font-size: 12pt;
  box-shadow: -3px 0 0 #002630;
  border-left: 10px solid #073642;
  padding: 10px 0 10px 10px;
  width: 290px;
  height: 100%;
  top: 0;
  position: fixed;
  right: 0;
  background: #002b36;
  display: flex;
  flex-direction: column
}

#mainpage .media:hover .hidebtn {
  display: block
}


#mainpage .media:hover .videoicon_noscript {
  display: none
}


#mainpage #sidebar_content a {
  color: #839496;
  text-decoration: none;
  outline: 0;
}

#mainpage #sidebar_content a:hover {
  color: #93a1a1
}

#mainpage #sidebar_content a.scrollcontrols {
  color: #6c71c4;
  outline: 10px;
  display: none
}

#mainpage #sidebar_content li:hover {
  background: #073642;
}

#sidebar_content li {
  position: relative;
  min-width: 280px;
  margin-right: 10px
}

#mainpage #sidebar_content li.selected {
  background: #073642
}

#mainpage #sidebar_content li.selected a {
  color: #b58900
}

#mainpage #sidebar_content li.selected a:hover {
  text-decoration: underline;
}

#sidebar_content li a span {
  display: -moz-inline-block;
  display: inline-block;
  line-height: 18px;
  padding: 1px 0;
}

#mainpage #sidebar_content li a.selected {
  color: #b58900;
}

#mainpage #sidebar_content li .postcount.selected {
  font-weight: bold;
}

#mainpage #sidebar_content li.hidden:hover {
  color: #dc322f;
}

#mainpage #sidebar_content li.hidden:hover a {
  color: #dc322f;
}

#mainpage #sidebar_content li.hidden a {
  color: #586e75
}

#mainpage #sidebar_content a.hidden:hover {
  color: #839496
}

#mainpage #sidebar_content li a.hidden {
  text-decoration: none;
}

#mainpage #sidebar_content li .threadinfo {
  padding-right: 20px;
  padding-left: 1px
}

#mainpage #sidebar_content .threadhide {
  position: absolute;
  text-decoration: none;
  top: 0;
  right: 0;
  margin-right: 4px
}

#mainpage #sidebar_content .threadhide:hover {
  color: #dc322f
}

#mainpage #sidebar #title {
  color: #93a1a1;
  background: #073642;
  text-align: left;
  margin-bottom: 10px;
  padding: 5px 0 5px 5px;
  font-weight: 700
}

#sidebar hr {
  color: #93a1a1
}

#mainpage #sidebar_top {
  flex: none
}

#mainpage #threadlist {
  overflow: auto;
  margin-right: -100px;
  padding-right: 100px;
  min-height: 40px;
  flex: 1 1 40px
}

#mainpage #sidebar_bot {
  flex: none;
  font-size: 10pt;
  padding-bottom: 20px;
}

#mainpage #replyform {
  background-color: #073642;
  color: #93a1a1;
  margin-right: 10px;
}

#mainpage #replyform .label {
  background: #002b36;
  color: #657b83;
  padding: 1px
}

form {
  padding: 0 5px;
}

#logo {
  display: block;
  max-width: 280px
}

#altlogo {
  display: none
}

#sidebar ul {
  list-style-type: none;
  margin: 0;
  padding: 0 10px 0 0
}

#mainpage .lifetime {
  margin-right: 4px;
  float: right;
  color: #6c71c4
}

#mainpage .errorclose {
  color: #839496;
  text-decoration: none;
  outline: 0;
  margin-right: 4px;
  float: right
}

#mainpage .errorclose:hover {
  color: #93a1a1
}

textarea {
  box-sizing: border-box;
  width: 100%;
  height: 120px;
  resize: none
}

#mainpage .codeblock {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 7px;
  color: #d33682
}

#mainpage .options {
  margin-top: 4px;
  margin-right: 10px;
  background: #073642;
  max-width: 282px;
  font-size: 10pt;
  padding-left: 7px;
  padding-bottom: 10px;
  display: none;
}

#mainpage .options a {
  text-decoration: none;
  outline: 0;
  color: #657b83
}

#mainpage #options .selected {
  font-weight: bold;
}

#mainpage #options_noscript .selected {
  font-weight: bold;
}

#mainpage.strange #options_noscript .selected {
  font-weight: bold;
}

.options #helplink {
  float: right;
  margin-right: 5px
}

input {
  font-size: 9pt;
  box-sizing: border-box
}

table {
  width: 100%;
}

textarea {
  font-size: 9pt
}

input[type=file] {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

input[type=submit] {
  width: 90px;
  flex-shrink: 0;
  text-align: center
}

#input_subject {
  flex-basis: 75%;
  border: 1px solid #002b36
}

#mainpage #input_subject[readonly] {
  background: #002b36;
  color: #c79f00;
  border: 1px solid #003742;
}

#input_name {
  max-width: 100px;
  border: 1px solid #002b36
}

#fileinfo {
  padding-left: 7px;
  font-size: 10pt;
  display: none
}

#cover, #errorcover {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(#002b36, 0.06);
  z-index: 999;
  width: 100%;
  height: 100%;
  display: none
}

#fullscreen_media, #error {
  position: fixed;
  z-index: 1000;
  display: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

#fullscreen_media img {
  max-width: 80vw;
  max-height: 80vh
}

#fullscreen_media video {
  max-width: 80vw;
  max-height: 80vh;
  outline: 0;
  display: none
}

#fullscreen_media a {
  outline: 0
}

#mainpage .imageshow {
  display: none;
  float: left;
  color: #002b36;
  position: relative;
  text-align: center;
  margin: 4px 4px 0 0
}

#mainpage .imageshow p {
  font-size: 12pt;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  margin-left: -40px;
  margin-top: -40px
}

#mainpage .audioplayer {
  display: block;
  float: left
}

#mainpage .albumart {
  margin: 4px 8px 0 0;
  max-width: 200px;
  max-height: 200px;
  float: left
}

#mainpage .audioplayer .audioicon {
  font-size: 60pt;
  color: #839496;
  display: none;
  float: left;
  clear: both;
  margin: 4px 4px 0 0;
  width: 200px;
  max-height: 200px;
  text-align: center
}

#mainpage .audioplayer span {
  max-width: 200px;
  clear: both;
  float: left;
  font-size: 9pt;
  padding-bottom: 4px;
}

#mainpage .audioplayer audio {
  width: 200px;
  clear: both;
  float: left
}

#mainpage .noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

#autorefresh_btn_text {
  font-size: 12pt;
  line-height: 12px
}

#mainpage .infopage {
  display: none
}

#mainpage .spoiler {
  background-color: #002b36;
  color: #002b36;
  line-height: 14px;
  padding: 1px 0
}

#mainpage .spoiler:hover {
  color: #839496
}

#mainpage .smallerrormsg {
  /*no idea how to trigger error messages, please verify.*/
  font-size: 10pt;
  background-color: #073642;
  border: 1px solid #002b36;
  color: #93a1a1
}

#post_sign, #email, #captcha_id {
  position: absolute;
  left: 200%
}

.jsonly {
  display: none
}

#youtube_embed {
  width: 640px;
  height: 480px;
  display: none;
  background-color: #002b36
}

.click_overlay {
  height: 18px;
  width: calc(100% - 50px);
  left: 50px;
  top: 0;
  position: absolute;
  z-index: 1
}
