img.emoticon {
	vertical-align: bottom;
}

.spoiler {
	display: inline-block;
	background-color: #000000 !important;
	color: #ffffff !important;
	border: 1px solid #ffffff;
	border-radius: 2px;
	
}
.spoiler .spoilerInner {
	display: inline-block;
	visibility: hidden !important;
	padding: 0 2px;
}
.spoiler:hover .spoilerInner {
	visibility: visible !important;
}

.collapsed-wrapper {
	display: inline-block;
}
.collapsed-name {
	text-decoration: underline;
}
.collapsed-toggle:hover {
	cursor: pointer;
}
.collapsed-checkbox {
	display: none;
}
.collapsed-content {
	display: none;
	margin-left: 0.5em;
	padding-left: 0.5em;
	border-left: 2px solid white;
}
.collapsed-checkbox:checked + .collapsed-content {
	display: block;
}

tr.hide {
	display: none;
}

table.sortable-table th[role=columnheader]:not(.no-sort),
table.sortable-table td[role=columnheader]:not(.no-sort) {
	cursor: pointer;
}
table.sortable-table th[role=columnheader]:not(.no-sort):after,
table.sortable-table td[role=columnheader]:not(.no-sort):after {
	content: " " url("/images/up.gif");
	visibility: hidden;
}
table.sortable-table th[aria-sort=ascending]:not(.no-sort):after,
table.sortable-table td[aria-sort=ascending]:not(.no-sort):after {
	content: " " url("/images/down.gif");
}
table.sortable-table th[aria-sort]:not(.no-sort):after,
table.sortable-table td[aria-sort]:not(.no-sort):after,
table.sortable-table th[role=columnheader]:not(.no-sort):hover:after,
table.sortable-table td[role=columnheader]:not(.no-sort):hover:after {
	visibility: visible;
}

.userscore a {
	font-weight: bold;
	font-size: 10px;
}
.userscore-plus {
	color: #00ff00 !important;
}
.userscore-minus {
	color: #ff0000 !important;
}

#social h3, #affiliates h3 {
	font-size: 10pt;
	text-align: center;
	margin: 24px 0 8px 0;
}
#affiliates ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#affiliates li {
	text-align: center;
	margin-bottom: 8px;
}
#social ul {
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	display: table;
}
#social li {
	float: left;
	margin: 0 1px;
}

.rate, .rate_outline{
	width: 15px;
	height: 16px;
	margin: 0;
	padding: 0;
	float: left;
	cursor:pointer;
}

.rate, #rate_td:hover div{
	background-image: url("/images/star.png");
	background-repeat: no-repeat;
}

.rate_outline, #rate_td div:hover ~ div{
	background-image: url("/images/star_outline.png");
	background-repeat: no-repeat;
}

.hide {
	display: none;
}

.postsidebar > .un-outer {
	display: inline-block;
	max-width: 150px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: bottom;
}

#row-email {
	/* spambot trap */
	display: none;
}

div.avatar {
	max-width: 150px;
	max-height: 150px;
	overflow: hidden;
}

table.gallery .screenshot {
	max-width: 256px;
	max-height: 224px;
	margin: 0 auto;
	text-align: center;
}
table.gallery img {
	max-width: 100%;
}
table.gallery td {
	position: relative;
}
table.gallery input[type="checkbox"] {
	position: absolute;
	top: 0.25em;
	left: 0.25em;
	opacity: 0;
	filter: drop-shadow(1.5px 1.5px 2px rgba(0, 0, 0, 0.8));
	transition: opacity 220ms;
}
table.gallery td:hover input[type="checkbox"],
table.gallery input[type="checkbox"]:checked {
	opacity: 1;
}

table.poll .poll-options {
	width: 60%;
}
table.poll .poll-votes,
table.poll .poll-percentage {
	width: 7.5%;
}
table.poll .poll-graph {
	width: 25%;
}
table.poll .poll-bar {
	min-width: 2px;
	height: 1em;
	border: 1px solid #000;
	border-radius: 4px;
	background: #ccc;
}

