.admin {
	padding: 4px;
	border-radius: 4px;
	background: green;
	margin: 6px;
	width: 200px;
	display: inline-block;
}
.admin.protected {
	background: red;
}
.admin INPUT[type="submit"] {
	width: 100%;
}
.admin.protected INPUT[type="submit"] {
	width: 90%;
}



CODE {
	background: #DEDEDE;
	font-size: 0.8em;
}
BLOCKQUOTE {
	border: 1px solid black;
	padding: 8px;
	background: #DDD;
}
.anchor A.alink {
	visibility: hidden;
}
.anchor:hover A.alink {
	visibility: visible;
}

span.kolyma-spoiler{
	filter: blur(4px);
}
span.kolyma-spoiler:hover,
span.kolyma-spoiler:focus
{
	filter: blur(0px);
	transition: 0.5s;
}
.comment {
    text-align: left;
    position: relative;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box; 
    overflow-x: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important; 
    line-break: loose;
    contain: paint;
    max-height: 400px; 
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 3px;
    background: #2D3136;
    color: #E2E2E2;
    font-family: Roboto, Tahoma, sans-serif;
}

.comment_add .comment, 
.comment_add {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    contain: none !important;
}

.comment * {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: inherit !important; 
    box-sizing: border-box !important;
}

.comment .info {
    display: block; 
    font-size: 11px;
    color: #A0AAB4;
    border-bottom: 1px solid #3F444A;
    margin-bottom: 5px;
}

.comment .info IMG {
    float: left;
    width: 64px;
    height: 64px;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain;
    margin-right: 5px;
    background: #24292E;
    border: 1px solid #3F444A;
    padding: 2px;
}

.comment .info a:first-of-type {
    font-weight: bold;
    display: inline-block;
    margin-top: 2px;
    color: #79B8FF;
}

.comment IMG:not(.info IMG) {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.poster_ip {
    filter: blur(5px);
    display: inline-block;
}

.poster_ip:hover,
.poster_ip:active {
    filter: blur(0px);
}

.comment_add TEXTAREA, 
.comment_add INPUT {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #444C56;
    background: #1A1C1E;
    color: #FFFFFF;
    padding: 10px;
    font-size: 16px; 
    display: block;
}

.blockbody {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.command_example {
	margin: 12pt;
	padding-left: 16pt;
}

.command_example pre {
    padding:4pt;
    border: dashed 2px black;
}

.command_example p {
    padding-left: 16pt;
}

@media (min-width: 750px) {
    .command_example pre {
        display: table-cell;
        width: 256px;
    }

    .command_example p {
        display: table-cell;
    }
}

 /*noinspection CssRedundantUnit*/

#image-list .blockbody {

        background: none;

        border: none;

        box-shadow: none;

        margin: 0px;

        padding: 0px;

        text-align: justify;

} 

.setupblocks {
	column-width: 400px;
	-moz-column-width: 400px;
	-webkit-column-width: 400px;
	max-width: 1200px;
	margin: auto;
}
.setupblocks > .setupblock:first-of-type { margin-top: 0; }

.setupblock {
	break-inside: avoid;
	-moz-break-inside: avoid;
	-webkit-break-inside: avoid;
	column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	text-align: center;
	width: 90%;
}
.setupblock TEXTAREA {
	width: 100%;
	font-size: 0.75em;
	resize: vertical;
}

.helpable {
	border-bottom: 1px dashed gray;
}

.ok {
	background: #AFA;
}
.bad {
	background: #FAA;
}

#Setupmain .blockbody {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 0;
}


ARTICLE SELECT {width: 150px;}
INPUT, TEXTAREA {box-sizing: border-box;}
TD>INPUT[type="button"],
TD>INPUT[type="submit"],
TD>INPUT[type="text"],
TD>INPUT[type="password"],
TD>INPUT[type="email"],
TD>SELECT,
TD>TEXTAREA,
TD>BUTTON {width: 100%;}

TABLE.form {width: 300px;}
TABLE.form TD, TABLE.form TH {vertical-align: middle;}
TABLE.form TBODY TD {text-align: left;}
TABLE.form TBODY TH {text-align: right; padding-right: 4px; width: 1%; white-space: nowrap;}
TABLE.form TD + TH {padding-left: 8px;}

