/* Bootstrap Modifications for the Database style */
body {
	padding-top: 60px;
	padding-bottom: 40px;
	color:#333333;
	background:#ffffff url(../images/background-pattern.png) repeat;
}
#main-logo {
	width: 350px;
	margin-bottom: 15px;
}
.nav-tabs {
	margin-bottom: 10px;
}
legend small {
	font-size: 60%;
}
.badge-important {
	background-color: #a94442;
}
.badge-success {
	background-color: #3c763d;
}
.sfilter input {
	display: block;
	font-weight: 400;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
#detailsbox {
	max-height: 500px !important;
	overflow: scroll !important;
	padding: 15px 15px 10px 15px;
	background: #ffffff url(../images/background-pattern.png) repeat;
	border-radius: 5px;
	margin-top: -8px;
}
.remove {
	position: absolute;
	z-index: 1336;
	margin-left: 5px;
	margin-top: 5px;
	-moz-box-shadow: inset 0px 0px 47px 3px #4c3f37;
	-webkit-box-shadow: inset 0px 0px 47px 3px #4c3f37;
	box-shadow: inset 0px 0px 277px 3px #4c3f37;
	border-radius: 20px;
	width: 16px;
	height: 20px;
	padding-left: 8px;
	padding-bottom: 1px;
	color: #FFFFFF;
	cursor:pointer;
}
.remove:hover {
	color: #49AFCD;
	font-weight: bold;
}
.as-selections.span5{
	width:431px;
}
@media (min-width:768px) and (max-width:979px){
	.as-selections.span5{
		width:340px;
	}
}
@media (min-width:1200px){
	.as-selections.span5{
		width:521px;
	}
}

/* Admin Panel */
.stat-boxes {
	display: inline-block;
	list-style: none outside none;
	margin: 20px 0 10px;
	text-align: center;
}
.stat-boxes li {
	background-color: #F6F6F6;
	background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#F9F9F9), to(#EDEDED));
	background-image: -webkit-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
	background-image: -moz-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
	background-image: -ms-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
	background-image: -o-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
	background-image: linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
	border: 1px solid #d5d5d5;
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0 1px 0 0 #FFFFFF inset, 0 1px 0 rgba(255,255,255,0.4);
	display: inline-block;
	line-height: 18px;
	margin: 0 10px 10px;
	padding: 0 10px;
}
.stat-boxes .left, .stat-boxes .right strong {
	display: block;
}
.stat-boxes .left, .stat-boxes .right {
	text-shadow: 0 1px 0 #ffffff;
	float: left;
}
.stat-boxes .left {
	border-right: 1px solid #DCDCDC;
	box-shadow: 1px 0 0 0 #FFFFFF;
	margin-right: 12px;
	padding: 22px 14px 0px 4px;
	font-size: 10px;
	font-weight: bold;
	height: 40px;
}
.stat-boxes .right {
	font-size: 12px;
	padding: 9px 10px 7px 0;
	text-align: center;
	width: 70px;
	color: #666666;
}
.stat-boxes .right strong {
	font-size: 26px;
	margin-bottom: 3px;
	margin-top: 6px;
}

/* Quick Extension of Bootstrap table coloring options */
td.error {
	background-color: #f2dede !important;
}
td.error a {
	color: #a94442;
}
td.success {
	background-color: #dff0d8 !important;
}
td.success a {
	color: #3c763d;
}

/* Add border to cells with active flocks */
td.flockactive {
	font-weight: bolder;
}

/* Bootstrap sometimes does stupid things */
a[href]:after{
	content: none !important;
}

/* Tablesorter Additions */
.tablesorter-headerDesc:after,
.tablesorter-headerAsc:after {
	display: inline-block;
	width: 14px;
	height: 14px;
	line-height: 14px;
	vertical-align: text-top;
	content: " ";
	background-image: url("../images/glyphicons-halflings.png");
	background-position: 14px 14px;
	background-repeat: no-repeat;
	margin-top: -17px;
	float: right;
}
.tablesorter-headerDesc:after {
	background-position: -313px -119px;
}
.tablesorter-headerAsc:after {
	background-position: -288px -120px;
}

/* Vertical Fit (100%) salmonella browse table */
.vertical-fit-browse #dbrowse_wrapper {
	height: 80% !important;
}
.vertical-fit-browse .dataTables_scroll {
	height: 95% !important;
}
.vertical-fit-browse .dataTables_scrollBody {
	height: 70% !important;
}
.vertical-fit-browse .dataTables_scrollHead {
	margin-bottom: -8px !important;
}
.vertical-fit-browse footer {
	display: none !important;
}