.ac_results{padding:0;border:1px solid black;background-color:white;overflow:hidden;z-index:99999}.ac_results ul{width:100%;list-style-position:outside;list-style:none;padding:0;margin:0}.ac_results li{margin:0;padding:2px 5px;cursor:default;display:block;font:menu;font-size:12px;line-height:16px;overflow:hidden}.ac_loading{background:white url("../../lib/indicator.gif") right center no-repeat}.ac_odd{background-color:#eee}.ac_over{background-color:#0a246a;color:white}

ARTICLE SELECT {width: 150px;}
INPUT, TEXTAREA {box-sizing: border-box;}
TD>INPUT[type="button"] {width: 100%;}
TD>INPUT[type="submit"] {width: 100%;}
TD>INPUT[type="text"] {width: 100%;}
TD>INPUT[type="password"] {width: 100%;}
TD>SELECT {width: 100%;}
TD>TEXTAREA {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%;}
TABLE.form TD + TH {padding-left: 8px;}

*[onclick],
H3[class~="shm-toggler"],
.sortable TH {
	cursor: pointer;
}
IMG {border: none;}
FORM {margin: 0px;}
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: auto;
	margin-top: 16px;
	border: 1px solid black;
	border-radius: 16px;
}
#installer A {
	text-decoration: none;
}
#installer A:hover {
	text-decoration: underline;
}
#installer H1, #installer H3 {
	background: #DDD;
	text-align: center;
	margin: 0px;
	padding: 2px;
}
#installer H1 {
	border-bottom: 1px solid black;
	border-radius: 16px 16px 0px 0px;
}
#installer H3 {
	border-bottom: 1px solid black;
	border-top: 1px solid black;
	margin-top: 32px;
}

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

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


.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: 0px;
	right: 0px;
	z-index: 1;
	box-shadow: 0px 0px 4px #000;
	border-radius: 4px;
}
.comment:hover .info {
	visibility: visible;
}

#comment-list-list .blockbody,
#comment-list-recent .blockbody,
#comment-list-image .blockbody,
#comment-list-user .blockbody {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0px;
	padding: 0px;
}

#downtime #message, #downtime #login {
	text-align: center;
}
#downtime H3 {
	margin-top: 32px;
}
#downtime #login_table {
	margin: auto;
}


TABLE#threadPosts {
	table-layout:fixed;
	word-wrap:break-word;
	text-align:left;
	width: 100%;
}
TH#threadHeadUser{
	width: 15%;
	overflow: hidden;
}
DIV#returnLink{
	float:left;
	font-size:150%;
}
TD.forumUser, TD.forumMessage{
	vertical-align:top !important; /*Someone, somewhere will hate me*/
	text-align:left !important; /*Someone, somewhere will hate me*/
}
DIV.postDate {
	float:left;
}
DIV.deleteLink , DIV.postNumber{
	float:right;
}
DIV.postMessage {
	text-align:left;
}
/* Gallery Moderators Extension Styles */

/* Admin badge on profile */
.admin-badge {
	background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
	color: white;
	padding: 8px 15px;
	border-radius: 5px;
	display: inline-block;
	margin: 5px 0;
	font-size: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	font-weight: bold;
}

/* Moderator badge on profile */
.moderator-badge {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 8px 15px;
	border-radius: 5px;
	display: inline-block;
	margin: 5px 0;
	font-size: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Inline badge in lists */
.moderator-badge-inline {
	color: #667eea;
	font-size: 16px;
}

/* Moderators list page */
.moderators-list {
	padding: 10px;
}

.moderator-list {
	list-style: none;
	padding: 0;
}

.moderator-item {
	padding: 10px;
	margin: 5px 0;
	background: #f5f5f5;
	border-left: 4px solid #667eea;
	border-radius: 3px;
}

.moderator-since {
	color: #666;
	font-size: 0.9em;
}

/* Management page */
.moderator-management h3 {
	margin-top: 20px;
	border-bottom: 2px solid #667eea;
	padding-bottom: 5px;
}

.moderator-management table {
	width: 100%;
	margin: 10px 0;
}

.moderator-management table th {
	background: #667eea;
	color: white;
	padding: 8px;
}

.moderator-management table td {
	padding: 8px;
}

.moderator-management .zebra tbody tr:nth-child(even) {
	background: #f5f5f5;
}

.btn-danger {
	background: #e74c3c;
	color: white;
	border: none;
	padding: 5px 15px;
	cursor: pointer;
	border-radius: 3px;
}

.btn-danger:hover {
	background: #c0392b;
}

.btn-primary {
	background: #667eea;
	color: white;
	border: none;
	padding: 5px 15px;
	cursor: pointer;
	border-radius: 3px;
}

.btn-primary:hover {
	background: #764ba2;
}

.moderator-management select {
	padding: 5px;
	margin-right: 10px;
}

.moderator-management input[type="text"] {
	padding: 5px;
	margin-right: 10px;
}


#image-list .blockbody {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0px;
	padding: 0px;
	text-align: justify;
}

