/*** Fonts ***/
@font-face {
	font-family: 'Quicksand';
	font-weight: 100 1000;
	src: url('../fonts/Quicksand-VariableFont_wght.ttf');
}
@font-face {
	font-family: 'SourceCodePro';
	font-weight: 100 1000;
	src: url('../fonts/SourceCodePro-VariableFont_wght.ttf');
}

/*** Main ***/
body, html {
	height: 100%;
	margin: 0px;
}
html {
	background: white;
}
body {
	font-family: "Quicksand", sans-serif;
	font-size: 14px;
	color: rgb(7,7,7);
	margin: 0px;
	-webkit-font-smoothing: antialiased;
}
body.loading {
	cursor: wait;
}
h1 {
	font-size: 24px;
	font-weight: 200;
}
h2 {
	font-size: 20px;
	font-weight: 200;
}
h3 {
	font-size: 16px;
	font-weight: 200;
}
#container {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	max-height: 100%;
}
#header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 62px;
	background-color: #314351;
	color: white;
	box-sizing: border-box;
	padding: 5px 15px;
	font-weight: 100;
}
#header.progress {
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
	animation: progressbar-stripes 1s linear infinite;
}
#header * {
	vertical-align: middle;
}
#header .title {
	font-size: 20px;
}
#header > #search-container {
	flex-grow: 1;
	position: relative;
	margin-right: 10px;
}
#header a {
	color: inherit;
	text-decoration: none;
}
#header button {
	background: transparent;
	background-color: transparent;
	border: none;
	box-shadow: none;
	color: #B3B9BE;
	text-transform: none;
}
#header button.active * {
	filter: drop-shadow(0px 0px 4px white);
}
#header button > span {
	display: inline-block;
	margin-bottom: 2px;
}
#header span.separator {
	display: inline-block;
	height: 30px;
	width: 1px;
	background-color: #B3B9BE;
	opacity: 0.2;
}
#header span.separator.space {
	margin-left: 15px;
	margin-right: 5px;
	margin-bottom: 0px;
}
#header input {
	padding: 8px 10px;
	padding-left: 32px; /* for glass icon */
	color: #B3B9BE;
	background-color: transparent;
	box-shadow: none;
	border: none;
	border-radius: 4px;
	width: 100%;
}
#header input::placeholder {
	color: #B3B9BE;
}
#header input:focus {
	color: black;
	background-color: white;
}
#header input:focus::placeholder {
	color: gray;
}
#header #search-glass {
	background-color: #B3B9BE;
	-webkit-mask: url('../img/search.dyn.svg') no-repeat center;
	mask: url('../img/search.dyn.svg') no-repeat center;
	width: 24px;
	height: 24px;
	position: absolute;
	top: 6px;
	left: 4px;
	pointer-events: none;
}
#header #search-glass.focus {
	background-color: gray;
}
#header #search-results {
	display: none;
	position: absolute;
	top: 40px;
	left: 0px;
	right: 0px;
	padding: 10px;
	color: black;
	background-color: white;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
	border-radius: 4px;
	z-index: 99;
}
#header #search-results.visible {
	display: block;
}

#login {
	flex-grow: 1;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: stretch;
}
#login-form {
	flex-grow: 1;
	flex-shrink: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	background-color: #FAFAFA;
	min-width: 350px;
	max-width: 500px;
	width: 30%;
	border-right: 2px solid #DDDDDD;
	overflow: auto;
}
#login-form form {
	flex-shrink: 1;
	width: 80%;
}
#login-form form input,
#login-form form button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
}
#login-form > img {
	opacity: 0.2;
}
#login-wall {
	position: relative;
	flex-grow: 1;
	flex-shrink: 1;
	width: 70%;
	height: 100%;
}
#login-bg {
	position: absolute;
	background: url('../img/bg.jpg');
	background-size: cover;
	background-position: center;
	filter: grayscale(20%) contrast(40%) brightness(165%);
	width: 100%;
	height: 100%;
}
#login-wall img#forkme {
	position: absolute;
	top: 0px;
	right: 0px;
}
#login-wall #motd {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 20px;
	color: white;
	text-shadow: 0px 0px 2px rgba(0,0,0,0.2);
	max-width: 600px;
}

