.mw-200px
{
	max-width:200px;
}
.btn-vcot {
	color: #fff !important;
    background-color: #16a085 !important;
    border-color: #16a085 !important;
    padding: 8px 15px;
    box-shadow: 0 0.125rem 0.375rem 0 rgba(38, 43, 67, 0.14);
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    letter-spacing: 0.4px;
    border: 0px;
    border-radius: 5px;
    font-size: var(--bs-btn-font-size);
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle)
{
    background-color: #16a085!important;	
}
a
{
    color: #16a085;
}
.sk-vcot .sk-circle-dot:before
{
	background-color: #16a085!important;	
}
.container
{
	max-width:100%!important;
}
.layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-inner > .menu-item .menu-sub > .menu-item > .menu-link-danger::before
{
	color: #dc3545 !important;
}
.layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-inner > .menu-item .menu-sub > .menu-item > .menu-link-success::before
{
	color: #198754!important;
}
.color_red
{
	color: #dc3545 !important;
}
.mr10px
{
	margin-right:10px;
}
.ml10px
{
	margin-left:10px;
}
.mw75px
{
	min-width:75px;
}
.mw80px
{
	min-width:80px;
}
.mw100px
{
	min-width:100px;
}
.mw105px
{
	min-width:105px;
}
.w1px
{
	width:1px;
}
.w150px
{
	width:150px;
}
.btn-block
{
	width:100%;
}
.select2-container
{
	width: 100% !important;
    z-index: 99999;
}
.ui-widget.ui-widget-content
{
	z-index: 999999;	
}
div:where(.swal2-container).swal2-center
{
	z-index: 99999;	
}
.btn .badge
{
    padding: 3px 5px;	
}
.fwb
{
	font-weight:bold;
}
.btn-close-ank-hidden
{
	display: none !important;
}
.btn
{
	text-transform: none;	
}

.block_quotas table th, .block_quotas table td
{
	font-size: 12px;
	padding: 5px!important;
}
.block_quotas .unlink {
	text-decoration:none;
	color: #212529;
}
.block_quotas .loader {
	width: 48px;
	height: 48px;
	border: 3px solid #17a2b8;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
} 
.block_quotas .loader::after {
	content: "";  
	box-sizing: border-box;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-bottom-color: #ffc107;
}
td.list_educations
{
	padding:0px;
}
.select2-dropdown
{
	min-width:400px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.select2-container .select2-selection--single
{
    height: auto;
	min-height: 47.6px;
}
.text-right
{
	text-align:right;
}
@keyframes rotation {
	0% {
	transform: rotate(0deg);
	}
	100% {
	transform: rotate(360deg);
	}
} 	
.red
{
	color:red;
}

#modal_list_orgs table th
{
    padding: 5px;
    text-transform: initial;
    text-align: center;
    vertical-align: middle;
}
#modal_list_orgs table td
{
	padding:5px;
}

.table > :not(caption) > * > *
{
	color:black;
}
/* ==========================================================================
   self-test.vcot.info — правила, восстановленные из Wayback Machine
   (https://web.archive.org/web/20250127103157id_/https://self-test.vcot.info/views/default/css/style.css)
   Добавлено при восстановлении: нумерация шагов на главной и правила печати
   результатов теста.
   ========================================================================== */

.directions_quests img
{
	max-width:100%;
	height:initial;
}
.dropdown-menu.show
{
	min-width:300px;
}

.list-counter-square {
    list-style: none;
    counter-reset: list;
    padding: 0;
    overflow: hidden;
    margin: 0px 0px 15px 0px;
}
.list-counter-square>li {
    position: relative;
    display: block;
    height: 2rem;
    line-height: 2rem;
    margin-left: 2rem;
    margin-bottom: .25rem;
    padding-left: .5rem;
    padding-right: .5rem;
    color: #fff;
    background: #17a2b8;
    white-space: nowrap;
}
.list-counter-square>li:last-child {
    margin-bottom: 0;
}
.list-counter-square>li::before {
    content: counter(list);
    counter-increment: list;
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #fff;
    background: rgb(23 162 184 / 66%);
}
@media print
{
    .no-print, .no-print *
    {
        display: none !important;
    }
    .print-width-100
    {
        width:100%!important;
        max-width: 100%;
    }
    .print_block
    {
        display:block!important;
    }
    img
    {
        width:auto;
        max-width:400px;
    }
}
/* ==========================================================================
   Главная страница: hero-блок, карточки шагов, таблица профессий,
   живой поиск. Добавлено при переработке главной.
   ========================================================================== */

.prof-hero {
    background: linear-gradient(135deg, rgba(22, 160, 133, .14) 0%, rgba(22, 160, 133, .04) 55%, transparent 100%);
    border: 1px solid rgba(22, 160, 133, .16);
}

.prof-hero .badge {
    font-weight: 500;
    letter-spacing: .01em;
}

.prof-step-icon {
    width: 44px;
    height: 44px;
    border-radius: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
}

.prof-table > thead > tr > th {
    white-space: nowrap;
    background-color: rgba(22, 160, 133, .06);
}

.prof-table > tbody > tr > td {
    vertical-align: middle;
}

.prof-table > tbody > tr:hover {
    background-color: rgba(22, 160, 133, .08);
}

#prof-search::-webkit-search-cancel-button {
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .prof-hero .h4 {
        font-size: 1.15rem;
    }
}

