/*
 * Настройки отображения. Файл подключается после темы и responsive.css,
 * чтобы scoped-правила не зависели от порядка legacy-стилей.
 */

.a11y-menu-trigger,
.a11y-panel button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.35;
}

.a11y-top-menu {
	position: relative;
}

.a11y-menu-trigger {
	display: inline-block;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 0;
	font-size: 12px;
	font-weight: 400;
	text-align: right;
	cursor: pointer;
}

.a11y-menu-trigger i {
	margin-right: 5px;
}

.a11y-menu-trigger:hover,
.a11y-menu-trigger:focus,
.a11y-menu-trigger.is-active {
	color: #fff;
	text-decoration: underline;
}

.a11y-menu-trigger:focus,
.a11y-panel button:focus,
html.a11y-mode a:focus,
html.a11y-mode select:focus,
html.a11y-mode input:focus,
html.a11y-mode textarea:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 3px;
}

.a11y-panel {
	display: none;
	position: fixed;
	right: 16px;
	top: 52px;
	z-index: 10049;
	box-sizing: border-box;
	width: 390px;
	max-width: calc(100% - 32px);
	padding: 20px;
	color: #111;
	background: #fff;
	border: 2px solid #222;
	border-radius: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.a11y-panel.is-open {
	display: block;
}

.a11y-panel-header {
	position: relative;
	width: 100%;
	min-height: 44px;
	margin-bottom: 18px;
}

.a11y-panel-header h2 {
	margin: 0;
	padding: 8px 105px 0 0;
	color: #111;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

.a11y-panel-header .a11y-panel-close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 10px;
	color: #222;
	background: #eee;
	border: 1px solid #777;
	border-radius: 6px;
	white-space: nowrap;
}

.a11y-control-group {
	margin-bottom: 18px;
}

.a11y-control-label {
	margin: 0 0 8px;
	color: #111;
	font-size: 17px;
	font-weight: 700;
}

.a11y-control-group button,
.a11y-reset {
	min-height: 44px;
	margin: 0 6px 7px 0;
	padding: 9px 12px;
	color: #111;
	background: #f2f2f2;
	border: 2px solid #555;
	border-radius: 6px;
	cursor: pointer;
}

.a11y-control-group button:hover,
.a11y-control-group button.is-selected,
.a11y-reset:hover {
	color: #fff;
	background: #174a7e;
	border-color: #174a7e;
}

.a11y-reset {
	display: block;
	width: 100%;
	margin: 0;
}

.a11y-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

html.a11y-font-125 {
	font-size: 20px;
}

html.a11y-font-150 {
	font-size: 24px;
}

html.a11y-font-200 {
	font-size: 32px;
}

/* At 125% the site keeps its original desktop composition. Tighten only the
 * unused horizontal padding so the enlarged menu remains beside the logo. */
@media (min-width: 993px) {
	html.a11y-font-125 #nav > li {
		margin-left: 0;
	}

	html.a11y-font-125 #nav > li > a {
		padding-right: 9px;
		padding-left: 9px;
		font-size: 0.8rem;
		line-height: 40px !important;
	}
}

html.a11y-font-mode body {
	line-height: 1.6;
	overflow-y: auto;
}

html.a11y-font-mode h1,
html.a11y-font-mode h2,
html.a11y-font-mode h3,
html.a11y-font-mode h4,
html.a11y-font-mode h5,
html.a11y-font-mode h6,
html.a11y-font-mode p,
html.a11y-font-mode li,
html.a11y-font-mode a,
html.a11y-font-mode span {
	line-height: 1.45 !important;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

html.a11y-reflow .navbar-fixed-top {
	position: relative;
	top: auto;
}

html.a11y-reflow .toparea {
	margin-bottom: 0;
}

html.a11y-reflow .toparea .top-text,
html.a11y-reflow .toparea .top-covid-link,
html.a11y-reflow .toparea .top-quality-link {
	display: none !important;
}

html.a11y-reflow .toparea .top-search {
	display: block !important;
}

html.a11y-reflow .toparea .a11y-top-menu {
	float: none;
	width: 100%;
	text-align: right !important;
}

html.a11y-reflow .pageheader-default {
	margin-top: 0;
	background-image: none;
	background-color: #9e330f;
}

html.a11y-reflow .pageheader-default.a11y-empty-pageheader {
	display: none;
}

html.a11y-reflow .pageheader-default .semitransparentbg {
	padding: 22px 15px;
}

html.a11y-reflow .pageheader-default h1 {
	display: block;
	margin: 0 0 12px;
	font-size: 1.65rem !important;
	line-height: 1.25 !important;
}

html.a11y-reflow .pageheader-default .wowbreadcr {
	max-width: 100%;
	margin-top: 0 !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

html.a11y-reflow .wrapsemibox {
	margin-top: 0;
	padding-top: 25px;
}

html.a11y-reflow .semiboxshadow {
	display: none;
}

html.a11y-reflow .blogindex > .col-md-9,
html.a11y-reflow .blogindex > .col-md-3 {
	float: none;
	width: 100%;
}

html.a11y-reflow .blogindex > .col-md-9 {
	max-width: 920px;
	margin: 0 auto;
}

html.a11y-reflow .blogindex > .col-md-3 {
	max-width: 920px;
	margin: 30px auto 0;
}

html.a11y-reflow .services > .col-md-6 {
	float: none;
	width: 100%;
}

html.a11y-reflow .services > .col-md-6 .box {
	height: auto !important;
	min-height: 170px;
}

html.a11y-font-mode .events {
	text-align: left !important;
}

html.a11y-font-mode .tab,
html.a11y-font-mode .events p {
	text-indent: 0 !important;
}

html.a11y-reflow .a11y-carousel-wrapper {
	height: auto !important;
	width: 100% !important;
	overflow: visible !important;
}

html.a11y-reflow #carousel-news {
	display: block !important;
	position: static !important;
	height: auto !important;
	width: 100% !important;
	margin: 0 !important;
}

html.a11y-reflow #carousel-news > li {
	display: block !important;
	float: none !important;
	height: auto !important;
	width: 100% !important;
	margin: 0 0 28px !important;
}