#explorer {
	flex-grow: 1;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: stretch;
	height: calc(100% - 62px);
}
#explorer.diffuse,
#explorer.noresponse {
	opacity: 0.5;
}
#explorer.noresponse {
	pointer-events: none;
}
#explorer.nosidebar #explorer-tree {
	display: none;
}
#explorer.nosidebar #explorer-content {
	flex-basis: 100%;
}
#explorer-tree {
	position: relative;
	flex-grow: 1;
	flex-shrink: 1;
	background-color: white;
	resize: horizontal;
	width: 20%;
	height: 100%;
	border-right: 2px solid #DDDDDD;
	overflow: auto;
	box-sizing: border-box;
	white-space: nowrap;
}
#explorer-tree a,
#header #search-results a,
.blockListItem {
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 5px;
	border-radius: 4px;
	user-select: none;
	position: relative;
}
#explorer-tree .node > a {
	border-radius: 0px;
}
.blockListItem > * {
	vertical-align: text-top;
}
#explorer-tree a:focus,
#explorer-tree a:hover,
#explorer-tree a:active,
#header #search-results a:focus,
#header #search-results a:hover,
#header #search-results a:active,
.blockListItem:focus, .blockListItem:focus-within,
.blockListItem:hover,
.blockListItem:active {
	background-color: #eeeeee;
	cursor: pointer;
}
#explorer-tree a img,
#header #search-results a img {
	width: 16px;
	margin-right: 5px;
	margin-bottom: 2px;
	vertical-align: middle;
}
#explorer-tree .node {
	border-left: 5px solid transparent;
}
#explorer-tree .node:hover {
	border-color: #0079B8;
}
#explorer-tree .node > a {
	padding: 15px 10px 15px 10px;
	margin-left: -5px;
	border-left: 5px solid transparent;
}
#explorer-tree .node:hover > a {
	border-color: #0079B8;
}
#explorer-tree .node > .subitems {
	margin-left: 17px;
}
#explorer-tree .subitems {
	max-height: 0px;
	overflow: hidden;
	margin-left: 12px;
	padding-left: 8px;
	border-left: 1px dashed rgb(150,150,150,0.4);
}
#explorer-tree .subitems.expanded {
	max-height: none;
	overflow: visible;
}
#explorer-content {
	position: relative;
	background-color: #FAFAFA;
	flex-basis: 80%;
	padding: 20px;
	box-sizing: border-box;
	overflow: scroll;
	height: 100%;
}
#explorer-content > *:first-child {
	margin-top: 0px;
	padding-top: 0px;
}
#explorer-content > *:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#explorer-content > .details-header:first-child > *:first-child {
	margin-top: 0px;
	padding-top: 0px;
}
#explorer-content > .details-header:first-child > *:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#explorer-content .details-abreast h1,
#explorer-content .details-abreast h2,
#explorer-content .details-abreast h3,
#explorer-content .gallery h1,
#explorer-content .gallery h2,
#explorer-content .gallery h3 {
	color: rgb(86,86,86);
}
.content-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 15px 0px;
}
.filler {
	align-self: center;
	height: 1px;
	min-width: 5px;
	background-color: rgb(0,0,0,0.1);
	flex-grow: 1;
}
.filler.invisible {
	background-color: transparent;
}

#homepage {
	text-align: center;
}
#homepage .title {
	font-size: 20px;
}
#homepage .subtitle {
	font-size: 92%;
	opacity: 0.6;
}
#homepage .subtitle2 {
	font-weight: bold;
}

#dialog-container {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 999;
}
#dialog-container.active,
#dialog-container.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.3);
}
#dialog-container > img {
	display: none;
	position: absolute;
	top: calc(50% - 45px);
	left: calc(50% - 45px);
}
#dialog-container.loading > #dialog-box,
#dialog-container.loading2 > #dialog-box {
	display: none;
}
#dialog-container.loading2 > img {
	display: inline-block;
}
#dialog-container #dialog-box {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	padding: 25px;
	background-color: white;
	border-radius: 4px;
	z-index: 999;
	box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
}
#dialog-container #dialog-box.large {
	width: 75%;
	height: 75%;
}
#dialog-container #dialog-box.small {
	width: 55%;
	height: 55%;
}
#dialog-container #dialog-box #dialog-title {
	margin: 0px;
}
#dialog-container #dialog-box #dialog-text {
	flex-grow: 1;
	overflow: auto;
	margin-top: 15px;
}
#dialog-container #dialog-box #dialog-text.monospace {
	white-space: pre-wrap;
	border-left: 2px solid rgb(200,200,200);
	padding: 10px;
}
#dialog-container #dialog-box #btnDialogClose {
	position: absolute;
	top: -16px; right: -16px;
	border-radius: 999px;
}
.first {
	margin-top: 0px;
}

