/*NOTE: WORK IN PROGRESS*/
.ps-btn[disabled], .ps-btn[disabled]:hover{
	filter:grayscale(1);
}
.ps-btn-group, .ps-btn-group-vertical {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.ps-grow {
	transition: all .2s ease-in-out;
	cursor: pointer;
}

.ps-grow:hover {
	transform: scale(1.1);
}

.ps-btn-group button {
	border-radius: 0;
	float: left;
}

.ps-btn-group-vertical button {
	border-radius: 0;
	display:block;
	margin-top: -1px;
}

.ps-btn-group button:first-child {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.ps-btn-group button:last-child {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.ps-btn-group-vertical button:first-child {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.ps-btn-group-vertical button:last-child {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.ps-btn-primary {
	background-color: var(--bg-primary);
	border: none;
	border-radius: 0.5em;
	padding: 0.4em 0.7em;
	color: var(c1);
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.ps-btn-success {
	background-color: var(--bg-success);
	border: none;
	border-radius: 0.5em;
	padding: 0.4em 0.7em;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.ps-btn-warning {
	background-color: var(--bg-warning);
	border: none;
	border-radius: 0.5em;
	padding: 0.4em 0.7em;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.ps-btn {
	border: 1px solid var(--border-3);
	border-radius: 0.5em;
	padding: 0.35em 0.7em;
	font-size: 1em;
	cursor: pointer;
}

.ps-btn-default {
	background-color: var(--bg-default);
	border: 1px solid #bebebe;
	border-radius: 0.5em;
	padding: 0.35em 0.7em;
	color: var(--text-c1);
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.ps-btn-danger {
	background-color: var(--bg-danger);
	border: none;
	border-radius: 0.5em;
	padding: 0.4em 0.7em;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}


.ps-btn:hover,
.ps-btn-danger:hover,
.ps-btn-warning:hover,
.ps-btn-default:hover,
.ps-btn-success:hover,
.ps-btn-primary:hover,
.ps-btn-search:hover {
	filter: brightness(0.9);
}

.ps-btn-danger.ps-btn-sm,
.ps-btn-primary.ps-btn-sm,
.ps-btn-success.ps-btn-sm,
.ps-btn-warning.ps-btn-sm
{
	font-size: 0.85em;
	padding: 0.3em 0.5em;
}

.ps-btn.ps-btn-sm,
.ps-btn-default.ps-btn-sm
{
	font-size: 0.85em;
	padding: 0.2em 0.5em;
}

.ps-btn-danger.ps-btn-xs,
.ps-btn-primary.ps-btn-xs,
.ps-btn-success.ps-btn-xs,
.ps-btn-warning.ps-btn-xs
{
	font-size: 0.8em;
	padding: 0.2em 0.45em;
}

.ps-btn.ps-btn-xs,
.ps-btn-default.ps-btn-xs
{
	font-size: 0.8em;
	padding: 0.1em 0.45em;
}

button.ps-btn-danger.ps-btn-md,
button.ps-btn-primary.ps-btn-md,
button.ps-btn-success.ps-btn-md,
button.ps-btn-warning.ps-btn-md
{
	font-size: 1em;
	padding: 0.5em 1em;
}

.ps-btn.ps-btn-md,
.ps-btn-default.ps-btn-md
{
	font-size: 1em;
	padding: 0.4em 1em;
}

button.ps-btn-danger.ps-btn-lg,
button.ps-btn-primary.ps-btn-lg,
button.ps-btn-success.ps-btn-lg,
button.ps-btn-warning.ps-btn-lg
{
	font-size: 1.1em;
	padding: 0.71em 1.16em;
}

.ps-btn.ps-btn-lg,
.ps-btn-default.ps-btn-lg
{
	font-size: 1.1em;
	padding: 0.61em 1.16em;
}

.ps-btn-search {
	background-color: #3498db;
	height: 2.25em;
	border: none;
	border-radius: 0.5em;
	padding: 5px 5px 5px 5px;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/*NOTE: WORK IN PROGRESS*/
.ps-dashboard-grid-area {
}

.ps-dashboard-dashboard {
	font-family: var(--font-primary);
	color: var(--fg-c1);
	background-color: var(--bg-c1);
}

.ps-dashboard-title {
	font-size: 1.5em;
}

.ps-dashboard-actions {
}

.a.ps-dashboard-action {
	color: var(--fg-c1);
	-webkit-text-decoration: none;
	text-decoration: none;
}

.a.ps-dashboard-action:hover {
	color: var(--fg-c1);
	-webkit-text-decoration: underline;
	text-decoration: underline;
}

/*NOTE: WORK IN PROGRESS*/
/*added by ps provider*/
.ps dialog[open] {
		border: none;
		opacity: 1;
		padding: 0;
		border-radius: 5px;
		max-height: 80vh;
		max-width: 80vw;
		overflow: visible;
		box-shadow: 0px 0px 1em 1em rgba(0,0,0,0.4);
	}
.ps dialog {
		border: none;
		padding: 0;
		border-radius: 5px;
		max-height: 80vh;
		max-width: 80vw;
		overflow: visible;
		opacity: 0;
	}
.ps dialog::backdrop {
		background-color: rgba(0, 0, 0, 0);
	}
.ps dialog[open]::backdrop {
		background-color: rgba(0, 0, 0, 0.5);
		-webkit-backdrop-filter: blur(1px);
		        backdrop-filter: blur(1px);
	}
.ps .ps-dialog {
		display: flex;
		flex-direction: column;
		max-height: 80vh;
		max-width: 80vw;
		color: var(--text-c1);
		font-family: var(--font-primary);
	}
.ps .ps-dialog.ps-dialog-fixed-top,
	.ps .ps-dialog.ps-dialog-sm.ps-dialog-fixed-top,
	.ps .ps-dialog.ps-dialog-md.ps-dialog-fixed-top
	 {
		position: fixed;
		left: 35%;
		top: 15%;
	}
.ps .ps-dialog.ps-dialog-lg.ps-dialog-fixed-top, 
	.ps .ps-dialog.ps-dialog-xl.ps-dialog-fixed-top, 
	.ps .ps-dialog.ps-dialog-xxl.ps-dialog-fixed-top {
		position: fixed;
		left: 25%;
		top: 15%;
	}
/*for backwards compatibility with bs3 structured dialogs*/
.ps .content {
		max-height: 80vh;
		display: flex;
		flex-direction: column;
	}
.ps .ps-dialog-header {
		padding: 0.2em;
		background-color: var(--bg-c3);
		color: var(--text-c1);
		text-align: center;
		font-size: 1.75em;
		border-radius: 5px 5px 0px 0px
	}
.ps .ps-dialog-body {
		height: 100%;
		overflow: auto;
		padding: 1em;
		background-color: var(--bg-c1);
		color: var(--text-c1);
	}
.ps .ps-dialog-footer {
		padding: 0.2em;
		background-color: var(--bg-c3);
		color: var(--text-c1);
		border-radius: 0px 0px 5px 5px
	}
.ps div.ps-dialog-footer div.ps-btn-group {
		display: flex;
		justify-content: flex-end;
	}
.ps .ps-dialog-icon {
		color: var(--fg-c1);
	}
/*Dialog sizes (DEFAULT == md)*/
.ps .ps-dialog-xl {
		width: 65em;
	}
.ps .ps-dialog-lg {
		width: 52em;
	}
.ps .ps-dialog-sm {
		width: 34em;
	}
.ps .ps-dialog-xs {
		width: 25em;
	}
@media screen and (max-width: 48em) {
		.ps .ps-dialog-lg,
		.ps .ps-dialog-md,
		.ps .ps-dialog-sm,
		.ps .ps-dialog-xs {
			width: 90%;
			margin: 0 auto;
		}
	}

/*NOTE: WORK IN PROGRESS*/
.ps-form-group {
	margin-bottom: 15px;
}
/*NOTE: WORK IN PROGRESS*/
.ps-input {
	font-family: var(--font-primary);
	color: var(--fg-c1);
	height: 2.25em;
	padding: 0px 8px 0px 8px;
	border: 0.05em solid var(--border-4);
	border-radius: 0.5em;
	font-size: 1em;
	background-color: transparent;
	box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.1);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.ps-input:focus {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	outline: 0.15em solid var(--fg-primary);
}

.ps-input-no-border {
	font-family: var(--font-primary);
	color: var(--fg-c1);
	height: 2.25em;
	padding: 0px 8px 0px 8px;
	border-radius: 0.5em;
	font-size: 1em;
	background-color: transparent;
	border: 0;
	background: transparent;
	box-shadow: 0 0;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.ps-input-no-border:focus {
	border: none !important;
}

.ps-input-no-border:focus {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	outline: 0.15em solid var(--fg-primary);
}

.ps-input-no-border:hover {
	border: none !important;
}

.ps-input-no-border:hover {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	outline: 0.15em solid var(--fg-primary);
}

/*Prevents yellow input background when browser uses autofill*/
.ps-input:-webkit-autofill,
.ps-input:-webkit-autofill:hover,
.ps-input:-webkit-autofill:focus,
.ps-input:-webkit-autofill:active {
	box-shadow: 0 0 0 50px var(--bg-c1) inset;
	-webkit-text-fill-color: var(--fg-c1);
}

/*Prevents yellow input background when browser uses autofill*/
.ps-form-control:-webkit-autofill,
.ps-form-control:-webkit-autofill:hover,
.ps-form-control:-webkit-autofill:focus,
.ps-form-control:-webkit-autofill:active {
	box-shadow: 0 0 0 50px var(--bg-c1) inset;
	-webkit-text-fill-color: var(--fg-c1);
}

/*Sets ps-form-control textarea vertical alignment in Chrome to the same as Firefox*/
.ps-input-group > textarea.ps-form-control {
	vertical-align: middle;
}

textarea.ps-input {
	padding: 4px 8px 4px 8px;
}

.ps-dropdown.open > ul {
	display: block;
}

.ps-dropdown > ul > li > a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: var(--text-c1);
	white-space: nowrap;
}

.ps-dropdown > ul > li > a:focus, .ps-dropdown > ul > li > a:hover {
	-webkit-text-decoration: none;
	text-decoration: none;
	background-color: var(--bg-c1);
	color: var(--text-c1);
}

.ps-dropdown ul {
	position: absolute;
	display: none;
	max-height: 25em;
	overflow-y: scroll;
	z-index: 1000;
	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	background-color: var(--bg-c2);
	background-clip: padding-box;
	border: 1px solid var(--border-2);
	border-radius: 4px;
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

/*.ps-dropdown-item {
	padding: 8px 12px;
	cursor: pointer;
}*/

.ps-dropdown ul li a {
	padding: 8px 12px;
	cursor: pointer;
}

.ps-dropdown ul li a.selected {
	background-color: var(--fg-primary) !important;
}

.ps-dropdown ul li a.selected {
	color: var(--text-c1);
}

.ps-dropdown ul li a.selected:hover {
	background-color: var(--fg-primary) !important;
}

.ps-dropdown ul li a.selected:hover {
	transition: background-color 0.2s;
	color: var(--bg-c2);
}

/*.ps-dropdown-item.selected {
	background-color: #3498db !important;
	color: white;
}

.ps-dropdown-item.selected:hover {
	background-color: #3498db !important;
	transition: background-color 0.2s;
	color: var(--bg-c2);
}*/

/* replacement for some of bs3 input related styling */
.ps-form-control {
	width: 100%;
	height: 2.25em;
	padding: 0px 8px 0px 8px;
	border: 1px solid var(--border-4);
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	background-color: var(--bg-c2);
	color: var(--text-c1);
}

.ps-form-control::-moz-placeholder {
	color: var(--text-c1);
	opacity: 0.7;
}

.ps-form-control::placeholder {
	color: var(--text-c1);
	opacity: 0.7;
}

.ps-form-control:focus {
	border: none !important;
}

.ps-form-control:focus {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	outline: 0.15em solid var(--fg-primary);
}


.ps-input-group {
	position: relative;
	display: table;
	border-collapse: separate;
}

.ps-input-group-btn {
	position: relative;
	white-space: nowrap;
}

/* For buttons on the right of the input */
.ps-input-group-btn.right > button,
.ps-input-group-btn.right > .ps-btn-group > button {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	border-left: none;
}

/* For buttons on the left of the input */
.ps-input-group-btn.left > button,
.ps-input-group-btn.left > .ps-btn-group > button {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	border-right: none;
}

.ps-form-control + .ps-input-group-btn > button {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	border-left: none;
}

.ps-input-group-addon {
	height: 2.25em;
	padding: 0px 8px 0px 8px;
	background-color: var(--bg-c2);
	border: 1px solid var(--border-4);
	border-radius: 4px;
	color: var(--text-c1);
}

.ps-input-group-addon:first-child {
	border-right: 0;
}

.ps-input-group .ps-form-control:first-child,
.ps-input-group .ps-input:first-child,
.ps-input-group-addon:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.ps-input-group .ps-form-control:last-child,
.ps-input-group .ps-input:last-child,
.ps-input-group .ps-input-group-btn:last-child,
.ps-input-group-addon:last-child {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.ps-input-group-addon,
.ps-input-group-btn {
	width: 1%;
	white-space: nowrap;
	vertical-align: middle;
}

.ps-input-group .ps-form-control,
.ps-input-group-addon,
.ps-input-group-btn {
	display: table-cell;
}

.ps-input-group .ps-form-control:not(:first-child):not(:last-child),
.ps-input-group .ps-input-group-btn:not(:first-child):not(:last-child),
.ps-input-group-addon:not(:first-child):not(:last-child) {
	border-radius: 0;
}

.ps-invalid-input {
	box-shadow: 0px 0px 2px 1.5px rgba(255, 0, 0, 0.76);
	border: 2px solid rgba(224, 9, 9, 0.76);
}

.ps-form-inline .ps-form-group {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: middle;
}

.ps-form-inline .ps-input-group {
	display: inline-table;
	vertical-align: middle;
}

.ps-form-inline .ps-input-group .ps-form-control,
.ps-form-inline .ps-input-group .ps-input-group-addon,
.ps-form-inline .ps-input-group .ps-input-group-btn {
	width: auto;
}


.ps-form-inline .ps-input-group > .ps-form-control {
	width: 100%;
}

/* styling for grouped input group used for from/to date*/
.ps-date-input-group {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin-left: 1em;
	margin-right: 1em;
}

.ps-date-input-group div {
	display: flex;
	align-items: center;
	background-color: var(--bg-c2);
	border: 1px solid var(--border-2);
	border-radius: 8px;
	padding: 10px;
	caret-color: transparent;
	width: 100%;
}

.ps-date-input-group div input {
	border: none;
	background-color: transparent;
	flex: 1;
	font-size: 1rem;
	box-shadow: none;
}

.ps-date-input-group div span {
	padding: 0 10px;
	border-right: 1.5px solid var(--border-2);
}

.ps-checkbox {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-family: 'Arial', sans-serif;
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
}

.ps-checkbox input {
	display: none;
}

.ps-checkbox span {
	display: inline-block;
	width: 1em;
	height: 1em;
	border: 0.1em solid var(--bg-c5);
	background-color: var(--fg-c5);
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 1em;
	position: relative;
	box-shadow: 0 0.2em 0.4em rgba(0, 0, 0, 0.35);
}

.ps-checkbox input:checked + span::before {
	content: '\2713';
	font-size: 1.3em;
	color: var(--text-c5);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.ps-element-group {
	display: flex;
	border-radius: 0;
	outline: none;
}

.ps-element-group *:focus {
	overflow: visible !important;
}

.ps-element-group *:not(ul) {
	border-radius: 0;
}

.ps-element-group button {
	border-radius: none;
	cursor: pointer;
}

.ps-element-group *:first-child:not(ul) {
	border-radius: 10px 0 0 10px;
}

.ps-element-group *:last-child:not(ul) {
	border-radius: 0 10px 10px 0;
}

.ps-bordered-title {
	height: 2.25em;
	padding: 0px 8px 0px 8px;
	/*background-color: var(--bg-c2);*/
	border: 1px solid var(--border-4);
	border-radius: 4px;
	color: var(--text-c1);
	line-height: 2.25em;
}
/*NOTE: WORK IN PROGRESS*/
.ps-row {
	width: 100%;
}

.ps-row::after {
	clear: both;
}

.ps-row::after,
.ps-row::before {
	content: "";
	display: table;
}

.ps-nowrap {
	white-space: nowrap;
}

.ps-col-1,
.ps-col-2,
.ps-col-3,
.ps-col-4,
.ps-col-5,
.ps-col-6,
.ps-col-7,
.ps-col-8,
.ps-col-9,
.ps-col-10,
.ps-col-11,
.ps-col-12 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	float: left;
}
.ps-col-1 { width: 8.33333333%; }
.ps-col-2 { width: 16.66666667%; }
.ps-col-3 { width: 25%; }
.ps-col-4 { width: 33.33333333%; }
.ps-col-5 { width: 41.66666667%; }
.ps-col-6 { width: 50%; }
.ps-col-7 { width: 58.33333333%; }
.ps-col-8 { width: 66.66666667%; }
.ps-col-9 { width: 75%; }
.ps-col-10 { width: 83.33333333%; }
.ps-col-11 { width: 91.66666667%; }
.ps-col-12 { width: 100%; }

/*NOTE: WORK IN PROGRESS*/

/*ps-modal-container used for dialogs too*/
.ps-modal-container {
	display: none;
	position: fixed;
	z-index: 1;
	background-color: rgba(0,0,0,0.4);
	margin: auto;
	overflow: auto;
	top: 0;
	left: 0;
	padding: 0;
	border: 1px solid #888;
	width: 100%;
	height: 100%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	animation-name: animatetop;
	animation-duration: 0.4s;
}

.ps-modal {
	background-color: var(--bg-c1);
	width: 50%;
	margin: 15% auto;
	border: 1px solid #888;
}

.ps-modal-header {
	padding: 2px 16px;
	background-color: var(--fg-c1);
	color: var(--bg-c1);
	font-family: var(--font-primary);
}

.ps-modal-body {
	padding: 2px 16px;
	background-color: var(--bg-c1);
	color: var(--fg-c1);
	font-family: var(--font-primary);
}

.ps-modal-footer {
	padding: 2px 16px;
	background-color: var(--fg-c1);
	color: var(--bg-c1);
	font-family: var(--font-primary);
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
} 

/*NOTE: WORK IN PROGRESS*/
h1.ps-page-footer {
	font-size: 1.5em;
	color: var(--fg-c1);
	font-family: var(--font-primary);
	background-color: var(--bg-c1);
}

h1.ps-page-footer a > span {
}

.ps-page-footer-actions {
}

.ps-page-footer-content {
}

/*NOTE: WORK IN PROGRESS*/
.ps-page-header {
	color: var(--text-c1);
	font-size: 1.5em;
}

h1.ps-page-header a > span {
}

.ps-page-header-actions {
}

.ps-page-header-content {
}

.ps-page-header-yooma {
	display: inline-flex;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	font-size: 21px;
	line-height: inherit;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
}

/* Yooma green headers */
.ps-left-header {
	padding-left: 1.2em;
	text-align: left;
	text-transform: uppercase;
	color: #77933c;
}

.ps-page {
	background-color: var(--bg-c1);
	color: var(--fg-c1);
}

.ps-container {
	padding-right: 1em;
	padding-left: 1em;
	margin-right: auto;
	margin-left: auto;
}

div.ps-container {
	width: 95%;
}

.ps-page-body {
	padding: 1em;
	background-color: var(--bg-c1);
}

/* double extra large overflow body */
.ps-overflow-body-xxl {
	max-height: 60em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* extra large overflow body */
.ps-overflow-body-xl {
	max-height: 50em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* large overflow body */
.ps-overflow-body-lg {
	max-height: 50em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* default overflow body */
.ps-overflow-body {
	max-height: 40em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* small overflow body */
.ps-overflow-body-sm {
	max-height: 30em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* extra small overflow body */
.ps-overflow-body-xs {
	max-height: 20em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* double extra small overflow body */
.ps-overflow-body-xxs {
	max-height: 10em;
	overflow-y: scroll;
	background-color: var(--bg-c1);
}

/* REPLACES bootstrap 3's class="alert alert-info/danger/success/warning" */
.ps-alert-info {
	color: #31708f;
	background-color: #bce9ff;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.ps-alert-danger {
	color: #a94442;
	background-color: #ffbbbb;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.ps-alert-success {
	color: #3c763d;
	background-color: #c6e7b9;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.ps-alert-warning {
	color: #8a6d3b;
	background-color: #fff2af;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.ps-alert-primary {
	color: #4a4a4a;
	background-color: #cbcbcb;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.ps-well {
	min-height: 1.5em;
	padding: 1.5em;
	margin-bottom: 1.5em;
	background-color: var(--bg-c1);
	border: 1px solid #e3e3e3;
	border-radius: 5px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.ps-well-lg {
	padding: 1.75em;
}

.ps-well-sm {
	padding: 1.75em;
}

.ps-well-xs {
	padding: 1.25em;
}

.ps-pull-right {
	float: right;
}

.ps-pull-left {
	float: left;
}
body {
	background-color: var(--bg-c1);
	color: var(--text-c1);
    margin: 0;
    font-size: 14px;
    line-height: 1.42857143;
}

::after, ::before
{
    box-sizing: border-box;
}

hr {
    margin-top: 1em;
    margin-bottom: 1em;
    border: 0;
    border-top: 0.1em solid var(--fg-c1);
}

textarea {
	height: auto !important;
}

a {
    background-color: transparent;
}

* {
    box-sizing: border-box;
}

.ps-hide-webkit-scrollbar::-webkit-scrollbar {
	display: none;
}

::-webkit-scrollbar {
    width: 0.4em;
}

::-webkit-scrollbar:hover {
	width: 0.9em;
}

::-webkit-scrollbar-thumb {
    background-color: var(--text-c4);
    border-radius: 0.5em;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-c2);
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 0.5em;
}
/*NOTE: WORK IN PROGRESS*/
.ps-panel-panel {
	font-family: var(--font-primary);
	color: var(--fg-c1);
	background-color: var(--bg-c1);
	border: 1px solid var(--border-4);
	border-radius: 5px;
}

.ps-panel-footer {
	padding: 20px;
	background-color: var(--bg-c1);
	color: var(--fg-c1);
	border-top: 1px solid var(--border-4);
}

.ps-panel-header {
	padding: 20px;
	background-color: var(--fg-c1);
	color: var(--bg-c1);
	border-bottom: 1px solid var(--border-4);
}

.ps-panel-body {
	padding: 20px;
}

.ps-panel-title {
	font-weight: bold;
}

.ps-panel-actions {
}

/*NOTE: WORK IN PROGRESS*/
.ps-sidebar-container {
	display: flex;
	border-top: 1px solid var(--border-1);
	min-height: calc(100vh - 54px);
}

.ps-sidebar {
	max-width: 10em;
	background-color: var(--bg-c1); 
	white-space: nowrap;
}

.ps-sidebar-left {
	border-right: 1px solid var(--border-1);
}

.ps-sidebar-right {
	border-left: 1px solid var(--border-1);
}

.ps-sidebar-content {
	flex: 1;
	padding: 5px;
	background-color: var(--bg-c1);
}

.ps-sidebar ul {
	padding: 0px;
	margin: 0px;
	display: flex;
	flex-direction: column;
}

.ps-sidebar ul li {
	margin: 0px;
	padding: 0.625em;
	background-color: var(--bg-c1);
	color: var(--text-c1);
	cursor: pointer;
}

.ps-sidebar-left ul li {
	border-left: 4px solid #c6c6c6;
	padding-right: 0px;
}

.ps-sidebar-right ul li {
	border-right: 4px solid #c6c6c6;
	padding-left: 0px;
}

.ps-sidebar ul li.active {
	margin: 0px;
	background-color: var(--bg-c3);
	padding: 0.625em;
}

.ps-sidebar-left ul li.active {
	border-left: 4px solid #2070D1;
}

.ps-sidebar-right ul li.active {
	border-right: 4px solid #2070D1;
}

.ps-sidebar ul li:hover {
	background-color: var(--bg-c2);
}

.ps-sidebar-title {
	font-weight: normal;
	margin-right: 1em;
}

.ps-sidebar-btn {
	position: fixed;
	bottom: 1em;
	border-radius: 50%;
}

.ps-sidebar-btn:hover {
	scale: 1.05;
}
.ps-nav-pill {
	display: flex;
	border-radius: 25px;
	overflow: hidden;
	box-shadow: 1px 1px 3px black inset;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ps-nav-pill li {
	flex: 1;
}

.ps-nav-pill li {
	text-align: center;
	padding: 1em;
	border-radius: 2em;
}

.ps-nav-pill li.active {
	background-color: var(--fg-success);
	box-shadow: 0em 0em 1em black;
}

.ps-nav-pill li:hover {
	background-color: var(--bg-c3);
	cursor: pointer;
}
/*NOTE: WORK IN PROGRESS*/

.ps-sticky-header {
	position: sticky;
	top: 0;
}

.ps-hover-visible {
	visibility: hidden;
}

td:hover .ps-hover-visible {
	visibility: visible;
}

/* STYLING FOR TABLE*/
.ps-table {
	font-size: 1fr;
	border-collapse: collapse;
	width: 100%;
	font-family: var(--font-primary);
	color: var(--text-c1);
	background-color: var(--bg-c1);
}

.ps-table thead th {
	font-size: 1.2em;
	font-weight: bold;
	background-color: var(--bg-c4);
	border: 1px solid var(--border-3);
	padding: 0.75rem;
	text-align: left;
	caret-color: transparent;
}

.ps-table tbody td {
	border: 1px solid var(--border-3);
	padding: 0.75rem;
}

.ps-table tfoot td {
	border: 1px solid var(--border-3);
	padding: 0.75rem;
	font-weight: bold;
}

.ps-table tbody tr:nth-child(even) {
	background-color: var(--bg-c2);
}

.ps-table tfoot tr:nth-child(even) {
	background-color: var(--bg-c2);
}

.ps-table tbody tr:hover {
	background-color: var(--bg-c3);
}

.ps-table tfoot tr:hover {
	background-color: var(--bg-c3);
}

.ps-table .fw-bold {
	font-weight: bold;
}

.ps-table.sort thead th:hover::after
{
	content: "\2191\2193";
	position: absolute;
}

td.ps-alert-nodata {
	color: var(--text-c1);
	background-color: var(--bg-c2);
}

/* STYLING FOR SINGLE ROW TABLE*/
table.ps-table-single-row {
	font-family: var(--font-primary);
	background-color: var(--bg-c1);
	width: 100%;
	border-bottom: 1px solid #c7c7c7;
}

table.ps-table-single-row thead th {
	font-size: 1.2em;
	font-weight: bold;
	border: none;
	padding: 0.75rem;
	text-align: center;
	color: var(--text-c1);
}

table.ps-table-single-row tbody td {
	border-bottom: 1px solid #dee2e6;
	padding: 0.75rem;
	text-align: center;
	font-size: 17px;
	color: var(--text-c1);
}

/* For tables where no hover is required (Such as tables with one row)*/
.ps-table-nohover tbody tr:hover {
	background-color: var(--bg-c1); 
}

.ps-table-borderless {
	width: 100%;
}

.ps-table-borderless td, .ps-table-borderless th {
	border: none;
	padding: 6px 0 0 4px;
}

/* default ps-switch styling */
.ps-switch {
	position: relative;
	display: inline-block;
	width: 3em;
	height: 1.7em;
	margin-bottom: 0px;
	caret-color: transparent;
}

.ps-switch input {
	display: none;
}

.ps-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 1.7em;
}

.ps-slider:before {
	position: absolute;
	content: "";
	height: 1.3em;
	width: 1.3em;
	left: 0.2em;
	bottom: 0.2em;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .ps-slider {
	background-color: #66bb6a;
}

input:checked + .ps-slider:before {
	transform: translateX(1.3em);
}

/* small ps-switch styling */
.ps-switch-sm {
	position: relative;
	display: inline-block;
	width: 1.5em;
	height: 0.85em;
	margin-bottom: 0px;
	caret-color: transparent;
}

.ps-switch-sm input {
	display: none;
}

.ps-slider-sm {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 0.85em;
}

.ps-slider-sm:before {
	position: absolute;
	content: "";
	height: 0.65em;
	width: 0.65em;
	left: 0.1em;
	bottom: 0.1em;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .ps-slider-sm {
	background-color: #66bb6a;
}

input:checked + .ps-slider-sm:before {
	transform: translateX(0.65em);
}

/* Fieldset classes*/

fieldset.ps-fieldset {
	border: 0.1em solid var(--border-4);
	border-radius: 0.4em;
	padding: 0.9em;
	margin: 1em 1em 1em 1em;
	min-width: 15%;
}

fieldset.ps-fieldset legend {
	font-size: 1.1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	position: relative;
	z-index: 1;
	top: -0.15em;
	width: auto;
	border: 0;
	color: var(--text-c1);
	margin-bottom: 0; /* Cancel out bs3 setting */
}

.ps-fieldset-container {
	border: 0.1em solid var(--border-4);
	border-radius: 0.4em;
	padding: 0.9em;
	margin: 2em 1em 1em 1em;
	min-width: 15%;
}

.ps-fieldset-title {
	font-size: 1.1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	position: relative;
	z-index: 1;
	top: -0.15em;
	width: auto;
	border: 0;
	color: var(--text-c1);
}

.ps-fieldset-row {
	display: flex;
	align-items: baseline;
}

.ps-fieldset-row-data {
	margin-left: 10px;
}

.ps-fieldset-row-title {
	font-weight: bold;
	min-width: 10em;
}

/* Hides navbar scrollbar to avoid closing of nav-dropdown content when moving over the scrollbar */
.ps-navbar-container::-webkit-scrollbar {
	display: none; /* Hides the scrollbar for WebKit browsers */
}

.ps-navbar-container {
	scrollbar-width: none; /* Hides the scrollbar in Firefox */
	margin-top: var(--navbar-height);
}

.ps-navbar {
	position: fixed;
	z-index: 998;
	width: 100%;
	background-color: var(--bg-c2);
	transition: 0.4s;
	top: 0;
	height: var(--navbar-height);
}

.ps-navbar .ps-link-container {
	position: relative;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ps-link-container {
	display: inline-flex;
	width: 100%;
	align-items: center;
	height: var(--navbar-height);
}

.ps-link-container .ps-logo a {
	font-weight: 600;
	color: var(--text-c1);
	-webkit-text-decoration: none;
	text-decoration: none;
}

.ps-logo {
	margin: 0 0 0 0.5em;
}

.ps-link-container .ps-nav-links {
	display: inline-flex;
	width: 100%;
	height: 100%;
	margin-bottom: 0;
	margin-top: 0;
}

.ps-nav-links-right {
	display: flex;
	margin-left: auto;
}

.ps-nav-links li {
	list-style: none;
	align-items: center;
	display: flex;
	height: 100%;
	cursor: pointer;
}

.ps-nav-links li a {
	color: var(--fg-c1);
	-webkit-text-decoration: none;
	text-decoration: none;
	font-weight: 500;
	padding: 9px 15px;
	border-radius: 5px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.ps-nav-links li a:hover,
.ps-nav-links li label:hover {
	background-color: var(--bg-c3);
	border-radius: 4px;
}

.ps-nav-links .ps-nav-dropdown {
	position: absolute;
	line-height: 45px;
	top: var(--navbar-height);
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 6px 10px rgba(0,0,0,0.15);
	z-index: 100;
	padding-left: 0px;
	background-color: var(--bg-c2);
	border-radius: 0 0 4px 4px;
	white-space: nowrap;
	min-width: 8em;
}

.ps-nav-links li:hover .ps-nav-dropdown {
	transition: all 0.3s ease;
	top: var(--navbar-height);
	opacity: 1;
	visibility: visible;
}

.ps-dropdown-hide {
	visibility: hidden !important;
}

.ps-nav-dropdown li a {
	width: 100%;
	display: block;
	font-weight: 400;
	border-radius: 0px;
	padding: 0.2em 0.4em;
}

.ps-nav-dropdown li:last-child {
	border-radius: 0 0 4px 4px;
}

.ps-nav-links li ul:hover li:last-child {
	border-radius: 0 0 4px 4px;
}

.ps-link-container .ps-close-btn,
.ps-link-container .ps-menu-btn {
	color: var(--text-c1);
	font-size: 20px;
	cursor: pointer;
	display: none;
}

.ps-nav-heading {
	font-size: 1.2em;
}

.ps-nav-subheading {
	font-size: 0.8em;
}

.ps-menu-btn {
	margin-right: 1em;
	margin-bottom: 0;
}

nav input {
	display: none;
}

.mobile-item {
	display: none;
}

.ps-link-container .ps-close-btn,
.ps-link-container .ps-menu-btn{
	color: var(--fg-c1);
	font-size: 20px;
	cursor: pointer;
	display: none;
}

@media screen and (max-width: 970px) {
	.ps-link-container .ps-close-btn{
		display: flex;
		justify-content: flex-end;
	}
	.ps-link-container .ps-menu-btn {
		display: block;
	}

	.ps-link-container .ps-nav-links{
		position: fixed;
		height: 100vh;
		width: 100%;
		max-width: 350px;
		top: 0;
		left: -100%;
		background: var(--bg-c2);
		display: block;
		padding: 50px 10px;
		line-height: 50px;
		overflow-y: auto;
		box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
		transition: all 0.3s ease;
		margin-bottom: 0;
	}

	#ps-menu-btn:checked ~ .ps-nav-links {
		left: 0%;
	}

	#ps-menu-btn:checked ~ .ps-menu-btn {
		display: none;
	}

	#ps-close-btn:checked ~ .ps-close-btn {
		display: block;
	}

	.ps-nav-links li {
		margin: 15px 10px;
		height: auto;
		display: block;
	}

	.ps-nav-links li a{
		padding: 0 20px;
		display: block;
		font-size: 20px;
	}

	.ps-nav-links-right {
		display: block;
	}

	.ps-nav-links .ps-nav-dropdown {
		position: static;
		opacity: 1;
		top: 65px;
		visibility: visible;
		padding-left: 20px;
		width: 100%;
		max-height: 0px;
		overflow: hidden;
		box-shadow: none;
		transition: all 0.3s ease;
	}

	[id*="psShow"]:checked ~ .ps-nav-dropdown { /* selects any ID starting with psShow to display dropdown in mobile view*/
		max-height: 100%;
	}

	.ps-nav-links .desktop-item{
		display: none;
	}

	.ps-nav-links .mobile-item{
		display: block;
		color: var(--text-c1);
		font-size: 20px;
		font-weight: 500;
		padding-left: 20px;
		cursor: pointer;
		border-radius: 5px;
		transition: all 0.3s ease;
	}

	.ps-dropdown li{
		margin: 0;
	}

	.ps-dropdown li a{
		border-radius: 5px;
		font-size: 18px;
	}
  
	.content .row header{
		font-size: 19px;
	}
}

.ps-alert-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1050;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ps-alert {
	font-size: 1.25em;
	min-width: 20vw;
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.ps-alert i.fa {
	color: white;
	font-size: 1.5em;
}

.ps-alert h2 {
	color: white;
	margin: 0 0 0 0;
}

.ps-alert p {
	margin: 15px;
}

.ps-alert-modal-header {
	text-align: center;
	padding: 1em;
	border-radius: 5px 5px 0 0;
}

.ps-alert-modal-body {
	text-align: center;
	color: #333333;
}

div.ps-alert-modal-footer {
	padding: 0.5em;
	margin-top: 2em;
}

div.ps-alert-modal-footer div {
	display: flex;
	justify-content: flex-end;
}

/* Specific alert types */
.ps-success-class div.ps-alert-modal-header {
	background-color: var(--fg-success);
}

.ps-warning-class div.ps-alert-modal-header {
	background-color: var(--fg-warning);
}

.ps-danger-class div.ps-alert-modal-header {
	background-color: var(--fg-danger);
}

.ps-error-class div.ps-alert-modal-header {
	background-color: var(--fg-danger);
}

.ps-info-class div.ps-alert-modal-header {
	background-color: var(--fg-primary);
}

.ps-text-warning {
	color: var(--fg-warning);
}

.ps-text-danger {
	color: var(--fg-danger);
}

.ps-text-primary {
	color: var(--fg-primary);
}

.ps-text-success {
	color: var(--fg-success);
}

.ps-tree,
.ps-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ps-tree ul {
	margin-left: 1em;
	position: relative;
}

.ps-tree ul:before {
	content: "";
	display: block;
	width: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-left: 2px solid;
}

.ps-tree li {
	margin: 0;
	padding: 0 5em;
	line-height: 2em;
	color: var(--fg-c1);
	font-weight: 700;
	position: relative;
}

.ps-tree ul li:before {
	content: "";
	display: block;
	width: 4em;
	height: 0;
	border-top: 2px solid;
	position: absolute;
	top: 1em;
	left: 0;
}

.ps-tree ul li:last-child:before {
	background: transparent;
	height: auto;
	top: 1em;
	bottom: 0;
}

.ps-tree a {
	-webkit-text-decoration: none;
	text-decoration: none;
	color: var(--text-c1);
}

/* for horisontal tabbing */
.ps-tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	border-bottom: 1px solid var(--border-4);
}

.ps-tabs > li {
	margin-bottom: -1px;
}

.ps-tabs > li > a {
	display: block;
	padding: 8px 15px;
	border-radius: 5px 5px 0 0;
	-webkit-text-decoration: none;
	text-decoration: none;
	color: var(--text-c1);
}

.ps-tabs > li > a:hover {
	background-color: var(--bg-c3);
	border-color: transparent;
}

.ps-tabs > li.active > a,
.ps-tabs > li.active > a:focus, 
.ps-tabs > li.active > a:hover {
	background-color: transparent;
	border: 1px solid var(--border-4);
}

.ps-pagination {
	display: inline-block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
}

.ps-pagination > li {
	display: inline;
}

.ps-pagination > li > a,
.ps-pagination > li > span {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.428571429;
	-webkit-text-decoration: none;
	text-decoration: none;
	background-color: var(--bg-c2);
	border: 1px solid var(--border-2);
	color: var(--text-c1);
}

.ps-pagination > li:first-child > a,
.ps-pagination > li:first-child > span {
	margin-left: 0;
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
}

.ps-pagination > li:last-child > a,
.ps-pagination > li:last-child > span {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.ps-pagination > li > a:hover,
.ps-pagination > li > span:hover,
.ps-pagination > li > a:focus,
.ps-pagination > li > span:focus {
	background-color: var(--bg-c3);
	cursor: pointer;
}

.ps-pagination > .active > a,
.ps-pagination > .active > span,
.ps-pagination > .active > a:hover,
.ps-pagination > .active > span:hover,
.ps-pagination > .active > a:focus,
.ps-pagination > .active > span:focus {
	color: #fff;
	cursor: default;
	background-color: #43a1f3;
	border-color: #287dc7;
}

.ps-pagination > .disabled > span,
.ps-pagination > .disabled > span:hover,
.ps-pagination > .disabled > span:focus,
.ps-pagination > .disabled > a,
.ps-pagination > .disabled > a:hover,
.ps-pagination > .disabled > a:focus {
	color: var(--text-c1);
	cursor: not-allowed;
	background-color: var(--bg-c2);
	border-color: var(--border-2);
}


/*Staging/Demo Banner*/
/*NOTE: this only works well with full screen/semi-full screen, not with smaller elements such as fieldsets*/
.ps-staging-banner {
	width: 100%;
	background-color: var(--staging-banner-bg-color);
	color: white;
	padding: 10px;
	overflow: hidden;
}

.ps-staging-banner span {
	display: inline-block;
	animation: marquee 20s linear infinite;
	font-size: 1.2em;
}

@keyframes marquee {
	0% {
		transform: translateX(100vw); /*Starts off-screen to the right*/
	}
	100% {
		transform: translateX(calc(0vw - 40em)); /*Ends off-screen to the left*/
	}
}

.ps-label {
	color: #ffffff;
	display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}

.ps-label-primary {
	background-color: var(--fg-primary);
}

.ps-label-success {
	background-color: var(--fg-success);
}

.ps-label-danger {
	background-color: var(--fg-danger);
}

.ps-label-warning {
	background-color: var(--fg-warning);
}

.ps-label-default {
	background-color: var(--fg-default);
}

/* replace BS3 class */
.ps-sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.ps-sr-only-focusable:active, .sr-only-focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}
.ps-table-no-border {
	text-align: left;
	max-width: 100%;
	width: 100%;
	border: none;
	background-color: transparent;
}

.ps-table-hover > td:hover {
	background-color: var(bg-c1);
}

.ps-table-no-border > tbody > tr > td, .ps-table-no-border > tbody > tr > th, .ps-table-no-border > tfoot > tr > td, .ps-table-no-border > tfoot > tr > th, .ps-table-no-border > thead > tr > td, .ps-table-no-border > thead > tr > th {
	border: none;
	border-bottom: 1px dotted #dedede;
	padding: 8px 3px 3px 3px;
}

dialog {
	border: none;
	padding: 0;
	border-radius: 5px;
	max-height: 80vh;
	max-width: 80vw;
	overflow: visible;
	opacity: 0;
	transition:
		opacity 0.2s ease-out, overlay 0.2s ease-out allow-discrete, display 0.2s ease-out allow-discrete;
}

dialog::backdrop {
	background-color: rgba(0, 0, 0, 0);
	transition:
		display 0.2s allow-discrete, overlay 0.2s allow-discrete, background-color 0.2s;
}

dialog[open]::backdrop {
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(1px);
	        backdrop-filter: blur(1px);
}

.ps-dialog {
	display: flex;
	flex-direction: column;
	max-height: 80vh;
	max-width: 80vw;
	color: var(--text-c1);
	font-family: var(--font-primary);
	border: none;
	opacity: 1;
	padding: 0;
	border-radius: 5px;
	overflow: visible;
	box-shadow: 0px 0px 1em 1em rgba(0,0,0,0.4);
	transition:
		opacity 0.2s ease-out, overlay 0.2s ease-out allow-discrete, display 0.2s ease-out allow-discrete;
}

.ps-dialog.ps-dialog-fixed-top,
.ps-dialog.ps-dialog-sm.ps-dialog-fixed-top,
.ps-dialog.ps-dialog-md.ps-dialog-fixed-top
	{
	position: fixed;
	left: 35%;
	top: 15%;
}

.ps-dialog.ps-dialog-lg.ps-dialog-fixed-top, 
.ps-dialog.ps-dialog-xl.ps-dialog-fixed-top, 
.ps-dialog.ps-dialog-xxl.ps-dialog-fixed-top {
	position: fixed;
	left: 25%;
	top: 15%;
}

/*for backwards compatibility with bs3 structured dialogs*/
.content {
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}

.ps-dialog-header {
	padding: 0.2em;
	background-color: var(--bg-c3);
	color: var(--text-c1);
	text-align: center;
	font-size: 1.75em;
	border-radius: 5px 5px 0px 0px
}

.ps-dialog-body {
	height: 100%;
	overflow: auto;
	padding: 1em;
	background-color: var(--bg-c1);
	color: var(--text-c1);
}

.ps-dialog-footer {
	padding: 0.2em;
	background-color: var(--bg-c3);
	color: var(--text-c1);
	border-radius: 0px 0px 5px 5px
}

div.ps-dialog-footer div.ps-btn-group {
	display: flex;
	justify-content: flex-end;
}

.ps-dialog-icon {
	color: var(--fg-c1);
}

/*Dialog sizes (DEFAULT == md)*/


.ps-dialog-xl {
	width: 65em;
}

.ps-dialog-lg {
	width: 52em;
}

.ps-dialog-sm {
	width: 34em;
}

.ps-dialog-xs {
	width: 25em;
}

@media screen and (max-width: 48em) {
	.ps-dialog-lg,
	.ps-dialog-md,
	.ps-dialog-sm,
	.ps-dialog-xs {
		width: 90%;
		margin: 0 auto;
	}
}

div.grape > nav.navbar-default {
	background-color: var(--bg-c2);
	color: var(--fg-c2);
}


:root {
	--navbar-height: 4em;
}
/**
 * Default variable settings for colours in the system
 */
:root {
	--fg-c1: rgba(0, 0, 0, 0.64);
	--bg-c1: #f5f5f5;
	--text-c1: #4e4e4e;

	--fg-c2: purple;
	--bg-c2: white;
	--text-c2: purple;

	--fg-c3: blue;
	--bg-c3: #cecece;
	--text-c3: #E6F7FE;

	--fg-c4: rgb(26, 24, 24);
	--bg-c4: #e4e4e4;
	--text-c4: #2c752c;

	--fg-c5: #fdfdfd;
	--bg-c5: black;
	--text-c5: black;

	--border-1: darkgrey;
	--border-2: #e2f0d9;
	--border-3: #dee2e6;
	--border-4: #b2b3b4;

	--fg-warning: #f0ad4e;
	--fg-danger: #c9302c;
	--fg-success: #5cb85c;
	--fg-default: #fff;
	--fg-primary: #3498db;

	--bg-warning: #f0ad4e;
	--bg-danger: #c9302c;
	--bg-success: #5cb85c;
	--bg-default: #fff;
	--bg-primary: #3498db;

	--fa-primary-color: #4e4f52;
	--fa-secondary-color: #8f96a1;
	--staging-banner-bg-color: rgb(10, 132, 238);
}

/*NOTE: WORK IN PROGRESS*/
:root.theme-dark {
	--fg-c1: #d9dbe0;
	--bg-c1: #262626;
	--text-c1: #dcdcdc;

	--fg-c2: #7d56a1;
	--bg-c2: #38393c;
	--text-c2: #b3b8bd;

	--fg-c3: #3c7fd5;
	--bg-c3: #151515;
	--text-c3: #5a6d8c;

	--fg-c4: #151515;
	--bg-c4: #303030;
	--text-c4: #eeeeee;

	--fg-c5: #b0b0b0;
	--bg-c5: #c9c9c9;
	--text-c5: black;

	--fg-c6: #282828;
	--bg-c6: #181818;

	--border-1: #393a3d;
	--border-2: #7a7f85;
	--border-3: #bebebe;
	--border-4: #dee2e6;

	--bg-shadow: rgba(0, 0, 0, 0.95);

	--fg-warning: #f0ad4e;
	--fg-danger: #c9302c;
	--fg-success: #5cb85c;
	--fg-default: #fff;
	--fg-primary: #3498db;

	--bg-warning: #f0ad4e;
	--bg-danger: #c9302c;
	--bg-success: #5cb85c;
	--bg-default: #38393c;
	--bg-primary: #3498db;

	--fa-primary-color: #C3C8D3;
	--fa-secondary-color: #cacaca;
	--staging-banner-bg-color: rgb(96, 159, 215);
}

/*NOTE: WORK IN PROGRESS*/
:root.theme-light {
	--fg-c1: #000;
	--bg-c1: #fdfdfd;
	--text-c1: #4e4e4e;

	--fg-c2: #7d56a1;
	--bg-c2: white;
	--text-c2: #212a2e;

	--fg-c3: #4a90e2;
	--bg-c3: #cccccc;
	--text-c3: #3d4d61;

	--fg-c4: rgb(230, 230, 230);
	--bg-c4: #e1e1e1;
	--text-c4: #757575;

	--fg-c5: #fdfdfd;
	--bg-c5: black;
	--text-c5: black;

	--fg-c6: #eeeeee;
	--bg-c6: rgba(172,172,172,0.21176);

	--border-1: #4e4e4e;
	--border-2: #a8a8a8;
	--border-3: #bebebe;
	--border-4: #a3a4a7;

	--bg-shadow: rgb(197, 193, 193);

	--fg-warning: #f0ad4e;
	--fg-danger: #c9302c;
	--fg-success: #5cb85c;
	--fg-default: #fff;
	--fg-primary: #3498db;

	--bg-warning: #f0ad4e;
	--bg-danger: #c9302c;
	--bg-success: #5cb85c;
	--bg-default: #fff;
	--bg-primary: #3498db;

	--fa-primary-color: #4e4f52;
	--fa-secondary-color: #8f96a1;
}

.ts-control{border:1px solid #d0d0d0;border-radius:3px;box-shadow:none;box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:8px;position:relative;width:100%;z-index:1}.ts-wrapper.multi.has-items .ts-control{padding:6px 8px 3px}.full .ts-control{background-color:#fff}.disabled .ts-control,.disabled .ts-control *{cursor:default!important}.focus .ts-control{box-shadow:none}.ts-control>*{display:inline-block;vertical-align:baseline}.ts-wrapper.multi .ts-control>div{background:#f2f2f2;border:0 solid #d0d0d0;color:#303030;cursor:pointer;margin:0 3px 3px 0;padding:2px 6px}.ts-wrapper.multi .ts-control>div.active{background:#e8e8e8;border:0 solid #cacaca;color:#303030}.ts-wrapper.multi.disabled .ts-control>div,.ts-wrapper.multi.disabled .ts-control>div.active{background:#fff;border:0 solid #fff;color:#7d7d7d}.ts-control>input{background:none!important;border:0!important;box-shadow:none!important;display:inline-block!important;line-height:inherit!important;margin:0!important;max-height:none!important;max-width:100%!important;min-height:0!important;padding:0!important;text-indent:0!important;-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.ts-control>input{flex:1 1 auto;min-width:7rem}.ts-control>input::-ms-clear{display:none}.ts-control>input:focus{outline:none!important}.has-items .ts-control>input{margin:0 4px!important}.ts-control.rtl{text-align:right}.ts-control.rtl.single .ts-control:after{left:15px;right:auto}.ts-control.rtl .ts-control>input{margin:0 4px 0 -2px!important}.disabled .ts-control{background-color:#fafafa;opacity:.5}.input-hidden .ts-control>input{left:-10000px;opacity:0;position:absolute}.ts-dropdown{background:#fff;border:1px solid #d0d0d0;border-radius:0 0 3px 3px;border-top:0;box-shadow:0 1px 3px rgba(0,0,0,.1);box-sizing:border-box;left:0;margin:.25rem 0 0;position:absolute;top:100%;width:100%;z-index:10}.ts-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.ts-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);border-radius:1px}.ts-dropdown .create,.ts-dropdown .no-results,.ts-dropdown .optgroup-header,.ts-dropdown .option{padding:5px 8px}.ts-dropdown .option,.ts-dropdown [data-disabled],.ts-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.ts-dropdown [data-selectable].option{cursor:pointer;opacity:1}.ts-dropdown .optgroup:first-child .optgroup-header{border-top:0}.ts-dropdown .optgroup-header{background:#fff;color:#303030;cursor:default}.ts-dropdown .active{background-color:#f5fafd;color:#495c68}.ts-dropdown .active.create{color:#495c68}.ts-dropdown .create{color:rgba(48,48,48,.5)}.ts-dropdown .spinner{display:inline-block;height:30px;margin:5px 8px;width:30px}.ts-dropdown .spinner:after{animation:lds-dual-ring 1.2s linear infinite;border-color:#d0d0d0 transparent;border-radius:50%;border-style:solid;border-width:5px;content:" ";display:block;height:24px;margin:3px;width:24px}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ts-dropdown-content{max-height:200px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;scroll-behavior:smooth}.ts-wrapper.plugin-drag_drop .ts-dragging{color:transparent!important}.ts-wrapper.plugin-drag_drop .ts-dragging>*{visibility:hidden!important}.plugin-checkbox_options:not(.rtl) .option input{margin-right:.5rem}.plugin-checkbox_options.rtl .option input{margin-left:.5rem}.plugin-clear_button{--ts-pr-clear-button:1em}.plugin-clear_button .clear-button{background:transparent!important;margin-right:0!important}.plugin-clear_button .clear-button{cursor:pointer;opacity:0;position:absolute;right:2px;top:50%;transform:translateY(-50%);transition:opacity .5s}.plugin-clear_button.form-select .clear-button,.plugin-clear_button.single .clear-button{right:max(0,8px);right:max(var(--ts-pr-caret),8px)}.plugin-clear_button.focus.has-items .clear-button,.plugin-clear_button:not(.disabled):hover.has-items .clear-button{opacity:1}.ts-wrapper .dropdown-header{background:color-mix(#fff,#d0d0d0,85%);border-bottom:1px solid #d0d0d0;border-radius:3px 3px 0 0;padding:10px 8px;position:relative}.ts-wrapper .dropdown-header-close{font-size:20px!important}.ts-wrapper .dropdown-header-close{color:#303030;line-height:20px;margin-top:-12px;opacity:.4;position:absolute;right:8px;top:50%}.ts-wrapper .dropdown-header-close:hover{color:#000}.plugin-dropdown_input.focus.dropdown-active .ts-control{border:1px solid #d0d0d0;box-shadow:none}.plugin-dropdown_input .dropdown-input{background:transparent;border:solid #d0d0d0;border-width:0 0 1px;box-shadow:none;display:block;padding:8px;width:100%}.plugin-dropdown_input .items-placeholder{border:0!important;box-shadow:none!important}.plugin-dropdown_input .items-placeholder{width:100%}.plugin-dropdown_input.dropdown-active .items-placeholder,.plugin-dropdown_input.has-items .items-placeholder{display:none!important}.ts-wrapper.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input{flex:none;min-width:4px}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::-moz-placeholder{color:transparent}.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control>input::placeholder{color:transparent}.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content{display:flex}.ts-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0;flex-basis:0;flex-grow:1;min-width:0}.ts-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0}.ts-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.ts-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0}.ts-wrapper.plugin-remove_button .item{align-items:center;display:inline-flex}.ts-wrapper.plugin-remove_button .item .remove{border-radius:0 2px 2px 0;box-sizing:border-box;color:inherit;display:inline-block;padding:0 6px;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.ts-wrapper.plugin-remove_button .item .remove:hover{background:rgba(0,0,0,.05)}.ts-wrapper.plugin-remove_button.disabled .item .remove:hover{background:none}.ts-wrapper.plugin-remove_button .remove-single{font-size:23px;position:absolute;right:0;top:0}.ts-wrapper.plugin-remove_button:not(.rtl) .item{padding-right:0!important}.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove{border-left:1px solid #d0d0d0;margin-left:6px}.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove{border-left-color:#cacaca}.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove{border-left-color:#fff}.ts-wrapper.plugin-remove_button.rtl .item{padding-left:0!important}.ts-wrapper.plugin-remove_button.rtl .item .remove{border-right:1px solid #d0d0d0;margin-right:6px}.ts-wrapper.plugin-remove_button.rtl .item.active .remove{border-right-color:#cacaca}.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove{border-right-color:#fff}:root{--ts-pr-clear-button:0;--ts-pr-caret:0;--ts-pr-min:.75rem}.ts-wrapper.single .ts-control,.ts-wrapper.single .ts-control input{cursor:pointer}.ts-control:not(.rtl){padding-right:max(.75rem,0 + 0)!important;padding-right:max(var(--ts-pr-min),var(--ts-pr-clear-button) + var(--ts-pr-caret))!important}.ts-control.rtl{padding-left:max(.75rem,0 + 0)!important;padding-left:max(var(--ts-pr-min),var(--ts-pr-clear-button) + var(--ts-pr-caret))!important}.ts-wrapper{position:relative}.ts-control,.ts-control input,.ts-dropdown{color:#303030;font-family:inherit;font-size:13px;line-height:18px}.ts-control,.ts-wrapper.single.input-active .ts-control{background:#fff;cursor:text}.ts-hidden-accessible{clip:rect(0 0 0 0)!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}