*[onclick],
H3[class~="shm-toggler"],
.sortable TH {
	cursor: pointer;
}
IMG {border: none;}
FORM {margin: 0;}
IMG.lazy {display: none;}

#flash {
	background: #FF7;
	display: block;
	padding: 8px;
	margin: 8px;
	border: 1px solid #882;
}

#installer {
	background: #EEE;
	font-family: "Arial", sans-serif;
	font-size: 14px;
	width: 512px;
	margin: 16px auto auto;
	border: 1px solid black;
	border-radius: 16px;
}
#installer P {
	padding: 5px;
}
#installer A {
	text-decoration: none;
}
#installer A:hover {
	text-decoration: underline;
}
#installer H1, #installer H3 {
	background: #DDD;
	text-align: center;
	margin: 0;
	padding: 2px;
}
#installer H1 {
	border-radius: 16px 16px 0 0;
}
#installer H3 {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}
#installer TH {
	text-align: right;
}
#installer INPUT,
#installer SELECT {
	width: 100%;
	box-sizing: border-box;
}

/* Only need to change the file/url inputs */
#large_upload_form INPUT.wid {
	width: 100%;
}
#radio_button {
	width: auto;
}
#wrapper {
    opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}

/* This is needed since the theme style.css forcibly sets vertical align to "top". */
TABLE.vert TD, TABLE.vert TH {vertical-align: middle;}
.mini_upload INPUT {
	width: 100%;
}
/* Image Preview Styling */
.upload-preview-thumb {
    display: none;
    max-width: 300px;
    max-height: 300px;
    margin: 10px auto;
    border: 1px solid #ccc;
    padding: 4px;
    background: #fff;
    display: block;
}

.setupblocks {
	column-width: 400px;
	-moz-column-width: 400px;
	-webkit-column-width: 400px;
	max-width: 1200px;
	margin: auto;
}
.setupblocks > .setupblock:first-of-type { margin-top: 0; }

.setupblock {
	break-inside: avoid;
	-moz-break-inside: avoid;
	-webkit-break-inside: avoid;
	column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	text-align: center;
	width: 90%;
}
.setupblock TEXTAREA {
	width: 100%;
	font-size: 0.75em;
	resize: vertical;
}

.helpable {
	border-bottom: 1px dashed gray;
}

.ok {
	background: #AFA;
}
.bad {
	background: #FAA;
}

#Setupmain .blockbody {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 0;
}


.js .image_info .edit {
	display: none;
}
.js .image_info .view {
	display: block;
}

.no-js .image_info .edit {
	display: block;
}
.no-js .image_info .view {
	display: none;
}


#Navigationleft .blockbody { overflow: visible; }

.tagit { background: white !important; border: 1px solid grey !important; cursor: text; }
.tagit-choice { cursor: initial; }
input[name=search] ~ input[type=submit] { display: inline-block !important; }

.tag-negative { background: #ff8080 !important; }
.tag-positive { background: #40bf40 !important; }
.tag-metatag   { background: #eaa338 !important; }

#blotter1 {font-size: 80%; position: relative;}
#blotter2 {font-size: 80%;}

.selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
table.log th {
	width: 200px;
}
#downtime #message, #downtime #login {
	text-align: center;
}
#downtime H3 {
	margin-top: 32px;
}
#downtime #login_table {
	margin: auto;
}


#comicMain {
    background: black;
    color: white;
    font-size: 3em;
}
#comicPageList {
    width: 90%;
}

#comicView {
    display: flex;
    flex-flow: row;
}
#comicView #comicPage {
    flex: 10 auto;
}
#comicView #comicPrev,
#comicView #comicNext {
    flex: 1 auto;
    padding-top: 45%;
}
#comicView .comicPager {
    position: absolute;
    top: 0;
    margin: auto;
}