#message-container {
	position: fixed;
	top: 62px;
	right: 0px;
	width: 22%;
	min-width: 200px;
	padding: 5px;
	z-index: 999;
}
#message-container .message {
	position: relative;
	background-color: white;
	color: gray;
	padding: 15px;
	padding-right: 30px;
	margin-bottom: 10px;
	border-radius: 3px;
	box-shadow: 0px 0px 6px rgba(0,0,0,0.35);
	overflow-x: hidden;
	overflow-y: auto;
	animation: message-in 0.4s ease 0s forwards;
}
#message-container .message.icon {
	padding-left: 44px;
	background-size: 24px;
	background-position: 10px center;
	background-repeat: no-repeat;
}
#message-container .message.info {
	border-left: 6px solid #0f6082;
	background-image: url('../img/info.message.svg');
}
#message-container .message.success {
	border-left: 6px solid #87CA81;
	background-image: url('../img/success.message.svg');
}
#message-container .message.warning {
	border-left: 6px solid #FFC122;
	background-image: url('../img/warning.message.svg');
}
#message-container .message.error {
	border-left: 6px solid #EC5870;
	background-image: url('../img/error.message.svg');
}
#message-container .message .message-title {
	font-weight: bold;
	color: black;
}
#message-container .message .message-close {
	position: absolute;
	width: 20px;
	height: 20px;
	top: calc(50% - 10px);
	right: 6px;
	padding: 0px;
	border: none;
	background-image: url('../img/close.opacity.svg');
	background-size: 20px 20px;
	background-position: center center;
	background-color: transparent;
	box-shadow: none;
	color: transparent;
}
@keyframes message-in {
	0%   { opacity:0; max-height:0; transform:translateY(-50%); }
	100% { opacity:1; max-height:350px; transform:translateY(0); }
}

.quote {
	border-left: 2px solid rgb(200,200,200);
	padding: 10px;
}

.hidden {
	display: none !important;
}
.invisible {
	opacity: 0 !important;
	pointer-events: none;
}

.gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.gallery.gap {
	gap: 30px;
	flex-wrap: wrap;
}
.gallery > *:not(img) {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0px;
}
.gallery > img {
	margin-top: 45px;
	opacity: 0.2;
}
.gallery > * > * {
	width: 100%;
}
.gallery > * > *:first-child {
	margin-top: 0px;
}
.gallery h2,
.gallery h3 {
	display: flex;
	align-items: center;
}
.gallery h2 img,
.gallery h3 img {
	width: 18px;
	margin: 0px 5px 0px 0px;
}
.gallery > .item {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 200px;
	padding: 10px;
	background-color: white;
	transition: 0.2s ease;
	text-decoration: none !important;
	text-align: center !important;
}
.gallery > .item > h3 {
	display: block;
	font-weight: bold;
	margin-bottom: 0px;
}
.gallery > .item:hover {
	transform: scale(1.05);
}
.gallery > .item.blue {
	border: 3px solid #0079B8;
	border-radius: 5px;
}
.gallery > .item.orange {
	border: 3px solid #ffa725;
	border-radius: 5px;
}
.gallery > .item.red {
	border: 3px solid #5f2020;
	border-radius: 5px;
}

.controls {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	margin: 16px 0px;
	gap: 4px;
}
.controls > .controls {
	margin: 0px;
}
.controls.spread {
	justify-content: space-between;
	align-items: center;
}
.controls h1, .controls h2, .controls h3 {
	margin: 0px !important;
	align-self: center;
}
.controls:last-child {
	margin-bottom: 0px;
}
.spread {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
}
.controls.right, tfoot .controls {
	justify-content: right;
}
tfoot .controls {
	flex-wrap: wrap;
	margin: 0px;
}
.controls > *:not(.controls):not(span) {
	display: inline-block;
}
.controls > * {
	vertical-align: middle;
}
.controls > span,
.controls label {
	display: flex;
	align-items: center;
}
.controls select {
	max-width: 200px;
}
.controls button img {
	height: 24px;
}
.controls.subfolders {
	flex-wrap: wrap;
}
.controls.subfolders a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.fillwidth {
	flex-grow: 1;
}

.inlineblock {
	display: inline-block;
}

