.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%;
}


.bbcode {
	overflow-wrap: anywhere;
}
.bbcode BLOCKQUOTE {
	border: 1px solid black;
	padding: 8px;
	background: #DDD;
}
.bbcode .anchor A.alink {
	visibility: hidden;
}
.bbcode .anchor:hover A.alink {
	visibility: visible;
}

.comment {
	text-align: left;
	position: relative;
	overflow-wrap: anywhere;
}
.comment IMG {
	max-width: 100%;
}
.comment .info {
	visibility: hidden;
	text-align: center;
	padding: var(--block-padding);
	background: var(--block);
	border: 1px solid var(--block-border);
	position: absolute;
	top: 0;
	left: -195px;
	width: 180px;
	z-index: 1;
	box-shadow: 0 0 4px #000;
	border-radius: 4px;
}
.comment:hover .info {
	visibility: visible;
}

.comment_add INPUT:not([type="checkbox"]):not([type="radio"]),
.comment_add TEXTAREA,
.comment_add BUTTON,
.comment_add SELECT {
	width: 100%;
}

#comment-list-recent .more {
	display: block;
	padding-top: 8px;
}
.comment_big_list {
	display: flex;
	gap: 1em;
}
.comment_big_list .thumb {
	flex: 0;
}
.comment_big_list .comment_list {
	flex: 1;
	border-left: 1px solid var(--block-border);
}
.comment_big_list .comment {
	margin-left: 0;
}

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

.command_example code {
    padding:4pt;
    border: dashed 2px black;
    background: inherit;
}

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

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

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

SECTION#image-list {
	box-shadow: none;
}
SECTION#image-list .blockbody {
	background: none;
	border: none;
	padding: 0px;
	text-align: left;
}
.shm-image-list {
	display: grid;
	grid-template-columns: repeat( auto-fill, calc(var(--thumb-width) + 42px) );
	place-items: center;
}
.shm-image-list .thumb {
	margin-bottom: 8px;
}

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

.setupblock {
	break-inside: avoid;
	text-align: center;
}
.setupblock TEXTAREA {
	width: 100%;
	font-size: 0.75rem;
	resize: vertical;
}
.setupblock SELECT[multiple] {
	width: 100%;
}

.advanced_settings INPUT {
	width: 100%;
}

#Setupmain {
	box-shadow: none;
}
#Setupmain>.blockbody {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}
.setupblock .form {
	width: 100%;
}
.setupblock .form TH {
	font-weight: normal;
}
.setupblock .advanced {
    color: var(--danger-color);
    background: var(--danger-background);
}
.setupsubmit {
	margin-top: 1em;
	padding: 1em;
	width: 100%;
}

:root {
	--added-background: lightgreen;
	--removed-background: lightcoral;

	--flash-color: #882;
	--flash-border: #660;
	--blink-base-color: #FF70;
	--blink-blink-color: #FF7F;
}

@media (prefers-color-scheme: dark) {
	:root {
		--added-background: green;
		--removed-background: coral;
	}
}

INPUT, TEXTAREA, SELECT, BUTTON {
	box-sizing: border-box;
	font-size: 1em;
}

TABLE.form {width: 300px;}
TABLE.zebra {width: 100%;}

TABLE.form TD, TABLE.form TH {vertical-align: middle;}
TABLE.form TBODY TR TD {text-align: left;}
TABLE.form TBODY TR TH {text-align: right; padding-right: 4px; width: 1%; white-space: nowrap;}
TABLE.form TBODY TR.header TD,
TABLE.form TBODY TR.header TH {text-align: center; width: auto;}
TABLE.form TD + TH {padding-left: 8px;}
TABLE.form INPUT:not([type="checkbox"]):not([type="radio"]),
TABLE.form SELECT,
TABLE.form TEXTAREA,
TABLE.form BUTTON {width: 100%;}

H1, H2, H3 {
    overflow-wrap: anywhere;
}

*[onclick],
H3[class~="shm-toggler"] {
    cursor: pointer;
}

@keyframes blink {
    0% {background-color: var(--blink-base-color);}
    25% {background-color: var(--blink-blink-color);}
    50% {background-color: var(--blink-base-color);}
    75% {background-color: var(--blink-blink-color);}
    100% {background-color: var(--blink-base-color);}
}
.blink {
    animation: blink 2s linear 1;
}

