#sidebar {
	width: 224px;
	line-height: 1.33em;
	font-size: 90%;
}

img,
embed {
	max-width: 100%;
}

.post-type-image img {
	/*background: url('../img/bk-image.png') lemonchiffon;*/
}
.post-type-flash iframe {
	border: 0;
	/*background: url('../img/bk-swf.png') lemonchiffon;*/
}

#sidebar .relations ul,
#sidebar .tags ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sidebar .tags li a {
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	max-width: 90%;
	vertical-align: text-bottom;
}
#sidebar .tags li .count {
	padding-left: 0.5em;
	color: silver;
	vertical-align: text-bottom;
}

#around {
	margin-bottom: 2em;
}
#around .text {
	font-size: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
	margin-top: 0.75em;
}
#around .left {
	float: left;
}
#around .right {
	float: right;
}
#around a.disabled {
	color: silver;
}
#around a.disabled i[class*='icon-'] {
	background-color: silver;
}

#sidebar .uploader .date {
	font-size: 9pt !important;
	color: gray;
	display: inline-block;
	position: relative;
	top: -5px;
}
#sidebar .uploader img {
	vertical-align: text-top;
	float: left;
	margin: 3px 8px 0 0;
	width: 25px;
	height: 25px;
	background-image: url('http://www.gravatar.com/avatar/0?f=y&d=mm&s=25');
}

#sidebar .unit.details { margin-bottom: 1.5em; }
#sidebar .unit.hl-options { margin-top: 1.5em; }

#sidebar .safety-safe {
	color: #43aa43;
}
#sidebar .safety-sketchy {
	color: #d4a627;
}
#sidebar .safety-unsafe {
	color: #df4b0d;
}

#sidebar .score .selected {
	font-weight: bold;
}

#sidebar .score a:first-of-type:before {
	content: '[';
	color: black;
}
#sidebar .score a:last-of-type:after {
	content: ']';
	color: black;
}

#sidebar .left a,
#sidebar .right a {
	display: inline-block;
}
i.icon-prev {
	background-position: -12px -1px;
	margin-left: 8px;
}
i.icon-next {
	background-position: -1px -1px;
	margin-right: 8px;
}
i.icon-prev,
i.icon-next {
	vertical-align: middle;
	width: 8px;
	height: 20px;
}

i.icon-dl {
	margin: 0;
	width: 20px;
	height: 20px;
	background-position: -22px -1px;
}

i.icon-edit {
	margin: 0;
	width: 20px;
	height: 20px;
	background-position: -43px -22px;
}

i.icon-fav {
	margin: 0;
	width: 20px;
	height: 20px;
}
.add-fav i.icon-fav {
	background-position: -1px -22px;
}
.rem-fav i.icon-fav {
	background-position: -22px -22px;
}

.hl-option {
	margin: 0.4em 0;
}
.hl-option i[class^='icon'] {
	vertical-align: middle;
}
.hl-option span {
	padding-left: 0.4em;
	vertical-align: middle;
}
.permalink .ext:after {
	content: ', ';
}

.options ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.favorites p {
	margin: 0;
}
.favorites ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.favorites li {
	display: inline-block;
}
.favorites a {
	margin: 2px;
}

#inner-content {
	position: relative;
}
.unit.edit-post {
	position: absolute;
	margin-top: 0;
	padding: 1em;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 1em 1em rgba(255, 255, 255, 0.8);
	z-index: 99;
	top: 0;
	left: 0;
	right: 0;
	display: none;
}
.unit.edit-post ul.tagit,
.unit.edit-post input:not([type=file]) {
	background: rgba(255, 255, 255, 0.75);
}
.unit.edit-post ul.tagit input {
	background: transparent;
}
ul.tagit {
	display: block;
	vertical-align: middle;
	margin: 0;
	font-size: 1em;
}