/* Special media types */

@media audio, speech, tactile, static, braille, embossed, handheld, print, tty {
  #leftColumn, #pagePath, .wikifooter, .wikilinefooter, #topPanel { display: none !important;  }
  #content, #mainColumn, #mainColumn2, #mainTab {
    float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
}



iframe {
	max-width: 100%;
}

.input-group-inline {
	display: -ms-inline-flexbox !important;
	display: inline-flex !important;
	width: auto;
}

.btn-list .btn,
.button-list .btn {
	margin-bottom: 2px;
}
.btn-list .btn-group .btn,
.button-list .btn-group .btn {
	margin-bottom: 0;
}
.button-list {
	margin: 0.5em 0;
}

.dropdown-menu .nav-pills .nav-link.active {
	background-color: #00000040;
}

.list-inline > li:not(:last-child) {
    margin-right: 1rem;
}
.list-inline > li {
    display: inline-block;
}

.gap-1 {
	gap: 0.25rem !important;
}
.gap-2 {
	gap: 0.5rem !important;
}
.gap-3 {
	gap: 1rem !important;
}
@media (min-width: 768px) {
	.gap-md-1 {
		gap: 0.25rem !important;
	}
	.gap-md-2 {
		gap: 0.5rem !important;
	}
	.gap-md-3 {
		gap: 1rem !important;
	}	
}

.pager-title {
	margin-top: 20px;
}

.pager-title + ul.pagination {
 	margin-top: 0;
}

.empty-pager .pager-title {
 	margin-bottom: 20px;
}

.dropdown-menu-icons .dropdown-item {
	padding-left: 10px;
}

.btn-group-justified > * {
  flex: 1 1 auto !important;
}
.btn-group-justified {
  width: 100%;
}

.dark .alert .wiki-link {
	color: #ff4;
}
.alert p:last-child {
  margin-bottom: 0;
}
.alert-controls .btn {
	white-space: nowrap;
}
.alert a.btn {
	text-decoration: none;
}

/* Make sure cards in a .card-row have even height */
.card-row {
	justify-items: stretch;
}
.card-row > * {
	display: flex;
	justify-items: stretch;
}
.card-row > * > * {
	flex-grow: 1;
}
.card-row .card {
	width: 100%;
	overflow: hidden;
}
.card-row .card-body {
	display: flex;
	flex-direction: column;
}

.card-body > .form-group:last-child, fieldset > .form-group:last-child {
	margin-bottom: 0;
}

.blurt-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.blurt-toolbar .form-inline .form-group {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.blurt-toolbar {
		flex-wrap: wrap;
	}
}

.hub-column {
	overflow: hidden;
}
.hub-narrow {
	display: flex;
	flex-direction: column;
}

.invalid-feedback {
	/* Always show invalid feed back (bootswatch expects "is-invalid" class to precede, not always the case. */
	display: block;
}

.has-warning .form-control.is-invalid {
	/* Do not show the red "X" when the control is in a "warning" state. */
	background-image: none;
}

.custom-radio-border .custom-control {
	padding: 0;
}
.custom-radio-border .custom-control-input ~ .custom-control-label {
	border: 3px solid #00000000;
}
.light .custom-radio-border .custom-control-input:checked ~ .custom-control-label {
	border: 3px solid #000;
}
.dark .custom-radio-border .custom-control-input:checked ~ .custom-control-label {
	border: 3px solid #eee;
}
.custom-radio-border .custom-control-label::before, .custom-radio-border .custom-control-label::after {
	content: none;
}
.form-check-help {
	padding-left: 1.5rem;
}

.input-group.rounded-pill > .form-control:first-child {
	border-top-left-radius: 50rem;
	border-bottom-left-radius: 50rem;
	padding-left: 1.5rem;
}
.input-group.rounded-pill > :last-child > * {
	border-top-right-radius: 50rem !important;
	border-bottom-right-radius: 50rem !important;
}

@media (min-width: 768px) {
	.form-horizontal .form-group > div > .custom-control:first-child {
		padding-top: calc(0.375rem + 1px);
	}
}

.tab-content {
	border-width: 0 1px 1px;
	border-style: solid;
	padding: .5rem 1rem;
}

.caret:after {
	content: "▼";
	font-weight: normal;
	font-size: 60%;
	vertical-align: middle;
	margin: 0 5px;
}

.form-control-static {
	/* Same as .col-form-label */
	padding-top: calc(0.375rem + 1px);
}

.no-transition .flip-list-move {
	transition: none;
}
.flip-list-move {
	/* For vue transition-group */
	transition: transform 0.4s;
}

.list-group.movable .list-group-item + .list-group-item.active {
	/* Prevent the .active item from "fidgeting" inplace with flip-list */
	margin-top: 0;
	border-top-width: 0;
}

.transition-none {
	transition: none !important;
}

.two-lines {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
}

.blockquote {
	border-left: 3px solid var(--secondary);
	padding-left: 1rem;
}
hr {
	border-top-color: var(--secondary);
}

/* Top panel layout */

#topPanel FORM { float: right; margin: 0; padding: 0; }
#content { clear: both; }
#motto { margin: 1em 0; padding: 0; text-align: center; }
#motto A { font-style: italic; }


/* Tools column */

#toolsColumn UL { list-style-type: none; padding-left: 1em; margin-left: 0; }
#toolsColumn LI { padding: 0; margin: 0; }
#leftColumn FORM { margin: 0; padding: 0; }
#leftColumn { text-align: left; }

/* Footer */

.clear { clear: both; height: 20px; overflow: hidden; margin: 0; }
#wikiFooter FORM { margin: 0; padding: 0; }

/* General appearance */