#flash {
    color: #444;
    background-color: var(--flash-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--flash-border);
}
#flash B {
    display: block;
    padding: 8px;
    border-radius: var(--border-radius);
}

.tag {
    overflow-wrap: anywhere;
}

TABLE#large_upload_form.form {
	width: 100%;
}

.mini_upload INPUT:not([type="checkbox"]):not([type="radio"]),
.mini_upload TEXTAREA,
.mini_upload BUTTON,
.mini_upload SELECT {
	width: 100%;
}

TABLE.form.image_info {
    width: 550px;
    max-width: 100%;
}

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

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

.image_info TEXTAREA {
    min-width: 100%;
    min-height: 3rem;
}
.image_info .image-info-avatar-box {
    vertical-align: top;
}

.post_controls FORM {
    margin-bottom: 0.75em;
}
.post_controls FORM:last-child {
    margin-bottom: 0;
}

.autocomplete_completions {
    position: absolute;
    z-index: 1000;
    border: 1px solid #ccc;
    color: #000;
    background-color: #fff;
    padding: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}
.autocomplete_completions LI {
    padding: 0.15em;
}
.autocomplete_completions .selected {
    background-color: #ccc;
    outline: none;
}

#filter-list{padding:revert; text-align:left;}
.thumb.filtered.filtered-active{display:none;}
.filter-inactive,.filter-inactive:hover{text-decoration: line-through;}
div#front-page h1 {font-size: 4rem; 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 h1 A {text-decoration: none;}
div#front-page {text-align:center;}
div#front-page .space {margin-bottom: 1em;}
div#front-page div#links a {display: inline-block; margin: 0 0.5em;}
div#front-page li {list-style-type: none; margin: 0;}
@media (max-width: 800px) {
	div#front-page h1 {font-size: 3rem; margin-top: 0.5em; margin-bottom: 0.5em;}
}
div#front-page > #search > form {margin: 0 auto;}
div#front-page > #search > form > input[type=submit]{padding: 4px 6px;}
#counter {display: grid; justify-content: center; margin: auto; max-width: 66%;}
.counter-img {grid-row: 1; max-width: 100%; height: auto;}

.reverse_image_link {
  padding: 0 5px;
}

.notes-container {
	position: absolute;
	pointer-events: none;
}

.notes-container .note {
	display: flex;
	justify-content: center;
	align-items: center;	
	color: black;
	background-color: #FFE;
	border: 1px dashed black;
	overflow: hidden;
	position: absolute;
	opacity: 0.5;
	z-index: 1;
	pointer-events: auto;
}
.notes-container .note.editing {
	opacity: 1;
	border: 1px dashed red;
	z-index: 2;
}
.notes-container .note.editing.dragging {
	opacity: 0.5;
	z-index: 2;
}
.notes-container .note:hover {
	opacity: 1;
	z-index: 3;
}

.notes-container .editor {
	display: grid;
	color: black;
	background-color: #EFE;
	border: 1px dashed blue;
	position: absolute;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"text text"
		"save cancel"
		"delete delete";
	z-index: 4;
	pointer-events: auto;
}
.notes-container .editor TEXTAREA {
	grid-area: text;
	// resize: none;
}
.notes-container .editor BUTTON[value="Save"] {
	grid-area: save;
}
.notes-container .editor BUTTON[value="Cancel"] {
	grid-area: cancel;
}
.notes-container .editor BUTTON[value="Delete"] {
	grid-area: delete;
}

.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 {
	width:7ch;
	padding:0.24rem 0.7rem 0.5rem 0;
	display:inline-block;
}
.tagcategoryblock button {
	width:100%;
	margin-top:0.4rem;
	padding:0.2rem 0.6rem;
}

.tagcategoryblock input[type="color"] {
	height: 22px;
}

.tagcategoryblock .tc_colorswatch {
	display:inline-block;
	vertical-align:middle;
	height:1.25rem;
	width:1.25rem;
	border-radius:4px;
}

.tageditcloud span.tag-selected {
	background:#88EE88;
}

