:root {
  --ct-menu-condensed-link-bg: #e87706;
  --ct-footer-height: 60px;
  --ct-theme-card-border-width: 0px;
}

/* Background Light left-sidebar */
html[data-menu-color=light] {
  --ct-menu-item-color: #044955;
  --ct-menu-item-hover-color: #e87706;
  --ct-menu-item-active-color: #e87706;
  --ct-help-box-bg: #e87706;
}

/* Dark Left Sidebar */
html[data-menu-color=dark] {
  --ct-menu-bg: #044955;
}

html[data-topbar-color=light] {
  --ct-topbar-item-color: #044955;
  --ct-topbar-item-hover-color: #e87706;
}

:root,
[data-bs-theme=light] {
  --ct-indigo: #e87706;
  --ct-gray-700: #044955;
  --ct-primary: #e87706;
  --ct-secondary: #044955;
  --ct-primary-rgb: 232, 119, 6;
  --ct-secondary-rgb: 4, 73, 85;
  --ct-primary-text-emphasis: rgb(98, 63, 46);
  --ct-secondary-text-emphasis: #8a989c;
  --ct-light-text-emphasis: #044955;
  --ct-dark-text-emphasis: #044955;
  --ct-primary-bg-subtle: rgb(254, 248, 241);
  --ct-secondary-bg-subtle: #f6fafb;
  --ct-primary-border-subtle: rgb(251, 221, 199);
  --ct-body-color: #044955;
  --ct-body-color-rgb: 4, 73, 85;
  --ct-emphasis-color: rgba(4, 73, 85, 0.75);
  --ct-emphasis-color-rgb: 4, 73, 85;
  --ct-tertiary-color: #044955;
  --ct-tertiary-color-rgb: 4, 73, 85;
  --ct-link-color: #e87706;
  --ct-link-color-rgb: 244, 176, 115;
  --ct-highlight-color: #044955;
  --ct-focus-ring-color: rgba(244, 176, 115, 0.25);
}

[data-bs-theme=dark] {
  --ct-primary-text-emphasis: rgb(249, 196, 170);
  --ct-primary-bg-subtle: rgba(245, 177, 114, 0.15);
  --ct-secondary-bg-subtle: rgba(4, 73, 85, 0.15);
  --ct-primary-border-subtle: rgb(147, 98, 68);
  --ct-secondary-border-subtle: #044955;
  --ct-light-border-subtle: #044955;
}

body.floating > .wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

