#page-wrapper {
	min-height: 0 !important;
}

body {
	background-color: #f3f3f4;
	font-size: 14px;
}

.nowrap {
	white-space: nowrap;
}

.fit-content {
	white-space: nowrap;
	width: 1px;
}

input[readonly] {
	background-color: #fff !important;
}

.navbar-static-side {
	background-color: #2f4050;
}

.fixed-nav #wrapper {
	margin-top: 0;
	padding-top: 62px;
	overflow: visible;
}

.logoContainer {
	background-image: url("/img/logo-discovergy.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-origin: content-box;
	width: 220px;
	height: 62px;
	padding: 10px;
}

.navbar .title {
	float: right;
	margin: 10px 30px 0 0;
	font-size: 30px;
	font-weight: lighter;
}

.btn-primary,.open .dropdown-toggle.btn-primary {
	color: #fff;
	background-color: #769718;
	border-color: transparent;
}

.btn-primary:hover {
	background-color: #bbdc5c;
	border-color: transparent;
}

.btn-primary.disabled {
	background-color: #666666;
	border-color: transparent;
}

.nav>li.active {
	border-left: 4px solid #bbdc5c;
	background: #293846;
}

.form-control:focus, .single-line:focus {
	border-color: #769718 !important;
}

.has-error .form-control:focus {
	border-color: #843534 !important;
}

.has-error .chosen-container > a {
	border-color: #ed5565;
}

.number,
.number small {
	font-weight: bold;
}

.number small {
	color: inherit;
}

.good {
	color: green;
}

.bad {
	color: red;
}

.ibox-title label {
	margin-top: -6px !important;
	font-weight: 600;
}

.ibox-content {
	padding: 15px;
}

.dataBox.loading .ibox-content,
.dataBox.showChart .ibox-content {
	min-height: 300px;
}

.dataBox.loading .ibox-title .btn-group,
.dataBox.loading .ibox-content .chart,
.dataBox.loading .ibox-content .table,
.dataBox.error .ibox-title .btn-group,
.dataBox.error .ibox-content .chart,
.dataBox.error .ibox-content .table {
	display: none;
}

.dataBox.error .ibox-content span {
	color: red;
}

.dataBox .spinner {
	margin-top: 15px;
}

.dataBox {
	position: relative;
}


.dataBox.showChart .dataTables_wrapper,
.dataBox.showTable .chart {
	display: none;
}

.dataBox.showChart .chartButton,
.dataBox.showTable .tableButton {
	z-index: 2;
	color: inherit;
	border: 1px solid #d2d2d2;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.15) inset;
	box-shadow: 0 2px 5px rgba(0,0,0,.15) inset;
}

.dataBox table thead tr:first-child th:not(:first-child) {
	text-align: center;
}

.dataBox table td:not(:first-child),
.dataBox table th:not(:first-child) {
	text-align: right;
}


.chart svg {
	width: 100%;
	height: 300px;
}

div.dt-button-collection {
	width: 280px;
}

.dt-buttons .btn {
    font-size: smaller;
}

.dt-buttons {
	margin-right: 40px;
	margin-bottom: 8px;
}

.btn-group .btn + .dt-button-background + .dt-button-collection + .btn {
    margin-left: -1px;
}

.dataTables_filter {
	float: right;
	margin-left: 40px;
	margin-bottom: 8px;
}

.dataTables_length {
	float: right;
	margin-bottom: 8px;
}

.dataTables_wrapper {
	padding-bottom: 0;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 14px;
    float: left;
}

div.dataTables_wrapper div.dataTables_paginate {
	line-height: 0;
	margin-top: 14px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
	margin: 0;
}


table.dataTable > thead > tr > th.sorting_disabled {
	padding-right: 8px;
}


table.dataTable.table-compact > tbody > tr > td,
table.dataTable.table-compact > tbody > tr > th,
table.dataTable.table-compact > tfoot > tr > td,
table.dataTable.table-compact > tfoot > tr > th,
table.dataTable.table-compact > thead > tr > td,
table.dataTable.table-compact > thead > tr > th {
	padding: 5px;
}

table.dataTable.table-compact > thead > tr > th {
	font-size: smaller;
	padding-right: 18px;
}

table.dataTable.table-compact > thead > tr > th.sorting_disabled {
	padding-right: 5px;
}

table.dataTable.table-compact thead .sorting:after,
table.dataTable.table-compact thead .sorting_asc:after,
table.dataTable.table-compact thead .sorting_desc:after {
	top: 5px;
	right: 5px;
}


/* This is simply an omission from the stylesheet, creating a broken link */
table.dataTable thead .sorting_asc:after {
	content: "\f0de";
}

ul.chosen-choices {
	background-image: none !important;
	border: 1px solid #CBD5DD !important;
	border-radius: 2px !important;
	padding: 3px 12px !important;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
	font-family: inherit;
}

.note-editor.note-frame {
	border-color: #ddd;
}

.templateEditor .CodeMirror {
	padding: 2px 6px;
}

.templateEditor .CodeMirror .cm-template-variable {
	color: #c00;
	font-weight: bold;
}


.checkBoxMultipleChoice {
	padding-top: 6px;
}

.checkBoxMultipleChoice input {
	display: inline-block;
	margin-bottom: 6px;
}

.checkBoxMultipleChoice label {
	display: inline;
	font-weight: normal;
	margin-left: 6px;
}

.checkBoxMultipleChoice label:after {
	content: "\A";
	white-space: pre;
}

.alertForm h2 {
	text-align: center;
	margin-bottom: 20px;
}

.overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.7);
	z-index: 1000;
}

.leaflet-popup-content p {
	margin: 6px 0;
}

.leaflet-marker-icon.cluster b {
	padding: 3px 5px;
	border-radius: 5px;
	font-size: 24px;
	background-color: rgba(200, 200, 255, 0.8);
	color: #000;
}

.datepicker table tr td span.disabled, .datepicker table tr td span.disabled:hover {
	color: #E3E3E3;
}

.daterange {
	cursor: pointer;
	padding: 5px 10px;
	border: 1px solid #ccc;
	width: 100%;
}

.spinnerContainer {
	min-height: 300px;
}