@media print {
    .prof-hero,
    #prof-search,
    #prof-counter,
    #prof-empty {
        display: none !important;
    }
}

/* ==========================================================================
   Брендовый цвет #16a085
   Точечные акценты поверх темы Sneat. Основная палитра темы
   (кнопки, бейджи, активное меню, фокус, ссылки) уже пересчитана на этот же
   цвет в vendor/css/rtl/{core,theme-default}.css.
   ========================================================================== */

:root {
    --brand: #16a085;
    --brand-dark: #12876f;
    --brand-darker: #0f7561;
    --brand-soft: #daf0eb;
    --brand-rgb: 22, 160, 133;
}

/* цифры в hero-блоке — брендовые */
.prof-hero .h4 {
    color: var(--brand);
    font-weight: 600;
}

.prof-hero .badge {
    background-color: var(--brand-soft) !important;
    color: var(--brand) !important;
}

/* активная строка таблицы профессий */
.prof-table > tbody > tr:hover > td > a.fw-medium {
    color: var(--brand-dark);
}
/* Гость: в шапке нет e-mail, пустую строку не показываем */
.navbar-dropdown.dropdown-user small.text-muted:empty {
	display: none;
}
/* Изображения в вопросах и вариантах: не ломают вёрстку */
.exam-question img,
.form-check-label img {
	max-width: 100%;
	height: auto;
	max-height: 240px;
}
.exam-question td img {
	max-height: 110px;
	width: auto;
}

/* Сопоставление с картинками: варианты выбора рядом с каждым элементом */
.mapping-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.mapping-option {
	display: flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #dfe0e4;
	border-radius: 6px;
	padding: 4px 8px;
	cursor: pointer;
	max-width: 220px;
	background: #fff;
}
.mapping-option:hover {
	border-color: #16a085;
}
.mapping-option img {
	max-height: 64px;
	max-width: 90px;
	width: auto;
	height: auto;
}
.mapping-option span {
	font-size: .8125rem;
	line-height: 1.25;
}


/* Сопоставление перетаскиванием: две колонки и линии-связи */
.matching {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	margin-top: 8px;
}
.matching-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
	z-index: 1;
}
.matching-line {
	fill: none;
	stroke: #16a085;
	stroke-width: 2;
	stroke-linecap: round;
}
.matching-dot {
	fill: #16a085;
}
.matching-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	z-index: 2;
	min-width: 0;
}
.matching-item,
.matching-body {
	min-width: 0;
}
.matching-title {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #8b8f9e;
	margin-bottom: 2px;
}
.matching-item {
	position: relative;
	border: 1px solid #dfe0e4;
	border-radius: 8px;
	padding: 8px 12px;
	background: #fff;
	cursor: grab;
	transition: border-color .15s, box-shadow .15s;
}
.matching-item:hover {
	border-color: #16a085;
}
.matching-item.is-dragging {
	opacity: .55;
}
.matching-item.is-target {
	border-color: #16a085;
	box-shadow: 0 0 0 3px rgba(22, 160, 133, .15);
}
.matching-item.is-selected {
	border-color: #16a085;
	box-shadow: 0 0 0 3px rgba(22, 160, 133, .25);
}
.matching-item.is-matched {
	border-color: #16a085;
	background: rgba(22, 160, 133, .06);
}
.matching-item {
	user-select: none;
}
.matching-item img {
	/* картинка не должна перехватывать перетаскивание элемента */
	pointer-events: none;
	-webkit-user-drag: none;
}

/* Картинки разного размера приводим к одному блоку: фиксированная рамка,
   object-fit: contain сохраняет пропорции и не растягивает изображение. */
