@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/roboto/roboto-v51-cyrillic_latin-regular.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/roboto/roboto-v51-cyrillic_latin-500.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/roboto/roboto-v51-cyrillic_latin-700.woff2") format("woff2");
}

* {
	padding: 0;
	margin: 0;
	outline: 0;
	font-family: "Roboto", arial, sans-serif;
}

html {
	width: 100%;
	height: 100%;
}
body {
	height: 100%;
	position: relative;
}

.global-loading {
	display: none;
	position: fixed;
	_position: absolute;
	top: 10px;
	left: 10px;
	background-color: white;
	border: 1px solid #bfbfbf;
	padding: 10px;
	z-index: 100;
}
.global-loading .active {
	display: block;
	float: left;
}
.global-loading .success {
	display: block;
	float: left;
	color: blue;
}
.global-loading .error {
	display: block;
	float: left;
	color: red;
}
.global-loading .state-container {
	display: block;
	float: left;
	color: red;
	font-size: 1em;
}

.corner {
	display: block;
	height: 1px;
	overflow: hidden;
	font-size: 1px;
	border: 0;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
}
.corner.corner-header,
.corner.corner-footer {
	border: 0;
	background: none;
}

.input-field,
.input-area {
	font-size: 14px;
	line-height: 24px;
	padding: 1px 6px;
	background: #fdfdfd;
	border: 1px solid;
	border-color: #979797 #ddd #dedede;
	border-radius: 3px;
	box-sizing: border-box;
	box-shadow: 0 1px #d5d5d5 inset;
}
select.input-field {
	height: 28px;
}
.input-checkbox {
}
.input-field[readonly],
.input-area[readonly] {
	color: #555;
}

.dd .ddTitle,
.dd .ddChild {
	border: 1px solid #b0ddfe !important;
}

.w {
	color: white;
}

.overlay-wnd .list-target {
	text-decoration: underline;
	cursor: pointer;
}

.input-monitoring {
	border-left: 2px solid #41bbef;
}

.label-info {
	font-size: 14px;
	color: #587dbf;
}
.label-info-small {
	font-size: 10px;
	color: #587dbf;
}

.main-error-report .input-field {
	width: 98%;
	margin-bottom: 5px;
}
.main-error-report .input-area {
	width: 98%;
	height: 100px;
	margin-bottom: 5px;
}
.main-error-report .state-c {
	height: 30px;
}
.main-error-report .state-container {
	padding: 0;
	font-size: 0.9em;
	line-height: 1.1em;
	text-align: center;
}
.main-error-report .state-container .success {
	color: blue;
}
.main-error-report .state-container .error {
	color: red;
}
.main-error-report .buttons-panel {
	text-align: center;
}

/*** start RANKING ***/
.ranking-plus-button,
.ranking-minus-button {
	padding-left: 37px !important;
}
.ranking-plus-button span,
.ranking-minus-button span {
	background-color: white;
}
.ranking-plus-button.small,
.ranking-minus-button.small {
	padding-left: 30px !important;
}
.ranking-plus-button {
	background: url('../images/ranking.png') no-repeat 5px -27px;
	color: #b5a0eb !important;
}
.ranking-minus-button {
	background: url('../images/ranking.png') no-repeat 5px 27px;
	color: #a3a3a3 !important;
}
.ranking-plus-button.small {
	background: url('../images/ranking-small.png') no-repeat 5px -20px;
	color: #b5a0eb !important;
}
.ranking-minus-button.small {
	background: url('../images/ranking-small.png') no-repeat 5px 20px;
	color: #a3a3a3 !important;
}
/*** end RANKING ***/

.left-side {
	float: left;
}
.right-side {
	float: right;
}
.clear {
	clear: both;
}
.abs-left {
	position: absolute;
	top: 0;
	left: 0;
}
.abs-right {
	position: absolute;
	top: 0;
	right: 0;
}
.ta-l {
	text-align: left !important;
}
.ta-r {
	text-align: right !important;
}
.ta-c {
	text-align: center !important;
}
.centered {
	margin-left: auto;
	margin-right: auto;
}
.fullwidth {
	width: 100%;
}

.hint-text.blur {
	color: #808080;
	font-style: italic;
	font-family: serif;
}

.sub {
	font-size: 0.9em;
}
.smaller {
	font-size: 0.9em;
}
.bigger {
	font-size: 1.1em;
}

.undefined {
	color: #999999;
}

.state-container .success {
	color: blue;
}
.state-container .error {
	color: red;
}

