.define-if-not-set() {
	@gray-base:              #000;
	@gray-darker:            lighten(@gray-base, 13.5%); // #222
	@gray-dark:              lighten(@gray-base, 20%);   // #333
	@gray:                   lighten(@gray-base, 33.5%); // #555
	@gray-light:             lighten(@gray-base, 46.7%); // #777
	@gray-lighter:           lighten(@gray-base, 93.5%); // #eee

	@brand-primary:         darken(#428bca, 6.5%); // #337ab7
	@brand-success:         #5cb85c;
	@brand-info:            #5bc0de;
	@brand-warning:         #f0ad4e;
	@brand-danger:          #d9534f;
}

.define-if-not-set();

#move_thread_modal .category-list {
	height: 500px;
	overflow-y: auto;
	overflow-x: hidden;
}

.topic-watch-dropdown {
	.help-text {
		margin-left: 20px;
	}
}

.category-list {
	padding: 0;

	li {
		.inline-block;
		.pointer;
		padding: 0.5em;
		margin: 0.25em;
		.border-radius(3px);

		&.disabled {
			background-color: #888!important;
			.opacity(0.5);
		}
	}
}

.user-list {
	padding-left: 2rem;
	padding-top: 1rem;

	li {
		.pointer;
		display: inline-block;
		list-style-type: none;
		padding: 0.5rem 1rem;

		&:hover {
			background: #eee;
		}

		.avatar  {
			float: left;
			margin-right: 1rem;
		}

		span {
			vertical-align: middle;
			display: inline-block;
		}
	}
}

.user-icon {
	display: inline-block;
	text-align: center;
	color: @gray-lighter;
	font-weight: normal;
	vertical-align: middle;
	overflow: hidden;	/* stops alt text from overflowing past boundaries if image does not load */
	white-space: nowrap;

	&:before {
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}
}

.avatar {
	/* Contains the user icon class as a mixin, so there's no need to include that in the template */
	.user-icon;

	&.avatar-xs {
		width: 16px;
		height: 16px;
		.user-icon-style(16px, 1rem);
	}

	&.avatar-sm {
		width: 24px;
		height: 24px;
		.user-icon-style(24px, 1.5rem);
	}

	&.avatar-sm2x {
		width: 48px;
		height: 48px;
		.user-icon-style(48px, 1.5rem);
	}

	&.avatar-md {
		width: 32px;
		height: 32px;
		.user-icon-style(32px, 1.5rem);
	}

	&.avatar-lg {
		width: 64px;
		height: 64px;
		.user-icon-style(64px, 4rem);
	}

	&.avatar-xl {
		width: 128px;
		height: 128px;
		.user-icon-style(128px, 7.5rem);
	}

	&.avatar-rounded {
		border-radius: 50%;
	}
}

.ban-modal {
	.form-inline, .form-group {
		width: 100%;
	}

	.units {
		line-height: 5rem;
	}
}

.admin .ban-modal .units {
	line-height: 1.846;
}

#crop-picture-modal {
	#cropped-image {
		max-width: 100%;
	}

	.cropper-container.cropper-bg {
		max-width: 100%;
	}
}

.necro-post {
	color: rgba(127,127,127,.5);
	font-size: 1.5em;
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
}

.timeline-event {
	display: flex;
	align-items: center;
	justify-content: center;

	.timeline-badge {
		padding: 1rem;
	}
}