.note {
	display: none;
	background-color: #fffdef; 
	border: #412a21 1px solid; 
	overflow: hidden; 
	position: absolute; 
	z-index: 0;

	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

.notep {
	display: none; 
	color: #412a21;
	background-color: #fffdef; 
	border: #412a21 1px solid; 
	font-size: 8pt; 
	margin-top: 0px; 
	padding: 2px;
	position: absolute;
	width: 175px;
} 

#noteform, #noteEditForm {
	display: none;
	position: absolute;
	width: 250px;
}

#noteform textarea, #noteEditForm textarea {
	width: 100%;
}

/* NSFW Blur Extension Styles */

/* Blur effect for NSFW thumbnails - applies only to the image */
.nsfw-blurred img {
	filter: blur(10px);
	-webkit-filter: blur(10px);
	transition: filter 0.3s ease;
}

/* Remove blur on hover if enabled - only affects the image */
.nsfw-blurred:hover img {
	filter: blur(0px);
	-webkit-filter: blur(0px);
}

/* NSFW Badge */
.nsfw-badge {
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: rgba(255, 0, 0, 0.85);
	color: white;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: bold;
	z-index: 10;
	pointer-events: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	font-family: Arial, sans-serif;
}

/* Ensure the thumbnail link has relative positioning for badge placement */
.nsfw-blurred {
	position: relative;
	display: inline-block;
}

/* Optional: Add a subtle overlay to indicate the image is blurred */
.nsfw-blurred::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.3s ease;
	border-radius: 12px;
}

.nsfw-blurred:hover::before {
	opacity: 0;
}

/* Ensure the image is positioned correctly */
.nsfw-blurred img {
	position: relative;
	z-index: 0;
}

.setupblocks {
	column-width: 400px;
	-moz-column-width: 400px;
	-webkit-column-width: 400px;
	max-width: 1200px;
	margin: auto;
}
.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: 0px;
	padding: 0px;
}

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

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Tagger - Advanced Tagging v2                                              *
 * Author: Artanis (Erik Youngren <artanis.00@gmail.com>)                    *
 * Do not remove this notice.                                                *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#tagger_parent {
	text-align:left;
	position:fixed;
	max-width:300px;

}
#tagger_parent * {
	background-color:#EEE;
}

#tagger_titlebar {
	background-color:#ddd;
	border:2px solid;
	cursor:move;
	font-weight:bold;
	-moz-border-radius:5px 5px 0 0;
	padding:.25em;
	text-align:center;
}

#tagger_toolbar, #tagger_body {
	padding:2px 2px 0 2px;
	border-style:solid;
	border-width: 0px 2px 0px 2px;	
}
#tagger_body {
	max-height:175px;
	overflow:auto;
	overflow-x:hidden;
	overflow-y:auto;
}

#tagger_statusbar {
	background-color:#ddd;
	border:2px solid;
	font-weight: bold;
	min-height:16px;
	-moz-border-radius:0 0 5px 5px;
	padding:.25em;
} #tagger_statusbar * { background-color:#ddd; }

#tagger_body div {
	padding-top:2px;
	margin-top:2px;
	border-top:1px solid;	
}

/* Tagger Styling
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#tagger_parent form {
	display:inline;
}
#tagger_parent input {
	width:auto;
}
#tagger_parent input[type=text] {
	background-color:white;
}

/* Custom Element Base Styles
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#tagger_parent list {
	display: block;
}
#tagger_parent tag {
	font-size:1.25em;	
	display:block;
}

#tagger_parent list[id=image] tag:before {
	content:url("../../ext/tagger/./images/active.png");
}

#tagger_parent list[id=search] tag:before {
	content:url("../../ext/tagger/./images/inactive.png");
}
/* Hovering */
#tagger_parent tag:hover {
	cursor:pointer;
	background-color:#ddd;
}