.containerPlus .mbcontainercontent {
	text-align: left;
	overflow: hidden !important;
}

.modal.rg-white .modal-header {
	border-bottom: 0;
	padding-top: 7px;
	padding-bottom: 5px;
}
.modal-dialog {
	text-align: left;
}
.modal-content {
	--bs-modal-border-radius: 12px;
}

a {
	--bs-link-color: #5996cf;
	--bs-link-color-rgb: 89, 150, 207;
	--bs-link-hover-color: #006fd6;
	--bs-link-hover-color-rgb: 0, 111, 214;
	cursor: pointer;
}

.rg-color-hoverable i:not(.fa-inverse) {
	color: #99979c;
}
.rg-color-hoverable--white i {
	color: #ffffff;
}
.rg-color-hoverable:hover i:not(.fa-inverse) {
	color: inherit;
}
.rg-text-primary {
	color: #1d6fb3;
}
.rg-text-primary-dark {
	color: #2a6494;
}
.rg-text-secondary {
	color: #5996cf;
}
.rg-text-light {
	color: #999999;
}
.rg-text-highlight {
	color: #ffcd39;
}
.rg-text-highlight-l {
	color: #ffda6a;
}
.rg-text-info {
	color: #85e4f7;
}
.rg-text-warning {
	color: #cc9a06;
}
.rg-text-3xs {
    font-size: .5em;
}
.rg-text-xxs {
	font-size: .625em;
}
.rg-text-xs {
	font-size: .75em;
}
.rg-text-sm {
	font-size: .875em;
}
.rg-text-smr {
	font-size: .9375em;
}
.rg-text-md {
	font-size: 1.125em;
}
.rg-text-lg {
	font-size: 1.25em;
}
.rg-text-xl {
	font-size: 1.5em;
}
.rg-text-justify {
	text-align: justify;
}

.rg-underline-dotted {
	text-decoration-style: dotted;
	text-decoration-thickness: 1px;
}
.rg-underline-dashed {
	text-decoration-style: dashed;
	text-decoration-thickness: 1px;
}

.rg-text-uppercase {
	text-transform: uppercase;
}
.rg-text-lowercase {
	text-transform: lowercase;
}

.rg-btn-link {
	font-size: 18px;
	color: #000;
}
.rg-btn-link:hover,
.rg-btn-link:active {
	text-decoration: none;
	color: #000 !important;
}

.rg-link-light {
	color: #999999;
	text-decoration-color: rgba(175, 175, 175, var(--bs-link-underline-opacity, 1));
}

