/* Button Styles
---------------------------------------- */

.button {
	cursor: pointer;
	display: inline-block;
	height: 18px;
	font-size: 1.2em;
	white-space: nowrap;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent none 0 0 repeat-x;
	padding: 2px 8px;
	font-family: "Open Sans", "Droid Sans", Verdana, Arial, Helvetica;
	position: relative;
	text-decoration: none !important;
	outline-style: none !important;
	vertical-align: bottom;
}

.button.left-button {
	border-radius: 4px 0 0 4px;
}

.button.center-button {
	border-radius: 0;
	border-width: 1px 0;
}

.button.right-button {
	border-radius: 0 4px 4px 0;
}

.dropdown-select {
	padding-right: 24px;
}

.icon-button:before {
	background: transparent 0 0 no-repeat;
	content: '';
	display: inline-block;
	float: right;
	height: 12px;
	margin: 3px 0 0 2px;
	width: 12px;
}

.dropdown-select.icon-button:before {
	margin-right: 4px;
}

.dropdown-select:after {
	background-position: -103px 10px;
	border-left: 1px solid;
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 22px;
	width: 16px;
}

.dropdown-visible .dropdown-select:after, .nojs .dropdown-container:hover .dropdown-select:after {
	background-position: -103px -10px;
}

.buttons, .buttons .button {
	float: left;
}

.buttons .button, .dropdown-select {
	margin-right: 5px;
}

#jumpbox .dropdown-select {
	margin: 0;
}

/* Big button images */
.reply-icon:before, .pmreply-icon:before					{ background-position: -20px 0; }
.reply-icon:hover:before, .pmreply-icon:hover:before		{ background-position: -20px -20px; }

.post-icon:before, .newpm-icon:before, .reply-all:before	{ background-position: 0 0; }
.post-icon:hover:before,
.newpm-icon:hover:before,
.reply-all:hover:before										{ background-position: 0 -20px; }

.locked-icon:before											{ background-position: -60px 0; }
.locked-icon:hover:before									{ background-position: -60px -20px; }

.forwardpm-icon:before										{ background-position: -40px 0; }
.forwardpm-icon:hover:before								{ background-position: -40px -20px; }

.modtools-icon {
	font-size: 0;
}

.tools-icon:before, .modtools-icon:before, .search-icon:before, .search-adv-icon:before {
	background-position: -80px 0;
	height: 16px;
	margin-top: 2px;
	width: 16px;
}

.dropdown-visible .tools-icon:before,
.nojs .dropdown-container:hover .tools-icon:before			{ background-position: -80px -20px; }

.search-icon:before											{ background-position: -245px 0; }
.search-icon:hover:before									{ background-position: -245px -20px; }

.search-adv-icon:before										{ background-position: -265px 0; }
.search-adv-icon:hover:before								{ background-position: -265px -20px; }

.modtools-icon:before										{ background-position: -225px 0; }
.dropdown-visible .modtools-icon:before,
.nojs .dropdown-container:hover .modtools-icon:before		{ background-position: -225px -20px; }

/* Icon images
---------------------------------------- */
.small-icon {
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: none;
}

.small-icon > a {
	display: inline-block;
	padding: 0 0 0 18px;
}

ul.linklist.bulletin > li.small-icon:before {
	display: none;
}

.dropdown .small-icon > a {
	display: block;
}

/* Poster contact icons
----------------------------------------*/
.contact-button {
	width: 16px;
	height: 16px;
	margin: 5px 2px 0 0;
	padding: 3px;
}

.hastouch .contact-button {
	margin-right: 5px;
	padding: 4px;
}

.contact-icon {
	background-repeat: no-repeat;
	display: block;
	overflow: hidden;
	width: 0;
	height: 0;
	padding: 16px 0 0 16px;
}

