.panel-heading-collapse a:after {
	font-family:'Glyphicons Halflings';
	content:"\e114";
	float: right;
	color: grey;
}

.panel-heading-collapse a.collapsed:after {
	content:"\e080";
}

.torrent-list > tbody > tr > td {
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 603px;	/*Will this break something?*/
}

table.torrent-list thead th {
	position: relative;
	background-image: none !important;
}

table.torrent-list thead th a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-decoration: none;
	z-index: 10;
	/* IE Workaround */
	background-color: white;
	opacity: 0;
	filter: alpha(opacity=1);
}

table.torrent-list thead th.sorting:after,
table.torrent-list thead th.sorting_asc:after,
table.torrent-list thead th.sorting_desc:after {
	position: absolute;
	top: 12px;
	right: 8px;
	display: block;
	font-family: FontAwesome;
}

table.torrent-list thead th.sorting:after {
	content: "\f0dc";
	color: #808080;
	font-size: 0.85em;
}
table.torrent-list thead th.sorting_asc:after {
	content: "\f0de";
}
table.torrent-list thead th.sorting_desc:after {
	content: "\f0dd";
}

#torrent-description img {
	max-width: 100%;
}

.table > tbody > tr.deleted > td, .table > tbody > tr.deleted > th, .table > tbody > tr > td.deleted, .table > tbody > tr > th.deleted, .table > tfoot > tr.deleted > td, .table > tfoot > tr.deleted > th, .table > tfoot > tr > td.deleted, .table > tfoot > tr > th.deleted, .table > thead > tr.deleted > td, .table > thead > tr.deleted > th, .table > thead > tr > td.deleted, .table > thead > tr > th.deleted {
	background-color:#9e9e9e;
}

.table-hover > tbody > tr.deleted:hover > td, .table-hover > tbody > tr.deleted:hover > th, .table-hover > tbody > tr:hover > .deleted, .table-hover > tbody > tr > td.deleted:hover, .table-hover > tbody > tr > th.deleted:hover {
	background-color:#bdbdbd;
}
.panel-deleted {
	border-color:#757575;
}
.panel-deleted > .panel-heading {
	color:#212121;
	background-color:#9e9e9e;
	border-color:#757575;
}
.panel-deleted > .panel-heading + .panel-collapse > .panel-body {
	border-top-color:#757575;
}
.panel-deleted > .panel-heading .badge {
	color:#9e9e9e;
	background-color:#212121;
}
.panel-deleted > .panel-footer + .panel-collapse > .panel-body {
	border-bottom-color:#757575;
}

.markdown-editor label {
	padding: 1em 0;
}

@media (max-width: 991px){
	.panel-body .col-md-5 {
		margin-left: 20px;
		margin-bottom: 10px;
	}
}

@media (min-width: 992px){
	.panel-body .col-md-5 {
		word-wrap: break-word;
	}
}

.search-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.form-control.search-bar {
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 1;
	order: 1;
	width: 99%;
	padding-right: 4em;
}

.search-btn {
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2;
	-ms-flex-item-align: end;
	align-self: flex-end;
	top: -34px;
	height: 0;
	width: auto;
	z-index: 3;
}

#navFilter-criteria {
	-webkit-box-ordinal-group: 4;
	-ms-flex-order: 3;
	order: 3;
}

#navFilter-category {
	-webkit-box-ordinal-group: 5;
	-ms-flex-order: 4;
	order: 4;
}

.nav-filter {
	width: 100%;
	padding: 1em 0;
}

.bootstrap-select > button {
	margin-top: 1em;
}

/* Allows the bootstrap selects on nav show outside the
 collapsible section of the navigation */
.navbar-collapse.in {
	overflow-y: visible;
}

@media (min-width: 991px) {
	.search-btn {
		top: 0;
		width: auto;
	}

	.bootstrap-select > button {
		margin-top: auto;
	}
}

/* Upload page drop zone */
#upload-drop-zone
{
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999999999;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	transition: visibility 175ms, opacity 175ms;
	display: table;
	text-shadow: 1px 1px 2px #000;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	font: bold 42px Tahoma, sans-serif;
}

#upload-drop-zone span
{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	transition: font-size 175ms;
}

/* elasticsearch term highlight */
.hlt1 {
	font-style: normal;
	display: inline-block;
	padding: 0 3px;
	border-radius: 3px;
	border: 1px solid rgba(100, 56, 0, 0.8);
	background: rgba(200,127,0,0.3);
}

ul.nav-tabs#profileTabs {
	margin-bottom: 15px;
}