.rg-form-label {
	color: #64748b;
	font-size: 14px;
	line-height: 22px;
	padding-top: 7px;
	padding-bottom: 7px;
}
.rg-form-section-toggle {
	display: block;
	width: 100%;
	background: transparent;
	border: 0;
	padding: 8px 4px;
	color: #64748b;
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	text-align: left;
	cursor: pointer;
	transition: color 0.15s ease;
}
.rg-form-section-toggle:hover,
.rg-form-section-toggle:focus {
	color: #475569;
	outline: 0;
}
.rg-form-section-toggle__chevron {
	font-size: 11px;
	opacity: 0.5;
	margin-left: 8px;
	transition: transform 0.15s ease;
}
.rg-form-label--secondary {
	color: #000000;
}
.rg-form-label--required:after {
	content: '*';
	padding-left: 1px;
	color: #f00;
}
.rg-form-label-sm {
	font-size: 14px;
}
.rg-form-control {
	width: 100%;
	font-size: 15px;
	line-height: 24px;
	padding: 5px 10px;
	background-color: #fafbfd;
	border: 1px solid #d8dae6;
	border-radius: 10px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.rg-form-control:focus,
.rg-form-control:focus-visible {
	background-color: #fff;
	border-color: #8eb4d8;
	outline: none;
}
.rg-form-control::placeholder,
.rg-form-control::-ms-input-placeholder {
	color: #9ba0b8;
	opacity: 1;
}
.rg-form-control[readonly],
.rg-form-control[disabled],
.rg-input-group-text[readonly] {
	color: rgba(0, 0, 0, 0.7);
}
.rg-form-control[readonly] {
	cursor: default;
}
.rg-form-control[disabled] {
	cursor: not-allowed;
}
.rg-form-control-lg {
	font-size: 16px;
	line-height: 26px;
	padding: 6px 12px;
	border-radius: 12px;
}
select.rg-form-control {
	height: 36px;
	padding: 5px 8px;
}
select.rg-form-control-lg {
	height: 40px;
	padding: 6px 10px;
}
input[type=checkbox].rg-form-control {
	width: auto;
}
.rg-form-control--date,
.rg-form-control--time {
	background-repeat: no-repeat;
	background-position: right 6px center;
	background-size: 13px 13px;
	padding-right: 23px;
}
.rg-form-control--date {
	background-image: url('../images/calendar.svg');
}
.rg-form-control--time {
	background-image: url('../images/clock.svg');
}
.rg-form-select__container .select2-selection {
	border: 1px solid #d8dae6;
	border-radius: 10px;
	background-color: #fafbfd;
	font-size: 15px;
	height: auto;
	min-height: 36px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.rg-form-select__container .select2-container--open .select2-selection,
.rg-form-select__container .select2-container--focus .select2-selection {
	background-color: #fff;
	border-color: #8eb4d8;
}
.rg-form-select__container .select2-container--open .select2-selection {
	border-radius: 10px !important;
}
.select2-container--open .select2-dropdown--above,
.select2-container--open .select2-dropdown--below {
	border: 1px solid #d8dae6;
	border-radius: 10px;
}
.rg-form-select__container .select2-selection .select2-selection__rendered {
	padding-left: 10px;
	padding-right: 10px;
	color: #000;
	line-height: 34px;
}
.rg-form-select__container .select2-selection .select2-selection__arrow {
	top: 0;
	height: 100%;
}

.select2-dropdown {
	z-index: 1100;
	border: 1px solid #d8dae6;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(30, 40, 90, 0.08);
}
.select2-results__option {
	padding: 6px 10px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: #eef0fb;
	color: inherit;
}
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected {
	background-color: #e2e6f3;
	color: inherit;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #d8dae6;
	border-radius: 8px;
	padding: 4px 10px;
	outline: none;
	transition: border-color 0.15s ease;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: #8eb4d8;
}
.rg-form-markdown__container .trumbowyg-box,
.rg-form-markdown-md__container .trumbowyg-box,
.rg-form-markdown-sm__container .trumbowyg-box,
.rg-form-markdown-auto__container .trumbowyg-box {
	min-height: auto;
}
.rg-form-markdown__container .trumbowyg-editor {
	min-height: 250px;
}
.rg-form-markdown-md__container .trumbowyg-editor {
	min-height: 150px;
}
.rg-form-markdown-sm__container .trumbowyg-editor {
	min-height: 50px;
}
.rg-form-hint {
	color: #999999;
	font-size: 13px;
}
.rg-form-switch {
	width: 2.5em;
	height: 1.25em;
}
.form-check.form-switch:has(> .rg-form-switch) {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding-left: 0;
	min-height: auto;
}
.form-check.form-switch > .rg-form-switch {
	float: none;
	margin: 0;
	flex-shrink: 0;
}
.form-check.form-switch > .rg-form-switch + .form-check-label {
	font-size: 14px;
}
.rg-form-switch:checked,
.rg-form-checkbox:checked,
.rg-form-radio:checked {
	background-color: #2a85cb;
	border-color: #2a85cb;
}
.rg-form-switch:focus,
.rg-form-checkbox:focus,
.rg-form-radio:focus {
	box-shadow: none;
	border-color: #8eb4d8;
}
.rg-form-radio {
	margin-right: 5px;
}

.rg-form-control--uploader {
	height: auto !important;
	contain: none;
	background: #edf4fa;
	border-radius: 10px;
	padding: 10px 0;
}
.rg-form-control--uploader > .filepond--panel {
	display: none;
}
.rg-form-control--uploader > .filepond--drop-label {
	position: static;
	height: auto;
	color: #5996cf;
	min-height: 50px;
}
.rg-form-control--uploader > .filepond--drop-label .filepond--label-action {
	text-decoration-color: #5996cf;
}
.rg-form-control--uploader .filepond--list-scroller {
	position: static;
	transform: none !important;
	height: auto;
	max-height: 200px;
	overflow-y: auto;
	margin: 0;
}
.rg-form-control--uploader .filepond--list-scroller > .filepond--list {
	position: static;
}
.rg-form-control--uploader .filepond--list-scroller > .filepond--list > .filepond--item {
	position: static;
	transform: none !important;
	margin: 5px 15px;
}

.rg-input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}
.rg-input-group .rg-form-control {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}
.rg-input-group-text {
	display: flex;
	align-items: center;
	padding: 5px 10px;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
	background-color: #f3f4f9;
	border: 1px solid #d8dae6;
	border-radius: 10px;
}
.rg-input-group-btn {
	display: flex;
	align-items: center;
	padding: 5px 10px;
	font-size: 15px;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
	border: 1px solid #d8dae6;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.rg-input-group-btn-default {
	background-color: #f3f4f9;
	color: #6a6a6a;
}
.rg-input-group-btn-default:hover {
	background-color: #e7e7e7;
	color: #000000;
}
.rg-input-group-btn-primary {
	background-color: #f3f4f9;
	color: #5b68c9;
}
.rg-input-group-btn-primary:hover {
	background-color: #e8eaf3;
	color: #133dda;
}
.rg-input-group-btn-secondary {
	background-color: #f3f4f9;
	color: #6b86a8;
}
.rg-input-group-btn-secondary:hover {
	background-color: #e8eaf3;
	color: #587091;
}
.rg-input-group-btn-ghost {
	background-color: #fafbfd;
	color: #6a6a6a;
}
.rg-input-group-btn-ghost:hover {
	background-color: #f3f4f9;
}
.rg-input-group > :not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.rg-input-group > :not(:first-child) {
	margin-left: -1px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.rg-input-group-text + .rg-form-control {
	border-left: 0;
}
.rg-input-group > .rg-form-control:not(:last-child) {
	border-right: 0;
}
.rg-input-group > .rg-input-group-text:not(:first-child),
.rg-input-group > .rg-input-group-btn:not(:first-child) {
	border-left: 0;
}
.rg-input-group > .clock-timepicker {
	display: flex !important;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}
.rg-input-group > .clock-timepicker > .rg-form-control {
	width: 100%;
	min-width: 0 !important;
}
.rg-input-group > .clock-timepicker:not(:last-child) > .rg-form-control {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: 0;
}
.rg-input-group > .clock-timepicker:not(:first-child) > .rg-form-control {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
@media (min-width: 576px) {
	.rg-input-group:has(> .rg-form-control--date) {
		max-width: 160px;
	}
	.rg-input-group:has(> .clock-timepicker > .rg-form-control--time) {
		max-width: 120px;
	}
}

.rg-btn {
	display: inline-block;
	height: 25px;
	line-height: 25px;
	border: 0;
	border-right: 1px solid #bcbcbc;
	border-bottom: 1px solid #bcbcbc;
	border-radius: 5px;
	background: #f4f9ff linear-gradient(to bottom, #f4f9ff 0%, #e6f3ff 100%);
	padding: 0 10px;
	font-size: 13px;
	color: #5996cf;
	text-shadow: 0 -1px rgba(20, 63, 184, .2);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
}
.rg-btn:hover:not(:disabled),
.rg-btn:active:not(:disabled) {
	background: #eef5ff linear-gradient(to bottom, #eef5ff 0%, #e0efff 100%);
}
.rg-btn-sm {
	height: 21px;
	line-height: 21px;
	padding: 0 8px;
	font-size: 11px;
	text-shadow: 0 -1px rgba(20, 63, 184, .1);
}
.rg-btn-lg {
	height: 30px;
	line-height: 30px;
	padding: 0 20px;
	font-size: 15px;
	border-radius: 7px;
}
.rg-btn-xl {
	height: 35px;
	line-height: 35px;
	padding: 0 20px;
	font-size: 17px;
	border-radius: 7px;
}
.rg-btn:disabled {
	opacity: .7;
	transition: opacity 300ms;
	color: #4b5e7e;
}
.rg-btn-outline-default {
	--bs-btn-color: #6a6a6a;
	--bs-btn-bg: none;
	--bs-btn-border-color: #bfbfbf;
	--bs-btn-hover-color: #000000;
	--bs-btn-hover-bg: #e7e7e7;
	--bs-btn-hover-border-color: #bfbfbf;
	--bs-btn-active-color: #000000;
	--bs-btn-active-bg: #e7e7e7;
	--bs-btn-active-border-color: #bfbfbf;
}
.rg-btn-outline-default:disabled {
	border-color: #c7c7c7;
	color: #7c7c7c;
}

.rg-btn-outline-primary {
	--bs-btn-color: #2a85cb;
	--bs-btn-bg: none;
	--bs-btn-border-color: #92bcd9;
	--bs-btn-hover-color: #175a8c;
	--bs-btn-hover-bg: #edf4fa;
	--bs-btn-hover-border-color: #92bcd9;
	--bs-btn-active-color: #175a8c;
	--bs-btn-active-bg: #edf4fa;
	--bs-btn-active-border-color: #92bcd9;
}
.rg-btn-outline-primary:disabled {
	border-color: #c7c7c7;
	color: #7c7c7c;
}

.rg-btn-outline-danger {
	--bs-btn-color: #dc3545;
	--bs-btn-bg: none;
	--bs-btn-border-color: #e9a1a8;
	--bs-btn-hover-color: #e7273a;
	--bs-btn-hover-bg: #f3e6e7;
	--bs-btn-hover-border-color: #e9a1a8;
	--bs-btn-active-color: #e7273a;
	--bs-btn-active-bg: #f3e6e7;
	--bs-btn-active-border-color: #e9a1a8;
}
.rg-btn-outline-danger:disabled {
	border-color: #c7c7c7;
	color: #7c7c7c;
}

/* Solid primary CTA — one per content block; mid-tone blue between header and deep */
.rg-btn-primary {
	--bs-btn-color: #ffffff;
	--bs-btn-bg: #2a85cb;
	--bs-btn-border-color: #2a85cb;
	--bs-btn-hover-color: #ffffff;
	--bs-btn-hover-bg: #216fab;
	--bs-btn-hover-border-color: #216fab;
	--bs-btn-active-color: #ffffff;
	--bs-btn-active-bg: #175a8c;
	--bs-btn-active-border-color: #175a8c;
	--bs-btn-disabled-color: #ffffff;
	--bs-btn-disabled-bg: #b5cee2;
	--bs-btn-disabled-border-color: #b5cee2;
	--bs-btn-focus-shadow-rgb: 142, 180, 216;
	box-shadow: 0 1px 2px rgba(42, 133, 203, .25);
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rg-btn-primary:hover:not(:disabled) {
	box-shadow: 0 2px 6px rgba(42, 133, 203, .35);
}
.rg-btn-primary:active:not(:disabled) {
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15);
}
.rg-btn-primary:disabled {
	box-shadow: none;
}

/* Solid danger CTA */
.rg-btn-danger {
	--bs-btn-color: #ffffff;
	--bs-btn-bg: #dc3545;
	--bs-btn-border-color: #dc3545;
	--bs-btn-hover-color: #ffffff;
	--bs-btn-hover-bg: #c52d3c;
	--bs-btn-hover-border-color: #c52d3c;
	--bs-btn-active-color: #ffffff;
	--bs-btn-active-bg: #a52532;
	--bs-btn-active-border-color: #a52532;
	--bs-btn-disabled-color: #ffffff;
	--bs-btn-disabled-bg: #e6b5ba;
	--bs-btn-disabled-border-color: #e6b5ba;
	--bs-btn-focus-shadow-rgb: 220, 53, 69;
	box-shadow: 0 1px 2px rgba(220, 53, 69, .25);
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rg-btn-danger:hover:not(:disabled) {
	box-shadow: 0 2px 6px rgba(220, 53, 69, .35);
}
.rg-btn-danger:active:not(:disabled) {
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15);
}
.rg-btn-danger:disabled {
	box-shadow: none;
}

/* Solid secondary CTA — muted blue, sibling to primary */
.rg-btn-secondary {
	--bs-btn-color: #ffffff;
	--bs-btn-bg: #6b86a8;
	--bs-btn-border-color: #6b86a8;
	--bs-btn-hover-color: #ffffff;
	--bs-btn-hover-bg: #587091;
	--bs-btn-hover-border-color: #587091;
	--bs-btn-active-color: #ffffff;
	--bs-btn-active-bg: #475c79;
	--bs-btn-active-border-color: #475c79;
	--bs-btn-disabled-color: #ffffff;
	--bs-btn-disabled-bg: #bcc7d6;
	--bs-btn-disabled-border-color: #bcc7d6;
	--bs-btn-focus-shadow-rgb: 107, 134, 168;
	box-shadow: 0 1px 2px rgba(107, 134, 168, .25);
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rg-btn-secondary:hover:not(:disabled) {
	box-shadow: 0 2px 6px rgba(107, 134, 168, .35);
}
.rg-btn-secondary:active:not(:disabled) {
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15);
}
.rg-btn-secondary:disabled {
	box-shadow: none;
}

/* Soft variants — tinted background always visible, no border */
.rg-btn-soft-default {
	--bs-btn-color: #6a6a6a;
	--bs-btn-bg: #ededed;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #000000;
	--bs-btn-hover-bg: #e0e0e0;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #000000;
	--bs-btn-active-bg: #d4d4d4;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}
.rg-btn-soft-default:disabled {
	color: #7c7c7c;
}
.rg-btn-soft-primary {
	--bs-btn-color: #2a85cb;
	--bs-btn-bg: #edf4fa;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #006fd6;
	--bs-btn-hover-bg: #dde9f4;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #006fd6;
	--bs-btn-active-bg: #cfe0ee;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}
.rg-btn-soft-primary:disabled {
	color: #7c7c7c;
}

/* Ghost variants — text-like buttons with hover plate (no border) */
.rg-btn-ghost-default {
	--bs-btn-color: #6a6a6a;
	--bs-btn-bg: none;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #000000;
	--bs-btn-hover-bg: #e7e7e7;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #000000;
	--bs-btn-active-bg: #e7e7e7;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}
.rg-btn-ghost-default:disabled {
	color: #7c7c7c;
}
.rg-btn-ghost-primary {
	--bs-btn-color: #2a85cb;
	--bs-btn-bg: none;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #006fd6;
	--bs-btn-hover-bg: #edf4fa;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #006fd6;
	--bs-btn-active-bg: #edf4fa;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}
.rg-btn-ghost-primary:disabled {
	color: #7c7c7c;
}
.rg-btn-ghost-danger {
	--bs-btn-color: #dc3545;
	--bs-btn-bg: none;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #e7273a;
	--bs-btn-hover-bg: #f3e6e7;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #e7273a;
	--bs-btn-active-bg: #f3e6e7;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}
.rg-btn-ghost-danger:disabled {
	color: #7c7c7c;
}

.rg-btn-outline-default,
.rg-btn-outline-primary,
.rg-btn-outline-danger,
.rg-btn-ghost-default,
.rg-btn-ghost-primary,
.rg-btn-ghost-danger,
.rg-btn-soft-default,
.rg-btn-soft-primary,
.rg-btn-primary,
.rg-btn-secondary,
.rg-btn-danger {
	border-radius: 12px;
}
.rg-btn-outline-default.btn-sm,
.rg-btn-outline-primary.btn-sm,
.rg-btn-outline-danger.btn-sm,
.rg-btn-ghost-default.btn-sm,
.rg-btn-ghost-primary.btn-sm,
.rg-btn-ghost-danger.btn-sm,
.rg-btn-soft-default.btn-sm,
.rg-btn-soft-primary.btn-sm,
.rg-btn-primary.btn-sm,
.rg-btn-secondary.btn-sm,
.rg-btn-danger.btn-sm {
	border-radius: 10px;
}
.rg-btn-outline-default.btn-xs,
.rg-btn-outline-primary.btn-xs,
.rg-btn-outline-danger.btn-xs,
.rg-btn-ghost-default.btn-xs,
.rg-btn-ghost-primary.btn-xs,
.rg-btn-ghost-danger.btn-xs,
.rg-btn-soft-default.btn-xs,
.rg-btn-soft-primary.btn-xs,
.rg-btn-primary.btn-xs,
.rg-btn-secondary.btn-xs,
.rg-btn-danger.btn-xs {
	border-radius: 8px;
}
.rg-btn-outline-default.btn-xxs,
.rg-btn-outline-primary.btn-xxs,
.rg-btn-outline-danger.btn-xxs,
.rg-btn-ghost-default.btn-xxs,
.rg-btn-ghost-primary.btn-xxs,
.rg-btn-ghost-danger.btn-xxs,
.rg-btn-soft-default.btn-xxs,
.rg-btn-soft-primary.btn-xxs,
.rg-btn-primary.btn-xxs,
.rg-btn-secondary.btn-xxs,
.rg-btn-danger.btn-xxs {
	border-radius: 6px;
}
.rg-btn-outline-default.btn-sm,
.rg-btn-outline-primary.btn-sm,
.rg-btn-outline-danger.btn-sm,
.rg-btn-primary.btn-sm,
.rg-btn-secondary.btn-sm,
.rg-btn-danger.btn-sm {
	min-height: 30px;
}
.rg-btn-outline-default.btn-xs,
.rg-btn-outline-primary.btn-xs,
.rg-btn-outline-danger.btn-xs,
.rg-btn-primary.btn-xs,
.rg-btn-secondary.btn-xs,
.rg-btn-danger.btn-xs {
	min-height: 27px;
}
.rg-btn-outline-default.btn-xxs,
.rg-btn-outline-primary.btn-xxs,
.rg-btn-outline-danger.btn-xxs,
.rg-btn-primary.btn-xxs,
.rg-btn-secondary.btn-xxs,
.rg-btn-danger.btn-xxs {
	min-height: 23px;
}

.rg-tab {
	display: inline-block;
	color: #5996cf;
	text-decoration: none;
	line-height: 1.7em;
}
.rg-tab:hover {
	border-bottom: 2px solid #cfdeec;
}
.rg-tab.rg-active {
	border-bottom: 2px solid #a8c4dc;
}
.rg-tab.rg-tab--no-border {
	border: 0 !important;
}
.rg-tab--default {
	color: #838383;
}
.rg-tab--default:hover {
	border-color: #e7e7e7;
}
.rg-tab--default.rg-active {
	border-color: #a7a7a7;
}
.rg-tab--default-emphasis {
	color: #838383;
}
.rg-tab--default-emphasis:hover {
	border-color: #e7e7e7;
}
.rg-tab--default-emphasis.rg-active {
	color: #5996cf;
	border-color: #a8c4dc;
}

.rg-overflowed-x {
	overflow-x: auto;
}

.rg-dropdown-menu {
	--bs-dropdown-link-active-color: #5996cf;
	--bs-dropdown-link-active-bg: none;
}

.btn {
	--bs-btn-padding-x: 1.25rem;
}
.btn-sm {
	--bs-btn-padding-x: 1rem;
}
.btn-xs {
	--bs-btn-padding-y: 0.12rem;
	--bs-btn-padding-x: 0.38rem;
	--bs-btn-font-size: 0.875rem;
	--bs-btn-border-radius: var(--bs-border-radius-sm);
}
.btn-xxs {
	--bs-btn-padding-y: 0;
	--bs-btn-padding-x: 0.38rem;
	--bs-btn-font-size: 0.875rem;
	--bs-btn-border-radius: var(--bs-border-radius-sm);
}
.rg-hobby {
	width: 26px;
	height: 26px;
	background-repeat: no-repeat;
}
.rg-hobby--main {
	background-position-y: -26px;
}

.rg-page-list {
	width: 100%;
}
.rg-page-list td {
	padding: 10px;
}
.rg-page-list td:first-child {
	padding-left: 20px;
}
.rg-page-list td:last-child {
	padding-right: 20px;
}
.rg-page-list__header {
	font-size: 12px;
	background-color: #edeeef;
	color: #656565;
}
.rg-page-list__header td {
	padding: 2px 10px;
}
.rg-page-list__item.hovered {
	background-color: #f6f6f6;
}

.rg-page-title {
	padding: 0 25px;
	margin: 20px 0;
}

.rg-links {
	padding-bottom: 10px;
}
.rg-links__item {
	margin-bottom: 15px;
}
.rg-links--with-title .rg-links__item {
	margin-left: 15px;
}
.rg-links__title {
	margin-bottom: 10px;
	font-size: 1.6em;
	color: #5996cf;
}

.rg-tooltip {
	--bs-tooltip-bg: #b5a0eb;
	--bs-tooltip-color: #ffffff;
}

.rg-border-primary {
	border-color: #1d6fb3;
}
.rg-border-primary-dark {
	border-color: #2a6494;
}

.rg-clearfix::before,
.rg-clearfix::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.rg-bg-hoverable {
	transition: background-color 300ms;
}
.rg-bg-hoverable:hover {
	background-color: #f4f7ff;
}
.rg-bg-secondary {
	background-color: #edf4fa;
}

.text-pre-wrap {
	white-space: pre-wrap !important;
}

.lh-md {
    line-height: 1.75 !important;
}

.ui-slider-horizontal.rg-slider {
	height: 7px;
}
.ui-slider-horizontal.rg-slider .ui-slider-handle {
	top: -8px;
}

.modal-dialog {
	justify-content: center;
}

.fa-stack.rg-stack-near {
	height: 1em !important;
	width: auto !important;
	min-width: 1em;
	line-height: 1em !important;
	vertical-align: initial !important;
}
.fa-stack.rg-stack-near.fa-fw {
    width: 1.25em !important;
}
.fa-stack.rg-stack-near .fa-stack-1x {
	font-size: 0.7em;
	top: 50%;
	margin-top: -0.6em;
	line-height: normal;
}
.fa-stack.rg-stack-near .fa-stack-2x {
	font-size: 1em;
	top: 50%;
	margin-top: -0.6em;
}

.trumbowyg-dropdown-emoji button {
	height: 30px;
	width: 30px;
	font-size: 20px;
}

/* Touch devices: enlarge buttons to meet 44–48px tap-target guidelines */
@media (pointer: coarse) {
	.btn {
		--bs-btn-padding-y: 0.625rem;
		--bs-btn-padding-x: 1.5rem;
	}
	.btn-sm {
		--bs-btn-padding-y: 0.4375rem;
		--bs-btn-padding-x: 1.125rem;
		--bs-btn-font-size: 0.9375rem;
	}
	.btn-xs {
		--bs-btn-padding-y: 0.3125rem;
		--bs-btn-padding-x: 0.625rem;
		--bs-btn-font-size: 0.9375rem;
	}
	.btn-xxs {
		--bs-btn-padding-y: 0.1875rem;
		--bs-btn-padding-x: 0.5rem;
	}
	.rg-btn-outline-default,
	.rg-btn-outline-primary,
	.rg-btn-outline-danger,
	.rg-btn-primary,
	.rg-btn-secondary,
	.rg-btn-danger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
	}
	.rg-btn-outline-default.btn-sm,
	.rg-btn-outline-primary.btn-sm,
	.rg-btn-outline-danger.btn-sm,
	.rg-btn-primary.btn-sm,
	.rg-btn-secondary.btn-sm,
	.rg-btn-danger.btn-sm {
		min-height: 40px;
	}
	.rg-btn-outline-default.btn-xs,
	.rg-btn-outline-primary.btn-xs,
	.rg-btn-outline-danger.btn-xs,
	.rg-btn-primary.btn-xs,
	.rg-btn-secondary.btn-xs,
	.rg-btn-danger.btn-xs {
		min-height: 36px;
	}
	.rg-btn-outline-default.btn-xxs,
	.rg-btn-outline-primary.btn-xxs,
	.rg-btn-outline-danger.btn-xxs,
	.rg-btn-primary.btn-xxs,
	.rg-btn-secondary.btn-xxs,
	.rg-btn-danger.btn-xxs {
		min-height: 32px;
	}
	.rg-btn-outline-default,
	.rg-btn-outline-primary,
	.rg-btn-outline-danger,
	.rg-btn-ghost-default,
	.rg-btn-ghost-primary,
	.rg-btn-ghost-danger,
	.rg-btn-soft-default,
	.rg-btn-soft-primary,
	.rg-btn-primary,
	.rg-btn-secondary,
	.rg-btn-danger {
		border-radius: 14px;
	}
	.rg-btn-outline-default.btn-sm,
	.rg-btn-outline-primary.btn-sm,
	.rg-btn-outline-danger.btn-sm,
	.rg-btn-ghost-default.btn-sm,
	.rg-btn-ghost-primary.btn-sm,
	.rg-btn-ghost-danger.btn-sm,
	.rg-btn-soft-default.btn-sm,
	.rg-btn-soft-primary.btn-sm,
	.rg-btn-primary.btn-sm,
	.rg-btn-secondary.btn-sm,
	.rg-btn-danger.btn-sm {
		border-radius: 12px;
	}
	.rg-btn-outline-default.btn-xs,
	.rg-btn-outline-primary.btn-xs,
	.rg-btn-outline-danger.btn-xs,
	.rg-btn-ghost-default.btn-xs,
	.rg-btn-ghost-primary.btn-xs,
	.rg-btn-ghost-danger.btn-xs,
	.rg-btn-soft-default.btn-xs,
	.rg-btn-soft-primary.btn-xs,
	.rg-btn-primary.btn-xs,
	.rg-btn-secondary.btn-xs,
	.rg-btn-danger.btn-xs {
		border-radius: 10px;
	}
	.rg-btn-outline-default.btn-xxs,
	.rg-btn-outline-primary.btn-xxs,
	.rg-btn-outline-danger.btn-xxs,
	.rg-btn-ghost-default.btn-xxs,
	.rg-btn-ghost-primary.btn-xxs,
	.rg-btn-ghost-danger.btn-xxs,
	.rg-btn-soft-default.btn-xxs,
	.rg-btn-soft-primary.btn-xxs,
	.rg-btn-primary.btn-xxs,
	.rg-btn-secondary.btn-xxs,
	.rg-btn-danger.btn-xxs {
		border-radius: 10px;
	}
	.rg-form-section-toggle {
		padding: 12px 4px;
		font-size: 14px;
	}
	.rg-form-section-toggle__chevron {
		font-size: 12px;
	}
	.rg-form-label {
		font-size: 15px;
		line-height: 24px;
	}
}
