.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 TEXTAREA {
	width: 100%;
}
.comment_add INPUT {
	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 {
	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;
}

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

.bulk_selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
.audio_image {
	min-width: 300px;
	width: 65%;
}
/* Hide download button as we use our own */
audio::-internal-media-controls-download-button {
    display:none;
}
audio::-webkit-media-controls-enclosure {
    overflow:hidden;
}
audio::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}

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

.boned_color {
	color: red;
}
.boned_color:after {
	content: " 💀";
}

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

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

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

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

/* ----------------- */

/* CSS normalize     */

/* ----------------- */
html {
    line-height: 1.15; /* 1 */
    text-size-adjust: 100%; /* 2 */
    width: 100%;
}

body {
    margin: 0;
    width: 100%;
}

a {
    background-color: transparent;
}

img {
    border-style: none;
}


/* ----------------- */

/* Variables         */

/* ----------------- */
:root {
    /* Default color palette */
    --bg-body: #eee;
    --bg-heading: #7586D5;
    --bg-nav: #fffefb;
    --bg-interactive: #e0e6f7;
    --bg-confirm: #ac3d3d;
    --bg-cancel: #8a3c3c;
    --text-main: #111118;
    --text-heading: #EDEDF0;
    --text-body: #242C3D;
    --hl-1: #00DBED;
    --hl-2: #A872DF;
    --bg-confirm: #48f5c7;
    --bg-cancel: #8a3c3c;
    --hl-1: #7EC7EC;
    --hl-2: #D25041;
    --section-sep: #474747;

    /* Fonts */
    --base-font-size: 1rem;

    /* Layout / spacing */
    --header-height: calc(var(--base-font-size) * 2);
    --left-nav-width: clamp(250px, 20vw, 500px);
    --main-left-offset: calc(var(--left-nav-width));
}

@media (prefers-color-scheme: dark) {
    :root {
        /* TWI color palette  */
        --bg-body: #171C26;
        --bg-heading: #232B43;
        --bg-nav: #14181c;
        --bg-interactive: #2d3856;
        --bg-confirm: #ac3d3d;
        --bg-cancel: #8a3c3c;
        --text-main: #E96D77;
        --text-heading: #F7A71B;
        --text-body: #E6E9EF;
        --hl-1: #7EC7EC;
        --hl-2: #D25041;
        --section-sep: #d0d0d0;
    }

    a:link {
        color: var(--hl-1);
    }

    a:visited {
        color: var(--hl-2);
    }

    a:active {
        color: var(--text-main);
    }
}


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

body {
    background: var(--bg-body);
    color: var(--text-main);
    font-family: sans-serif;
    font-size: var(--base-font-size);
}

h1 {
    background: var(--bg-heading);
    text-align: center;
    margin: 0;
    font-size: calc(var(--base-font-size) * 2.2);
    color: var(--text-heading);
}

h2 {
    font-size: calc(var(--base-font-size) * 1.8);
}

h1 a {
    color: var(--hl-1);
}

h3 {
    font-size: calc(var(--base-font-size) * 1.4);
    text-align: center;
    margin: 0;
}


thead {
    font-weight: bold;
}

td {
    vertical-align: top;
    text-align: center;
}

table td {
    padding: 0.2rem;
    vertical-align: middle;
}

table.zebra {
    border-collapse: collapse;
}

table.zebra tr:nth-of-type(2n) {
    background: var(--bg-body);
    filter: brightness(0.9);

    @media (prefers-color-scheme: dark) {
        filter: brightness(1.4);
    }
}

footer {
    clear: both;
    text-align: center;
    color: var(--text-main);
    background: var(--bg-body);
    margin-left: var(--main-left-offset);
    font-size: calc(var(--base-font-size) * 0.8);
    padding-bottom: 1rem;
}

a {text-decoration: none;}
a:hover {text-decoration: underline;}