html.a11y-reflow #carousel-news .important_news_header,
html.a11y-reflow #carousel-news .important_news_header h1,
html.a11y-reflow #carousel-news .important_news_header h1 a,
html.a11y-reflow #carousel-news .important_news,
html.a11y-reflow #carousel-news .main_news_photo {
	display: block;
	height: auto !important;
	min-height: 0 !important;
}

html.a11y-reflow #carousel-news .important_news_header h1,
html.a11y-reflow #carousel-news .important_news_header h1 a {
	font-size: 1.05rem !important;
	line-height: 1.35 !important;
}

html.a11y-reflow #carousel-news .important_news,
html.a11y-reflow #carousel-news .important_news p {
	font-size: 1rem !important;
	line-height: 1.55 !important;
}

html.a11y-reflow #news_prev,
html.a11y-reflow #news_next {
	display: none !important;
}

html.a11y-font-mode .events h3,
html.a11y-font-mode .blogindex h2,
html.a11y-font-mode .blogindex h3,
html.a11y-font-mode .sidebar h4 {
	height: auto !important;
	max-width: 100%;
	font-size: 1.35rem !important;
	line-height: 1.3 !important;
}

html.a11y-font-mode .panel,
html.a11y-font-mode .boxcontainer,
html.a11y-font-mode .important_news,
html.a11y-font-mode .important_news_header,
html.a11y-font-mode .teacher-list {
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}

html.a11y-font-mode img,
html.a11y-font-mode iframe,
html.a11y-font-mode table {
	max-width: 100%;
}

html.a11y-reflow .footer .col-md-3 {
	float: none;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
}

html.a11y-font-mode .footer,
html.a11y-font-mode .footer p,
html.a11y-font-mode .footer a {
	font-size: 0.9rem !important;
	line-height: 1.55 !important;
}

html.a11y-font-mode .footer h1 {
	font-size: 1.2rem !important;
	line-height: 1.3 !important;
}

@media (min-width: 993px) {
	html.a11y-reflow .navbar-header {
		float: none;
		width: 100%;
	}

	html.a11y-reflow .navbar-brand {
		display: block;
		float: none;
		width: 260px;
		margin-left: 0;
	}

	html.a11y-reflow #nav {
		float: none !important;
		clear: both;
		width: 100%;
		margin: 24px 0 0;
	}

	html.a11y-reflow #nav > li > a {
		margin-top: 0;
		margin-bottom: 0;
		padding: 12px 11px;
		font-size: 0.7rem;
		line-height: 1.35 !important;
	}

	html.a11y-reflow #nav > li {
		width: 20%;
		margin-left: 0;
		text-align: center;
	}
}

html.a11y-reflow #nav .dropdown-menu {
	box-sizing: border-box;
	max-width: calc(100vw - 30px);
	max-height: calc(100vh - 180px);
	overflow-x: hidden;
	overflow-y: auto;
}

html.a11y-reflow #nav .dropdown-menu > li > a {
	height: auto !important;
	font-size: 0.72rem;
	line-height: 1.4 !important;
	white-space: normal;
	word-wrap: break-word;
}

#nav > li:last-child > .dropdown-menu {
	left: auto !important;
	right: 0 !important;
}

