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


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

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


.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: 0px;
	padding: 0px;
}


.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;
	left: -195px;
	width: 180px;
	z-index: 1;
	box-shadow: 0px 0px 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: 0px;
	padding: 0px;
}


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

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


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

.mass-tagger-selected {
	border: 3px solid blue;
}
.note {
	display: block;

	background-color: #FFE;
	border: 1px dashed black;
	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%;
}

/*
 * imgAreaSelect default style
 */

.imgareaselect-border1 {
	background: url("../../ext/notes/border-v.gif") repeat-y left top;
}

.imgareaselect-border2 {
    background: url("../../ext/notes/border-h.gif") repeat-x left top;
}

.imgareaselect-border3 {
    background: url("../../ext/notes/border-v.gif") repeat-y right top;
}

.imgareaselect-border4 {
    background: url("../../ext/notes/border-h.gif") repeat-x left bottom;
}

.imgareaselect-border1, .imgareaselect-border2,
.imgareaselect-border3, .imgareaselect-border4 {
    filter: alpha(opacity=50);
	opacity: 0.5;
}

.imgareaselect-handle {
    background-color: #fff;
    border: solid 1px #000;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.imgareaselect-outer {
    /*background-color: #000;*/
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.imgareaselect-selection {  
}

/* Makes sure the note block is hidden */
section#note_system {
	height: 0;
}
section#note_system > .blockbody {
	padding: 0;
	border: 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;
}

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

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


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

BODY {
	background-color: black;
	font-family: sans-serif;
	font-size: 14px;
	margin: 0px;
}

#content{
	background-color: #EEE;
	background-image: url("../../themes/tentacle/corner.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-attachment: fixed;
	margin: 0px;
	padding: 1px 0px 8px 0px;
	box-shadow: inset 0px -3px 3px black;
}

#footer{
	background-image: url("../../themes/tentacle/tentaclerape_footer.png");
	background-position: left top;
	background-repeat: no-repeat;
	height: 115px;
	color: #666666;
	text-align: right;
}

#footer a{color: #ffffff;}

#bkn{margin-top: 15px; margin-right: 5px;}

#footer_buttons{margin-top: 15px;}

H1 {
	background: #BBB;
	text-align: center;
	border: 1px solid #AAA;
}
H1 A {
	color: black;
}
H3 {
	text-align: center;
	margin: 0px;
}
SECTION>H3 {
	background-color: #CCC;
	background-color: rgba(204, 204, 204, 0.8);
	border: 1px solid #BBB;
}
SECTION>.blockbody, .comment, .setupblock {
	background-color: #DDD;
	background-color: rgba(221, 221, 221, 0.8);
	border: 1px solid #CCC;
}
SECTION>.blockbody, H1, SECTION>H3, .comment, .setupblock {
	margin: 8px 4px;
	padding: 4px;
	border-radius: 5px; /* standard, webkit, opera */
	-moz-border-radius: 5px; /* mozilla haven't committed yet */
	box-shadow: 2px 2px 2px rgba(0,0,0,0.6); /* standard, opera */
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.6); /* webkit haven't committed yet */
	-moz-box-shadow: 2px 2px 2px 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 {
	font-size: 8px;
	padding-top: 10px;
	padding-right: 5px;
}

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: 0px;
}
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: 208px;
	margin-right: 0px;
	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-color: white;
	padding: 4px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.6); /* standard, opera */
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.6); /* webkit haven't committed yet */
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.6); /* mozilla haven't committed yet */
	vertical-align: middle;
}

#image-list div.blockbody{text-align: center;}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                         Customizations                         *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

a.custom-dbox-popup
{
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
	background-color: #128aed;
	color: white;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
	font-size: 16pt;
	font-weight: bolder;
}

a..custom-dbox-popup:hover
{
	text-decoration: none;
	box-shadow: none;
	background-color: #32aafd;
}

