:root {
	--ui-radio: url("data:image/svg+xml; utf8, <svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='23' height='23' rx='11.5' fill='white' stroke='rgb(196, 196, 196)'/></svg>");
	--ui-radio-checked: url("data:image/svg+xml; utf8, <svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect width='24' height='24' rx='12' fill='rgb(18, 18, 57)'/><rect x='2' y='2' width='20' height='20' rx='10' fill='white'/><rect x='6' y='6' width='12' height='12' rx='6' fill='rgb(18, 18, 57)'/></svg>");
	
	--ui-checkbox: url("data:image/svg+xml; utf8, <svg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='1' y='0.5' width='23' height='23' rx='7.5' fill='white' stroke='rgb(196, 196, 196)'/></svg>");
	
	--ui-checkbox-checked: url("data:image/svg+xml; utf8, <svg width='25' height='24' xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 25 24' style='enable-background:new 0 0 25 24;' xml:space='preserve'><path fill='white' stroke='rgb(196, 196, 196)' d='M8.5,0.5h8C20.6,0.5,24,3.9,24,8v8c0,4.1-3.4,7.5-7.5,7.5h-8C4.4,23.5,1,20.1,1,16V8C1,3.9,4.4,0.5,8.5,0.5z'/><path fill='rgb(109, 156, 34)' d='M10.1,18.9l-4.9-5.2c-0.3-0.3-0.3-0.8,0-1.1l1.1-1.1c0.3-0.3,0.8-0.3,1.1,0l3.3,3.5l7-7.5 c0.3-0.3,0.8-0.3,1.1,0l1.1,1.1c0.3,0.3,0.3,0.8,0,1.1l-8.6,9.2C10.9,19.3,10.4,19.3,10.1,18.9z'/></svg>");
	
	--ui-field-error: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='rgb(198, 4, 64)' viewBox='0 0 16 16'><path d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/></svg>");
	
	--ui-field-error-invert: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='white' viewBox='0 0 16 16'><path d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/></svg>");
	
}
.ui-ctl-element {
	border-radius: 0.5rem;
}
.ui-ctl-element:hover {
	border-color: var(--ui-field-color-secondary);
}
.ui-ctl-element:focus,
.ui-ctl-element:active {
	border-color: var(--ui-field-color-secondary);
}
.fieldset label {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 16.34px;
	color: #A3A9B0;
	padding-top: 13px;
	padding-bottom: 4px;
}
.text-label {
	color: #A3A9B0;
}

.fieldset [type="radio"] {
	display: none;
}
.fieldset [type="radio"] ~ span {
	display: flex;
	align-items: center;
	font-size: 14px;
	gap: 12px;
	color: #121239;
	margin-bottom: 6px;
}
.fieldset [type="radio"] ~ span:before {
	content: var(--ui-radio);
	width: 24px; height: 24px;
}
.fieldset [type="radio"]:checked ~ span:before {
	content: var(--ui-radio-checked);
	width: 24px; height: 24px;
}

/**/
.fieldset [type="checkbox"] {
	display: none;
}
.fieldset [type="checkbox"] ~ span {
	display: flex;
	align-items: center;
	font-size: 14px;
	gap: 12px;
	color: #121239;
	margin-bottom: 6px;
}
.fieldset [type="checkbox"] ~ span:before {
	content: var(--ui-checkbox);
	width: 24px; height: 24px;
}
.fieldset [type="checkbox"]:checked ~ span:before {
	content: var(--ui-checkbox-checked);
	width: 24px; height: 24px;
}
.fieldset [type="checkbox"]:checked ~ span ~ div path {
	fill: #C61D41;
	transition: 300ms fill;
}
.fieldset [type="checkbox"]:checked ~ span ~ div path:not(:first-child) {
	fill: #A91734;
	transition: 300ms fill;
}
.fieldset [type="checkbox"] ~ span .checked-true {
	display: none;
}
.fieldset [type="checkbox"] ~ span .checked-false {
	display: block;
}
.fieldset [type="checkbox"]:checked ~ span .checked-true {
	display: block;
}
.fieldset [type="checkbox"]:checked ~ span .checked-false {
	display: none;
}
.ui-checkbox-sm {
	transform: scale(0.8);
}
.form-divider {
	opacity: 0;
}
/**/
.ui-toolbar-title-item {
	color: #000000;
}
.ui-btn-primary {
	--ui-btn-background: #304986;
	--ui-btn-background-hover: #203360;
	--ui-btn-background-active: #15213e;
	--ui-btn-border-color: #304986;
	--ui-btn-border-color-hover: #203360;
	--ui-btn-border-color-active: #15213e;
	--ui-btn-color: #ffffff;
	--ui-btn-color-hover: #ffffff;
	--ui-btn-color-active: #ffffff;
}
.ui-btn-secondary,
.ui-btn-success {
	--ui-btn-background: #6D9C22;
	--ui-btn-background-hover: #4a6b17;
	--ui-btn-background-active: #385011;
	--ui-btn-border-color: #6D9C22;
	--ui-btn-border-color-hover: #4a6b17;
	--ui-btn-border-color-active: #385011;
	--ui-btn-color: #ffffff;
	--ui-btn-color-hover: #ffffff;
	--ui-btn-color-active: #ffffff;
}
/* .main-grid-header {
	display: none !important;
} */