ul {
    text-align: left;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*             Interactive elements and forms                     *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
input,
select {
    color: var(--text-body);
    background: var(--bg-interactive);
    border: none;
}

input[type="text"],
input[type="number"],
input[type="search"]
{
    height: 1.75rem;
    padding-left: 0.25rem;
}

input[type="button"],
input[type="submit"] {
    color: var(--text-body);
    background: var(--bg-confirm);
    border-radius: 1.25rem;
    height: 2rem;
    margin: 0.25rem 0;
}

input[type="button"]:hover,
input[type="submit"]:hover {
    cursor: pointer;
    filter: brightness(1.15);
}


textarea {
    color: var(--text-body);
    background: var(--bg-body);
}

/* Override autcomplete theming */
.autocomplete_completions {
    border: 2px solid var(--hl-2);
    color: var(--text-body);
    background: var(--bg-body);
    padding: 5px;
    text-align: left;
    font-size: var(--base-font-size);
}

.autocomplete_completions li {
    padding: 0.4rem;
}

.autocomplete_completions .selected {
    background-color: var(--bg-confirm);
    color: var(--text-body);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid green;
  -webkit-text-fill-color: green;
  box-shadow: 0 0 0 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}


/* ----------------------- */

/* Related Tags formatting */

/* ----------------------- */
.tag_list {
    width: 100%;
    border-collapse: collapse;
}

.tag_list td, th {
    padding: 0.15rem 0.5rem;
}

.tag_list tr td:nth-of-type(2) {
    overflow-wrap: anywhere;
}

.tag_list tbody tr:nth-of-type(odd) {
    background: var(--bg-body);
    filter: brightness(0.95);

    @media (prefers-color-scheme: dark) {
        filter: brightness(1.2);
    }
}

.image_info th {
    color: #413b3b;
    color: var(--text-body);
}

.image_info tbody tr:last-of-type {
    padding: 0;
    border: none;
}

.image_info tbody tr:last-of-type input {
    margin-top: 10px;
}


/* ----------------------- */

/* Misc .blockbody styles  */

/* ----------------------- */
.blockbody {
    color: var(--text-body);
    padding: 0.5rem;
}

.blockbody table {
    background: var(--bg-body);
}

.blockbody table td,
.blockbody table tr,
.blockbody table th {
    border: 2px solid var(--bg-heading);
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*             The navigation bar, and all its blocks             *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
nav {
    background: var(--bg-nav);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--left-nav-width);
}

nav .blockbody {
    background: var(--bg-nav) !important;
}

nav section h3 {
    background: var(--bg-heading);
    color: var(--text-heading);
    margin: 0;
    padding: 0.5rem 0.25rem;
}

nav section h3:first-of-type {
    margin: 0;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}

nav section > .blockbody {
    text-align: center;
    margin: 0;
    border: none;
}

nav input {
    width: 100%;
}

nav select {
    width: 100%;
    padding: 0;
}


.more::after {
    content: " >>>";
}

.tag_count::before {
    content: "(";
}

.tag_count::after {
    content: ")";
}

#paginator .blockbody {
    background: none;
    border: none;
    box-shadow: none;
}


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

#short-wiki-description > .blockbody {
    padding-bottom: 15px;
}

#short-wiki-description h2 {
    margin: 0 0 0.4em;
}

#pagelist {
    margin-top: 32px;
}

#image-list .blockbody {
    margin: 0;
}

.shm-image-list {
    display: grid;

    /* flex-wrap: wrap; */

    /* justify-content: center; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.shm-image-list .thumb,
.thumb {
    zoom: 1; /* ie6 */
    display: inline; /* ie6 */
    text-align: center;
    margin: 1rem 0;
}

.thumb img {
    background: var(--bg-body);
    border-radius: 12px; /* standard, webkit, opera */
    border-radius: 12px; /* mozilla haven't committed yet */
    box-shadow: 2px 2px 6px rgb(0 0 0 / 60%); /* standard, opera */
    box-shadow: 2px 2px 6px rgb(0 0 0 / 60%); /* webkit haven't committed yet */
    box-shadow: 2px 2px 6px rgb(0 0 0 / 60%); /* mozilla haven't committed yet */
    max-width: 300px;
    width: auto;
    height: auto;
}

.thumb img[title ~= "meta:animated"] {
  border: blue;
  border-style: solid;
  border-width: 0.25em;
}

/* --------------- */

/* Tag edit cloud  */

/* --------------- */
#tageditcloud {
    line-height: 2.7rem;
}

#tageditcloud span.tag-category {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#tageditcloud span.tag-category > span {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: var(--text-heading);
    background: var(--bg-heading);
}

#tageditcloud span.tag-category span.tag-selected {
    background: black;
    color: var(--text-heading);
    border: none;
}

/* ----------------------- */

/* Article formatting      */

/* ----------------------- */
article {
    text-align: center;

    /* height: 1%; */
}

body > article {
    background: var(--bg-body);
    margin: 0;
    margin-left: var(--main-left-offset);
    height: fit-content;
    padding: 0 2rem;
    text-align: center;
}

article > section > h3 {
    background: var(--bg-body);

    /* color: var(--text-heading); */
    color: var(--text-body);
    box-shadow: none;
    padding: 0;
    font-size: 2.25rem;
}

article > section {
  margin-bottom: 1.5rem;
}

article .setupblock {
    background: var(--bg-body);
}

table.form.image_info {
  border-collapse: collapse;
  width: 80%;
  max-width: 1200px;
  margin: auto;
}

table.form.image_info td,th {
  border-collapse: collapse;
  border: 1px solid black;
  padding: 0.25rem;
}

table.form.image_info td:nth-of-type(2) {
  display: none;
}