/* Profile icons */
.pm-icon		{ background-position: 0 0; }
.email-icon		{ background-position: -20px 0; }
.jabber-icon	{ background-position: -80px 0; }
.phpbb_icq-icon	{ background-position: -61px 0 ; }
.phpbb_wlm-icon	{ background-position: -182px 0; }
.phpbb_aol-icon	{ background-position: -244px 0; }
.phpbb_website-icon		{ background-position: -40px 0; }
.phpbb_youtube-icon		{ background-position: -98px 0; }
.phpbb_facebook-icon	{ background-position: -119px 0; }
.phpbb_googleplus-icon	{ background-position: -140px 0; }
.phpbb_skype-icon		{ background-position: -161px 0; }
.phpbb_twitter-icon		{ background-position: -203px 0; }
.phpbb_yahoo-icon		{ background-position: -224px 0; }
.phpbb_vk-icon			{ background-position: -264px 0; }

/* Post control buttons
--------------------------------------------- */
.post-buttons {
	float: right;
	list-style: none;
}

h3 + .post-buttons {
	margin-top: 2px;
}

.post-buttons > li {
	float: left;
	margin-right: 3px;
}

.post-buttons .icon-button {
	padding: 0 5px;
}

.hastouch .post-buttons .icon-button {
	padding: 2px 8px;
}

.post-buttons .icon-button > span {
	display: block;
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.post-buttons .icon-button:before {
	margin-left: 0;
}

.quote-icon:before				{ background-position: -122px 0; }
.quote-icon:hover:before		{ background-position: -122px -21px; }
.edit-icon:before				{ background-position: -137px 0; }
.edit-icon:hover:before			{ background-position: -137px -21px; }
.warn-icon:before				{ background-position: -208px 0; }
.warn-icon:hover:before			{ background-position: -208px -21px; }
.delete-icon:before				{ background-position: -152px 0; }
.delete-icon:hover:before		{ background-position: -152px -21px; }
.report-icon:before				{ background-position: -165px 0; }
.report-icon:hover:before		{ background-position: -165px -21px; }
.info-icon:before				{ background-position: -175px 0; }
.info-icon:hover:before			{ background-position: -175px -21px; }

/* Browser-specific tweaks */
button::-moz-focus-inner {
	padding: 0;
	border: 0
}

/* Rate post box
---------------------------------------- */
.rate-box > span {
	box-shadow: none !important;
}

.rate-box .rate-no-minus, .rate-box .rate-no-plus, .hastouch .rate-box .rate-no-minus, .hastouch .rate-box .rate-no-plus {
	cursor: inherit;
	padding-left: 0;
	padding-right: 0;
	width: 3px;
}

.rate-no-minus {
	border-right: 0;
}

.rate-no-plus {
	border-left: 0;
}

.rate-value {
	padding: 0px 4px;
	font-weight: bold;
	line-height: 16px;
	min-width: 16px;
	text-align: center;
}

.rate-value:before, .rate-no-minus:before, .rate-no-plus:before {
	display: none;
}

/* Global back to top of page
---------------------------------------- */
#back-to-top {
	display: none;
	z-index: 10;
	position: fixed;
	top: 0;
	left: 0;
	margin: 15px;
	width: 24px;
	height: 24px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAZlBMVEUAAACEiY2SmJ2epKmjqq+lrLGor7SosLWpsbaqsbaqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbeqsbersrettLm6wMTDyc3O09bZ3d/q6+3x8vP5+fr8/f1nT312AAAAF3RSTlMAGiEnNEFPYGpxeoeUnqm1vdLk7vP4+0kZka8AAACySURBVHgBddDxboYgDATwAx36qVPBQZ3TMd7/JbcQSpDM359ccyVFIl+rJqeXXqLUvBOzUxEpS4VNIXnRnevSPNXcW1zLPYVNAMh7SyPQOGLXRcxKDMSOEL6I9Vgp2X0I/pOSGSYXhT+5TMPmoujgf3Gwf4fI7xQZrjpDcnLVQpHn4IeXD/SvvroI+xDA9HASyO3hiFCOKrZF1FWJVUjUrc20yMRk8/goUBLdrI3Rs+LnX+9DKZ4DVjilAAAAAElFTkSuQmCC") no-repeat;
	cursor: pointer;
	opacity: 0.6;
}

#back-to-top.on-right {
	right: 0;
	left: auto;
}

#back-to-top:hover {
	opacity: 1.0;
}

#back-to-top.tower:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

#back-to-top.tower {
	margin: 0;
	padding: 15px;
	background-position: center 15px;
	height: auto;
	bottom: 0px;
}