html.a11y-contrast-light body,
html.a11y-contrast-light .wrapbox,
html.a11y-contrast-light .wrapsemibox,
html.a11y-contrast-light .navbar,
html.a11y-contrast-light .footer,
html.a11y-contrast-light .copyright,
html.a11y-contrast-light .cbp_tmlabel,
html.a11y-contrast-light .sidebar,
html.a11y-contrast-light .panel,
html.a11y-contrast-light .boxcontainer {
	color: #111 !important;
	background: #fff !important;
	background-image: none !important;
}

html.a11y-contrast-light h1,
html.a11y-contrast-light h2,
html.a11y-contrast-light h3,
html.a11y-contrast-light h4,
html.a11y-contrast-light h5,
html.a11y-contrast-light h6,
html.a11y-contrast-light p,
html.a11y-contrast-light li,
html.a11y-contrast-light span {
	color: #111 !important;
}

html.a11y-contrast-light a {
	color: #004b87 !important;
	text-decoration: underline !important;
}

html.a11y-contrast-light .pageheader-default {
	background: #fff !important;
	border-bottom: 2px solid #111;
}

html.a11y-contrast-light .a11y-menu-trigger span {
	color: #fff !important;
}

html.a11y-contrast-light .toparea a,
html.a11y-contrast-light .toparea span {
	color: #fff !important;
}

html.a11y-contrast-light .navbar-nav > .active > a,
html.a11y-contrast-light .navbar-nav > .active > a:hover,
html.a11y-contrast-light .navbar-nav > .active > a:focus {
	color: #111 !important;
}

html.a11y-contrast-dark body,
html.a11y-contrast-dark .wrapbox,
html.a11y-contrast-dark .wrapsemibox,
html.a11y-contrast-dark .navbar,
html.a11y-contrast-dark .footer,
html.a11y-contrast-dark .copyright,
html.a11y-contrast-dark .cbp_tmlabel,
html.a11y-contrast-dark .sidebar,
html.a11y-contrast-dark .panel,
html.a11y-contrast-dark .panel-heading,
html.a11y-contrast-dark .boxcontainer,
html.a11y-contrast-dark .box,
html.a11y-contrast-dark .well,
html.a11y-contrast-dark .thumbnail,
html.a11y-contrast-dark .tab-content,
html.a11y-contrast-dark .accordion-group,
html.a11y-contrast-dark .accordion-inner,
html.a11y-contrast-dark .grayarea,
html.a11y-contrast-dark .caption,
html.a11y-contrast-dark .important_news_header,
html.a11y-contrast-dark .important_news {
	color: #fff !important;
	background: #111 !important;
	background-image: none !important;
	border-color: #333 !important;
}

html.a11y-contrast-dark .grayarea .list_carousel .carousel_nav {
	background: #111 !important;
}

html.a11y-contrast-dark .recent-projects-home .smalltitle,
html.a11y-contrast-dark hr,
html.a11y-contrast-dark .sidebar h4 {
	border-color: #444 !important;
}

html.a11y-contrast-dark .sidebar li {
	background: #111 !important;
	border-color: #444 !important;
}

html.a11y-contrast-dark h1,
html.a11y-contrast-dark h2,
html.a11y-contrast-dark h3,
html.a11y-contrast-dark h4,
html.a11y-contrast-dark h5,
html.a11y-contrast-dark h6,
html.a11y-contrast-dark p,
html.a11y-contrast-dark li,
html.a11y-contrast-dark span {
	color: #fff !important;
}

html.a11y-contrast-dark strong,
html.a11y-contrast-dark b,
html.a11y-contrast-dark .cbp_tmtime .day,
html.a11y-contrast-dark .cbp_tmtime .month,
html.a11y-contrast-dark .cbp_tmtime .year {
	color: #fff !important;
}

html.a11y-contrast-dark a {
	color: #ffe45c !important;
	text-decoration: underline !important;
}

html.a11y-contrast-dark .pageheader-default {
	background: #000 !important;
}

html.a11y-contrast-dark #nav .dropdown-menu,
html.a11y-contrast-dark #nav .dropdown-menu > li,
html.a11y-contrast-dark #nav .dropdown-menu > li > a {
	color: #ffe45c !important;
	background: #111 !important;
	background-image: none !important;
	border-color: #444 !important;
}

html.a11y-contrast-dark #nav .dropdown-menu > li > a:hover,
html.a11y-contrast-dark #nav .dropdown-menu > li > a:focus,
html.a11y-contrast-dark #nav .dropdown-menu > .active > a,
html.a11y-contrast-dark #nav .dropdown-menu > .active > a:hover,
html.a11y-contrast-dark #nav .dropdown-menu > .active > a:focus {
	color: #111 !important;
	background: #ffe45c !important;
}

html.a11y-contrast-dark .navbar-nav > .active > a,
html.a11y-contrast-dark .navbar-nav > .active > a:hover,
html.a11y-contrast-dark .navbar-nav > .active > a:focus {
	color: #fff !important;
}

