
/* Nav Top Notification Dropdown */
div.notification-icon {
	height: 2rem;
	width: 2rem;
	border-radius: 100%;
	background-color: #f0f0f0;
	color: #7c7c7c;
}
div.notification-icon i.bi {
	width: 2rem;
	height: 2rem;
	display: block;
	align-content: center;
	text-align: center;
	font-size: 1rem;
}
div.notification-icon i.bi::before {
	content: "\f18a"; /* Bell */
}

div.notification-icon.warning {
	background-color: #ffefca;
	color: #ff9902;
}
div.notification-icon.warning i.bi::before {
	content: "\f63c"; /* exclamation-lg */
}

div.notification-icon.error {
	background-color: #ffcaca;
	color: #ff0202;
}
div.notification-icon.error i.bi::before {
	content: "\f627"; /* x-lg */
}

div.notification-icon.success {
	background-color: #d2ffca;
	color: #30bc00;
}
div.notification-icon.success i.bi::before {
	content: "\f633"; /* check-lg */
}

div.notification-icon.info {
	background-color: #caf3ff;
	color: #004dbc;
}
div.notification-icon.info i.bi::before {
	content: "\f646"; /* info-lg */
}

div.notification-icon.question {
	background-color: #ffddfb;
	color: #8500bc;
}
div.notification-icon.question i.bi::before {
	content: "\f64e"; /* question-lg */
}



/*** Choices.js Modifications *********************************************************************************************************************************/

/* Remove placeholder on multi-select when there is a value */
.choices__list--multiple:not(:empty) + .choices__input::placeholder { opacity: 0; }
.choices__list--multiple:not(:empty) + .choices__input { display: none !important; }

.choices[data-type="text"] .choices__list--multiple:not(:empty) + .choices__input { display: inline-block !important; }

/* This is apparently how to remove placeholder in a single after value */
/* .choices__list--dropdown > .choices__list > .choices__placeholder {	display: none; } */

/* Make the X button faded on the option until hovered (makes it look cleaner) */
.choices .choices__inner .choices__list.choices__list--multiple .choices__item .choices__button {
	opacity: 0.4;
	transition: opacity 0.2s ease;
}
.choices .choices__inner .choices__list.choices__list--multiple .choices__item .choices__button:hover {
	opacity: 1;
}

/* Adjust multi-select pills and input */
.choices .choices__inner .choices__list.choices__list--multiple .choices__item {
	font-size: 0.875rem;
	font-weight: normal;
}

/* Vertical center things in the, normalize height of input, adjust margins */
.choices .choices__inner {
	min-height: 3rem;
	align-content: center;
}
.choices__list--multiple .choices__item {
	margin: 2px 4px;
	padding: 2px 8px;
}











/*** Bootstrap Modifications **********************************************************************************************************************************/

/* Normalize regular input height so it looks the same as the choices */
input.form-control,
textarea.form-control {
	min-height: 3rem;
}

/* Tighten up form labels */
.form-label {
	margin-bottom: 0.1rem;
	margin-left: 0.25rem;
	color: #656565;
	font-weight: 200;
	/* width: 100%; */
	/* text-align: left !important; */
}