h1 img {
	margin-right: 15px;
	margin-bottom: 5px;
	vertical-align: middle;
	width: 35px;
}
h2 img {
	margin-right: 10px;
	margin-bottom: 4px;
	vertical-align: middle;
	width: 22px;
}

table {
	border-spacing: 0px;
}
table th, table td {
	text-align: left;
	padding: 4px;
}
table.aligned tr > *:first-child {
	padding-left: 0px;
}
table.aligned tr > *:last-child {
	padding-right: 0px;
}
table.list, .boxshadow {
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.08);
}

/*** INPUTS & BUTTONS ***/
.box {
	box-sizing: border-box;
	background-color: white;
	padding: 10px;
	border: 2px solid #DBDBDB;
	border-radius: 3px;
}
.box > *:first-child {
	margin-top: 0px;
}
.box > *:last-child {
	margin-bottom: 0px;
}
.box .subgroup {
	margin-left: 22px;
}
input, select, button, textarea {
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	border: 2px solid #DBDBDB;
	border-radius: 3px;
	padding: 5px;
	outline: none;
}
input, select, textarea, button {
	background-color: white;
}
input:focus, select:focus, textarea:focus {
	border-color: #C4C4C4;
}
input:disabled, select:disabled, textarea:disabled, .disabled,
input:not([type=file]):read-only, textarea:read-only {
	background-color: rgb(240, 240, 240);
	background-image: repeating-linear-gradient(45deg, rgb(255,255,255), rgb(255,255,255) 10px, rgb(240, 240, 240) 10px, rgb(240, 240, 240) 20px);
}
input.tableSearch {
	width: 100%;
	min-width: 80px;
	padding: 0px;
	border: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
}
input.tableSearch:not(:placeholder-shown) {
	background-color: rgba(255,250,0,0.2) !important;
}
table.form input:not([type=checkbox]):not([type=radio]),
table.form select,
table.form textarea {
	width: 100%;
}
table.form textarea {
	resize: vertical;
	height: 70px;
}
table.form th:not(:first-child) {
	padding-left: 25px;
}
table.form tr:not(.nospace) th, table.form tr:not(.nospace) td {
	padding-bottom: 10px;
}
table.form th.top, table.form td.top {
	vertical-align: top;
}
.dualInput {
	display: flex;
}

/* default button */
button {
	cursor: pointer;
	color: #4C4C4C;
	background-color: #E4E4E4;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 7px;
	border-color: rgba(0,0,0,0.1);
}
button.small,
tfoot button {
	padding: 3px 4px;
}
button.small img,
tfoot button img {
	height: 16px !important;
}
button:hover,
button:focus {
	background-color: #EDEDED;
}
button:active:not(:disabled) {
	box-shadow: 0px 0px 10px rgba(0,0,0,0.4) inset;
}
button:disabled {
	color: #C0C0C0 !important;
	cursor: not-allowed !important;
	background-color: #EDEDED !important;
}
button:disabled > img {
	opacity: 0.2;
}
button > img {
	vertical-align: middle;
	margin-bottom: 1px;
}
button > select {
	padding: 1px;
}
/* primary button */
button.primary {
	color: white;
	font-weight: bold;
	background-color: #007CBB;
}
button.primary:hover,
button.primary:focus {
	background-color: #004a70;
}

.drag {
	text-align: center;
	cursor: move;
}
.draggable.nodrag .drag {
	cursor: not-allowed;
}
.drag img {
	pointer-events: none;
}
.draggable.nodrag .drag img {
	opacity: 0.4;
}
label[draggable=true] {
	cursor: move !important;
}
img.dragicon {
	position: absolute;
	right: 0px;
	pointer-events: none;
}

.inputWithLabel {
	display: flex;
	align-items: center;
	vertical-align: middle;
}
.inputWithLabel > *:not(:last-child) {
	margin-right: 5px;
	width: auto !important;
	flex-grow: 1;
}
.inputWithLabel > div {
	text-align: right;
	min-width: 25px;
}
.stretchInput {
	display: flex;
	align-items: center;
	vertical-align: middle;
}
.stretchInput > * {
	width: auto !important;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 1;
}
.stretchInput > *:not(:last-child) {
	margin-right: 5px;
}