div#front-page h1 {font-size: 4em; margin-top: 2em; margin-bottom: 0; text-align: center; border: none; background: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;}
div#front-page {text-align:center;}
.space {margin-bottom: 1em;}
div#front-page div#links a {margin: 0 0.5em;}
div#front-page li {list-style-type: none; margin: 0;}
@media (max-width: 800px) {
	div#front-page h1 {font-size: 3em; margin-top: 0.5em; margin-bottom: 0.5em;}
	#counter {display: none;}
}

div#front-page > #search > form { margin: 0 auto; }
div#front-page > #search > form > ul { width: 225px; vertical-align: middle; display: inline-block; }
div#front-page > #search > form > input[type=submit]{ padding: 4px 6px; }

.tagcategoryblock {
	margin:0.6rem 1rem 0.6rem 0;
	padding:0.5rem 0.6rem 0.7rem;
	width:18rem;
	border:1px solid #AAAAAA;
	border-radius:0.25rem;
	display:inline-block;
}
.tagcategoryblock table {
	width:100%;
	border-spacing:0;
}
.tagcategoryblock input, .tagcategoryblock span {
	width:100%;
	height:100%;
}
.tagcategoryblock td:first-child {
	padding:0.3rem 0.7rem 0.4rem 0;
	text-align:right;
	width:40%;
}
.tagcategoryblock td:last-child {
	width:60%;
}
.tagcategoryblock td:last-child span {
	padding:0.24rem 0.7rem 0.5rem 0;
	display:block;
}
.tagcategoryblock button {
	width:100%;
	margin-top:0.4rem;
	padding:0.2rem 0.6rem;
}

.wiki-page {
	text-align:center;
}
.wiki-footer {
	text-align: center;
}

/**
 * Dark Theme Variant - Neutral Greyscale (Underline & Color Fix)
 */
