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

.table {
	color: inherit;
}

button i {
	margin-right: 2px;
}

button {
	white-space: nowrap;
}

.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;
}

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;
}

.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;
}

@media (max-width: 1167px) {
	.graph-tile {
		width: 100% !important;
	}

	.graph-tile-md-4 {
		width: 50% !important;
	}

	.graph-tile-lg-8 {
		width: 50% !important;
	}
}

@media (max-width: 768px) {
	.graph-tile {
		width: 100% !important;
	}
	.graph-tile-sm-4 {
		width: 100% !important;
		min-height: inherit;
	}
}

@media (max-width: 633px) {
	.graph-tile, .graph-tile {
		width: 100% !important;
		min-height: inherit;
	}
}

@media screen and (max-width: 540px) {
   .contact-tracing {
		height: 110px;
		width: 110px;
   }
   .ppe-forecast {
      	height: 150px;
      	width: 150px;
  }
}

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

form.inline {
	display: inline-block;
}

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

.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;
}

/* 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;
}

.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: 2px;
	padding-right: 2px;
}

.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;
}

/* ============================================================================
 * 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 .form-group {
	margin-bottom: 0;
}

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

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

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

.password-toggle {
	cursor: pointer;
}

/* ============================================================================
 * 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;
}

.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;
}