tr.moved td {
	filter: brightness(0.85) grayscale(0.2);
}

svg.notification-icon {
	vertical-align: bottom;
}
svg.notification-icon path {
	fill: #fff;
}

input:not([type=checkbox]):not([type=radio]):disabled, textarea:disabled, select:disabled {
	cursor: not-allowed;
	filter: brightness(0.5) grayscale(0.2);
}

#bbcode-editor #recipient, #bbcode-editor #subject {
	width: 345px;
}

.namecolorpicker {
	display: inline-block;
	min-width: 150px;
	max-height: 200px;
	overflow-y: scroll;
	border: 1px solid #909090;
	list-style-type: none;
	padding: 0 0 1px 0;
	margin: 0;
	white-space: nowrap;
}
.namecolorpicker li {
	display: block;
	margin-bottom: -1px;
}
.namecolorpicker li.header {
	margin-top: 7px;
	border: 1px solid #405060;
	background-color: #121a22;
	border-radius: 3px;
	padding: 6px 6px 12px 6px;
	margin-bottom: -6px;
	font-weight: bold;
	color: #ffffff;
}
.namecolorpicker li:first-child {
	margin-top: 0;
}
.namecolorpicker li.item input {
	display: none;
}
.namecolorpicker li.item label {
	display: block;
	border: 1px solid #405060;
	background-color: #233241;
	border-radius: 3px;
	padding: 6px;
	color: #ffffff;
	position: relative;
}
.namecolorpicker li.item label:hover {
	background-color: #1c5167;
	border-color: #336980;
	z-index: 1;
}
.namecolorpicker li.item span {
	display: inline-block;
	height: 20px;
	width: 20px;
	border-radius: 3px;
	border: 1px solid #000000;
	vertical-align: -6px;
	margin-right: 6px;
}
.namecolorpicker li.item input:checked + label {
	background-color: #4f5b34;
	border-color: #66734d;
	z-index: 2;
}

ul.thread-tags {
	display: inline;
	padding: 0;
	list-style-type: none;
	vertical-align: middle;
}
ul.thread-tags li, span.thread-tag {
	display: inline-block;
	margin: 2px 0;
	padding: 0 6px;
	border: 1px solid #000;
	border-radius: 10px;
}
ul.thread-tags.compact li {
	font-size: 80%;
	padding: 0 4px;
}
ul.thread-tags li a {
	font-weight: normal;
}

body:not(.has-script) a.spc-preview {
	cursor: wait;
}

.icon {
	display: inline-block;
	width: 10px;
	height: 10px;
	background-image: url('/images/icons.png?v=2');
}
.icon-donor {
	background-position: -32px 0;
}
.icon-bot {
	background-position: -52px 0;
}
.icon-helper {
	background-position: -32px -10px;
}
.icon-staff {
	background-position: -32px -20px;
}
.icon-leader {
	background-position: -42px -10px;
}
.icon-admin {
	background-position: -42px 0;
}
.icon-birthday {
	background-position: -42px -20px;
}

/* never wrap in the middle of usernames */
.un-outer {
	white-space: nowrap;
}

.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
	z-index: 100;
}

.smwcTip {
	width: 16px;
	height: 16px;
	background: url("/assets/images/icons/tips.png");
	display: inline-block;
	margin-bottom: -3px;
}
.smwcTip-LunarMagic { background-position: 0 0; }
.smwcTip-Traditional { background-position: -16px 0; }
.smwcTip-Overworld { background-position: -32px 0; }
.smwcTip-Kaizo { background-position: -48px 0; }
.smwcTip-Music { background-position: -64px 0; }
.smwcTip-SMWCentral { background-position: -80px 0; }
.smwcTip-Pit { background-position: -96px 0; }
.smwcTip-Technical { background-position: -112px 0; }