/* .main-grid-row {
	display: block !important;
	margin-bottom: 12px !important;
} */

.error-notification {
	background-color: #C60440 !important;
	color: #ffffff;
	padding: 18px 27px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.success-notification {
	background-color: #288a03 !important;
	color: #ffffff;
	padding: 18px 27px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.success-notification:before,
.error-notification:before {
	margin-top: 3px;
	content: var(--ui-field-error-invert);
}
.error label {
	position: relative;
	color: #C60440 !important;
	padding-left: 20px;
}
.error label:before {
	position: absolute;
	left: 0;
	bottom: 3px;
	display: block;
	content: var(--ui-field-error);
}
.error .ui-ctl-element {
	border-color: #C60440 !important;
}
.fieldset-flex {
	display: flex; 
	align-items: center;
	gap: 10px;
}
.fieldset-flex > .empty-value-btn {
	margin-top: -12px;
}
.fieldset-checkall {
	-webkit-align-self: center;
	align-self: center;
	padding-right: 55px;
	padding-top: 6px;
}
.fieldset-col {
	flex-grow: 4;
}
.fieldset-table {
	width: 100%;
	height: 160px;
}

.fieldset-table tr:not(:last-child) > td {
	border-bottom: 1px solid #E9E9E9;
}

.fieldset-table td {
	padding: 6px 12px;
	color: #000000;
	width: 25%;
	position: relative;
}
.fieldset-table td:not(:last-child) {
	border-right: 1px solid #E9E9E9;
}
.fieldset-table td > span {
	color: #4F4F4F
}
.fieldset-table td > label > span {
	color: #C60440 !important;
}

.ui-icon-all {
	background-image: url('../all-arrow.svg') !important;
}
.fieldset-view {
	position: relative;
}
.ui-ctl.multiple {
	margin-bottom: 9px;
}
.fieldset-view,
.ui-ctl-dropdown,
.fieldset-employee {
	margin-bottom: 13px !important;
}

.fieldset-employee {
	/* padding-right: 15px !important; */
}
.ui-btn-text-primary,
.ui-text-primary > .ui-btn-text {
	--ui-btn-color: #C60440;
	--ui-btn-color-active: #C60440;
	--ui-btn-color-active: #C60440;
}
.fieldset-checkbox {
	display: inline-block;
	width: auto;
	padding-right: 15px;
}
.ui-btn > strong {
	text-transform: uppercase;
}
.ui-btn-blank {
	--ui-btn-border-color: transparent;
}
.ui-btn-blank {
	margin-right: 1.25rem;
}
.ui-btn-blank > svg {
	margin-right: 0.25rem;
}
.ui-btn-blank > span {
	line-height: 1.45;
	border-bottom: 1px solid;
	font-weight: normal;
}
.ui-btn-text-primary > span {
	border-color: rgba(198, 4, 64, 0.3);
	transition: 3ms border-color;
}
.ui-btn-text-primary:hover > span {
	border-color: #80868E;
}

label.ui-ctl-label {
	font-size: 0.85rem;
	font-weight: normal;
	color: #cccccc;
	display: block;
	padding-left: 3px;
	box-sizing: border-box;
}
.ui-ctl-divider {
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 15px;
	box-sizing: border-box;
}
.ui-btn-square {
	--ui-btn-background-hover: #ffffff;
	--ui-btn-background-active: #f3f1f1;
	--ui-btn-border-color: #ffffff;
	--ui-btn-border-color-hover: #C60440;
	--ui-btn-border-color-active: #C60440;
	width: 40px;
}

#pagetitle {
	margin-top: 0 !important;
}
.ui-file-btn {
	border: 1px solid #efefef;
	background-color: #ffffff;
}
.ui-ctl-dropdown {
	position: relative;
}
#selector {
	padding: 10px;
	font-size: 1rem;
}
.ui-ctl-popup-list {
	background-color: #ffffff !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.ui-ctl-dropdown-items {
	height: auto;
	max-height: 240px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
}
.ui-ctl-dropdown-item {
	align-self: stretch;
	cursor: pointer;
	padding:4px 12px;
	font-weight: normal;
}
.ui-ctl-dropdown-item:hover {
	background-color: #F5F7F9;
}
.ui-ctl-dropdown-item.selected,
.ui-ctl-dropdown-item.selected:hover {
	color: #ffffff;
	background-color: #C60440;
	pointer-events: none;
}
/* .dropdown-item-overflow {
	overflow: hidden; 
	text-overflow: ellipsis; 
	white-space: nowrap;
} */
.ui-icon-backtolist {
	--ui-btn-background-active: #f3f1f1;
	background-image: url('./images/back-arrow.svg');
	background-repeat: no-repeat;
	background-size: 16px;
	background-position: 8px 10px;
	padding-left: 30px;
}
.ui-icon-backtolist > .ui-btn-text {
	color:#000000;
}