.matching-body.has-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 158px;
	padding: 6px;
	background: #f8f9fb;
	border-radius: 6px;
}
.matching-body.has-image img {
	display: block;
	width: 220px;
	height: 146px;
	object-fit: contain;
	object-position: center;
}
.matching-clear {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	line-height: 18px;
	text-align: center;
	border: 0;
	border-radius: 50%;
	background: #16a085;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	padding: 0;
}
.matching-hint {
	margin-top: 10px;
}
@media (max-width: 767.98px) {
	.matching {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.matching-lines {
		display: none;
	}
}


/* Номер вопроса/ответа — отдельной колонкой, чтобы HTML-текст не переносился */
.question-number,
.answer-number {
	flex: 0 0 auto;
	font-weight: 500;
	color: #6f7382;
	min-width: 1.4em;
}
.question-text,
.answer-text {
	flex: 1 1 auto;
	min-width: 0;
}
.question-text > :first-child,
.answer-text > :first-child {
	margin-top: 0;
}
.question-text > :last-child,
.answer-text > :last-child {
	margin-bottom: 0;
}
.answer-text p {
	margin: 0;
}
.form-check-label .answer-text {
	line-height: 1.45;
}

/* Абзацы внутри вопроса и ответа: без лишних отступов, но с интервалом между */
.question-text p + p,
.answer-text p + p {
	margin-top: .35rem;
}
.answer-text ul,
.answer-text ol {
	margin-bottom: 0;
}

/* Расстановка по порядку: номер позиции, ручка перетаскивания, кнопки */
.exam-sortable .ordering-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: grab;
	background: #fff;
}
.exam-sortable .ordering-item.is-dragging {
	opacity: .55;
}
.exam-sortable .ordering-item.is-target {
	border-color: #16a085;
	box-shadow: 0 0 0 3px rgba(22, 160, 133, .12);
}
.ordering-number {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	border-radius: 50%;
	background: rgba(22, 160, 133, .12);
	color: #12876f;
	font-size: .8125rem;
	font-weight: 500;
}
.exam-sortable .ordering-item > i,
.exam-sortable .ordering-item > .ri-drag-move-2-line {
	margin-top: 6px;
}
.exam-sortable .ordering-item > span:not(.ordering-number) {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 2px;
}
.ordering-controls {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-left: auto;
	flex: 0 0 auto;
}
.ordering-btn {
	border: 1px solid #dfe0e4;
	background: #fff;
	border-radius: 4px;
	width: 26px;
	height: 20px;
	line-height: 1;
	cursor: pointer;
	color: #6f7382;
	padding: 0;
}
.ordering-btn:hover {
	border-color: #16a085;
	color: #16a085;
}
@media (max-width: 767.98px) {
	.ordering-controls {
		flex-direction: row;
	}
}

/* Картинки в элементах расстановки не мешают перетаскиванию */
.exam-sortable img {
	pointer-events: none;
	-webkit-user-drag: none;
	max-height: 120px;
	width: auto;
}

/* Вопрос без полного ответа — подсветка после предупреждения */
.exam-question.is-unanswered {
	border-color: #ff9f43;
	box-shadow: 0 0 0 3px rgba(255, 159, 67, .15);
}


/* Использованный вариант сопоставления — видно, что уже выбрано */
.matching-item.is-used {
	border-color: #16a085;
	background: rgba(22, 160, 133, .09);
	box-shadow: inset 0 0 0 1px rgba(22, 160, 133, .35);
}
.matching-item[data-side="right"].is-used::before {
	content: '✓';
	position: absolute;
	top: -8px;
	left: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #16a085;
	color: #fff;
	font-size: 13px;
	line-height: 22px;
	text-align: center;
}
.matching-status {
	grid-column: 1 / -1;
	margin-top: 10px;
	font-size: .8125rem;
	color: #8b8f9e;
}
.matching-status.is-complete {
	color: #12876f;
	font-weight: 500;
}