body.floating > .wrapper > footer {
	height: var(--ct-footer-height);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0 1.5rem;
	color: var(--ct-emphasis-color);
	border: none;
	text-align: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.table-primary {
	--ct-table-color: #463a31;
	--ct-table-striped-bg: #463931;
	--ct-table-active-bg: #463a31;
	--ct-table-hover-bg: #463d31;
}
.form-select:focus {
	-webkit-box-shadow: 0 0 0 0 rgba(244, 176, 115, 0.25);
	box-shadow: 0 0 0 0 rgba(244, 176, 115, 0.25);
}

.form-check-input:checked {
  background-color: #e87706;
  border-color: #e87706;
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: #e87706;
  border-color: #e87706;
}

.form-range::-webkit-slider-thumb {
  background-color: #e87706;
}

.btn-primary {
  --ct-btn-bg: #e87706;
  --ct-btn-border-color: #e87706;
  --ct-btn-hover-bg: rgb(227, 158, 105);
  --ct-btn-hover-border-color: rgb(227, 158, 105);
  --ct-btn-active-bg: rgb(227, 164, 105);
  --ct-btn-active-border-color: rgb(227, 170, 105);
  --ct-btn-disabled-bg: #e87706;
  --ct-btn-disabled-border-color: #e87706;
}

.btn-secondary {
  --ct-btn-bg: #044955;
  --ct-btn-border-color: #044955;
  --ct-btn-disabled-bg: #044955;
  --ct-btn-disabled-border-color: #044955;
}

.btn-outline-primary {
  --ct-btn-color: #e87706;
  --ct-btn-border-color: #e87706;
  --ct-btn-hover-bg: #e87706;
  --ct-btn-hover-border-color: #e87706;
  --ct-btn-focus-shadow-rgb: 244, 176, 115;
  --ct-btn-active-bg: #e87706;
  --ct-btn-active-border-color: #e87706;
  --ct-btn-disabled-color: #e87706;
  --ct-btn-disabled-border-color: #e87706;
}

.btn-outline-secondary {
  --ct-btn-color: #044955;
  --ct-btn-border-color: #044955;
  --ct-btn-hover-bg: #044955;
  --ct-btn-hover-border-color: #044955;
  --ct-btn-focus-shadow-rgb: 4, 73, 85;
  --ct-btn-active-bg: #044955;
  --ct-btn-active-border-color: #044955;
  --ct-btn-disabled-color: #044955;
  --ct-btn-disabled-border-color: #044955;
}

.nav-link:focus-visible {
	-webkit-box-shadow: 0 0 0 0.15rem rgba(244, 176, 115, 0.25);
	box-shadow: 0 0 0 0.15rem rgba(244, 176, 115, 0.25);
}

.nav-pills {
  --ct-nav-pills-link-active-bg: #e87706;
}

.navbar {
  --ct-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%284, 73, 85, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.accordion {
  --ct-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23044955'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.pagination {
  --ct-pagination-active-bg: #e87706;
  --ct-pagination-active-border-color: #e87706;
}

.progress,
.progress-stacked {
  --ct-progress-bar-bg: #e87706;
}

.list-group {
  --ct-list-group-active-bg: #e87706;
  --ct-list-group-active-border-color: #e87706;
}

[data-bs-theme=dark] {
  --ct-secondary: #044955;
  --ct-secondary-rgb: 4, 73, 85;
}

input[data-switch=primary]:checked + label {
  background-color: #e87706;
}

input[data-switch=secondary]:checked + label {
  background-color: #044955;
}

.fc-button {
  color: #044955;
}

.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-title,
.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-main {
  color: #e87706 !important;
}

.fc-timegrid-event-harness .fc-timegrid-event.bg-primary-subtle .fc-event-title {
  color: #e87706 !important;
}

.fc-list-table .fc-list-event.bg-primary-subtle {
  color: #e87706 !important;
}
.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-title > a {
  color: #e87706 !important;
}
.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-dot {
  border-color: #e87706;
}

.fc-daygrid-event-harness .fc-daygrid-event.bg-secondary-subtle .fc-event-title,
.fc-daygrid-event-harness .fc-daygrid-event.bg-secondary-subtle .fc-event-main {
  color: #044955 !important;
}

.fc-timegrid-event-harness .fc-timegrid-event.bg-secondary-subtle .fc-event-title {
  color: #044955 !important;
}

.fc-list-table .fc-list-event.bg-secondary-subtle {
  color: #044955 !important;
}
.fc-list-table .fc-list-event.bg-secondary-subtle .fc-list-event-title > a {
  color: #044955 !important;
}
.fc-list-table .fc-list-event.bg-secondary-subtle .fc-list-event-dot {
  border-color: #044955;
}

.jq-icon-primary {
  background-color: #e87706;
  border-color: #e87706;
}

.jq-icon-secondary {
  background-color: #044955;
  border-color: #044955;
}

#registration-processing-overlay {
		position: fixed;
		inset: 0;
		z-index: 2000;
	}

	.registration-processing-backdrop {
		position: absolute;
		inset: 0;
		background: rgba(15, 23, 42, 0.45);
		backdrop-filter: blur(2px);
	}

	.registration-processing-dialog {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: min(92vw, 520px);
		border-radius: 18px;
	}

.notification-list > a {
    position: relative;
}

#tenant-notification-badge {
    position: absolute;
    display: none;
    pointer-events: none;
}

#tenant-notification-badge.has-items {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fa5c7c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    top: 31px;
    right: -6px;
}

.tenant-notifications-scroll {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 56px;
}

.tenant-notifications-scroll .simplebar-content .notify-item:last-child {
    margin-bottom: 0 !important;
}

.notification-list .dropdown-menu .notify-item.border-top {
    position: relative;
    z-index: 2;
    background: #fff;
}

.notification-page-item-unread {
    background-color: #f8f9fc;
    border-color: #e9edf4 !important;
}

.notification-page-item-read {
    background-color: #ffffff;
    opacity: .92;
}

.notification-page-item:hover {
    border-color: #cfd6e4 !important;
    background-color: #f8fafc;
}

.notification-page-item .notify-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.min-w-0 {
    min-width: 0;
}