a.wikipagelink, a.wikipageedit { font-weight: bold; }
a.extlink { text-decoration: underline; }

/* Forms */

form { text-align: left; }
.bform > label, .bform fieldset > label, .bform .blabel { display: block; float: left; width: 9em; text-align: right; padding-right: 1em; padding-bottom: 0.5em; }
.bform > br, .bform fieldset > br { clear: left; }
.bform .righttext > i { display: block; font-size: 0.8em; }
.bform .err { display: block; color: #f00; }
.bform .righttext > sub { color: #f00; vertical-align: middle; }
.bform textarea { width: 95% }
.bform input[type="file"] { display: inline; }  /* Bootstrap undo */
.bclear { clear: left; }
.bform .righttext { display: block; margin-left: 10em; }
.resetdate { display: inline-block; width: 16px; height: 16px; cursor: pointer; background: url(../Images/resetdate.png) no-repeat 50% 50%; }
fieldset { margin-bottom: 1em; }
.form fieldset:last-child, .form-horizontal fieldset:last-child { margin-bottom: 0; padding-bottom: 0; }

.bform_wide > label, .bform_wide fieldset > label, .bform_wide .blabel { width: 18em; }
.bform_wide .righttext { margin-left: 10em }

.mobile .bform > label, .mobile .bform fieldset > label, .mobile .bform .blabel { display: inline; float: inherit; width: inherit; text-align: inherit; padding: inherit; font-weight: bold }
.mobile .bform .righttext { padding: 0 0 10px 10px; margin: 0 }
.mobile .bform > br, .mobile .bform fieldset > br { display: none; }

.cform > label, .cform fieldset > label, .cform .blabel { display: block; float: none; width: auto; text-align: left; padding: 0; margin-top: 0.5em; font-size: 80%; }
.cform .righttext { margin-left: 0 }
.cform .err { display: block; color: #f00; font-size: 0.8em }
.cform .righttext > sub { color: #f00; vertical-align: middle; }
.cform .righttext > i { display: block; font-size: 0.8em; }
.cform > br, .cform fieldset > br { display: none; }
.cform > br.clear, .cform fieldset > br.clear { display: block; }

.form-compact .form-group {
	margin-bottom: 0;
}

.btn.bf-link {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

/* Forms.pm */

.small-centered-well {
	max-width: 35em;
	margin: 1em auto;
}

.medium-centered-well {
	max-width: 55em; margin: 1em auto;
}

.form legend, .form-horizontal legend {
	margin-bottom: 1em;
}

.datewidget-control {
	cursor: pointer !important;
	background-color: #fff !important;
}
.form-control-inline {
	display: inline-block;
	width: auto;
}
.merged-elements { margin-bottom: -4px; }
.merged-elements > div { margin-bottom: 4px; }

@media (min-width: 768px) {
	.form-horizontal .has-tooltip-help {
		text-align: right;
	}
}

.btn-tooltip-help {
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font-size: 15px;
}

.wide-comboboxes .scombobox-display-div-item {
	max-width: 100%;
	width: 100%;
}
.wide-comboboxes .scombobox-display-div-item-text {
	max-width: initial;
}
.wide-comboboxes .scombobox-display-div-holder {
	max-height: 20em;
	overflow-y: auto;
}


/* Wiki elements */

.wikitable { border-collapse: collapse; border: 1px solid black; }
.wikitable td { vertical-align: top; padding: 2px 0.5em; }
dt { font-weight: bold; }
.diff-table {
	table-layout: fixed;
}
.diff-table td {
	text-overflow: ellipsis;
	overflow: hidden;
}
.table-fixed {
	table-layout: fixed;
}

.event TABLE TABLE { margin: 20px; border: 0; }
.event TD, .event TH { padding: 0px; color: #000; vertical-align: top;}
.event TH { text-align: right; }
.eventParticipants EM { font-size: 70%; }
.eventParticipants TD, .eventParticipants TH { padding: 5px; }
div.pastEvent TABLE, div.pastEvent TD  { background: #ccc; color: #666; }
.event LI, .event UL { display: block; padding: 0; margin: 0; }
.event FORM { display: inline; white-space: nowrap; padding: 10px; }
.event .form-group { margin-bottom: 0; }
.mobile .event table { width: inherit; }
.button { font-family: sans-serif; text-decoration: none !important; color: #000 !important; background: #ccc; padding: 5px; margin-left: 10px;
  border-color: #666; border-style: solid; border-width: 1px 3px 3px 1px;
  display: inline-block; white-space: nowrap; }
.event .pastComments { font-size: 70%; padding-left: 1em; }

#mainColumn .favoritesOf { border: 3px double #000; margin: 1em 0; padding: 1em; }
#mainColumn .favoritesOf SMALL { float: right; position: relative; top: -1.5em; }
.wikiblogfooter .tags { margin: 1em 0 0 0; }
#mainColumn .tags FORM { display: inline; }


/*
 * Other elements
 */

.alert { margin: 1em 0; }
.password-strength { margin: 3px 0 0; }

DIV.wikipreview { color: #000; background-color: #dfd; padding: 0 0.5em; }
DIV.wikipreviewgray { margin: 0 -0.5em; padding: 0 0.5em; background-color: #eee; color: #aaa; }

#editDiv { position: relative; }
#editDiv A { position: absolute; right: 20px; top: -50px; width: 48px; height: 48px;
  background: url(../Images/fullscreen.png) no-repeat 0 0; }
#editDiv A.fullscreen { background: url(../Images/nofullscreen.png); }

#miniHelpTable TABLE { border-collapse: collapse; font-size: 75%; }
#miniHelpTable TD, #miniHelpTable TH { padding: 1px 3px; }

.sqltable-container { overflow-x: auto; }
.sqltable pre { margin: 0; padding: 0; }
.sqltable { white-space: pre-wrap; }
.charCounter { position: relative; }
.charCounter span { position: absolute; display: block; bottom: 0px; left: 100%; border: 1px solid #000; width: 2em; text-align: center; }

.deleted-user { text-decoration: line-through; }

/*
 * Chat
 */


.chatLines { position: relative; }
ul.chatBody, ul.chatBody li { list-style-type: none; margin: 0; padding: 0; }
li.nl { font-weight: bold }
.chat form { padding: 0; margin: 0; }
.chat .input-group { margin-bottom: 0.5em; }
#chatRooms A.unseen:before { content: "*" }
#chatRooms A.unseen { color: #f00 }
#scrollUp { position: absolute; top: 5px; right: 0; }
#scrollDown { position: absolute; bottom: 5px; right: 0; }
.topic_upload { background: #ffc; }
.topic_edit { background: #cbf; }
.topic_event { background: #dfd; }
.topic_poll { background: #bff; }
.topic_tag { background: #fda; }

.comm { position: fixed; z-index: 1000; right: 0px; bottom: 0px; color: #000; background: #ccd; border: 2px solid #668; border-width: 2px 0 0 2px; }
.comm > a { line-height: 2em; padding: 0 0.5em; height: 2em; display: inline-block; }
.comm > a + a { border-left: 1px solid #668 }
.comm a.unseen { color: #f00; }
.comm a.open { background: #eef; }
.commChList, .commBody { position: fixed; bottom: 2em; right: 0px; z-index: 999;
  list-style-type: none; padding: 0; margin: 0;
  background: #eee; border: 2px solid #668; }
.commBody { box-shadow: 2px 2px 8px #000; }
.commBody li { color: #444; position: relative; }
.commBody li.nl { color: #000; }
.commTime { position: absolute; top: 0; right: 0; background: #fff; text-indent: 0; padding-left: 5px; }
.commChList li { padding: 0; margin: 0; white-space: nowrap }
.commText { max-height: 200px; width: 400px; overflow-y: scroll; position: relative; }
.commBody li { text-indent: -30px; padding-left: 35px !important; }
.commBody li + li { border-top: 1px solid #ccc; }
.commBody li > a:first-child { font-weight: bold; }
.commBody input { width: 396px; display: block; margin: 2px 2px 10px; }

.mobile .commBody { left: 32px; top: 48px; }
.mobile .commText { width: auto; max-height: inherit; top: 2em; bottom: 0; left: 0; right: 0; position: absolute; }
.mobile .commBody input { position: absolute; top: 0; width: 100%; margin: 2px 0; box-sizing: border-box; }


/*
 * Blog
 */

.blognavseparator { display: none; }
.backbloglinks { float: left; }
.forwardbloglinks { display: block; text-align: right;}
.backbloglinks A { margin-right: 1em; white-space: nowrap;}
.forwardbloglinks A { margin-left: 1em;  white-space: nowrap;}

.wikiblogfooter { font-variant: small-caps; margin-bottom: 1em; }
.wikiblogfooter .vote-total { font-variant: normal; }
.vote-percent { font-size: 120% }

.commentsDiv { clear: both; }
.commentDiv {
	font-variant: normal;
	font-size: 100%;
	margin: 1em 0 1em 4em;
	padding: 0.5em 1em;
	clear: both;
}
.light .commentDiv {
	background: #ddd;
	color: #000;
}
.dark .commentDiv {
	background: rgba(128, 128, 128, 0.1);
}

.commentDiv HR { display: none; }
.threadbtn { text-align: right; }
.commentsDiv .comment-link { display: none; }
.touch .commentsDiv .comment-link, .commentContainer:hover .comment-link { display: inline; }

.subscriptions-table td {
	vertical-align: middle !important;
}

.keepTogether {white-space: nowrap;}

.blogthumbnail IMG { float: left; margin-bottom: 5px; width: 128px }
.blogthumbnail, .blogcentral H1 { clear: left; }
@media (min-width: 768px) {
	.meta-blog { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; }
}
.meta-blog li { text-align: left; margin: 0; padding: 0; }

.rating_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png);}
.rating_4 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -11px 0;}
.rating_3 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -22px 0;}
.rating_2 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -33px 0;}
.rating_1 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -44px 0;}
.rating_0 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -55px 0;}
.rating_4_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) 0 -11px;}
.rating_3_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -11px -11px;}
.rating_2_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -22px -11px;}
.rating_1_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -33px -11px;}
.rating_0_5 { padding: 0; width: 55px; height: 11px; background: url(../Images/rating.png) -44px -11px;}

.expanded { display: inline; }
.expandable { display: none; }

.blogCalDate { color: #00f !important; font-weight: bold; cursor: pointer; }
.blogCalendar .DynarchCalendar-day-today { color: inherit; font-weight: inherit; }
.blogCalendar table { border: inherit; }
.blogCalendar td { padding: inherit; background: inherit; }

.blog-list li.media {
	margin-top: 2em;
}
.blog-list li.media:first-child {
	margin-top: 0;
}

.blog-list-date {
	font-style: italic;
}
.blog-list-date:not(:first-child) {
	margin-top: 1rem;
}
.blog-list-date-repeat {
	display: none;
}
.blog-list-portrait {
	margin-right: 1em;
}
.blog-list-title {
  font-size: 120%;
}
.blog-list .media-body {
	overflow: hidden;
}

.blog-list-comments {
  display: block;
  background: #08f;
  color: #fff !important;
  text-align: center;
  width: 3em;
  position: relative;
  padding: 5px 0;
  border-radius: 5px;
}

.blog-list-comments::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 10px;
  border-width: 12px 12px 0 0;
  border-style: solid;
  border-color: #08f transparent;
  display: block;
  width: 0;
}

.user-portrait-container {
	position: relative;
}
.user-portrait {
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 32px;
  overflow: hidden;
  text-align: center;
}

.user-portrait span, .user-portrait .img {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.user-portrait img {
  vertical-align: baseline;
  padding: 0;
}

.user-portrait-100 {
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50px;
}

.user-portrait-100 span {
  background-size: 100px 100px;
}

@media (max-width: 767px) {
	.user-portrait-responsive {
		width: 64px;
		height: 64px;
		line-height: 64px;
		border-radius: 32px;
	}
	.user-portrait-responsive span {
		background-size: 64px 64px;
	}
}

.user-portrait-48 {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 25px;
}

.user-portrait-48 img {
  max-width: 48px;
  max-height: 48px;
}

.user-status-code {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}
.user-status-code-online {
	background-color: var(--success);
}
.user-status-code-chatting {
	background-color: var(--info);
}
.user-portrait .user-status-code,
.user-portrait-container .user-status-code {
	position: absolute;
	top: 0px;
	right: 0px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.user-portrait-48 span {
  background-size: 48px 48px;
}

.img-stack {
	display: inline-block;
	position: relative;
}
.img-stack img:last-child, .img-backdrop, .img-cover {
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 0;
	width: 100%;
	height: 100%;
}


/* blog ticker */

#blogtickercontainer { border: 1px solid #9ec1e9; overflow: hidden; }
#blogticker { position: relative; }
#blogticker TR {padding: 0; margin: 0; border: 0; }
#blogticker TD { width: 100px; padding: 0; margin: 0; border: 0; }
#blogticker IMG { width: 100px; height: 100px; border: 0; padding: 0; margin: 0; max-width: initial; }
.ticker_ff { position: absolute; width: 64px; right: 0; top: 0; bottom: 0; background: url(../Images/ticker-forward.png) 50% 50% no-repeat; }
.ticker_ff:hover { background-image: url(../Images/ticker-forward-hover.png); }
.ticker_ff:focus { border: none; outline: none; }

/* Comment stream */

.commentContainer.modern {
	position: relative;
	min-height: 64px;
	margin-top: 1em;
	margin-bottom: 2em;
	clear: right;
}

.commentPortrait {
	position: absolute;
	left: 0;
	top: 0;
}

.commentBubble {
	margin-left: 80px;
	border-radius: 5px;
	padding: 10px;
	overflow: hidden;
}

.dark .commentBubble {
	border: 1px solid #666;
	background: #222;
}

.light .commentBubble {
	border: 1px solid #ccc;
	background: #eee;
}

@media (min-width: 768px) {
	.commentBubble {
		padding: 20px;
	}

	.commentBubble:before {
		content: "";
		position: absolute;
		border-style: solid;
		display: block;
		width: 0;
		top: 20px;
		bottom: auto;
		left: 68px;
		border-width: 6px 12px 6px 0;
	}

	.dark .commentBubble:before {
		border-color: transparent #666;
	}

	.light .commentBubble:before {
		border-color: transparent #ccc;
	}

	.commentBubble:after {
		content: "";
		position: absolute;
		border-style: solid;
		display: block;
		width: 0;
		top: 20px;
		bottom: auto;
		left: 70px;
		border-width: 6px 12px 6px 0;
	}
	.dark .commentBubble:after {
		border-color: transparent #222;
	}
	.light .commentBubble:after {
		border-color: transparent #eee;
	}
}

.dark .commentBubble.supportersOnly, .supporter-notes textarea {
	background: #312400;
}
.light .commentBubble.supportersOnly, .supporter-notes textarea {
	background: #ffe9aa;
}
.dark .commentBubble.supportersOnly:after {
	border-color: transparent #312400;
}
.light .commentBubble.supportersOnly:after {
	border-color: transparent #ffe9aa;
}
.light .commentBubble.autoGenerated {
	background: #d3deec;
}
.dark .commentBubble.autoGenerated {
	background: #202740;
}
.dark .commentBubble.autoGenerated:after {
	border-color: transparent #202740;
}
.light .commentBubble.autoGenerated:after {
	border-color: transparent #d3deec;
}


.comment-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}
.comment-title .commentHeading {
	margin: 0;
	font-size: 16px;
}
.dark .commentHeading {
	color: #aaa;
}
.light .commentHeading {
	color: #888;
}

.commentDate {
	padding-left: 1em;
	font-size: 14px;
}

.commentBubble .vote-good, .commentBubble .vote-bad {
	font-size: 20px;
	color: #0a0;
	padding-left: 1em;
}

.commentBubble .vote-bad {
	color: #a00;
}

.modern.commentContainer .commentHeading { margin: 0; }
.modern + .commentSeparator { display: none; }
.commentReply { margin-top: 0; }

.commentBody img {
	display: block;
	max-width: 100%;
}

@media screen and (max-width: 767px) {
	.commentPortrait {
		top: 10px;
	}
	.commentPortrait,
	.commentPortrait .user-portrait,
	.commentPortrait img {
		width: 24px;
		height: 24px;
		line-height: 24px;
	}
	.commentContainer .commentUser {
		font-size: 1rem;
	}

	.commentContainer .commentBubble {
		margin-left: 32px;
		border: 0 !important;
	}

	.commentContainer .commentUser {
		font-size: 1rem;
	}

	.comment-title {
		flex-direction: column;
		align-items: flex-start;
	}

	.commentDate {
		padding: 0;
		opacity: 0.5;
		font-size: 0.75rem;
	}
}

/* forum */

.group-list .media-left {
    padding-right: 1em;
}
.group-list .media-left img {
    border-radius: 10px;
}
.group-list .media {
    margin: 0;
	padding: 20px 15px;
}

.forum-list .media {
    padding: 8px 15px 8px;
    margin: 0;
}
.forum-list .media-right {
	flex-basis: 0;
}
.forum-list .media-right:last-child {
    min-width: 10em;
    max-width: 10em;
}
.forum-list .media-right:nth-child(3) {
    padding-left: 2em;
}
.forum-category .media-right {
	flex-basis: 0;
	margin-left: 1em;
}

.xs .d-none {
	display: none !important;
}
.xs .d-block {
	display: block !important;
}



/* Range slider */

.form-group .range-slider {
	margin-top: 6px;
}

.range-slider {
	height: 24px;
	border-radius: 12px;
	position: relative;
}

.range-slider-knob {
	height: 2em;
	margin: 0;
	padding: 0 0.5em;
	position: absolute;
	border-radius: 1em;
	border: 0.1em solid #ccc;
	line-height: 1.8em;
	cursor: w-resize;
	white-space: nowrap;
	text-align: center;
	display: block;
	font-size: 14px;
	height: 24px;
	line-height: 24px;
	}

.range-slider-knob + .range-slider-knob {
	cursor: e-resize;
}

.range-slider-single .range-slider-knob {
	cursor: ew-resize;
}

.range-slider-readonly .range-slider-knob {
	cursor: default;
}


/* autocomplete */

.autocomplete {
  position: absolute;
  transition: all 0.5s ease 0s;
  max-height: 0;
  overflow-y: hidden;
  background-color: #fafafa;
  color: #000;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
  z-index: 30;
}
.autocomplete.open {
  display: block;
  transition: all 0.5s ease 0s;
  max-height: 500px;
}
.autocomplete:active,
.autocomplete:focus,
.autocomplete:hover {
  background-color: #fafafa;
  transition: all 0.5s ease 0s;
}
.autocomplete > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.autocomplete > ul > li {
  cursor: pointer;
  padding: 5px 0 5px 10px;
  margin: 0;
}
.autocomplete > ul > li.locked {
  cursor: inherit;
}
.autocomplete > ul > li.active,
.autocomplete > ul > li:active,
.autocomplete > ul > li:focus,
.autocomplete > ul > li:hover {
  background-color: #eeeeee;
}

#tooltip { position: absolute; padding: 10px; background: #ff9; border: 1px solid #444; border-width: 1px 2px 2px 1px; font-size: 75%; max-width: 30em; }
#tooltip tt { font-weight: bold; padding-left: 10px; }
* html #tooltip { width: 30em; }
.hidden { display: none; }

/*
 * Source highlight
 */

PRE.codefragment { border: 1px solid #CCCCCC; background-color: #f5f5f5;
  margin: 4px 8px 4px 2px; padding: 4px 6px;
}
.comment { color: #080; }
.string  { color: #008; }
.number  { color: #488; }
.key1    { font-weight: bold; color: #00f; }
.key2    { color: #c00; }
.key3, .key4, .key5, .key6, .key7, .key8 { font-weight: bold; }

pre.codefragment-kate {
  white-space: nowrap;
}

/*
 * Messages
 */

.messagelinks { display: block; margin-bottom: 1em; }
.messageprev { float: left }
.messagenext { float: right }
.messagelinks  BR { clear: both }
.floatleft { float: left; margin: 20px 20px 20px 0; margin-left: -30px; }
.floatright { float: right; margin: 20px 0 20px 20px; margin-right: -20px; }
.msglist td { height: 70px; }
.msglist td:first-child a { display: block; }
.msglist td:first-child span { width: 70px; display: inline-block; text-align: center; vertical-align: middle }
.msglist td:first-child img { padding: 0; max-width: 64px; max-height: 64px }
.msg-date, .msg-actions { font-weight: normal;  margin-left: 30px; }
.msg-actions { font-weight: normal;  margin-left: 30px;}
.msg-date { font-size: 80% }

#instantmsg { position: fixed; z-index: 10; right: 0; top: 0; margin: 0;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	transition: top 0.3s ease;
}

body.at-page-start #instantmsg {
    top: 60px;
}

#instantmsg .media-body {
	width: auto;
}

.modal-open #instantmsg { z-index: 0; }

.edit-canned-tbl { width: 100%; }
.edit-canned-tbl .new-cm td { text-align: right; }
.edit-canned-tbl div { max-height: 1.5em; line-height: 1.5em; margin-left: 1em; overflow: hidden; word-wrap: break-word !important; text-overflow: ellipsis; font-size: 80%; }

/*
 * Translations
 */

.translation { text-align: right; border-spacing: 10px 2px; }
.translation td { vertical-align: top; }
.translation .chapter td { padding-top: 10px; font-weight: bold; }
.translation textarea { width: 100%; border: 0; margin: 0; padding: 0; background: transparent; font: inherit; color: inherit; padding: 0; resize: none; }
.translation .empty td { border: 1px solid #f00  }
.translation .problem td { background: #ff0  }

/*
 * TabWidget
 */

.tabWidgetHeading { margin: 0.5em 0 -3px; padding: 1px; list-style-type: none; }  /* Padding is for IE... WHY?! */
.tabWidgetHeading li { display: inline; margin: 0; padding: 0;  }
.tabWidgetHeading A { border: 2px solid; border-bottom: 0; text-decoration: none; display: inline-block; margin: 0 0 0 1em; padding: 3px 4px; outline: none !important }
.tabWidgetHeading A:hover, .tabWidgetHeading A:focus { text-decoration: none; }
.tabWidgetHeading li.currentTab A { border-bottom: 2px solid #eee; padding-bottom: 3px; background: #fff; }
.tabWidgetHeading.topOnly { margin-bottom: -2px; }
.tabWidgetContainer { border: 2px solid; margin: 0; padding: 1em 1em 30px; background: #fff; margin-bottom: 1em }
.tabWidgetContainer.topOnly { border-width: 1px 0 0 0; padding: 1em 1em 0.5em; margin-bottom: 0; background: #eee; }
.tabWidgetHeading.topOnly li.currentTab a { background: #eee; }
.tabWidgetHeading.topOnly a { border-width: 1px; color: #000; }
.tabWidgetHeading.topOnly { margin-top: 1px; }

@media (max-width: 767px) {
  .tabWidgetContainer { border-width: 2px 0; padding: 10pt 0 0; }
  .media .tabWidgetContainer { padding: 10px 15px 0; }
  .container-fluid .tabWidgetContainer { padding: 15px; margin: 0 -15px; overflow: hidden; }
  .tabWidgetContainer.topOnly { border-width: 1px 0 0; padding: 10pt 0 0; }
}

/*
 * Tag manager
 */

.tag-manager {
	height: auto;
}

.tag-manager .badge {
	display: inline-block;
	font-size: inherit;
	font-weight: normal;
	cursor: not-allowed;
	margin: 2px 0;	/* Prevent tags in adjavent lines touching. */
}

.tag-manager input {
	border: 0;
	outline: 0;
	background: transparent;
}
.dark .tag-manager input {
	color: inherit;
}

.shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Form-Dropdown */

.form-dropdown .custom-select {
	text-align: left;
}

.dd-label {
	display: inline-block;
	padding-left: 0.5rem;
}

.dd-details {
	padding-left: 1.9rem;
	color: var(--gray);
}

/*
 * Video
 */

.thumbnail-selector { margin: 0 1em 1em 0; border: 2px none; max-height: 150px; max-width: 150px; cursor: pointer; }
.thumbnail-selected { border: 2px solid #f80; }

.responsive-video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
}

.responsive-video-container iframe,
.responsive-video-container object,
.responsive-video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
 * Dialog
 */

.modal-backdrop { bottom: 0 }  /* fix for bootswatch */
.modal-full { 
	width: calc(100% - 10px); 
	max-width: calc(100% - 10px); 
}
@media (max-width: 991px) {
	.modal-lg,
	.modal-xl {
		max-width: initial;
		margin-left: 1rem;
		margin-right: 1rem;
	}
}

/*
 * Calendar
 */

.DynarchCalendar * { box-sizing: content-box; }
.wikitext table.caltable  { border-collapse: separate; border: 1px solid black; border: inherit }
.caltable { width: 100%; border-spacing: 5px 0; table-layout: fixed; padding: 5px 0; background: #fbfbff; margin: 1em 0;
  box-shadow: 2px 2px 8px #aaf; -moz-box-shadow: 2px 2px 8px #aaf; -webkit-box-shadow: 2px 2px 8px #aaf; }
.caltable th { font-weight: normal; color: #aaf }
.monthcol { width: 14%;}
.calmonth td { border: 1px solid #ccd; border-radius: 10px; -moz-border-radius: 10px; padding: 2px; background: #eee; vertical-align: top; height: 5em;
  box-shadow: 2px 2px 3px #ccc; -webkit-box-shadow: 2px 2px 3px #ccc; -moz-box-shadow: 2px 2px 3px #ccc; }
.calmonth td.cal_we { background: #e0e0e0; }
.calmonth ul { list-style-type: none; padding: 0; margin: 0; }
.calmonth li { font-size: 80%; padding: 0 2px; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px;  -moz-border-radius: 6px }
.calmonth li a { color: inherit !important }
.calmonth td.cal_day { text-align: right; font-size: 75%; color: #888; height: inherit; padding-top: 10px; }
.calmonth td.cal_day, .calmonth .offmonth { border: 0; background: inherit; box-shadow: inherit; -webkit-box-shadow: inherit; -moz-box-shadow: inherit; }
.calmonth td.cal_day_today { color: #f80; }
.cal_imp { background: #faa; }
.cal_work { background: #fa0; }
.cal_per { background: #af0; }
.cal_todo { background: #aaf; }
.cal_low { background: #aaa; }
.cal_busy { background: #aaa; }
.cal_event { background: #addaf0; }
.calmagic td { height: 10px; }
.calmonth td.cal_today { border-color: #f80; box-shadow: 2px 2px 3px #fca; }
.cal_newbutton { width: 26px; height:16px; background: url(../Images/cal-new.png) no-repeat; display: inline-block; visibility: hidden; vertical-align: bottom; cursor: pointer}
td:hover .cal_newbutton { visibility: visible }

/*
 * MindMap
 */
.mindmap { position: relative; border: 1px dashed #f00; margin: 1em 0; }
.mindmap_node { position: absolute;  }
.mindmap .editing { z-index: 10;  background: #fff; border: 2px solid #666; box-shadow: 2px 2px 10px #000; outline: 0 }
.mindmap .dragover { outline: 2px dotted #0f0 }
[draggable=true] {
  -khtml-user-drag: element;
}

/*
 * PersonalNotes
 */

@media (max-width: 767px) {
  .personal-notes .media-left {
    display: none;
  }
  .personal-notes .media-body {
    display: block;
  }
}


/*
 * Upload
 */

.webcamDialog canvas { border: 5px solid #0f0; max-width: 100%; }
.webcamDialog video { border: 5px solid #f00; max-width: 100%; }

/*
 * Panel
 */

.collapsable-panel-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
	gap: 1rem;
}
.collapsable-panel-heading > :first-child {
    flex-grow: 1;
}
.panel-collapse-btn span {
    transform: rotate(0);
    transition: transform 0.3s;
    display: block;
}
.panel-collapse-btn.is-collapsed span {
    transform: rotate(90deg);
}

a.panel-heading {
	display: block;
}

.nonmodal-panel {
	position: fixed;
	transition: top 0.5s, opacity 0.5s;
	top: 10px;
	opacity: 1.0;
	right: 10px;
	z-index: 100;    /* Overlap with language menu */
}
.nonmodal-panel.nonmodal-panel-closed {
	top: -200px;
	opacity: 0;
}
.nonmodal-panel .media-body {
	width: auto;
}



/*
 * WebShop
 */

.shop_toppanel { text-align: right; margin: 0; }
.shop_toppanel a { color: #00f; }

.shop_product_grid { display: inline-block; width: 150px; margin: 1em 20px 1em 0; vertical-align: top; text-align: center; background: #dee; padding: 0.5em  }
.shop_product_grid .shop_price { display: block }
.shop_product_thumbnail { display: block; margin: auto; }
h3.shop_product_name { margin: 0 0 0.5em }
.shop_button { border: 0; display: inline-block; margin-top: 5px; background: #15a4e3; color: #fff; padding: 2px 1em; border-radius: 5px; font-family: sans-serif; box-shadow: 0px 2px 2px #999; }

.shop_product_container { margin: 1em 0 }
.shop_photo_container { border: 1px solid #ccc; width: 250px; float: left; text-align: center; }
.shop_photo_container img { padding: 0; }

.shop_product_details { margin-left: 300px; }
.shop_product_details .shop_product_price { font-weight: bold; font-size: 1.2em }
.shop_product_order { margin: 1em 0; }

.shop_cart td { padding-top: 0.5em; padding-bottom: 0.5em; }
.shop_cart .shop_price, .shop_cart .shop_quality { display: block; text-align: right; }
.shop_item_refresh, .shop_item_remove { width: 16px; height: 0; padding: 16px 0 0; border: 0; vertical-align: middle; }
.shop_item_refresh { background: url(shop/refresh.png) }
.shop_item_remove { background: url(shop/remove.png) }

.shop_item_container { min-width: 300px; }
.shop_item_photo { width: 100px; text-align: center; float: left; }
.shop_item_photo img { padding: 0; }
.shop_item_details { margin-left: 120px; }
.shop_total td { text-align: right; font-weight: bold; }

.shop_checkout fieldset { border: 0; }
.shop_checkout legend { margin: 0.5em 0; padding: 0; font-size: 120%; }
.shop_personaldetails { width: 45%; float: left; }
.shop_address { width: 45%; margin-left: 50%; }

.shop_adminlist img { padding: 0; max-height: 32px; max-width: 32px; }
.shop_adminlist td { vertical-align: middle; height: 32px; }
.shop_adminlist td:first-child { text-align: center; }
.shop_adminlist td:nth-child(3) { text-align: right; }
.shop_adminlist td:nth-child(4) { text-align: right; }

.shop_product_formphotos img { padding: 0; max-height: 100px; max-width: 200px; }

/*
 * Default layout
 */

#content { margin: 1em; }
#columns { min-width: 500px; }
#leftColumn {float: left; width: 250px; }
#mainColumn { float: right; margin-left: -270px; width: 100%; }
#mainColumn2 { margin-left: 270px; }

#tabs { margin: 0; padding: 1px; list-style-type: none; }  /* Padding is for IE... WHY?! */
#tabs li { display: inline; margin: 0; padding: 0;  }
#tabs A { border: 2px solid #aaf; text-decoration: none; float: left; display: block; margin: 0 0 -2px 1em; padding: 3px 4px; }
#tabs A:hover { text-decoration: underline; }
#tabs li.active a { border-bottom: 2px solid #fff; padding-bottom: 3px; background: #fff; }
.mobile #tabs li a { border: 0; padding: 0; font-weight: initial; }


#mainTab { border: 2px solid #aaf; clear: left; margin: 0; padding: 0 1em 1em; }
#title H1 { margin: 0; padding: 0.67em 0; }
#pagePath, .tags { margin: 1em 0; }

#birk { display: none; }



/* Mobile layout */
.mobile img { max-width: 100%; }
.mobile #content { margin: 0; }
.mobile #content table { width: 100%; }
.mobile .wikifooter { font-size: 75%; }
.debug-data { word-break: break-all; }

@media (max-width: 991px) {
	.collapsing-table thead {
		display: none;
	}
	.collapsing-table tr {
		display: flex;
		flex-direction: column;
	}
	table.collapsing-table tr td, table.collapsing-table tr th {
		border: 0;
	}
	.collapsing-table td:not(:first-child) {
		padding-top: 0;
	}
}

/* Blurt-font */

.bf-verified:not(.text-success):before { color: #0f0; }
.icon-media .media-left i { font-size: 50px; }

@font-face {
  font-family: 'blurtfont';
  src: url('../fonts/blurtfont.eot?7');
  src: url('../fonts/blurtfont.eot?7#iefix') format('embedded-opentype'),
       url('../fonts/blurtfont.woff2?7') format('woff2'),
       url('../fonts/blurtfont.woff?7') format('woff'),
       url('../fonts/blurtfont.ttf?7') format('truetype'),
       url('../fonts/blurtfont.svg?7#blurtfont') format('svg');
  font-weight: normal;
  font-style: normal;
}

i[class^="bf-"]:before {
  font-family: "blurtfont";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.bf-spin:before {
  -moz-animation: spin 2s infinite linear;
  -webkit-animation: bf-spin 2s infinite linear;
  animation: bf-spin 2s infinite linear;
}
.bf-pulse:before {
  -moz-animation: spin 1s infinite steps(8);
  -webkit-animation: bf-spin 1s infinite steps(8);
  animation: bf-spin 1s infinite steps(8);
}
@-moz-keyframes bf-spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(359deg);
  }
}
@-webkit-keyframes bf-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes bf-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.bf-empty:before { content: ' '; }
.bf-flip-horizontal:before {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.bf-stack {
	position: relative;
}
.bf-stack > i:not(:first-child) {
	position: absolute;
	top: 0;
	left: 0;
}


.bf-trash:before { content: '\e800'; }
.bf-home:before { content: '\e801'; }
.bf-newspaper:before { content: '\e802'; }
.bf-chat:before { content: '\e803'; }
.bf-group:before { content: '\e804'; }
.bf-user:before { content: '\e805'; }
.bf-heart:before { content: '\e806'; }
.bf-login:before { content: '\e807'; }
.bf-search:before { content: '\e808'; }
.bf-bug:before { content: '\e809'; }
.bf-logout:before { content: '\e80a'; }
.bf-star:before { content: '\e80b'; }
.bf-chart:before { content: '\e80c'; }
.bf-thumbs-up:before { content: '\e80d'; }
.bf-thumbs-down:before { content: '\e80e'; }
.bf-calendar:before { content: '\e80f'; }
.bf-cab:before { content: '\e810'; }
.bf-globe:before { content: '\e811'; }
.bf-music:before { content: '\e812'; }
.bf-clock:before { content: '\e813'; }
.bf-pencil:before { content: '\e814'; }
.bf-forum:before { content: '\e815'; }
.bf-quote-right:before { content: '\e816'; }
.bf-tv:before { content: '\e817'; }
.bf-award:before { content: '\e818'; }
.bf-mobile:before { content: '\e819'; }
.bf-vcard:before { content: '\e81a'; }
.bf-video:before { content: '\e81b'; }
.bf-paw:before { content: '\e81c'; }
.bf-eye:before { content: '\e81d'; }
.bf-contacts:before { content: '\e81e'; }
.bf-edit:before { content: '\e81f'; }
.bf-cog:before { content: '\e820'; }
.bf-invite:before { content: '\e821'; }
.bf-donate:before { content: '\e822'; }
.bf-skull:before { content: '\e823'; }
.bf-chemistry:before { content: '\e824'; }
.bf-block:before { content: '\e825'; }
.bf-fist:before { content: '\e826'; }
.bf-menu:before { content: '\e827'; }
.bf-blog:before { content: '\e828'; }
.bf-online:before { content: '\e829'; }
.bf-key:before { content: '\e82a'; }
.bf-pause:before { content: '\e82b'; }
.bf-bell:before { content: '\e82c'; }
.bf-flash:before { content: '\e82d'; }
.bf-phone:before { content: '\e82e'; }
.bf-right-circled:before { content: '\e82f'; }
.bf-down-circled:before { content: '\e830'; }
.bf-up-circled:before { content: '\e831'; }
.bf-cancel:before { content: '\e832'; }
.bf-ok:before { content: '\e833'; }
.bf-spinner:before { content: '\e834'; }
.bf-ellipsis-vert:before { content: '\e835'; }
.bf-check:before { content: '\e836'; }
.bf-check-empty:before { content: '\e837'; }
.bf-mail-open:before { content: '\e838'; }
.bf-mail:before { content: '\e839'; }
.bf-translate:before { content: '\e83a'; }
.bf-thread:before { content: '\e83b'; }
.bf-flat:before { content: '\e83c'; }
.bf-pig:before { content: '\e83d'; }
.bf-verified:before { content: '\e83e'; }
.bf-picture:before { content: '\e83f'; }
.bf-attach:before { content: '\e840'; }
.bf-location:before { content: '\e841'; }
.bf-alien:before { content: '\e842'; }
.bf-chili:before { content: '\e843'; }
.bf-relationship:before { content: '\e844'; }
.bf-knight:before { content: '\e845'; }
.bf-queen:before { content: '\e846'; }
.bf-refresh:before { content: '\e847'; }
.bf-help:before { content: '\e848'; }
.bf-play:before { content: '\e849'; }
.bf-th-large:before { content: '\e84a'; }
.bf-th-list:before { content: '\e84b'; }
.bf-link:before { content: '\e84c'; }
.bf-wide:before { content: '\e84d'; }
.bf-narrow:before { content: '\e84e'; }
.bf-megaphone:before { content: '\e84f'; }
.bf-pin:before { content: '\e850'; }
.bf-sale:before { content: '\e851'; }
.bf-cart:before { content: '\e852'; }
.bf-share:before { content: '\e853'; } 
.bf-qrcode:before { content: '\e854'; }
.bf-done-all:before { content: '\e855'; }
.bf-subscribe:before { content: '\f09e'; }
.bf-sort:before { content: '\f0dc'; }
.bf-mic:before { content: '\f130'; }
.bf-mute:before { content: '\f131'; }
.bf-monetization:before { content: '\f0d6'; }
.bf-create:before { content: '\f0fe'; }
.bf-child:before { content: '\f1ae'; }
.bf-user-secret:before { content: '\f21b'; }
.bf-legal:before { content: '\f24e'; }
.bf-fort:before { content: '\f286'; }
.bf-bundle:before { content: '\f290'; }
