html { min-height: 100%; height: 100%; }
body { position:relative; height: 100%; }

.table {
	color: inherit;
}

button i {
	margin-right: 2px;
}

button {
	white-space: nowrap;
}

.btn {
	margin-top: 0.1rem;
	margin-bottom: 0.1rem;
}

.btn-group-xs > .btn, .btn-xs {
	font-size: 0.8rem;
	line-height: 0.55rem;
	border-radius: 0.2rem;
	padding: .4rem;
}

.btn-group-xs > .btn i, .btn-xs i {
	line-height: inherit;
}

.btn-link {
	color: #337ab7;
}

.btn-group-toggle .btn-custom-toggle:not(:disabled):not(.disabled):active, .btn-group-toggle .btn-custom-toggle:not(:disabled):not(.disabled).active {
	background-color: #337ab7;
	color: #fff;
}

.btn-group-toggle .btn-custom-toggle {
	background-color: #ececec;
	border-color: #ececec;
	color: #333;
}

.button-list-progress-bar-container {
	display:inline-block;
	vertical-align: top
}

.button-list-progress-bar-container .alert-success {
	display: inline-block;
	width: 200px;
	margin-bottom: 0px;
}

.button-list-progress-bar-container .progress {
	height: 21px;
}

.button-list-progress-bar-container .progress-text {
	position: absolute;
	left: 50%;
	width: 180px;
	margin-left: -90px;
	color: #f097b2;
	line-height: 21px;
}

legend {
    border: 0;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
    font-size: 1.3125rem;
}

.input-group-btn {
	font-size: inherit;
}

select option[disabled] {
    color: #aeaeae;
}

.password-toggle {
	cursor: pointer;
}

.alert-dismissible .close {
	padding: 0.5rem 1.25rem;
}

.alert.tight {
	padding: 4px;
}

.graph-expander {
	position: absolute;
	top: 0px;
	right: 5px;
	float: right;
	opacity: 0.5;
}

.cursor-pointer{
	cursor: pointer;
}

.right-inline-buttons {
	text-align: right;
	margin-top: 5px;
}

/* ============================================================================
 * form customizations
 * ============================================================================ */

form.inline {
	display: inline-block;
}

ul.checkbox-list {
	list-style: none;
}

legend.form-check-label {
	font-size: 1em;
	margin-bottom: 10px;
}

.form-check-label {
	font-weight: normal;
}

.form-buttons div {
	float: right;
	margin-left: 15px;
}

.form-buttons div .form-check {
	margin-top: 4px;
	margin-right: 30px;
	display: inline-block;
}

.form-buttons::after {
	content: "";
	display: block;
	clear: both;
}

.form-radio-list {
	display: inline-block;
}

.form-radio-list label {
	font-weight: normal;
	margin-right: 20px;
}

.dl-horizontal dt {
	width: 50%;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0px;
	text-align: left;
	margin-left: 10px;
	vertical-align: top;
}

.dl-horizontal dd {
	display: inline-block;
	margin-bottom: 0.2rem;
	margin-right: 10px;
	margin-left: 0;
	vertical-align: top;
}

/* general styling */

.success {
	color: #00cc00;
}

.warning-yellow {
	color: #f0ad4e;
}

.warning {
	color: #cc0000;
}

.input-group input.date-input:enabled, input.date-input[readonly]:enabled {
	background: #FFF;
}

.input-group input.date-input:disabled {
	cursor: default;
}

.input-group .input-group-append i {
	line-height: 1.5;
}

.input-group .input-group-append i.fa-fw {
	width: 2.625rem;
}

input.time-input {
	min-width: 100px;
}

.time-input-group {
	min-width: 140px;
}

.text-align-left {
	text-align: left;
}

.centered {
	text-align: center;
}

.content-centered {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hidden {
	display: none !important;
}

/* list builders */

table.list-builder tr td {
	padding-bottom: 2px;
}

table.list-builder tfoot tr td {
	text-align: right;
}

table.list-builder .list-builder-control-cell {
	text-align: center;
	width: 30px;
}

table.list-builder .list-builder-control-cell i {
	margin-left: 5px;
	cursor: pointer;
	color: #337ab7;
}

span.required {
	display: inline-block;
	margin-left: 3px;
	color: #f00;
}

.tablesorter-count {
	display: inline-block;
}

.tablesorter-record-count-container {
	display: inline-block;
}

.tablesorter tfoot tr td.ts-pager select.pagesize {
	display: inline-block;
	width: 100px;
}

.tablesorter tfoot tr td.ts-pager select.pagenum {
	display: inline-block;
	width: 60px;
}

div.spacer {
	height: 20px;
}

th.snug, td.snug {
	width: 1px;
	white-space: nowrap;
	padding-left: 4px;
	padding-right: 4px;
}

.nowrap {
	white-space: nowrap;
}

label {
	margin-bottom: 0;
}

.interactive {
	cursor: pointer;
}

.not-interactive {
	cursor: inherit !important;
}

.btn.btn-link:hover {
	text-decoration: none;
}

p {
	margin: 0 0 5px;
}

.modal-header {
	justify-content: flex-start;
}

.modal-title {
	font-size: 1.15rem;
}

.modal-body h3 {
	margin-top: 0px;
	margin-bottom: 20px;
}

i.tooltip-icon {
	cursor: pointer;
}

i.tooltip-icon span {
	display: none;
}

/* ============================================================================
 * collapsible toggle state icons
 * ============================================================================ */

.collapse-toggle {
	display: block;
	margin: 0 auto;
}

.collapse-toggle span.btn-label:after {
	/* symbol for "opening" panels */
	font-family: 'Font Awesome 5 Pro';
	font-size: 16px;
	content: "\f078";
	margin-left: 5px;
}

.collapse-toggle.collapsed span.btn-label:after {
	/* symbol for "collapsed" panels */
	content: "\f054";
}

/* ============================================================================
 * login form
 * ============================================================================ */

#login-form .remember-me {
	margin-bottom: 15px;
}

