body {
  background: #FFE url("https://media.8kun.top/stylesheets/img/fade-yotsuba.png") repeat-x scroll 50% 0%;
  color: #800000;
  max-width: 98.6%;
}

.desktop-style div.boardlist:not(.bottom) {
    position: fixed;
    background: #F0E0D6
}

div.boardlist a {color: #800000;}

h1, header div.subtitle {font-weight: 400;}

header div.subtitle {color: #EF7676;}

header .subtitle p
{
  font-size:10pt;
  margin-top: 9px;
}

div.banner {
    background: #E04000;
    font-size: 11pt;
}

div.banner a {font-size: 9pt;};
div.banner a:hover {color: #E3BCBC !important;}

form table tr th {
    background: #EA8;
    padding: 2px 4px;
    border: 1px solid #EA8;
}

table tbody tr:nth-of-type(2n) {background-color: #F0E0D6;}

hr {
  border-style: inset;
  border-top: 1px inset #F0E0D6;
  border-bottom: 2px inset #EA8;
  border-color: #D9BFB7;
}

div.post.reply {
  background: #F0E0D6;
  border-color: #D9BFB7;
}

div.post.reply.highlighted {
  background: #f0c0b0;
}

/* catalog stuff */

#image_size {display: none !important;}

.theme-catalog div.grid-size-small img {
  max-height: 150px;
  max-width: 150px;
}

.theme-catalog div.thread {border-color: transparent;}
.theme-catalog div.thread:hover {border-color: transparent;}

.theme-catalog div.thread :not(img) a {color: #B92D2D; text-decoration: none;}

.theme-catalog div.thread small {display: none;}

.theme-catalog div.thread {font-size: 1em; background: none;}

.theme-catalog div.thread:hover {background: none;}

.theme-catalog div.thread img {
  border: none;
  box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

.theme-catalog div.thread img:hover {box-shadow: 0px 0px 7px #707070;}

#Grid {margin: 0 auto; max-width: 92%;}

.thread.grid-li.grid-size-small {max-height: 25em;}
.thread.grid-li.grid-size-small {max-width: 12em;}

.theme-catalog div.grid-size-small .intro span.subject {color: #800000;}

.theme-catalog div.thread .intro {margin: 0 0;}

.theme-catalog div.thread strong {font-size: 0.8em;}
.theme-catalog div.thread p.body-line.ltr strong {font-size: 1em;}

.theme-catalog div.thread p.body-line.ltr {margin: 0 0;}

.theme-catalog div.thread .replies {margin: 0 0; padding: none;}

.mix {
  padding-top: 1em;
  padding-bottom: 1.4em;
  padding-left: 0.4em;
  padding-right: 0.4em;
}

/* mobile */

@media (min-width: 320px) and (max-width: 389px) {
  .mix {
    padding-top: 0.7em;
    padding-bottom: 0.9em;
    padding-left: 11px;
    padding-right: 0;
    max-width: 145px;
  }
  #Grid {max-width: 99.9%;}
}
@media (min-width: 480px) and (max-width: 587px) {
  .mix {
    padding-top: 0.7em;
    padding-bottom: 0.9em;
    padding-left: 4px;
    padding-right: 0;
    max-width: 151px;
  }
  #Grid {max-width: 99.9%;}
}

a, a:visited {color: #00E;}

a:hover, .intro a.post_no:hover, .intro a.email:hover span.name, div.post.reply div.body a:hover, div.boardlist a:hover {
  color: #F00 !important;
}

div.banner a:hover {color: #E3BCBC !important;}

#thread-links > a, #update_thread, #link-quick-reply, .hide-thread-link, .show-post-table-options, #expand-all-images, #gallery-view {
  text-decoration: none;
}

.show-post-table-options {font-size: 9pt;}

span.heading {font-size: 10pt;}

.intro span.subject {color: #CC1105;}

.intro a.email span.name {color: #117743;}

.intro a.email {text-decoration: none;}

div.post.reply div.body a, .mentioned a {color: #000080;}

.intro a {text-decoration: none;}

.mentioned a {text-decoration: underline;}

#options_div, #alert_div {background-color: #F0E0D6;}

div.pages {
  margin: 0;
  padding: 3px 7px;
  background: #f0e0d6;
  border: 1px solid #d9bfb7;
  color: #B86;
}

/* Multifile and fileinfo crap */

.video-pop {display: none;}

div.post.reply .file {margin-right: -24px;}

.post.reply .video-pop {margin-right: 24px;}

div.post p.fileinfo {max-width: 81%;}

/* Older stuff */

form {margin-bottom:0em;}

div.post.reply div.body {margin-top: 0.5em;}

.desktop-style div.boardlist:not(.bottom) {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  border-bottom: 1px solid #D9BFB7;
}

div.post_modified div.content-status:first-child {margin-top: 0.6em;}

span.omitted {color:#707070;}
span.omitted a {text-decoration:none;}

span.toolong {color:#707070;}
span.toolong a {text-decoration: none;}

p.fileinfo :not(a) {font-size:8pt;}
p.fileinfo a {
  font-size:9pt !important;
  text-decoration: none;
}

.desktop-style div.boardlist:nth-child(1) {background: #F0E0D6;}

div.post p.fileinfo {word-wrap: break-word;}

div.ban h2 {background: #EA8;}

div.module, div.ban {
  background: #F0E0D6;
  border: 1px solid #D9BFB7;
}

div.ban a {color: #800;}

.file {max-width: 100%;}

/* Hide useless file information */
p.fileinfo :not(.unimportant){
display: inline;
}

p.fileinfo > a:not(.chx_RISLink)
{display: none;}

.intro a {display: inline !important;}

a.watchThread, a.showallThread {display: inline !important;}

p.fileinfo .unimportant a:link {display: inline;}

a.hide-image-link, p.fileinfo small {display: none !important;}

.faq-message.unimportant.hint {display: none;}

/* Hide posted edited message */
div.post_modified {display: none;}

/* Hide announcement */
.announcement {display:none;}

/* Hide useless menu items */
#filter-menu-hide.post-item, #filter-menu-add.post-submenu
{display: none !important;}

.hash_unix.hash_h {display: none !important;}
#grab {display: none;}

.nerve, .cancer, #nerv-center {display: none;}