BODY {
    background: #121212;
    color: #e0e0e0;
    font-family: Roboto, Tahoma, sans-serif;
    font-size: 16px;
    margin: 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                            menu bar                            *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.menu {
	border-bottom: 1px solid #333;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #1a1a1a;
}
.navlinksmenu {
    display: flex;
    gap: 5px;
    flex-flow: row wrap;
}

@media screen and (max-width: 640px) {
    .navlinksmenu {
        justify-content: center;
    }
}

a.tab, a.tab:visited {
	color: #bbb;
	text-decoration: none;
}
a.tab:hover, a.tab:active, .tab-selected {
	color: #fff;
	background-color: #333;
	text-decoration: none;
}
.tab, .tab-selected, .tframe, #tips {
	border-bottom: 1px solid #ffffff1a;
	cursor: default;
	padding: 2px;
}
.tframe {
    border: 1px solid #333;
    margin: 4px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                        secondary bars                          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.sbar {
	display: flex;
	gap: 5px;
	border-bottom: 1px solid #333;
	margin-top: 0;
	margin-bottom: 16px;
	padding: 4px;
	background: #222;
	text-align: left;
}
.sfoot {
	border-top: 1px solid #333;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #222;
	text-align: right;
	display: flex;
	gap: 5px;
}
.navside {
	background: #222;
	text-align: center;
	padding: 4px;
	font-size: 85%;
	margin-bottom: 5px;
}
.lazy {
	background: #222;
	padding: 4px;
	border: 1px solid #333;
	margin: 5px;
}
.navtop, .maintop {
	border-bottom: 0 none;
	padding: 2px 10px;
	position: relative;
	left: 0;
	width: fit-content;
}
.navtop { top: 7px; }
.maintop {
	top: 0;
	margin-top: 5px;
	margin-bottom: 5px;
}
#tips, #blotter1, #blotter2 {
	margin-right: 16px;
	margin-left: 16px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                  things common to all pages                    *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
H1 A { color: #fff; }

[style*="color: #000"], 
[style*="color: #000000"], 
[style*="color: black"] { 
    color: #cccccc !important; 
}

A, A:visited, A:active { 
    color: #cccccc; 
    text-decoration: none; 
}

ARTICLE A:hover, .comment A:hover { 
    text-decoration: underline; 
    color: #ffffff;
}

.navside b, .navside strong, .maintop b {
    color: #eee;
}

H3 { text-align: center; margin: 0; }
THEAD { font-weight: bold; }
TD { vertical-align: top; text-align: center; }

CODE {
	background: #333;
	color: #eee;
	font-size: 0.8em;
}
#subtitle {
	width: 256px;
	font-size: 0.75em;
	margin: -16px auto auto;
	text-align: center;
	border: 1px solid #000;
	border-top: none;
	background: #1a1a1a;
}

TABLE.zebra { border-spacing: 0; border: 2px solid #333; }
TABLE.zebra TD, TABLE.zebra TH { vertical-align: middle; padding: 4px; }
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH { border-bottom: 2px solid #444; }
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH { border-top: 2px solid #444; }
TABLE.zebra TR TD { border-bottom: 1px solid #333; }
TABLE.zebra TR:nth-child(odd) { background: #1e1e1e; }
TABLE.zebra TR:nth-child(even) { background: #121212; }

INPUT, TEXTAREA, button {
	border: 1px solid #444;
	cursor: default;
	margin-right: 2px;
	padding: 2px;
	background: #1e1e1e;
	color: #fff;
}
INPUT:hover, button:hover, TEXTAREA:hover {
	background-color: #2a2a2a;
	text-decoration: none;
}

FOOTER {
	clear: both;
	padding: 8px;
	font-size: 0.7em;
	text-align: right;
	border-top: 1px solid #333;
	background: #1a1a1a;
}

BLOCKQUOTE {
	border: 1px solid #333;
	padding: 8px;
	background: #1e1e1e;
}
UL { text-align: left; }

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* navigation bar             *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
NAV {
	width: 200px;
	float: left;
	text-align: center;
	margin-left: 16px;
}
NAV .blockbody {
	font-size: 0.85em;
	text-align: center;
}
NAV TABLE { width: 190px; }
NAV TD { vertical-align: middle; }
NAV INPUT, nav button { width: 95%; padding: 0; }
NAV SELECT {
	width: 100%;
	padding: 0;
	background: #1e1e1e;
	color: #fff;
}

#comments P {
	text-align: left;
	width: 150px;
	max-width: 150px;
	overflow: hidden;
}
.comment { text-align: left; }

TABLE.tag_list { border-collapse: collapse; }
TABLE.tag_list>THEAD { display: none; }
TABLE.tag_list>TBODY>TR>TD {
	display: inline;
	padding: 0;
	line-height: 1em;
}
TABLE.tag_list>TBODY>TR>TD:after { content: " "; }
.more:after { content: " >>>"; }
.tag_count:before { content: "("; }
.tag_count:after { content: ")"; }

.paginator {
	clear: none;
	padding: 4px;
	border-right: 1px solid #333;
	border-left: 1px solid #333;
}
.paginator A {
	color: #ccc;
	border: 1px solid #444;
	cursor: default;
	margin-right: 2px;
	padding: 2px;
}
.paginator A:hover {
	background-color: #333;
	text-decoration: none;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* main part                     *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
ARTICLE {
	margin-left: 226px;
	margin-right: 16px;
	text-align: center;
	height: 1%;
}
ARTICLE.body_noleft {
	margin-left: 4px;
	margin-right: 16px;
	margin-bottom: 16px;
	padding-left: 4px;
	padding-right: 4px;
	text-align: left;
	height: 1%;
}
ARTICLE TABLE { width: 100% !important; }

#pagelist { margin-top: 32px; }

.setupblock {
	text-align: center;
	width: 350px;
}
.setupblock TEXTAREA {
	width: 300px;
	font-size: 0.75em;
}
.helpable { border-bottom: 1px dashed #666; }
.ok { background: #1b5e20; color: #fff; }
.bad { background: #b71c1c; color: #fff; }

NAV .thumbblock { float: none; height: auto; }
NAV .thumb { margin-bottom: 0; }
.thumbblock {
	width: 220px;
	height: 220px;
	display: inline-block;
	float: left;
}
.thumb {
	display: inline-block;
	text-align: center;
	margin-bottom: 32px;
	min-width: 50px !important;
}
.tooltip {
   position: absolute;
   top: 0;
   left: 0;
   z-index: 3;
   display: none;
   background: #1a1a1a;
   border: 1px solid #444;
}

/* TAG HISTORY */
.taghist-first, .taghist-first a { color: #777; }
.taghist-added, a.taghist-added { color: #81c784; }
.taghist-removed, a.taghist-removed { color: #e57373; }
.taghist-created, a.taghist-created { color: #64b5f6; }
.taghist-vandal { background-color: #3e2723; }

/* MISC */
#front-page > .litecustom-logo  { margin: 20px; }
a.tab[href='/popular_images']{ display: none; }
#Uploadleft { display: none; }
.menu-logo { display: flex; }
.menu-logo img { top: 3px; position: relative; }
.menu-logo b { margin-left: 5px; }

.menu-logo, .menu-logo:visited, .menu-logo:active, .menu-logo:hover {
    font-size: 25pt;
    align-items: center;
    color: #fff !important;
    text-decoration: none !important;
}

#Write_a_PMmain table.form { width: 100% !important; }
.sfoot span.tab { display: none; }

@media screen and (max-width: 640px) {
  #Featured_Postleft, #Uploadleft, #Popular_Tagsleft, #Tagsleft, 
  #Related_Tagsleft, #Link_to_Postmain, #Bulk_Actionsleft {
    display: none;
  }
  nav { float: none; margin: 0 10px 10px 10px; width: auto; }
  article { margin: 0px 10px; text-align: center; }
  .navtop, .maintop { width: auto; }
  .tab { margin: 0; margin-bottom: 10px; }
  .navside { text-align: center; }
  .sfoot, .sbar {
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }
  .thumb { width: 47%; }
  .thumb img, #main_image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .comment .info { top: 100%; left: 0; width: auto; }
  .menu-logo b { font-size: 18px; }
}

/* Wiki styles */
.wiki-page h1 { padding: 0.5rem 0 1rem; font-size: 2.4em; }
.wiki-page h2 { padding: 1rem 0 0.25rem; font-size: 2.0em; }
.wiki-page h3 { padding: 1rem 0 0.25rem; font-size: 1.6em; }
.wiki-page hr { margin-top: 20px; color: #333; background-color: #333; border: none; height: 1px; }
.wiki-page { line-height: 1.2; }
.wiki-page img { padding: 10px; border-radius: 6px; }
.wiki-page .float { border: 2px solid #333; border-radius: 6px; }
.wiki-page table tr:nth-child(odd) { background-color: #1e1e1e; }
pre { padding: 5px; background: #1e1e1e; border: 1px solid #333; font-family: monospace; }

#Setupmain .blockbody { background: none; border: none; box-shadow: none; margin: 0; padding: 0; }

/* * USER CLASSES & ROLE COLORS */
a.classadmin[href^="/user/custard"] { font-weight: bold; color: #fffd78 !important; }
a.classadmin[href^="/user/BBQ"] { font-weight: bold; color: #581C04 !important; }
a.classmoderator[href^="/user/Warrior-Z"] { font-weight: bold; color: black !important; }
a.classmoderator[href^="/user/Warrior-Z"]:after { font-weight: bold; color: red !important; content:' (KEEP TAKING LZZZ)'; }
a.classmoderator[href^="/user/Broot"] { font-weight: bold; color: #AD1C43 !important; }
a.classmoderator[href^="/user/jimbo"]:after { font-weight: bold; color: #10852f !important; content: ' (brraaap!)'; }
a.classtrusted[href^="/user/MoistPepper"]:after { font-weight: bold; color: #ffc0cb !important; content: '(♀)'; }
a.classblocked[href^="/user/zuptik"]:after { font-weight: bold; color: green !important; content: ' (CAPTURED!)'; }

.classadmin { font-weight: bold; color: red !important; }
.classblocked, .classghost { text-decoration: line-through; color: grey !important; }
.classblocked:after, .classghost:after { color: grey !important; content: ' (BANNED!)'; }
.classmoderator { font-weight: bold; color: purple !important; }
.classjanitor { font-weight: bold; color: #F1C40F !important; }
.classapprover { font-weight: bold; color: #E67E22 !important; }
.classtrusted { color: #1400ff !important; }
.classuser { color: ##00a5cf !important; }