table.form.image_info tr:last-of-type td {
  border: none;
}

/* ----------------------- */

/* Comment formatting      */

/* ----------------------- */
#comment-list-image {
  width: 80%;
  max-width: 1200px;
  margin: auto;
}

/* ----------------------- */

/* Link to Post formatting */

/* ----------------------- */
#Link_to_Postmain > .blockbody {
    padding: 0;
}

#Link_to_Postmain > .blockbody > table > tbody > tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#Link_to_Postmain tr,
#Link_to_Postmain td {
    border: none;
}

#Link_to_Postmain table {
    padding: 1rem;
    margin: 0;
    width: 100%;
}

/* ----------------------- */

/* Header formatting       */

/* ----------------------- */
header {
    color: var(--text-heading);
    background: var(--bg-heading);
    position: relative;
    margin-bottom: 1rem;
    margin-left: calc(var(--main-left-offset));
}

header > h1 {
    color: var(--text-heading);
    background: var(--bg-heading);
    box-shadow: none;
    overflow: hidden;
    border: none;
}

header > h1:hover {
    max-height: fit-content;
}


/* ----------------- */

/* Mobile styles     */

/* ----------------- */
@media only screen and (device-width <= 640px) {
    :root {
        --main-left-offset: 0;
        --base-font-size: 3rem;
        --navbar-height: calc(var(--base-font-size) * 2.5);
        --navbar-y-padding: 1rem;
        --navbar-height-with-pad: calc(var(--navbar-height) + 2 * var(--navbar-y-padding));
    }

    body {
        font-size: var(--base-font-size);
        width: 100%;
        overflow: auto;
    }

    nav {
        display: none;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 20;
        height: var(--navbar-height);
        padding: var(--navbar-y-padding) 1rem;
    }

    header > h1 {
        white-space: nowrap;
        height: 100%;
        vertical-align: middle;
        width: 100%;
        margin: 0;
    }

    /* Copy of above header css minus the pointer-events */
    .nav-button-overlay {
        background: var(--bg-heading);
        position: absolute;
        top: 0;
        right: 0;
        content: url(../../../themes/twi-booru-theme/static/svg/hamburger-menu-1.svg);
        width: var(--navbar-height-with-pad);
        height: var(--navbar-height-with-pad);
        padding: 0 0.5rem;
        color: red;
        vertical-align: middle;
        text-align: center;
    }

    nav {
        position: absolute;
        top: var(--navbar-height-with-pad);
        color: purple;
        width: 100%;
        padding: 0;
        max-height: calc(100vh - var(--navbar-height) - 2 * var(--navbar-y-padding));
        overflow: auto;
        scrollbar-width: none;
        display: flex;

        /* background: var(--bg-body); */
        gap: 1rem;
        z-index: 10;
        transform: translate(0, -100%);
    }

    nav > section {
        margin-top: 0.05rem;
        margin-bottom: 0.05rem;
    }

    .show-nav {
        animation: 0.4s ease-in-out slidein;
        animation-fill-mode: forwards;
    }

    .hide-nav {
        animation: 0.4s ease-in-out slideout;
        animation-fill-mode: forwards;
    }

    @keyframes slidein {
        from {
            transform: translate(0, -100%);
        }

        to {
            transform: translate(0, 0);
        }
    }

    @keyframes slideout {
        from {
            transform: translate(0, 0);
        }

        to {
            transform: translate(0, -100%);
        }
    }

    .nav-background-filter {
        filter: brightness(0.3);
    }

    .image_info {
        margin: 0;
        width: 100% !important;
    }

    .shm-image-list .thumb,
    .thumb {
        width: 100%;
    }

    .shm-image-list .thumb img {
        height: auto;
        width: 80%;
    }

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

    .thumb img {
        max-width: unset;
    }

    .thumb img:hover {
        transform: none !important;
    }

    input[type="text"],
    input[type="number"],
    input[type="search"],
    input[type="button"],
    input[type="submit"] {
        height: 6rem;
    }

    article > section {
        padding: 1rem 0;
    }

    footer {
        font-size: 1.75rem !important;
    }

    /* Temp style fix for home page */
    #front-page {
      width: 100%;
      position: absolute;
      font-size: 1rem;
      text-align: center;
    }

    #front-page input[name="search"] {
        width: 90%;
        height: 3rem;
        margin: 0.5rem 0;
    }

    #front-page input[type="submit"] {
        width: 90%;
        height: 3rem;
    }

    #front-page h1 {
        margin: 0 1rem;
    }

    .autocomplete_completions {
      font-size: 1rem;
    }

    #tageditcloud span.tag-category {
        gap: 1rem;
    }
}

/*# sourceMappingURL=twi-booru-theme.1751634341.915e2f58080b74a968ca2dfb24e9b55b.css.map */