/* Версия для слабовидящих */

body.vi-enabled {
	font-size: 16px;
}

body.vi-font-small {
	font-size: 14px;
}

body.vi-font-normal {
	font-size: 16px;
}

body.vi-font-large {
	font-size: 20px;
}

body.vi-font-xlarge {
	font-size: 24px;
}

body.vi-theme-black-white {
	background: #fff !important;
	color: #000 !important;
}

body.vi-theme-black-white *,
body.vi-theme-black-white .container,
body.vi-theme-black-white .container-fluid {
	background-color: #fff !important;
	color: #000 !important;
	border-color: #000 !important;
}

body.vi-theme-black-white a {
	color: #000 !important;
}

body.vi-theme-white-black {
	background: #000 !important;
	color: #fff !important;
}

body.vi-theme-white-black *,
body.vi-theme-white-black .container,
body.vi-theme-white-black .container-fluid {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
}

body.vi-theme-white-black a {
	color: #fff !important;
}

body.vi-theme-yellow-black {
	background: #000 !important;
	color: #ff0 !important;
}

body.vi-theme-yellow-black *,
body.vi-theme-yellow-black .container,
body.vi-theme-yellow-black .container-fluid {
	background-color: #000 !important;
	color: #ff0 !important;
	border-color: #ff0 !important;
}

body.vi-theme-yellow-black a {
	color: #ff0 !important;
}

body.vi-grayscale {
	filter: grayscale(100%);
}

body.vi-underline-links a {
	text-decoration: underline !important;
}

body.vi-spacing {
	line-height: 1.8 !important;
}

body.vi-spacing p,
body.vi-spacing li,
body.vi-spacing h1,
body.vi-spacing h2,
body.vi-spacing h3,
body.vi-spacing h4,
body.vi-spacing h5,
body.vi-spacing h6 {
	line-height: 1.8 !important;
}

body.vi-hide-images img {
	visibility: hidden;
}

.visually-impaired-panel {
	width: 100%;
	position: relative;
	z-index: 1000;
	color: #000;
	border-bottom: 2px solid #000;
	padding: 15px 0;
	box-sizing: border-box;
}

.visually-impaired-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 0 15px;
}

.vi-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
}

.vi-label {
	font-weight: 700;
	margin-right: 5px;
}

.visually-impaired-panel button {
	background: #fff;
	color: #000;
	border: 2px solid #000;
	padding: 8px 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.visually-impaired-panel button:hover,
.visually-impaired-panel button:focus {
	background: #000;
	color: #fff;
}

.visually-impaired-panel button:focus {
	outline: 3px solid #ff0;
	outline-offset: 2px;
}