.tageditcloud {
	color: #0000FF;
}

.tageditcloud div#tagcloud_unset {
	color: #0000FF;
}

.tageditcloud div#tagcloud_set {
        color: #0000FF;
	font-style:italic;
}

.tageditcloud div#tagcloud_extra {  
        color: #0000FF;
}

.bulk_selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
#reportedimage .reason {
	max-width: 30em;
	overflow-wrap: anywhere;
}
#reportedimage .formstretch INPUT {
	width: 100%;
}

.added-tag{background:var(--added-background);}
.deleted-tag{background:var(--removed-background);text-decoration:line-through;}

/**
 * Some style elements borrowed from the QWebIRC project
 * http://qwebirc.org/
 */

html {
	color-scheme: dark;
}

:root {
	font-family: sans-serif;
	font-size: 14px;

	--danger-color: #e8e6e3;
	--danger-background: #660000;
}

BODY {
	background: #1c1f20;
	margin: 0;
}

BODY.layout-grid {
	display: grid;
	grid-template-columns: 210px auto;
	grid-gap: 0 16px;
}

BODY.layout-no-left NAV {
	display: none;
}

BODY.layout-no-left ARTICLE {
	margin-left: 1em;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                            menu bar                            *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.menu {
	border-bottom: 1px solid #2c4155;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #212425;
}

a.tab,
a.tab:visited {
	color: #e8e6e3;
	text-decoration: none;
}

a.tab:hover,
a.tab:active,
.tab-selected {
	color: #e8e6e3;
	background-color: #272700;
	text-decoration: none;
}

.bar .tab,
.bar .tab-selected {
	display: inline-block;
}

.tab,
.tab-selected,
.tframe,
#tips {
	border: 1px solid #3d4244;
	cursor: default;
	margin-right: 2px;
	padding: 2px;
	break-inside: avoid;
}

.tframe {
	margin: 4px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                        secondary bars                          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.sbar {
	border-bottom: 1px solid #2c4155;
	margin-top: 0;
	margin-bottom: 16px;
	padding: 4px;
	background: #2a2e2f;
	text-align: left;
}

.sfoot {
	border-top: 1px solid #2c4155;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #2a2e2f;
	text-align: center;
}

.navside,
#comment-list-recent .blockbody {
	background: none repeat scroll 0 0 #2a2e2f;
	padding: 4px;
	font-size: 85%;
	border: 1px solid #2c4155;
	margin-bottom: 5px;
}

.navside.navtop,
.shm-image-list,
#Statsmain {
	text-align: left;
}

.shm-image-list {
	margin-top: 10px;
}

.navtop,
.maintop {
	font-size: 110%;
	border-bottom: 0 none;
	margin: 0 0 2px 0;
	/* top right bottom left */
	padding: 2px 10px;
	position: relative;
	left: 0;
	width: 50%;
}

.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: whitesmoke;
}

A,
A:hover,
A:active,
A:visited {
	color: #6ea8dd;
}

H3 {
	text-align: center;
	margin: 0;
}

THEAD {
	font-weight: bold;
}

TD {
	vertical-align: top;
	text-align: left;
}

CODE {
	background: #2b2e30;
	font-size: 0.8rem;
}

TABLE.zebra {
	border-spacing: 0;
	border: 2px solid #2c4155;
}

TABLE.zebra TD,
TABLE.zebra TH {
	vertical-align: middle;
	padding: 4px;
}

TABLE.zebra THEAD TD,
TABLE.zebra THEAD TH {
	border-bottom: 2px solid #2c4155;
}

TABLE.zebra TFOOT TD,
TABLE.zebra TFOOT TH {
	border-top: 2px solid #2c4155;
}

TABLE.zebra TR TD {
	border-bottom: 1px solid #2c4155;
}

TABLE.zebra TR:nth-child(odd) {
	background: #2a2e2f;
}

TABLE.zebra TR:nth-child(even) {
	background: #1c1f20;
}

TABLE.image_info {
	margin: auto;
}

INPUT,
TEXTAREA,
button {
	border: 1px solid #3d4244;
	cursor: default;
	margin-right: 2px;
	padding: 2px;
}