.ui-icon-alllist {
	--ui-btn-background-active: #f3f1f1;
	background-image: url('./images/all-grey-arrow.svg?123');
	background-repeat: no-repeat;
	background-size: 19px;
	background-position: 6px 9px;
	padding-left: 34px;
}
.ui-btn-counter-white {
	background-color: rgba(255, 255, 255, 0.8);
	color: #C60440;
}
.ui-btn-counter-primary {
	background-color: #C60440;
}

.ui-ctl-status-selector {
	display: flex;
	align-items: center;
}
.ui-ctl-status-selector > div {
	width: 100px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
}
.ui-ctl-status-selector > div.active {
	width: auto;
	overflow: visible;
}
.ui-ctl-icon-clear {
	display: none;
}
.ui-ctl-icon-clear.active {
	display: block;
	cursor: pointer;
	pointer-events: auto !important;
}

.form-divider {
	border-top: 3px solid #F5F7F9;
	margin: 25px 0 15px;
}
.disabled {
	pointer-events: none !important;
	opacity: 0.5;
}

.fieldset-employee {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	cursor: pointer;
	padding: 4px;
	border-radius: 40px;
	border: 1px solid #efefef;
	margin-top: 2px;
	margin-bottom: 2px;
}
.fieldset-employee.pr {
	padding-right: 12px;
}
.fieldset-employee:hover {
	background-color: #F5F7F9;
	color: #C60440;
}
.fieldset-employee .ui-btn-link {
	margin-left: auto;
	border-radius: 50%;
	margin-right: 8px;
	background-color: #ffffff;
}
.ui-icon-common-user {
	border-radius: 50%;
	overflow: hidden;
	width: 40px;
	height: 40px;
}
.ui-icon-common-user > img {
	object-fit:cover;
	width: 100%;
	height: 100%;
}
.cursor-default {
	cursor: default;
}
.main-grid-cell {
	vertical-align: middle !important;
}
.main-grid-cell-content .fieldset-employee {
	font-size: 0.75rem !important;
	white-space: nowrap;
}
.main-grid-row-body:hover .fieldset-employee {
	background-color: #ffffff;
}
.main-grid-cell-content .ui-icon-common-user {
	width: 30px;
	height: 30px;
}
.main-grid-cell-content .ui-icon-service-light-calendar {
	width: 30px;
	height: 30px;
}
/* .text-muted {
	height: 36px;
	line-height: 36px;
} */
.main-grid-row .text-muted,
.main-grid-cell-content .text-muted {
	opacity: 0.5;
}