table.largepadding td,
table.largepadding th {
	padding: 15px;
}
table.list {
	border-spacing: 0;
	background-color: white;
}
table.list tr th, table.list tr td {
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
table.list tr th.middle > *, table.list tr td.middle > * {
	vertical-align: middle;
}
table.list tr:first-child th,
table.list tr:first-child td {
	border-top: 1px solid rgba(0,0,0,0.2);
}
table.list tr th:first-child,
table.list tr td:first-child {
	border-left: 1px solid rgba(0,0,0,0.2);
}
table.list tr th:last-child,
table.list tr td:last-child {
	border-right: 1px solid rgba(0,0,0,0.2);
}
table.list tr:first-child th:first-child,
table.list tr:first-child td:first-child {
	border-top-left-radius: 2px;
}
table.list tr:first-child th:last-child,
table.list tr:first-child td:last-child {
	border-top-right-radius: 2px;
}
table.list tr:last-child th:first-child,
table.list tr:last-child td:first-child {
	border-bottom-left-radius: 2px;
}
table.list tr:last-child th:last-child,
table.list tr:last-child td:last-child {
	border-bottom-right-radius: 2px;
}
table.list.actioncolumn thead tr th:last-child,
table.list.actioncolumn tbody tr td:last-child {
	text-align: right;
	white-space: nowrap;
}
table.metadata tr th:first-child {
	width: 40%;
}

table.list .sortbutton {
	width: 100%;
	height: 100%;
	border: none;
	background-color: transparent;
	font: inherit;
	color: inherit;
	text-align: inherit;
	padding: 0;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}
table.list .sortsymbol::after {
	display: inline-block;
	letter-spacing: -.2em;
	margin-left:.1em;
	width: 1.8em;
}
table.list .sortsymbol.sortedasc::after {
	display: inline;
	content: "▲▽";
}
table.list .sortsymbol.sorteddesc::after {
	display: inline;
	content: "△▼";
}
table.list .sortsymbol.unsorted::after {
	display: inline;
	content: "△▽";
}
table.list tfoot .spread {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
table.list tfoot .spread > div:last-child {
	text-align: right;
}

table.list .servicestatus,
table.list .eventlevel {
	font-weight: bold;
}
table.list .servicestatus.ok {
	background-color: #13D389;
	color: rgba(25,25,25);
}
table.list .servicestatus.warn,
table.list .eventlevel.warning {
	background-color: #FFD000;
	color: rgba(25,25,25);
}
table.list .servicestatus.crit,
table.list .eventlevel.critical,
table.list .eventlevel.error {
	background-color: #E85555;
	color: white;
}
table.list .servicestatus.unknown {
	background-color: #FCB97B;
	color: rgba(25,25,25);
}
table.list .eventlevel.info,
table.list .eventlevel.verbose {
	background-color: #A8D1DF;
	color: rgba(25,25,25);
}

img.small,
table tr th > img,
table tr td > img {
	height: 16px;
	vertical-align: middle;
	margin-bottom: 2px;
}
table tr td button > img {
	height: 24px;
}

table.fixed {
	table-layout: fixed;
}

.subbuttons > button {
	opacity: 0;
	transition: opacity 0.2s ease;
	vertical-align: middle;
	margin: -2px 0px 0px 0px;
	padding: 0px;
	border: none;
	background: transparent;
	background-color: transparent !important;
	box-shadow: none !important;
}
.subbuttons .subbutton {
	opacity: 0;
	display: none;
}
a.subbuttons > button {
	margin-left: 4px;
}
.subbuttons > button:first-child {
	margin-left: 0px;
}
.subbuttons > button > img {
	display: block;
	margin: 0px;
}
.subbuttons:hover > button,
.subbuttons:hover .subbutton {
	opacity: 0.85;
}
.subbuttons:hover > button:hover,
.subbuttons:hover .subbutton:hover {
	opacity: 1;
}
.subbuttons:hover .subbutton {
	display: block;
}

.flyout-container {
	position: relative;
}
.flyout-container > .flyout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 150%;
	min-width: 250px;
	padding: 2px 4px;
	opacity: 0;
	transform: translateX(-10px);
	pointer-events: none;
	transition: all 0.2s ease;
	overflow: auto;
}
.flyout-container:hover > .flyout,
.flyout-container:focus > .flyout {
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

.tabbuttons {
	display: flex;
	align-items: bottom;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 16px;
}
.actionmenu {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 16px;
}
.tabbuttons a,
.actionmenu a {
	flex-shrink: 1;
	flex-grow: 0;
	display: inline-block;
	padding: 8px 0px;
	text-transform: uppercase;
	border-bottom: 4px solid transparent;
	text-decoration: none;
	color: inherit;
	letter-spacing: 0.2px;
	font-size: 16px;
}
.tabbuttons a.active {
	border-color: #0079B8;
	color: #0079B8;
}
.tabcontents > * {
	display: none;
}
.tabcontents > *.active {
	display: block;
}
.actionmenu a:hover,
.actionemnu a:focus,
.actionmenu a:active {
	border-color: #0079B8;
	color: #0079B8;
}

.checkboxWithText {
	display: flex;
	align-items: flex-start;
	gap: 5px;
}

.small {
	font-size: 90%;
}
.monospace {
	font-family: 'SourceCodePro', monospace;
}
.rawvalue {
	display: none;
}

code {
	display: inline-block;
	background-color: rgba(150,150,150,0.2);
	border-radius: 2px;
	padding: 1px 4px;
	margin: 1px 0px;
}
code.block {
	margin: auto;
	padding: 6px;
	display: block;
	line-height: 1.3;
	border: 1px solid rgba(0, 0, 0, 0.1);
}
code.block.hscroll {
	white-space: pre;
	overflow-x: auto;
}

div.details-abreast {
	display: flex;
	align-items: flex-start;
	column-gap: 25px;
}
div.details-abreast > div h1,
div.details-abreast > div h2,
div.details-abreast > div h3,
div.details-abreast > div .controls.heading {
	margin-top: 20px;
	margin-bottom: 12px;
	min-height: 41px; /*for alignment with .controls.heading*/
}
div.details-abreast > div h1,
div.details-abreast > div h2,
div.details-abreast > div h3 {
	display: flex !important;
	align-items: center;
}
div.details-abreast > div {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 100%;
	width: 0px;
	overflow: auto;
	/* to preserve table box shadow */
	padding: 4px;
	margin: -4px;
}
div.details-abreast > div > table {
	width: 100%;
}
div.details-abreast > div.stickytable {
	overflow: visible;
}
div.stickytable > table.list thead,
div.stickytable > table.list tfoot {
	position: sticky;
	background-color: white;
	z-index: 2;
}
div.stickytable > table.list thead {
	inset-block-start: -20px;
}
div.stickytable > table.list tfoot {
	inset-block-end: -20px;
}

.offline {
	opacity: 0.4;
}
.inactive {
	color: rgba(7,7,7,0.4);
}
.inactive a, .inactive img {
	opacity: 0.4;
}

.fullwidth {
	width: 100%;
}
.margintop {
	margin-top: 16px !important;
}
.marginbottom {
	margin-bottom: 16px !important;
}
.nomargin {
	margin: 0px !important;
}
.center {
	text-align: center;
}

.progressbar-container {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	max-width: 100%;
	height: 17px;
	position: relative;
}
.progressbar-container.big {
	height: 40px;
	width: 180px;
}
.progressbar-container.stretch {
	display: flex;
}
.progressbar-container > .progresstext {
	display: inline-block;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	background: linear-gradient(to right, white var(--progress,0%), black 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: bold;
}
.progressbar {
	flex-grow: 1;
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	max-width: 100%;
	width: 100px;
	background-color: #EEEEEE;
	border-radius: 2px;
	overflow: hidden;
	text-align: left;
}
.progressbar > .progress {
	display: inline-block;
	height: 100%;
	width: var(--progress,0%);
	background-color: #0079B8;
	border-radius: 2px;
}
.progressbar-container.animated {
	--progress: 100% !important;
}
.progressbar-container.animated > .progressbar > .progress {
	width: 100%;
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
	animation: progressbar-stripes 1s linear infinite;
}
@keyframes progressbar-stripes {
	from { background-position: 1rem 0; }
	to { background-position: 0 0; }
}

.footer {
	position: absolute;
	bottom: 2px; left: 2px; right: 2px;
	font-size: 95%;
	opacity: 0.5;
}
.footer a {
	color: inherit;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

#btnHidden {
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 12px;
	width: 12px;
	opacity: 0;
	border: none;
	background-color: transparent;
}
#btnHidden:hover {
	opacity: 1;
	animation: anim 3s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
@keyframes anim {
	000% {background-color: red;}
	010% {background-color: green;}
	020% {background-color: blue;}
	030% {background-color: yellow;}
	040% {background-color: orange;}
	050% {background-color: purple;}
	060% {background-color: brown;}
	070% {background-color: pink;}
	080% {background-color: lime;}
	090% {background-color: cyan;}
	100% {background-color: teal;}
}

.resizeVertical {
	resize: vertical;
}
.bold {
	font-weight: bold;
}
.hint {
	opacity: 0.6;
}
.checkboxWithText .hint {
	max-width: 650px;
}

.listSearch {
	position: relative;
}
.listSearch input[type=checkbox] {
	position: absolute;
	top: 6px;
	left: 5px;
}
.listSearch input[type=text] {
	display: block;
	padding-left: 27px;
	width: 100%;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.listSearchButton {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.box.listSearchList {
	resize: vertical;
	min-height: 100px;
	height: 155px;
	overflow-y: scroll;
	padding: 0px;

	/* for search text box above */
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-top-width: 0px;
}
.box.listSearchList.withContextButton {
	/* for button below */
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-width: 0px;
}
.box.listSearchList .blockListItem {
	padding-left: 7px;
	padding-right: 15px; /* for .dragicon */
}
.box.listSearchList .blockListItem.big {
	padding-top: 10px;
	padding-bottom: 10px;
}
.box.listSearchList .blockListItem > input[type=checkbox] {
	margin: 2px 5px 0px 0px;
}
.box.listSearchList .headline {
	display: flex;
	align-items: center;
	padding: 7px;
	gap: 5px;
}
.blockListItem > img {
	height: 16px;
	margin-top: 1px;
	margin-right: 4px;
	pointer-events: none;
}
.inputwithbutton,
.fileinputwithbutton {
	position: relative;
}
.inputwithbutton input,
.inputwithbutton textarea {
	padding-left: 25px;
}
.inputwithbutton button {
	position: absolute;
	border: none;
	background-color: transparent;
	top: 12px;
	left: 8px;
	padding: 0px;
}
.fileinputwithbutton input,
.fileinputwithbutton textarea {
	padding-right: 25px;
}
.fileinputwithbutton button {
	position: absolute;
	border: none;
	background-color: transparent;
	top: 14px;
	right: 10px;
	padding: 0px;
}
.inputwithbutton button img,
.fileinputwithbutton button img {
	height: 16px;
	display: flex;
}

.alert {
	border-radius: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 8px !important;
	box-sizing: border-box;
}
.alert.info {
	background: #E1F4FC;
	color: black;
	border: 1px solid #0f6082;
}
.alert.success {
	background: #D4ECD2;
	color: black;
	border: 1px solid #87CA81;
}
.alert.warning {
	background: #FFEDBF;
	color: black;
	border: 1px solid #FFC122;
}
.alert.error {
	background: #FBD8DE;
	color: black;
	border: 1px solid #EC5870;
}
.alert > *:first-child {
	margin-top: 0px;
}
.alert > *:last-child {
	margin-bottom: 0px;
}

@media (max-width: 1050px) {
	#header button > span {
		display: none;
	}
	div.details-abreast {
		flex-wrap: wrap;
	}
	div.details-abreast > div {
		width: 100%;
		overflow: visible;
		padding: 0px;
		margin: 0px;
	}
	.controls {
		flex-wrap: wrap;
	}
}
@media (max-width: 750px) {
	#header {
		justify-content: center;
		flex-direction: column;
		height: 115px;
	}
	#header .separator.space {
		display: none;
	}
	#header > #search-container {
		width: 278px;
		margin-right: 0px;
	}
	#explorer,
	#login {
		display: block;
		height: auto;
		overflow: auto;
	}
	#explorer #explorer-tree,
	#login #login-form {
		width: 100%;
		height: 100%;
		max-width: none;
		min-width: auto;
		border: none;
	}
	#explorer:not(.nosidebar) #explorer-content {
		display: none;
	}
	#login #login-wall {
		display: none;
	}
	#message-container {
		top: 5px;
		right: 0px;
		left: 0px;
		width: auto;
		min-width: auto;
	}
}

