body {
	font-size: .85rem;
}
h1 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}
h2, h3, h4, h5, h6 {
	font-size: 1rem;
}
a,
a:hover {
	color: #f50000;
}
a:not([class*="btn"]) {
	text-decoration: none;
}
a:not([class*="btn"]):hover {
	text-decoration: underline;
}
small {
	font-size: smaller;
}
thead.sticky-top {
	z-index: auto;
}
.form-control::placeholder {
	color: inherit;
	opacity: .5;
}
.highlight {
	color: #f50000;
}
.alert {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.step {
	margin-bottom: 1rem;
}
.btn-group-xs > .btn,
.btn-xs  {
	padding: .125rem .25rem;
	font-size: .75rem;
	line-height: 1;
	border-radius: .2rem;
}
.text-copy {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: #ccc;
	text-underline-position: under;
}
.text-copy:active {
	background-color: #ccc;
}
.col-form-label label {
	margin-bottom: 0;
}

/* TODO: move to bootstrap.scss when supported. */
.table > :not(:first-child) {
	border-top: 2px solid currentColor;
}

.table tbody td .icon {
	font-size: 1rem;
}
.table tbody td .progress {
	min-width: 100px;
}
.ratio-fixed-height {
	height: 600px;
}
.tooltip-inner {
	max-width: 100%;
	min-width: 0;
}
.dropdown-menu {
	font-size: .85rem;
}
.image-preview {
	display: inline-block;
	max-width: 800px;
	max-height: 400px;
	overflow: hidden;
}
.image-preview-sm {
	max-width: 200px;
	max-height: 100px;
}
.image-preview-md {
	max-width: 400px;
	max-height: 200px;
}
.image-preview img[src$='.svg'] {
	min-width: 800px;
	max-height: 400px;
}
.image-preview-sm img[src$='.svg'] {
	min-width: 200px;
	max-height: 100px;
}
.image-preview-md img[src$='.svg'] {
	min-width: 400px;
	max-height: 200px;
}
.image-preview-autoheight {
	max-height: none;
}
.fc-day-grid .fc-content,
.fc-time-grid .fc-content,
.fc-time-area .fc-content {
	color: #fff;
}
.fc-day-grid .fc-content a .icon,
.fc-time-grid .fc-content a .icon,
.fc-time-area .fc-content a .icon {
	color: #fff;
}
.fc-list-item-title a .icon {
	color: #333;
}
.transparent {
    opacity: .5;
}
.chart {
	position: relative;
	height: 400px;
}
.chart.chart-sm {
	height: 200px;
}
.chart.chart-lg {
	height: 600px;
}
.chart-content {
	position: absolute;
	width: 100%;
	height: 100%;
}
.upload-queue {
	position: relative;
	background-color: #fff;
	height: 150px;
	overflow: auto;
	padding: 5px;
}
.upload-text {
	position: absolute;
	left: 0;
	right: 0;
	top: 25%;
	overflow: hidden;
	opacity: .25;
	font-size: 24px;
	text-align: center;
}
.popup-summary-container {
	position: relative;
	cursor: pointer;
}
.popup-summary-container:hover {
	background-color: #fff;
}
.popup-summary-container:hover .popup-summary {
	display: flex;
}
.popup-summary {
	display: none;
	position: absolute;
	top: 5px;
	left: 105%;
	z-index: 10;
}
.library .item {
	position: relative;
	float: left;
}
.library .item:hover .tools,
.library .item.selected .tools
{
	display: block;
}
.library .item .image {
	display: block;
	width: 200px;
	height: 200px;
	line-height: 200px;
}
.library .item .image img {
	max-height: 100%;
}
.library .item .image:hover img,
.library .item.selected .image img
{
	opacity: .5;
}
.library .item .tools {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	display: none;
}
.library .item .tools a {
	display: block;
	float: left;
	padding: .25rem;
	cursor: pointer;
	text-align: center;
	min-width: 1.5rem;
	font-size: .8rem;
}
.library .item .tools a:hover {
	background: rgba(255, 255, 255, .5);
}
.module .jstree-default {
	overflow: hidden;
}
.module .jstree-default ul {
	list-style: none;
	padding: 0;
}
.module .jstree-default li {
	position: relative;
	margin-bottom: 2px;
	margin-left: 0;
	padding-left: var(--icon-size);
}
.module .jstree-default li.tree-top ul {
	padding: 0;
	margin-top: 2px;
}
.module .jstree-default li.tree-top li {
	display: block;
	margin-left: 2px;
}
.module .jstree-default li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
	cursor: pointer;
	border-radius: 4px;
}
.module .jstree-default li a.jstree-clicked {
	font-weight: bold;
}
.module  .jstree-default .no-index .jstree-highlight {
	color: #f00;
}
.module  .jstree-default .no-index:hover:not(.jstree-clicked) .jstree-highlight {
	color: #FF3333;
}
.module .jstree-default li a svg {
	padding: 5px;
}
.module .jstree-default li a span:not(.jstree-highlight) {
	margin-left: 2px;
	padding-right: 5px;
	overflow: hidden;
}
.module .jstree-default li a small {
	margin-left: 5px;
}
.module .jstree-default li a:not(a[href="#"]) span:hover:not(.jstree-highlight, .jstree-disabled),
.module .jstree-default li a.tree-link:hover span:not(.jstree-highlight, .jstree-disabled) {
	text-decoration: underline;
}
.module .jstree-default li.tree-sub .fa-file-alt {
	padding: 5px 7px;
}
.module .jstree-default li .jstree-ocl {
	position: absolute;
	left: 0;
	height: 28px;
	width: 28px;
	padding: 5px;
}
.module .jstree-default li.tree-top .jstree-ocl {
	position: absolute;
	left: 0;
}
.module .jstree-default li.tree-top > .jstree-ocl {
	/* display: none; */
}
.legend {
	float: left;
	width: calc(100%/2);
}
.legend-key {
	height: 20px;
	width: 20px;
	border-radius: 50%;
}

@media (min-width: 576px) {
	.legend {
		width: calc(100%/3);
	}
}
@media (min-width: 768px) {
	h1 {
		font-size: 1.5rem;
	}
	h2, h3, h4, h5, h6 {
		font-size: 1.25rem;
	}
	.container-fluid {
		padding-left: 20px;
		padding-right: 20px;
	}
}