.ui-ctl-dropdown-section {
	align-self: stretch;
	cursor: pointer;
	font-weight: bold;
	margin-bottom: 0 !important;
}
.ui-ctl-dropdown-section > span {
	display: block;
	padding:6px 40px 6px 12px;
	pointer-events: none;
}
.ui-ctl-dropdown-section > .ui-ctl-after {
	margin-top: -3px;
}
.ui-ctl-dropdown-section.active,
.ui-ctl-dropdown-section:hover {
	background-color: #F5F7F9;
}
.ui-ctl-dropdown-section-items {
	background-color: #ffffff;
	display: none;
}
.ui-ctl-dropdown-section-items.active {
	display: block;
}
.ui-ctl-dropdown-section-items .ui-ctl-dropdown-item {
	box-sizing: border-box;
	padding-left: 25px;
}
.px {
	box-sizing: border-box;
	padding-left: 11px;
	padding-right: 11px;
	/* margin-top: 15px; */
}
.ui-ctl-dropdown-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	justify-content: stretch;
}
.ui-ctl-dropdown-flex > label {
	align-self: center;
	flex: 10 0 auto;
}
.ui-ctl-dropdown-flex > label > span {
	min-width: 300px;
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ui-btn-icon-download.single {
	width: 36px;
	min-width: 36px !important;
	margin-left: auto;
}
.ui-btn-file {
	border: 1px solid #CBCED2;
	margin-top: 2px;
	margin-bottom: 2px;
}

.fixed_pre {
	position:fixed;
	left: 0;
	top: 0;
	z-index: 10000000;
	background-color: red;
	color: white;
	padding: 20px;
	max-height: 300px;
	overflow-y: auto;
}
.fixed_pre.white {
	color: #555555;
	background-color: #ffffff;
}
.fixed_pre.bottom {
	top: auto;
	bottom: 0;
}
.fixed_pre.fh {
	height: 100vh;
	max-height: 100vh;
}
.fixed_pre.fw {
	width: 100vw;
}

.fieldset .hidden {
	display: none !important;
}

.field-section {
	position: relative;
	/* background-color: #ffffff; */
	width: 100%;
	margin-top: 16px;
	text-align: right;
}
.field-section:before {
	content: '';
	position: absolute;
	top: 50%;
	margin-top: 2px;
	display: block;
	width: 100%;
	height: 0;
	border-bottom: 1px solid #e5ebf1;
	z-index: 1;
}
.field-section > span {
	position: relative;
	display: inline-block;
	margin-left: 15px;
	margin-right: 0px;
	background-color: var(--bs-secondary);
	color: #ffffff;
	padding: 0 12px;
	line-height: 1.75;
	border-radius: 20px;
	text-transform: uppercase;
	z-index: 2;
	font-size: 10px;
	pointer-events: none;
	min-width:140px;
	text-align: center;
	box-sizing: border-box;
}
.field-section > span.unvisible {
	opacity: 0;
}

.ui-button-panel {
	/* background-color: transparent !important; */
	/* border-radius: 0.75rem; */
}
.ui-pinner-bottom {
	/* position: relative !important;
	box-shadow: none !important;
	border: none !important; */
}

.field-sections-spy {
	position: fixed;
	right: 0;
	top: 90px;
}
.field-sections-spy .nav-link {
	font-family: 'Montserrat Alternates', var( --bs-font-sans-serif);
	border-left: 3px solid rgba(0,0,0,0);
	color: #000000 !important;
	transition: all 300ms;
}
.field-sections-spy .nav-link:hover,
.field-sections-spy .nav-link.active {
	color: var(--bs-secondary) !important;
	border-left-color: var(--bs-gray-400);
}

#ui-button-panel-save {
	margin-top: 4px;
	margin-bottom: 4px;
}

#ui-button-panel-cancel {
	margin-top: 4px;
	margin-bottom: 4px;
	--ui-btn-background: #C60440;
	--ui-btn-background-hover: #b8023a;
	--ui-btn-background-active: #8a062f;
	--ui-btn-border-color: #C60440;
	--ui-btn-border-color-hover: #b8023a;
	--ui-btn-border-color-active: #8a062f;
	--ui-btn-color: #ffffff;
	--ui-btn-color-hover: #ffffff;
	--ui-btn-color-active: #ffffff;
	padding-left: 18px;
	padding-right: 18px;
}