@media (prefers-color-scheme: dark) {
	html, #explorer-content {
		background-color: #0d1117;
	}
	#explorer-tree, #login-form, #dialog-container #dialog-box, #header #search-results {
		background-color: #161b22;
		border-color: rgba(255,255,255,0.1);
	}
	.gallery > .item {
		background-color: #161b22;
	}
	#login-bg {
		filter: grayscale(15%) contrast(85%) brightness(70%);
	}
	#login-wall #motd {
		color: rgba(255,255,255,0.75);
	}
	.filler {
		background-color: rgb(255,255,255,0.1);
	}
	#dialog-container.active {
		background-color: rgba(0,0,0,0.45);
	}
	#message-container .message {
		background-color: black;
	}
	#message-container .message .message-title {
		color: white;
	}
	#explorer-tree a:focus,
	#explorer-tree a:hover,
	#explorer-tree a:active,
	#header #search-results a:focus,
	#header #search-results a:hover,
	#header #search-results a:active,
	.blockListItem:focus, .blockListItem:focus-within,
	.blockListItem:hover,
	.blockListItem:active {
		background-color: #30363d;
	}
	#header input:focus {
		color: white;
		background-color: #141414;
	}
	#header input:focus::placeholder {
		color: gray;
	}
	#header #search-glass.focus {
		background-color: white;
	}
	body, a, #header #search-results,
	#explorer-content .details-abreast h1,
	#explorer-content .details-abreast h2,
	#explorer-content .details-abreast h3,
	#explorer-content .gallery h1,
	#explorer-content .gallery h2,
	#explorer-content .gallery h3 {
		color: rgb(233,236,239);
	}
	.inactive {
		color: rgba(233,236,239,0.4);
	}
	code {
		background-color: rgba(22, 27, 34, 0.6);
	}
	code.block {
		border-color: rgba(255,255,255,0.1);
	}
	table.list, .box,
	div.stickytable > table.list thead,
	div.stickytable > table.list tfoot {
		background-color: #161b22;
	}
	table.list tr th, table.list tr td {
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr:first-child th,
	table.list tr:first-child td {
		border-top: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr th:first-child,
	table.list tr td:first-child {
		border-left: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr th:last-child,
	table.list tr td:last-child {
		border-right: 1px solid rgba(255,255,255,0.1);
	}
	.box {
		border: 2px solid rgba(255,255,255,0.1);
	}
	button,
	input:not([type=range]):not([type=radio]):not([type=checkbox]), select, textarea {
		color: white;
		background-color: #21262d;
		border-color: rgba(255,255,255,0.1);
		box-shadow: none;
	}
	input:disabled, select:disabled, textarea:disabled, .disabled,
	input:not([type=file]):read-only, textarea:read-only {
		background-color: rgb(240, 240, 240, 0.1);
		background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgb(240, 240, 240, 0.1) 10px, rgb(240, 240, 240, 0.1) 20px);
	}
	button:hover, button:focus,
	input:not([type=range]):not([type=radio]):not([type=checkbox]):focus,
	textarea:focus, select:focus {
		background-color: #30363d;
		box-shadow: none;
	}
	input:not([type=range]):not([type=radio]):not([type=checkbox]):focus,
	textarea:focus, select:focus {
		border-color: rgba(255,255,255,0.2);
	}
	button.primary {
		background-color: #006193;
	}
	button.primary:hover,
	button.primary:focus {
		background-color: #004a70;
	}
	button:disabled {
		color: #484f58 !important;
		background-color: #21262d !important;
	}
	.progressbar-container > .progresstext {
		background: linear-gradient(to right, black var(--progress,0%), white 0);
		-webkit-background-clip: text;
		background-clip: text;
	}
	.progressbar {
		background-color: #324650;
	}
	.progressbar > .progress {
		background-color: #49AFD9;
	}
	.alert.info {
		background: #0D516E;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.success {
		background: #377531;
		color: #fff;
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.warning {
		background: #A37500;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.error {
		background: #AC142C;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	table.list .servicestatus.ok {
		background-color: #4cb67f;
	}
	table.list .servicestatus.warn,
	table.list .eventlevel.warning {
		background-color: #ffff26;
	}
	table.list .servicestatus.crit,
	table.list .eventlevel.critical,
	table.list .eventlevel.error {
		background-color: #ff2f27;
		color: white;
	}
	table.list .servicestatus.unknown {
		background-color: #ffb400;
	}
	table.list .eventlevel.info,
	table.list .eventlevel.verbose {
		background-color: #0D516E;
		color: white;
	}
}

@media print {
	#explorer > #explorer-tree, .controls {
		display: none;
	}
	#explorer {
		height: auto;
	}
	#explorer > #explorer-content {
		flex-basis: 100%;
		overflow: auto;
	}
	table.list .sortsymbol::after {
		content: '' !important;
	}
	.noprint {
		display: none !important;
	}
}