html.a11y-contrast-dark .navbar-brand img {
	-webkit-filter: brightness(0) invert(1);
	filter: brightness(0) invert(1);
}

html.a11y-contrast-dark .tinynav {
	color: #fff !important;
	background: #000 !important;
	border-color: #fff !important;
}

html.a11y-contrast-dark .a11y-panel {
	color: #111 !important;
	background: #fff !important;
}

html.a11y-contrast-dark .a11y-panel h2,
html.a11y-contrast-dark .a11y-panel p,
html.a11y-contrast-dark .a11y-panel button,
html.a11y-contrast-dark .a11y-panel span {
	color: #111 !important;
}

html.a11y-contrast-dark .a11y-panel button:hover,
html.a11y-contrast-dark .a11y-panel button.is-selected {
	color: #fff !important;
}

html.a11y-contrast-dark .a11y-panel .a11y-panel-close:hover,
html.a11y-contrast-dark .a11y-panel .a11y-panel-close:focus {
	color: #111 !important;
}

/* prettyPhoto 3.1.5 calculates its geometry from pixel dimensions. Keep its
 * own controls at a stable size when the page text is enlarged. */
html.a11y-mode .pp_pic_holder,
html.a11y-mode .pp_pic_holder p,
html.a11y-mode .pp_pic_holder a,
html.a11y-mode .pp_pic_holder span {
	font-size: 14px !important;
	line-height: 1.4 !important;
}

/* prettyPhoto measures a temporary .pp_details clone directly under body. */
html.a11y-mode body > .pp_details,
html.a11y-mode body > .pp_details p,
html.a11y-mode body > .pp_details a,
html.a11y-mode body > .pp_details span {
	font-size: 14px !important;
	line-height: 1.4 !important;
}

html.a11y-mode .pp_pic_holder .pp_description {
	text-indent: 0 !important;
}

body.prettyphoto-open .a11y-menu-trigger,
body.prettyphoto-open .a11y-panel {
	display: none !important;
}

@media (max-width: 767px) {
	.a11y-panel {
		right: 10px;
		top: 48px;
		width: calc(100% - 20px);
		max-width: none;
		max-height: calc(100% - 58px);
		overflow-y: auto;
	}

	.navbar .container > .navbar-header {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	html.a11y-reflow .navbar > .container .navbar-brand {
		margin-top: 50px;
	}

	html.a11y-reflow .pageheader-default {
		margin-top: 0;
	}

	html.a11y-reflow .pageheader-default .semitransparentbg {
		padding: 20px 12px;
	}

	html.a11y-reflow .pageheader-default h1 {
		font-size: 1.15rem !important;
	}

	html.a11y-reflow .pageheader-default .wowbreadcr {
		font-size: 0.9rem !important;
	}

	html.a11y-reflow .blogindex,
	html.a11y-reflow .blogindex > .col-md-9,
	html.a11y-reflow .blogindex > .col-md-3 {
		padding-left: 0;
		padding-right: 0;
	}

	html.a11y-font-mode .events h3,
	html.a11y-font-mode .blogindex h2,
	html.a11y-font-mode .blogindex h3,
	html.a11y-font-mode .sidebar h4 {
		font-size: 1.1rem !important;
		text-align: left !important;
	}
}

@media (max-width: 600px) {
	.toparea {
		display: block !important;
		height: 40px;
		min-height: 40px;
		padding: 0;
	}

	.toparea .container,
	.toparea .row {
		height: 40px;
		margin: 0;
		padding: 0;
	}

	.toparea .row {
		display: flex;
		align-items: center;
	}

	.toparea .top-text,
	.toparea .top-covid-link,
	.toparea .top-quality-link {
		display: none !important;
	}

	.toparea .top-search {
		display: block !important;
		flex: 0 0 55%;
		float: none;
		width: 55%;
		height: 40px;
		padding: 4px 0 4px 10px;
	}

	.toparea .a11y-top-menu {
		display: block !important;
		flex: 0 0 45%;
		float: none;
		width: 45%;
		height: 40px;
		padding: 0;
		text-align: left !important;
	}

	html.a11y-reflow .toparea .a11y-top-menu {
		width: 45%;
	}

	.a11y-menu-trigger {
		display: block;
		width: 100%;
		height: 40px;
		padding: 0 20px;
		font-size: 12px;
		text-align: left;
	}

	.navbar-fixed-top,
	html.a11y-reflow .navbar-fixed-top {
		top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.a11y-font-mode *,
	html.a11y-font-mode *:before,
	html.a11y-font-mode *:after {
		-webkit-animation: none !important;
		animation: none !important;
		-webkit-transition: none !important;
		transition: none !important;
	}
}