#login-form .remember-me label {
	font-weight: normal;
}

#login-form .forgot-password {
	margin-top: 10px;
}

/* ============================================================================
 * canvas / floorplan stying
 * ============================================================================ */

#floorplan-container {
	position: relative;
}

#floorplan-container img.floorplan-image {
	display: none;
}

div.floorplan-map {
	background: #fff;
	height: 100vh;
	width: 100%;
}

div.floorplan-map canvas {
	display: block;
}

.live-positions-marker {
	text-align: center; /* Horizontally center the text (icon) */
	line-height: 20px;  /* Vertically center the text (icon) */
	font-size: 20px;
}

.filled-marker {
	background-color: rgba(30,30,30,0.3);
	padding-top: 3px;
}

.live-positions-marker.selected {
	outline: dashed #FF0000 !important;
	outline-offset: 2px;
}

.live-positions-marker.dirty:after {
	color: #FF0000;
	content: '*';
	font-size: 28pt;
	font-weight: 300;
	position: absolute;
	left: 12px;
	top: -2px;
}

.live-positions-marker i.mdi {
	text-align: center; /* Horizontally center the text (icon) */
	line-height: 39px;
	font-size: 23px;
}

.leaflet-tooltip.live-positions-tooltip {
	border: 1px solid #000;
	box-shadow: 7px 8px 16px 0px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip-left.live-positions-tooltip::before {
	border-left-color: #000;
}

.leaflet-tooltip-right.live-positions-tooltip::before {
	border-right-color: #000;
}

.leaflet-tooltip.geofence-tooltip {
	background: #428bca;
	border: 1px solid #428bca;
	color: white;
	box-shadow: 7px 8px 16px 0px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip-left.geofence-tooltip::before {
	border-left-color: #428bca;
}

.leaflet-tooltip-right.geofence-tooltip::before {
	border-right-color: #428bca;
}

/* =============================================================================
 * eula styling
 * ============================================================================= */

.eula-outer {
    float: left;
    width: 100%;
    height: 300px;
    overflow: auto;
}

.eula-inner {
    float: left;
}

.eula-inner div, .eula-inner li {
    padding: 10px;
}

/* =============================================================================
 * flash message styling
 * ============================================================================= */

#message-list {
	position: fixed;
	top: 50px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 585px;
	z-index: 9999;
}

#message-list ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

#message-list .alert {
	text-align: left;
	margin-bottom: 4px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

/* =============================================================================
 * spinner styling
 * ============================================================================= */

#spinner {
	display: none;
	background-color: #00aeef;
	border-radius: 3px;
	box-shadow: 3px 3px 8px 0px rgba(0, 0, 0, 0.46);
	padding: 25px;
	position: fixed;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
	z-index: 9999;
}

.pcc-link-name {
	width: 100%;
	border: 1px solid #ced4da;
	background-color: #e9ecef;
	padding: .375rem .75rem
}

.table-striped > tbody > tr:nth-of-type(even).disabled {
	background-color: #dfdfdf;
}
  
.table-striped > tbody > tr:nth-of-type(odd).disabled {
	background-color: #d9d9d9;
}

.table tr:hover td {
	background-color: #efefef;
}

/* =============================================================================
 * mfactor colours
 * ============================================================================= */

.mfactor-red, .nxtgen-red {
	color: #bf1200;
}

.mfactor-red-background {
	background-color: #bf1200;
}

.mfactor-yellow, .nxtgen-yellow {
	color: #f9d91b;
}

.mfactor-yellow-background {
	background-color: #f9d91b;
}

.mfactor-green, .nxtgen-green {
	color: #92eb25;
}

.mfactor-green-background {
	background-color: #92eb25;
}

.mfactor-blue, .nxtgen-blue {
	color: #00aeef;
}

.mfactor-blue-background {
	background-color: #00aeef;
}