/* Визуальный редактор вопросов и вариантов ответа */
.rich-editor {
	border: 1px solid #dfe0e4;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}
.rich-editor:focus-within {
	border-color: #16a085;
	box-shadow: 0 0 0 3px rgba(22, 160, 133, .12);
}
.rich-editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 6px;
	background: #f8f9fb;
	border-bottom: 1px solid #eceef2;
}
.rich-editor-btn {
	min-width: 30px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid #dfe0e4;
	border-radius: 4px;
	background: #fff;
	color: #4b4f60;
	cursor: pointer;
	font-size: .8125rem;
	line-height: 1;
}
.rich-editor-btn:hover {
	border-color: #16a085;
	color: #16a085;
}
.rich-editor-area {
	min-height: 90px;
	max-height: 420px;
	overflow: auto;
	padding: 10px 12px;
	font-size: .9375rem;
	line-height: 1.5;
	outline: none;
}
.rich-editor-area:empty::before {
	content: attr(data-placeholder);
	color: #a5a8b5;
}
.rich-editor-area.is-drop {
	background: rgba(22, 160, 133, .07);
}
.rich-editor-area.is-loading {
	opacity: .6;
}
.rich-editor-area img {
	max-width: 100%;
	height: auto;
	max-height: 240px;
}
.rich-editor-area p {
	margin: 0 0 .4rem 0;
}
.rich-editor-source {
	border: 0;
	border-radius: 0;
	font-family: Consolas, "Courier New", monospace;
	font-size: .8125rem;
}


/* Мультивыбор больших списков (профстандарты, вакансии, востребованные) */
.ms-native {
	display: none !important;
}
.ms {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ms-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ms-search {
	flex: 1 1 auto;
}
.ms-counter {
	flex: 0 0 auto;
	font-size: .8125rem;
	color: #12876f;
	font-weight: 500;
	white-space: nowrap;
}
.ms-counter.is-empty {
	color: #8b8f9e;
	font-weight: 400;
}
.ms-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-height: 96px;
	overflow-y: auto;
}
.ms-empty {
	font-size: .8125rem;
	color: #8b8f9e;
}
.ms-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 2px 4px 2px 8px;
	border-radius: 12px;
	background: rgba(22, 160, 133, .12);
	color: #0f7561;
	font-size: .75rem;
	line-height: 1.4;
}
.ms-chip > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 220px;
}
.ms-chip-remove {
	border: 0;
	background: transparent;
	color: #0f7561;
	font-size: .875rem;
	line-height: 1;
	padding: 0 2px;
	cursor: pointer;
}
.ms-chip-remove:hover {
	color: #b23b3b;
}
.ms-list {
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid #dfe0e4;
	border-radius: 6px;
	padding: 4px;
	background: #fff;
}
.ms-list.is-empty::after {
	content: 'Ничего не найдено';
	display: block;
	padding: 10px;
	font-size: .8125rem;
	color: #8b8f9e;
}
.ms-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 4px;
	cursor: pointer;
	font-size: .8125rem;
	line-height: 1.35;
}
.ms-row:hover {
	background: #f6f7f9;
}
.ms-row:has(.ms-check:checked) {
	background: rgba(22, 160, 133, .08);
}
.ms-row .ms-check {
	margin-top: 2px;
	flex: 0 0 auto;
}
.ms-row .ms-label {
	min-width: 0;
}
.ms-foot {
	display: flex;
	gap: 8px;
}


/* Diff в предложениях правок */
.suggestion-table td {
	vertical-align: top;
	font-size: .8125rem;
}
.suggestion-table td.suggestion-old {
	color: #5b5f6e;
}
.suggestion-table td.suggestion-diff {
	background: #fafbfc;
}
.diff-ins {
	background: rgba(22, 160, 133, .18);
	color: #0c6b57;
	text-decoration: none;
	padding: 0 2px;
	border-radius: 3px;
}
.diff-del {
	background: rgba(210, 80, 80, .12);
	color: #9c3535;
	padding: 0 2px;
	border-radius: 3px;
}


/* Список замечаний по профессии */
.prof-errors {
	cursor: pointer;
}
.prof-errors:hover {
	text-decoration: underline;
}
.prof-errors-list {
	margin: 0;
	padding-left: 18px;
	text-align: left;
	font-size: .875rem;
	line-height: 1.5;
}
.prof-errors-list li {
	margin-bottom: 6px;
}
.prof-errors-count {
	color: #9a6b12;
	font-weight: 600;
}


/* Баннер «вы вошли под пользователем» — фиксированная полоса снизу */
.has-impersonate-bar {
	padding-bottom: 52px !important;
}
.impersonate-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1090;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: #f4b740;
	color: #3d2c00;
	font-size: .875rem;
	line-height: 1.3;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
}
.impersonate-bar .btn-dark {
	--bs-btn-bg: #3d2c00;
	--bs-btn-border-color: #3d2c00;
	--bs-btn-hover-bg: #2c2000;
	--bs-btn-hover-border-color: #2c2000;
}