INPUT:hover,
button:hover,
TEXTAREA:hover {
	background-color: #181a1b;
	text-decoration: none;
}

FOOTER {
	grid-column: 1 / 3;
	grid-row: 3;
	clear: both;
	padding: 8px;
	font-size: 0.7rem;
	text-align: center;
	border-top: 1px solid #2c4155;
	background: #212425;
}

HEADER {
	grid-column: 1 / 3;
	grid-row: 1;
}

A {
	text-decoration: none;
}

A:hover {
	text-decoration: underline;
}

BLOCKQUOTE {
	border: 1px solid #2c4155;
	padding: 8px;
	background: #212425;
}

UL {
	text-align: left;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*             the navigation bar, and all its blocks             *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

NAV {
	grid-column: 1;
	grid-row: 2;
	width: 200px;
	text-align: center;
	margin-left: 16px;
}

NAV .blockbody {
	font-size: 0.85rem;
	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;
}

#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 {
	padding: 4px;
	border-right: 1px solid #2c4155;
	border-left: 1px solid #2c4155;
}

.paginator A {
	color: #e8e6e3;
	border: 1px solid #3d4244;
	cursor: default;
	margin-right: 2px;
	padding: 2px;
}

.paginator A:hover {
	background-color: #181a1b;
	text-decoration: none;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                 the main part of each page                     *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

ARTICLE {
	grid-column: 2;
	grid-row: 2;
	margin-right: 16px;
	text-align: center;
	height: 1%;
}

BODY.layout-no-left ARTICLE {
	margin-left: 4px;
	margin-right: 16px;
	margin-bottom: 16px;
	padding-left: 4px;
	padding-right: 4px;
	text-align: left;
	height: 1%;
}

ARTICLE TABLE {
	width: 90%;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                       mobile screens                           *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (width <=800px) {
	BODY.layout-grid {
		grid-template-columns: auto;
	}

	HEADER {
		grid-column: 1;
		grid-row: 1;
	}

	ARTICLE {
		grid-column: 1;
		grid-row: 2;
		margin: 0 16px;
	}

	NAV {
		grid-column: 1;
		grid-row: 3;
		margin: auto;
		width: auto;
	}

	FOOTER {
		grid-column: 1;
		grid-row: 4;
	}

	.shm-image-list {
		justify-content: center;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                     specific page types                        *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#pagelist {
	margin-top: 32px;
}

/*.rr {text-align: left; background: #212425; margin: 8px;}
.rrtop     {background: url(../../../themes/dark/circle-tl.png) no-repeat top left;}
.rrtop div {background: url(../../../themes/dark/circle-tr.png) no-repeat top right;}
.rrbot     {background: url(../../../themes/dark/circle-bl.png) no-repeat bottom left;}
.rrbot div {background: url(../../../themes/dark/circle-br.png) no-repeat bottom right;}
.rrtop, .rrtop div, .rrbot, .rrbot div {height: 8px; width: 100%;}
.rrcontent {margin: 0px 8px; text-align: left;}

.hrr {text-align: left; background: #2c4155; margin: 8px;}
.hrrtop     {background: url(../../../themes/dark/circle-tl.png) no-repeat top left;}
.hrrtop div {background: url(../../../themes/dark/circle-tr.png) no-repeat top right;}
.hrrbot     {background: url(../../../themes/dark/circle-bl.png) no-repeat bottom left;}
.hrrbot div {background: url(../../../themes/dark/circle-br.png) no-repeat bottom right;}
.hrrtop, .hrrtop div, .hrrbot, .hrrbot div {height: 8px; width: 100%;}
.hrrcontent {margin: 0px 8px;}*/

.setupblock {
	text-align: center;
}

.setupblock TEXTAREA {
	font-size: 0.75rem;
}


NAV .thumbblock {
	float: none;
	height: auto;
}

NAV .thumb {
	margin-bottom: 0;
}

.shm-thumb {
	width: 200px;
	display: inline-block;
}

.thumb {
	display: inline-block;
	text-align: center;
	margin-bottom: 32px;
}

.tooltip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	display: none;
}
/*# sourceMappingURL=dark.1748741844.3159cbec08eebd957f979b7d3f1a7b65.css.map */