/* Add a required/recommended class to labels to render red/yellow star */
.form-label.required::after,
.form-label.recommended::after {
	content: "*";
	margin-left: 0.25rem;
	color: var(--pe-red, #dc3545);
	font-weight: 400;
}
.form-label.recommended::after {
	color: var(--pe-yellow, #ffc107);
}
/* Add optional label */
.form-label.optional::after,
.form-label.readonly::after {
	content: "(Optional)";
	margin-left: 0.25rem;
	color: var(--pe-gray-500, #adb5bd);
	font-weight: 100;
	font-size: 0.75rem;
}
/* Add Read Only label */
.form-label.readonly::after {
	content: "(Read Only)";
}


/* Input focus color change */
.form-control:focus {
	border-color: #add5ff;
	background-color: #fcfdff;
}


/* Make placeholders more subtle */
input::placeholder,
textarea::placeholder,
.choices .choices__inner .choices__placeholder {
	color: #c6c6c6 !important;
	font-weight: 200;
	opacity: 1;
}







/*** Scroll To Top Modifications ******************************************************************************************************************************/

/* Pull it closer to the bottom right so it doesn't hide page content */
.progress-wrap {
	right: 10px;
	bottom: 10px;
}








/* Upload Image Container */
.upload-image-container img {
	border: var(--pe-border-width) var(--pe-border-style) var(--pe-border-color) !important;
	border-radius: var(--pe-border-radius) !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	margin-bottom: 0 !important;
	width: 100%;
	border-bottom: 0 !important;
}
.upload-image-container .file-upload {
	width: 100%;
}
.upload-image-container .file-upload button.btn {
	width: 100%;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-color: var(--pe-border-color);
	border-top: 0;
	background-color: var(--pe-border-color);
	color: var(--pe-gray-600);
	min-height: 3rem;
}
.upload-image-container .file-upload:hover button.btn,
.upload-image-container .file-upload:hover button.btn,
.upload-image-container .file-upload button.btn:hover,
.upload-image-container .file-upload button.btn:hover {
	background-color: var(--pe-gray-500) !important;
	color: #fff !important;
}

.jstable-gallery thead tr,
.jstable-schedule thead tr,
.jstable-user thead tr,
.jstable-price thead tr,
.jstable-generic thead tr {
	background-color: #fdfdfd;
}



.progress,
.progress:hover {
	position: relative;
	--pe-progress-bg: #d0d4db;
}

.progress.progress-xl .progress-label {
	font-size: 0.75rem;
	color: #fff;
	line-height: 1.3rem;
	justify-content: center;
	width: 100%;
	position: absolute;
	display: flex;
}

tr.jstable-schedule--list-item.muted,
tr.jstable-generic--item.muted {
	opacity: 0.25;
}




.jstable-generic .jstable-generic--table .jstable-generic--create,
.jstable-generic .jstable-generic--table .jstable-generic--moveup,
.jstable-generic .jstable-generic--table .jstable-generic--movedown,
.jstable-generic .jstable-generic--table .jstable-generic--update,
.jstable-generic .jstable-generic--table .jstable-generic--view,
.jstable-generic .jstable-generic--table .jstable-generic--delete {
	display: none;
}

.jstable-generic .jstable-generic--table[data-enable-create] .jstable-generic--create,
.jstable-generic .jstable-generic--table[data-enable-move] .jstable-generic--moveup,
.jstable-generic .jstable-generic--table[data-enable-move] .jstable-generic--movedown,
.jstable-generic .jstable-generic--table[data-enable-update] .jstable-generic--update,
.jstable-generic .jstable-generic--table[data-enable-view] .jstable-generic--view,
.jstable-generic .jstable-generic--table[data-enable-delete] .jstable-generic--delete {
	display: inline-flex;
}

.jstable-generic--item a:not(.btn) {
	color: var(--pe-table-color-state, var(--pe-table-color-type, var(--pe-table-color)));
}
.jstable-generic--item a:not(.btn):hover {
	color: var(--pe-app-sidebar-menu-item-color-hover);
}
.jstable-generic--item a:hover .badge {
	color: var(--pe-app-sidebar-menu-item-color-hover) !important;
	border-color: var(--pe-app-sidebar-menu-item-color-hover) !important;
}

/* Hide move-up on the first row and move-down on the last row */
tbody tr.jstable-generic--item:first-child .jstable-generic--moveup,
tbody tr.jstable-generic--item:last-child .jstable-generic--movedown {
	opacity: 0;
	pointer-events: none;
	/*display: none !important;*/
}

.air-datepicker-global-container {
	z-index: 1055;
}

.modal .modal-header,
.modal .modal-footer {
	background-color: #f6f9fb;
}



/* Row flashing */
tr.row-flash {
	animation: fadeHighlightOverlay 7s ease-out forwards;
}

@keyframes fadeHighlightOverlay {
	from {
		box-shadow: inset 0 0 0 9999px #ffffe0;
	}
	to {
		box-shadow: inset 0 0 0 9999px rgba(255, 255, 224, 0);
	}
}



/* jstable-generic Row Colors */
/* Set item.row_color on any row item to one of: blue, green, yellow, orange, magenta, red, teal, gray, purple */
/* Uses box-shadow inset so the tint works at <tr> level and is not overridden by cell or table-hover backgrounds. */
tr.jstable-generic--item.jstable-generic--row-blue    { box-shadow: inset 0 0 0 9999px rgba(219, 234, 254, 0.65); }
tr.jstable-generic--item.jstable-generic--row-green   { box-shadow: inset 0 0 0 9999px rgba(220, 252, 231, 0.65); }
tr.jstable-generic--item.jstable-generic--row-yellow  { box-shadow: inset 0 0 0 9999px rgba(254, 249, 195, 0.70); }
tr.jstable-generic--item.jstable-generic--row-orange  { box-shadow: inset 0 0 0 9999px rgba(255, 237, 213, 0.70); }
tr.jstable-generic--item.jstable-generic--row-magenta { box-shadow: inset 0 0 0 9999px rgba(252, 231, 243, 0.65); }
tr.jstable-generic--item.jstable-generic--row-red     { box-shadow: inset 0 0 0 9999px rgba(254, 226, 226, 0.65); }
tr.jstable-generic--item.jstable-generic--row-teal    { box-shadow: inset 0 0 0 9999px rgba(204, 251, 241, 0.65); }
tr.jstable-generic--item.jstable-generic--row-gray,
tr.jstable-generic--item.jstable-generic--row-dark    { box-shadow: inset 0 0 0 9999px rgba(243, 244, 246, 0.80); }
tr.jstable-generic--item.jstable-generic--row-purple  { box-shadow: inset 0 0 0 9999px rgba(237, 233, 254, 0.65); }





/* jsTable Badge Colors */
.jstable-generic--item span.badge.badge-dark,
.jstable-generic--item span.badge.badge-gray,
span.badge.badge-dark,
span.badge.badge-gray {
	color: rgba(var(--pe-dark-rgb), 1) !important;
	background-color: var(--pe-dark-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-dark,
.jstable-generic--item span.badge.border.badge-gray,
span.badge.border.badge-dark,
span.badge.border.badge-gray {
	border-color: rgba(var(--pe-dark-rgb), 1) !important;
}

.jstable-generic--item span.badge.badge-blue,
span.badge.badge-blue {
	color: rgba(var(--pe-secondary-rgb), 1) !important;
	background-color: var(--pe-secondary-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-blue,
span.badge.border.badge-blue{
	border-color: rgba(var(--pe-secondary-rgb), 1) !important;
}

.jstable-generic--item span.badge.badge-green,
span.badge.badge-green {
	color: rgba(var(--pe-success-rgb), 1) !important;
	background-color: var(--pe-success-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-green,
span.badge.border.badge-green {
	border-color: rgba(var(--pe-success-rgb), 1) !important;
}

.jstable-generic--item span.badge.badge-light,
span.badge.badge-light {
	color: #d8d8d8 !important;
	background-color: #fbfbfb !important;
}
.jstable-generic--item span.badge.border.badge-light,
span.badge.border.badge-light {
	border-color: #d8d8d8 !important;
}

.jstable-generic--item span.badge.badge-red,
span.badge.badge-red {
	color: rgba(var(--pe-danger-rgb), 1) !important;
	background-color: var(--pe-danger-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-red,
span.badge.border.badge-red {
	border-color: rgba(var(--pe-danger-rgb), 1) !important;
}

.jstable-generic--item span.badge.badge-yellow,
span.badge.badge-yellow {
	color: rgba(var(--pe-warning-rgb), 1) !important;
	background-color: var(--pe-warning-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-yellow,
span.badge.border.badge-yellow {
	border-color: rgba(var(--pe-warning-rgb), 1) !important;
}

.jstable-generic--item span.badge.badge-orange,
span.badge.badge-orange {
	color: rgba(var(--pe-primary-rgb), 1) !important;
	background-color: var(--pe-primary-bg-subtle) !important;
}
.jstable-generic--item span.badge.border.badge-orange,
span.badge.border.badge-orange {
	border-color: rgba(var(--pe-primary-rgb), 1) !important;
}

.jstable-generic--item span.badge.border {
	background: none !important;
}

.jstable-generic--item .avatar-item a {
	color: inherit;
}





/* Breadcrumbs */
.breadcrumb-item,
.breadcrumb-item > a {
	color: var(--pe-app-sidebar-menu-item-color);
}
.breadcrumb-item > a:hover {
	color: var(--pe-app-sidebar-menu-item-color-hover);
}
.breadcrumb-item.active {
	color: var(--pe-emphasis-color);
}

:is(.btn.show, .ql-snow .ql-tooltip .show.ql-action, .btn:first-child:active, .ql-snow .ql-tooltip .ql-action:first-child:active, :not(.btn-check) + .btn:active, .ql-snow .ql-tooltip :not(.btn-check) + .ql-action:active) {
	border-color: unset;
}
.app-header .vertical-toggle.header-btn:is(:focus, :active, :focus-within) {
	color: #878787;
	background-color: var(--pe-body-bg);
	/*border-color: var(--pe-body-bg);*/
	border: 1px solid var(--pe-body-bg);
}
.app-header .vertical-toggle.header-btn:hover {
	color:            var(--pe-primary);
	background-color: var(--pe-secondary-bg);
	border:           1px solid var(--pe-primary);
}
html[data-sidebar="icon"] .app-header .vertical-toggle.btn.header-btn i.bi-justify::before { content: "\f5c5"; }
html[data-sidebar="default"] .app-header .vertical-toggle.btn.header-btn i.bi-justify::before {	content: "\f5c6"; }

/* Card Header Submit Sutton */
/* The label text (" Save Changes") is hidden by default at all sizes. */
.card-header-submit-btn .card-submit-label {
	display: none;
}
@media (min-width: 768px) {
	.card-header-submit-btn.has-changes .card-submit-label {
		display: inline;
	}
	.card-header-submit-btn.has-changes i {
		margin-right: 0.25rem;
	}
}
.card-header-submit-btn {
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
	white-space: nowrap;
	opacity: 0.5;
}
.card-header-submit-btn.has-changes {
	opacity: 1;
}


.logo-max-80 {
	max-height: 80px;
	max-width: 100%;
}