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

#main_image.fit-width {
    max-width: 100%;
}

#main_image.fit-both {
    max-height: 95vh;
    max-width: 100%;
}

div.zoom-container {
    overflow: scroll;
    max-height: 95vh;
    max-width: 100vw;
}
.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;
}

.bulk_selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
#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;}

.pools_next_img {
	display: block;
	font-size: 77%;
	text-align: right;
	float: right;
}

.pools_prev_img {
	display: block;
	font-size: 77%;
	text-align: left;
	float: left;
}

.thumb IMG {
	border-width: 2px !important;
}

.shm-thumb-has_child img {
	border-color: lime !important;
}

.shm-thumb-has_parent img {
	border-color: #cc0 !important;
}

.shm-thumb-has_child.shm-thumb-has_parent img {
	border-color: lime #cc0 #cc0 lime !important;
}

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


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                  things common to all pages                    *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

:root {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    --border-color: #35496E;
    --background-color: #243B5E;
    --background-color-alt: #2E497C;
    --background-image-color: #394256;
    --link-color: #DFD7C0;
    --text-color: #B0B0B0;

    color: var(--text-color);
}

HTML, BODY {
    margin: 0;
}
HTML {
    height: 100%;
}
BODY {
    min-height: 100%;
    background: var(--background-image-color) url(../../../themes/Mitty/bg.png);
    display: flex;
    flex-direction: column;
}

HEADER {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--border-color);
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px;
    background: var(--background-color);
    text-align: center;
}

HEADER > DIV {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.header-left {
    flex-shrink: 1;
    flex-direction: column;
    flex-wrap: nowrap;
}

.header-right {
    justify-content: flex-end;
}

HEADER H1 {
    text-align: left;
}

HEADER SMALL {
    width: 250px;
    margin-bottom: auto;
}

HEADER DIV SMALL SECTION {
    width: 100%;
}

HEADER NAV A {
    display: inline-block;
    margin: 0 0.5em;
}

HEADER H1 IMG {
    max-width: 100%;
    max-height: 200px;
}

H1 {
    font-size: 5rem;
    margin: 0;
    padding: 0;
}
H3 {
    text-align: center;
    margin: 0;
}
THEAD {
    font-weight: bold;
}
TD {
    vertical-align: top;
    text-align: center;
}
CODE {
    background: #DEDEDE;
    font-size: 0.8rem;
}

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

FOOTER {
    padding: 8px;
    font-size: 0.7rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
}

A         {color: var(--link-color); text-decoration: none; font-weight: bold;}
A:hover   {color: var(--link-color); text-decoration: underline;}
A:visited {color: var(--link-color); text-decoration: none}
A:active  {color: var(--link-color); text-decoration: underline;}

BLOCKQUOTE {
    border: 1px solid black;
    padding: 8px;
    background: #DDD;
}

UL {
    text-align: left;
}

SECTION>H3, SECTION>.blockbody, .comment, .setupblock {margin: 8px; padding: 8px; border: 1px solid var(--border-color);}
SECTION>.blockbody, .comment, .setupblock {background: var(--background-color);}
SECTION>H3 {background: var(--background-color-alt)}


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

MAIN {
    flex: 1; /* Grow to push the footer to the bottom of the page */
    display: flex;
    flex-direction: row;
    overflow-x: auto; /* Side scrolling for full-size images */
}

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

ASIDE {
    /*width: 250px;*/
    text-align: center;
    margin-left: 16px;
}
ASIDE > SECTION {
    width: 250px;
}

ASIDE .blockbody {
    font-size: 0.85rem;
    text-align: center;
}
ASIDE TABLE {
    width: 150px;
}
ASIDE TD {
    vertical-align: middle;
}
ASIDE INPUT {
    width: 100%;
    padding: 0;
}
ASIDE SELECT {
    width: 100%;
    padding: 0;
}

TABLE.tag_list {
    width: 100%;
    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 .blockbody {
    background: none;
    border: none;
    box-shadow: none;
}

.comment .info {
    padding: 0.5rem;
    background: var(--background-color-alt);
    border: 1px solid var(--border-color);
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                 the content part of each page                  *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

ARTICLE {
    flex: 1;
    margin-right: 16px;
    text-align: center;
}
ARTICLE TABLE {
    width: 90%;
    margin: auto;
}

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

/* Blocks jump above the title and links */
@media screen and (width <= 1116px) {
    HEADER {
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }
    HEADER H1 {
        text-align: center;
    }
    HEADER SMALL {
        flex-grow: 1
    }
    .header-right {
        flex: 1;
        flex-wrap: wrap;
    }
}

/* Sidebar jumps above content */
@media screen and (width <= 766px) { /*950?*/
    MAIN {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    ASIDE {
        display: flex;
        flex-direction: column;
        margin-left: unset;
    }
    ASIDE > SECTION {
        width: auto;
    }
    ARTICLE {
        margin: 0 16px;
    }
    #image-list .blockbody {
        margin: 0;
    }
    .shm-image-list {
        justify-content: center;
    }
}


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

#short-wiki-description > .blockbody {
    padding-bottom: 15px;
}
#short-wiki-description h2 {
    margin: 0 0 0.4em;
}

#pagelist {
    margin-top: 32px;
}

.thumb {
    text-align: center;
}
.thumb IMG {
    border: 1px solid var(--border-color);
    background: var(--background-color);
    padding: 8px;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                          COUNTERS                              *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.counter-img {
    image-rendering: pixelated !important;
    height: 32px !important;
    margin: 0px 1px !important;
}

/* Styling for the Terms of Service Modal */
#terms-modal {
    background-color: whitesmoke !important;
    display: flex;
    flex-direction: column;
    max-height: 50vh;
    overflow: hidden;
    padding: 1em;
}

/* Target the main text content span */
#terms-modal .bbcode {
    flex-grow: 1;
    overflow-y: auto;
    text-align: left;
    padding: 1em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 1em 0;
}

/* Target the form containing the button */
#terms-modal form {
    flex-shrink: 0;
    padding-top: 1em;
}

#terms-modal button.terms-modal-enter {
    width: 100%;
    padding: 0.75em;
    font-size: 1.2em;
    cursor: pointer;
}
/*# sourceMappingURL=Mitty.1755714378.8d536ed69834b486220e859ff7c3939b.css.map */