

/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.smart.filter/bootstrap_v5/style.css?176856261911034*/
/* --- Глобальные настройки блока --- */
.smart-filter {
	min-width: 220px;
	width: 100%;
	font-family: var(--ui-font-family-secondary, "Open Sans", Helvetica, Arial, sans-serif);
	font-weight: 400;
}

.smart-filter-section { position: relative; }

.smart-filter-title {
	margin-bottom: 15px;
	color: #212529;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.5px;
}

.popup-window{
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0;
}
/* --- Группы параметров --- */

.smart-filter-parameters-box {
	position: relative;
	margin-bottom: 10px;
	border-bottom: 1px solid #f2f2f2; /* Более легкий разделитель */
}

.smart-filter-parameters-box:last-child { border-bottom: none; }

.smart-filter-parameters-box-title {
	position: relative;
	display: block;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 500;
	user-select: none;
}

.smart-filter-parameters-box-title-text {
	color: #333;
	cursor: pointer;
	transition: color 0.2s ease;
}

.smart-filter-parameters-box-title:hover .smart-filter-parameters-box-title-text {
	color: var(--primary, #007bff);
}

.bx-active .smart-filter-parameters-box-title-text { color: #000; font-weight: 600; }

/* --- Стрелочки (Angles) --- */
.smart-filter-angle {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: inline-block;
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

.smart-filter-angles {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-top: -6px;
	margin-left: -5px;
	cursor: pointer;
	border-right: 2px solid #adb5bd;
	border-bottom: 2px solid #adb5bd;
	transform: rotate(45deg);
	transition: all 0.2s ease;
}
/* Сбрасываем старые псевдоэлементы, делаем чистый CSS уголок */
.smart-filter-angles:after,
.smart-filter-angles:before { display: none; }

.smart-filter-parameters-box.bx-active .smart-filter-angles {
	transform: rotate(225deg);
	margin-top: -2px;
	border-color: var(--primary, #007bff);
}

/* --- Подсказки (Hint) --- */
.smart-filter-hint {
	position: relative;
	display: inline-block;
	margin-left: 8px; /* Отступ слева от текста */
	vertical-align: middle;
}

.smart-filter-hint-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #e9ecef;
	color: #6c757d;
	font-size: 10px;
	font-weight: bold;
	cursor: help;
	transition: 0.2s;
}
.smart-filter-hint-icon:hover {
	background-color: var(--primary, #007bff);
	color: #fff;
}

.smart-filter-hint-popup {
	position: absolute;
	top: calc(100% + 10px);
	left: -10px;
	z-index: 100;
	display: none;
	padding: 12px;
	min-width: 220px;
	max-width: 300px;
	border: 1px solid #eee;
	border-radius: 6px;
	background-color: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.smart-filter-hint:hover .smart-filter-hint-popup { display: block; }

.smart-filter-hint-popup-angle {
	position: absolute;
	top: -6px;
	left: 14px;
	width: 12px;
	height: 12px;
	background-color: #fff;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	transform: rotate(45deg);
}

/* --- Блок содержимого --- */
.smart-filter-block {
	display: none;
	padding-bottom: 15px;
}

.smart-filter-button-box .smart-filter-block,
.smart-filter-parameters-box.bx-active .smart-filter-block { display: block; }

/* --- Слайдер цен (Range Slider) --- */

.smart-filter-slider-track-container {
	overflow: visible; /* Важно для теней ручек */
	padding: 30px 10px 15px;
}

.smart-filter-slider-track {
	position: relative;
	height: 4px; /* Тонкая линия */
	background: #e9ecef;
	border-radius: 2px;
}

/* Шкала */
.smart-filter-slider-ruler {
	position: absolute;
	top: 8px; /* Смещаем под линию */
	width: 1px;
	height: 5px;
	background: #dee2e6;
}

.smart-filter-slider-ruler.p1 { left: 0; }
.smart-filter-slider-ruler.p2 { left: 25%; }
.smart-filter-slider-ruler.p3 { left: 50%; }
.smart-filter-slider-ruler.p4 { left: 75%; }
.smart-filter-slider-ruler.p5 { right: 0; }

.smart-filter-slider-ruler span {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #adb5bd;
	font-size: 11px;
	white-space: nowrap;
}

/* Полоски прогресса */
.smart-filter-slider-price-bar-vd { background: #ced4da; z-index: 60; border-radius: 2px; }
.smart-filter-slider-price-bar-vn { background: #b1dfbb; z-index: 70; border-radius: 2px; }
.smart-filter-slider-price-bar-v  { background: var(--primary, #007bff); z-index: 80; border-radius: 2px; }

.smart-filter-slider-range,
.smart-filter-slider-price-bar-vd,
.smart-filter-slider-price-bar-vn,
.smart-filter-slider-price-bar-v {
	position: absolute;
	top: 0;
	bottom: 0;
}

/* Ручки слайдера (Handles) - КРУГЛЫЕ */
.smart-filter-slider-handle {
	position: absolute;
	top: 50%;
	width: 18px;
	height: 18px;
	background: #fff;
	border: 2px solid var(--primary, #007bff);
	border-radius: 50%; /* Круг */
	margin-top: -9px; /* Центрирование по вертикали */
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
	cursor: grab;
	transition: transform 0.1s, box-shadow 0.1s;
	z-index: 90;
}

.smart-filter-slider-handle:hover { transform: scale(1.1); }
.smart-filter-slider-handle:active {
	cursor: grabbing;
	background: var(--primary, #007bff);
	transform: scale(1.1);
}

.smart-filter-slider-handle.left { margin-left: -9px; border-width: 2px; }
.smart-filter-slider-handle.right { margin-right: -9px; border-width: 2px; }

/* --- Выпадающий список (Select) --- */
.smart-filter-input-group-dropdown {
	display: block;
	border: 1px solid #ced4da;
	border-radius: 4px;
	transition: border-color 0.2s;
}

.smart-filter-input-group-dropdown:hover,
.smart-filter-input-group-dropdown.bx-active { border-color: var(--primary, #007bff); }

.smart-filter-dropdown-block {
	position: relative;
	display: block;
	padding: 0 35px 0 12px;
	width: 100%;
	height: 36px; /* Чуть выше стандартного */
	border: none;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.smart-filter-dropdown-text {
	line-height: 36px;
	color: #495057;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* CSS Стрелка для селекта */
.smart-filter-dropdown-arrow {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid #6c757d;
	border-bottom: 2px solid #6c757d;
	transform: rotate(45deg);
	background: none;
	pointer-events: none;
}

/* Popup списка */
.smart-filter-dropdown-popup {
	padding: 5px 0;
	margin-top: 2px;
	background: #fff;
	border: 1px solid #ced4da;
	border-radius: 4px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	min-width: 100%;
}
.smart-filter-dropdown-popup ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.smart-filter-dropdown-popup ul li:first-child {
	border-bottom: 1px solid #f2f2f2;
	margin-bottom: 5px;
	padding-bottom: 5px;
}

.smart-filter-dropdown-popup ul li label {
	display: block;
	padding: 8px 15px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: background 0.1s;
}

.smart-filter-dropdown-popup ul li label:hover,
.smart-filter-dropdown-popup ul li label.selected {
	background: #f8f9fa;
	color: var(--primary, #007bff);
}
.smart-filter-dropdown-popup ul li label.disabled {
	color: #adb5bd;
	cursor: default;
	pointer-events: none; /* Полностью отключает клики мышкой */
	opacity: 0.5;
}

/* --- Теги (Tags) --- */
.smart-filter-tag {
	padding: 15px;
	background: #f8f9fa;
	border-radius: 4px;
	border: none;
	margin-bottom: 10px;
}
.smart-filter .bx-tag-link {
	font-weight: 600;
	color: var(--primary, #007bff);
}

/* --- Чекбоксы (Кнопки-плитки) --- */
.smart-filter-input-group-checkbox-pictures,
.smart-filter-input-group-checkbox-pictures-text {
	display: flex;
	flex-wrap: wrap;
	gap: 8px; /* Отступы между плитками */
}

/* Убираем float */
.smart-filter-input-group-checkbox-pictures .smart-filter-param-label {
	float: none;
	margin: 0;
}

.smart-filter-checkbox-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #dee2e6;
	border-radius: 4px; /* Мягкий квадрат */
	background: #fff;
	transition: all 0.2s;
}

.smart-filter-checkbox-btn:hover { border-color: #adb5bd; }

.smart-filter-checkbox-label.bx-active .smart-filter-checkbox-btn,
.smart-filter-checkbox-text-label.bx-active .smart-filter-checkbox-btn {
	border-color: var(--primary, #007bff);
	box-shadow: 0 0 0 1px var(--primary, #007bff); /* Акцент */
}

.smart-filter-checkbox-label.disabled .smart-filter-checkbox-btn {
	opacity: 0.5;
	background: #f8f9fa;
	cursor: not-allowed;
}
/* Картинка внутри кнопки */
.smart-filter-checkbox-btn-image {
	width: 100%;
	height: 100%;
	border-radius: 3px;
}

/* --- Всплывашка результата (Modef) - СОВРЕМЕННАЯ --- */

.smart-filter-popup-result {
	position: absolute;
	z-index: 999;
	display: none;
	top: 50%;
	left: 100%;
	margin-left: 15px;
	margin-top: -20px; /* Центрирование относительно элемента */
	padding: 10px 15px;
	min-height: auto;
	background: #343a40; /* Темный фон */
	color: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	font-size: 13px;
	white-space: nowrap;
	border: none; /* Убираем старые рамки */
	border-image: none; /* Убираем картинки границ */
}

/* CSS Треугольник вместо картинки */
.smart-filter-popup-result::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -6px;
	margin-top: -6px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid #343a40;
}

/* Скрываем старые классы позиционирования, так как используем универсальный */
.smart-filter-popup-result.left,
.smart-filter-popup-result.right {
	border: none;
	border-image: none;
}

.smart-filter-popup-result a {
	color: #fff;
	text-decoration: underline;
	margin-left: 5px;
	font-weight: 600;
}
.smart-filter-popup-result a:hover { text-decoration: none; opacity: 0.9; }

/* Адаптив Modef */
@media (max-width: 767px) {
	.bx-touch .smart-filter-popup-result,
	.smart-filter-popup-result {
		position: fixed !important;
		top: auto !important;
		bottom: 20px !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%);
		margin: 0;
		width: 90%;
		text-align: center;
		background: var(--primary, #007bff);
		border: none;
		box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
		z-index: 10000;
	}
	.smart-filter-popup-result::before { display: none; }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/teachers/style.css?1768562619225*/
.teacher-list .card{
    padding: 1.5rem;
}
    .teacher-list .card .list-flag{
        width: auto;
        height: 26px;
        border-radius: 3px;
        margin-right: 0.5rem;
        box-shadow: 0 0 3px #0000002e;
    }
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */
/* /local/templates/bigwig_wm/components/bitrix/catalog.smart.filter/bootstrap_v5/style.css?176856261911034 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/teachers/style.css?1768562619225 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164 */
