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


.comment {
	text-align: left;
	position: relative;
	word-wrap: break-word;
}
.comment IMG {
	max-width: 100%;
}
.comment .info {
	visibility: hidden;
	text-align: center;
	padding: 8px;
	background: #DDD;
	border: 1px solid #CCC;
	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-list .blockbody,
#comment-list-recent .blockbody,
#comment-list-image .blockbody,
#comment-list-user .blockbody {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

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

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

table.image_info button[name="submit_action"] {
    width:49%;
}

#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; }


ul.tagit {
    margin:0;
}

.selected {
	outline: 3px solid blue;
}

.bulk_action {
	margin-top: 8pt;
}
.bulk_selector_controls table td {
	width: 33%;
}
table.log th {
	width: 200px;
}

table.cron_upload_info tr th  {
    font-weight: bold;
}
table.cron_upload_info tr th:nth-child(2)  {
    text-align: right;
}
table.cron_upload_info tr th:nth-child(3)  {
    text-align: right;
}

table.cron_upload_info tr td:nth-child(2)  {
    text-align: right;
}
table.cron_upload_info tr td:nth-child(3)  {
    text-align: right;
}

table.similar_posts img {
	max-height: 128pt;
	max-width: 128pt;

}

table.img-comp {
	width:auto;
}

.post-info {
	word-break: break-word;
	width:200px;
	vertical-align: top;
}

.post-info img {
	width:100px;
}

.greater {
	color:green;
}

.unique_tag, .unique_tag:hover, .unique_tag:visited {
	color:green;
}

.lesser {
	color:red;
}

.similarity {
	text-align: center;
}

.left-post-info {
	text-align: right;
}

* {box-sizing: border-box;}

.img-comp-container {
	position: relative;
}

.img-comp-img {
	position: absolute;
	width: auto;
	height: auto;
	overflow: hidden;

}

.img-comp-img div {
	display: block;
	vertical-align: middle;

	background-size: contain;
	background-color: black;
	background-repeat: no-repeat;
	background-position: center;

}

.img-comp-overlay {
	border-left:none;
	border-top:none;
	border-bottom:none;
	border-right: solid 1px black;

}


.img-comp-slider {
	position: absolute;
	z-index: 9;
	cursor: ew-resize;
	/*set the appearance of the slider:*/
	width: 40px;
	height: 40px;
	background-color: #2196F3;
	opacity: 0.7;
	border-radius: 50%;
}

img.similar_post {
	max-height: 100px;
	max-width: 100px;
}

div.other_similar_item img {
	margin:2px;
}

div.other_similar_item input[type='checkbox'] {
    position: absolute;
    left:0;
    top:0;
}


div.other_similar_item {
    float:left;
    position:relative;
}
tr.deduplicate_controls button,
div.other_similar_item button {
    font-size: 12pt;
    min-height: 24pt;
}

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

.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 */
}

label.radiorater {
    display: block;
    width:300px;
    height:48pt;
    float:left;
    font-size: 16pt;
    background-color:red;
    vertical-align: middle;
}
label.radiorater:has(input:checked) {
    background-color: green;
}
h3.scaleTitle {
    clear: both;
}

.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: left;
}
.wiki-footer {
	text-align: center;
}

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

BODY {
	background: #F0F7FF;
	font-family: sans-serif;
	font-size: 14px;
	margin: 0;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                            menu bar                            *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.menu {
	border-bottom: 1px solid #C3D2E0;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #E3EFFA;
}
a.tab, a.tab:visited {
	color:#000000;
	text-decoration:none;
}
a.tab:hover, a.tab:active, .tab-selected {
	color:#000000;
	background-color:#FFFFFE;
	text-decoration:none;
}
.tab, .tab-selected, .tframe, #tips {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #C8D1DB;
	cursor:default;
	margin-right:2px;
	padding:2px;
}
.tframe {
	margin:4px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3                        secondary bars                          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.sbar {
	border-bottom: 1px solid #C3D2E0;
	margin-top: 0;
	margin-bottom: 16px;
	padding: 4px;
	background: #CEDFF0;
	text-align: left;
}
.sfoot {
	border-top: 1px solid #C3D2E0;
	margin-top: 0;
	margin-bottom: 0;
	padding: 4px;
	background: #CEDFF0;
	text-align: right;
}
.navside {
	background:none repeat scroll 0 0 #CEDFF0;
	text-align:left;
	padding:4px;
	font-size:85%;
	border:1px solid #C3D2E0;
	margin-bottom:5px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
.lazy{
	background:none repeat scroll 0 0 #CEDFF0;
	padding:4px;
	border:1px solid #C3D2E0;
	margin:5px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
.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: black;
}
A, A:hover, A:active, A:visited {
	color: #2860AD;
}
H3 {
	text-align: center;
	margin: 0;
}
THEAD {
	font-weight: bold;
}
TD {
	vertical-align: top;
	text-align: left;
}
CODE {
	background: #DEDEDE;
	font-size: 0.8em;
}
#subtitle {
	width: 256px;
	font-size: 0.75em;
	margin: -16px auto auto;
	text-align: center;
	border: 1px solid black;
	border-top: none;
	background: #DDD;
}

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

INPUT, TEXTAREA, button {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #C8D1DB;
	cursor:default;
	margin-right:2px;
	padding:2px;
}

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

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

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

BLOCKQUOTE {
	border: 1px solid #C3D2E0;
	padding: 8px;
	background: #E3EFFA;
}

UL {
	text-align: left;
}

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

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

#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: both;
	padding: 4px;
	border-right: 1px solid #C3D2E0;
	border-left: 1px solid #C3D2E0;
}
.paginator A {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	color: #000;
	border:1px solid #C8D1DB;
	cursor:default;
	margin-right:2px;
	padding:2px;
}
.paginator A:hover {
	background-color:#FFFFFF;
	text-decoration:none;
}

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

ARTICLE {
	margin-left: 226px;
	margin-right: 16px;
	text-align: left;
	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: 90%;
}


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

#pagelist {
	margin-top: 32px;
}

/*.rr {text-align: left; background: #E3EFFA; margin: 8px;}
.rrtop     {background: url("../../../themes/lite/circle-tl.png") no-repeat top left;}
.rrtop div {background: url("../../../themes/lite/circle-tr.png") no-repeat top right;}
.rrbot     {background: url("../../../themes/lite/circle-bl.png") no-repeat bottom left;}
.rrbot div {background: url("../../../themes/lite/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: #C3D2E0; margin: 8px;}
.hrrtop     {background: url("../../../themes/lite/circle-tl.png") no-repeat top left;}
.hrrtop div {background: url("../../../themes/lite/circle-tr.png") no-repeat top right;}
.hrrbot     {background: url("../../../themes/lite/circle-bl.png") no-repeat bottom left;}
.hrrbot div {background: url("../../../themes/lite/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;
	width: 350px;
}
.setupblock TEXTAREA {
	width: 300px;
	font-size: 0.75em;
}

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

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

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

.tooltip{
   position:absolute;
   top:0;
   left:0;
   z-index:3;
   display:none;
}