/*#tagger_parent list[id=image] tag:hover {
	background-color:#faa;
}

#tagger_parent list[id=search] tag:hover {
	background-color:#afa;
}*/

#tagger_parent list[id=image] tag:hover:before {
	content:url("../../ext/tagger/./images/rem-tag.png");
}

#tagger_parent list[id=search] tag:hover:before {
	content:url("../../ext/tagger/./images/add-tag.png");
}

.tweet,
.query {
	font: 120% Georgia, serif;
	color: #085258;
}

	.tweet_list {
		-webkit-border-radius: 0.5em;
		-moz-border-radius: 0.5em;
		border-radius: 0.5em;
		list-style: none;
		margin: 0;
		padding: 0;
		overflow-y: hidden;
		/*background-color: #8ADEE2;*/
	}
	
		.tweet_list .awesome,
		.tweet_list .epic {
			text-transform: uppercase;
		}
		
		.tweet_list li {
			overflow-y: auto;
			overflow-x: hidden;
			padding: 0.5em;
			list-style-type: none;
		}
		
			.tweet_list li a {
				color: #0C717A;
			}
		
		.tweet_list .tweet_even {
			/*background-color: #91E5E7;*/
		}
		
		.tweet_list .tweet_avatar {
			padding-right: .5em; float: left;
		}
		
			.tweet_list .tweet_avatar img {
				vertical-align: middle;
			}

/* 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%;
}

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

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


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                  things common to all pages                    *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

BODY {
	background: #EEE;
	font-family: sans-serif;
	font-size: 14px;
	margin: 0px;
}
H1 {
	background: #BBB;
	text-align: center;
	border: 1px solid #AAA;
}
H1 A {
	color: black;
}
H3 {
	text-align: center;
	margin: 0px;
}
SECTION>H3 {
	background: #CCC;
	border: 1px solid #BBB;
}
SECTION>.blockbody, .comment, .setupblock {
	background: #DDD;
	border: 1px solid #CCC;
}
SECTION>.blockbody, H1, SECTION>H3, FOOTER, .comment, .setupblock {
	margin: 8px;
	padding: 8px;
	border-radius: 12px; /* standard, webkit, opera */
	-moz-border-radius: 12px; /* mozilla haven't committed yet */
	box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* standard, opera */
	-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */
	-moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */
}
THEAD {
	font-weight: bold;
}
TD {
	vertical-align: top;
	text-align: center;
}

TABLE.zebra {border-spacing: 0px; border: 2px solid #CCC;}
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #CCC;}
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #CCC;}
TABLE.zebra TR TD {border-bottom: 1px solid #DDD;}
TABLE.zebra TR:nth-child(odd) {background: #EFEFEF;}
TABLE.zebra TR:nth-child(even) {background: #E0E0E0;}

FOOTER {
	clear: both;
	font-size: 0.7em;
	text-align: center;
	background: #BBB;
	border: 1px solid #AAA;
}

A {text-decoration: none;}
A:hover {text-decoration: underline;}

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;
	overflow: hidden;
}
NAV TABLE {
	width: 100%;
}
NAV INPUT {
	width: 100%;
	padding: 0px;
}
NAV SELECT {
	width: 100%;
	padding: 0px;
}

.more:after {
	content: " >>>";
}

.tag_count:before {
	content: "(";
}
.tag_count:after {
	content: ")";
}

#paginator .blockbody {
	background: none;
	border: none;
	box-shadow: none;
}

.pools_next_img {
    display: block;
    font-size: 77%;
    text-align: right;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                 the main part of each page                     *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

ARTICLE {
	margin-left: 226px;
	margin-right: 16px;
	margin-top: 16px;
	text-align: center;
	height: 1%;
}
ARTICLE TABLE {
	width: 90%;
	margin: auto;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                     specific page types                        *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#pagelist {
	margin-top: 32px;
}

.thumb {
	width: 226px;
	display: inline-block;
	zoom: 1; /* ie6 */
	*display: inline; /* ie6 */
	text-align: center;
	margin-bottom: 8px;
}
.thumb IMG {
	border: 1px solid #CCC;
	background: #DDD;
	padding: 8px;
	border-radius: 12px; /* standard, webkit, opera */
	-moz-border-radius: 12px; /* mozilla haven't committed yet */
	box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* standard, opera */
	-webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */
	-moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */
}
.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;
}
