/* Адаптивная версия основного сайта (шаблон users_interface). */
html,
body {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: hidden;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

img,
iframe,
video,
embed,
object {
	max-width: 100%;
}

@media (max-width: 1199px) {
	#wrapper {
		width: 100%;
		max-width: 100%;
		padding: 0 22px;
	}

	#header{
		background: #305B94;
		padding: 0 10px;
	}
	.assorted .globalnav__сolored,
	.globalnav a{
		color: #fff;
	}

	.bg_hed_line {
		min-width: 0;
		display: none;
	}

	#content {
		padding-right: 24px;
		padding-left: 270px;
	}

	.info_hed {
		max-width: calc(100% - 280px);
	}

	.info_hed .column,
	.info_hed .column:first-child,
	.info_hed .column:nth-child(2n),
	.info_hed .column:nth-child(3n) {
		width: auto;
	}

	.info_hed .column:first-child {
		width: 48%;
	}

	.info_hed .column:nth-child(2),
	.info_hed .column:nth-child(3) {
		width: 26%;
	}

	.grafik {
		left: 46%;
	}

	.counter {
		right: 30%;
	}
}

@media (max-width: 991px) {
	#wrapper {
		padding: 0 18px;
	}

	#header {
		height: auto;
		min-height: 0;
		margin-bottom: 22px;
		padding-bottom: 14px;
	}

	.top {
		display: flex;
		flex-direction: column;
		gap: 8px;
		overflow: visible;
	}

	.globalnav,
	.globalnav li {
		float: none;
	}

	.globalnav {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 16px;
		margin: 0;
		padding: 8px 0;
	}

	.globalnav li {
		margin: 0;
		padding: 4px 0;
	}

	.globalnav a {
		display: inline-block;
		padding: 5px 0;
		line-height: 1.35;
	}

	.assorted {
		position: static;
		width: 100%;
		padding: 4px 0;
		text-align: left;
	}

	.assorted li {
		margin-right: 12px;
	}

	.header__flag,
	.grafik {
		display: none;
	}

	.logo {
		float: none;
		width: 100%;
		margin: 0 auto 12px;
		text-align: center;
	}

	.logo img {
		width: auto;
		max-width: min(70vw, 240px);
		margin: 0 auto;
		padding-top: 0 !important;
	}

	.hed_text_center {
		width: 100%;
		margin: 0 auto;
	}

	.info_hed {
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
		width: 100%;
		max-width: none;
		margin: 0;
		font-size: 14px;
		line-height: 1.5;
	}

	.info_hed .column,
	.info_hed .column:first-child,
	.info_hed .column:nth-child(2),
	.info_hed .column:nth-child(3) {
		float: none;
		width: calc(50% - 8px);
		min-width: 0;
	}

	.info_hed .column:first-child {
		width: 100%;
	}

	.info_hed .column a {
		overflow-wrap: anywhere;
	}

	.info_hed .actions {
		margin: 0 !important;
	}

	.info_hed .actions li a {
		float: none;
		width: 100%;
		margin: 0 0 8px !important;
		padding: 8px;
		line-height: 1.4;
	}

	#middle {
		display: flex;
		flex-direction: column;
		height: auto;
	}

	#container {
		float: none;
		width: 100%;
		overflow: visible;
	}

	#content {
		padding: 0;
		font-size: 15px;
		line-height: 1.6;
	}

	#content img {
		height: auto;
	}

	#sideLeft {
		float: none;
		order: 2;
		width: 100%;
		margin: 28px 0 0;
		padding: 22px 0 0;
		border-top: 1px dashed #ccc;
		border-right: 0;
	}

	#sideLeft ul {
		padding-left: 0;
	}

	#sideLeft ul li {
		margin-bottom: 10px;
	}

	#sideLeft ul ul {
		display: block;
		margin: 8px 0 8px 18px;
	}

	#sideLeft .banner-link,
	#sideLeft > a,
	#sideLeft > div[style] {
		max-width: 100%;
	}

	#sideLeft img {
		height: auto;
	}

	#footer {
		display: flex;
		flex-direction: column;
		gap: 12px;
		height: auto;
		min-height: 0;
		margin-top: 28px;
		padding: 20px 0;
	}

	.copy_1,
	.copy_2 {
		position: static;
		float: none;
		width: 100%;
		margin: 0;
		text-align: center;
	}

	.counter {
		position: static;
		margin: 8px auto;
		text-align: center;
	}

	.news_bar_mainstream {
		width: 100%;
		height: auto;
		min-height: 0;
		margin: 0 0 18px;
		padding: 12px;
	}

	.marquee {
		width: 100%;
	}

	.overall-sro-e-101 {
		width: 100%;
		max-width: 815px;
		background-size: contain;
		background-position: top center;
	}

	.overall-sro-e-101 ul {
		position: relative;
		top: auto;
		right: auto;
		width: min(100%, 320px);
		margin: 24px 0 0 auto;
	}

	.popup {
		position: fixed;
		top: 50% !important;
		right: 12px !important;
		left: 12px !important;
		width: auto;
		max-width: 420px;
		margin: 0 auto;
		transform: translateY(-50%);
	}

	.popup-form {
		width: 100%;
		max-width: 100%;
		padding: 18px;
	}

	.popup-form input,
	.popup-form textarea {
		width: 100%;
		max-width: 100%;
		min-height: 42px;
		font-size: 16px;
	}

	.popup-form .submit button {
		width: 100%;
		min-height: 44px;
	}

	#DivAddAnswer textarea,
	#DivAddQuestion textarea,
	#formOrderAudit textarea,
	#formEnergoPassport textarea {
		width: 100%;
		max-width: 100%;
	}

	#formEnergoPassport input[type="text"] {
		width: 100% !important;
		max-width: 100%;
		min-height: 42px;
		font-size: 16px;
	}

	#wrapper table,
	#content table,
	#content .table,
	#content .paddedtable {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#content .table-scroll {
		position: relative;
		width: 100%;
		max-width: 100%;
		margin: 14px 0 22px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #d9e0e8;
		border-radius: 3px;
		background: #fff;
	}

	#content .table-scroll > table {
		display: table;
		width: max-content;
		min-width: 100%;
		max-width: none;
		margin: 0;
		overflow: visible;
	}

	#content .table-scroll > table.table-bordered {
		min-width: 680px;
	}

	#content .table-scroll:focus-visible {
		outline: 3px solid rgba(48, 91, 148, .3);
		outline-offset: 2px;
	}

	#wrapper th,
	#wrapper td,
	#content th,
	#content td {
		white-space: normal;
		overflow-wrap: break-word;
	}

	.table th,
	.table td {
		padding: 7px;
		font-size: 13px;
		line-height: 1.4;
	}

	.w390,
	.w200,
	.w80 {
		max-width: 100%;
	}

	input,
	select,
	textarea,
	button {
		max-width: 100%;
	}

	input[type="text"],
	input[type="email"],
	input[type="password"],
	textarea,
	select {
		font-size: 16px;
	}

	.multibutton {
		right: 10px;
		bottom: 14px;
		transform: scale(.82);
		transform-origin: bottom right;
	}

	.multibutton__title--main {
		display: none;
	}
	
	.banner-link{
		text-align: center;
		display: block;
		margin: 15px auto;
	}
	.reviews{
		width: 100%!important;
	}
	#content ol{
		margin-left: 20px;
	}
}

@media (max-width: 575px) {
	#wrapper {
		padding: 0 14px;
	}

	#header {
		margin-bottom: 16px;
	}

	.globalnav {
		gap: 2px 12px;
		font-size: 13px;
	}

	.globalnav li {
		padding: 2px 0;
	}

	.assorted {
		font-size: 12px;
	}

	.info_hed {
		gap: 12px;
		font-size: 13px;
	}

	.info_hed .column:first-child,
	.info_hed .column:nth-child(2),
	.info_hed .column:nth-child(3) {
		width: 100%;
	}

	.info_hed .column:first-child br:nth-of-type(2) {
		display: none;
	}

	.info_hed a b {
		font-size: 18px !important;
	}

	h1 {
		font-size: 22px;
		line-height: 1.3;
	}

	h2,
	.h2 {
		font-size: 19px;
		line-height: 1.35;
	}

	#content {
		font-size: 14px;
		line-height: 1.55;
	}

	#content img,
	#sideLeft img {
		height: auto;
	}
	#content .team-photo img{
		height: 100%;
	}

	#content .main-banner,
	#content > img {
		display: block;
		width: 100%;
		margin-right: auto;
		margin-left: auto;
	}

	#sideLeft > a:not(.banner-link),
	#sideLeft > div[style] {
		width: 100% !important;
		padding-right: 12px !important;
		padding-left: 12px !important;
		text-align: center;
	}

	#sideLeft a.rcdpo {
		width: 100%;
		padding: 14px;
	}

	#footer {
		font-size: 13px;
		line-height: 1.5;
	}

	.copy_1 p,
	.copy_2 p {
		margin: 0 0 10px;
	}

	#content .pagination ul {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	#content .pagination ul li {
		float: none;
		margin: 0;
	}

	.QBlock h2.forum-question,
	.forum-date,
	.HideAnswers {
		float: none;
	}

	.QBlock h2.forum-question {
		display: block;
		font-size: 17px;
	}

	.forum-date {
		display: block;
		margin: 6px 0;
	}

	.team-container,
	.clients-container,
	.portfolio-container {
		width: calc(100% - 28px);
	}

	.team-grid,
	.portfolio-grid {
		grid-template-columns: 1fr;
	}

	.clients-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Полноширинное меню располагается сразу после шапки на мобильных. */
@media (max-width: 991px) {
	#sideLeft {
		display: contents;
	}

	#container {
		order: 1;
	}

	.mobile-menu-toggle {
		order: -2;
		margin: 0 0 10px;
	}

	#sideLeft .sidebar-menu {
		order: -1;
	}

	#sideLeft .sidebar-extras {
		order: 2;
		width: 100%;
		margin: 24px 0 0;
		padding-top: 20px;
		border-top: 1px dashed #ccc;
	}

	.mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 48px;
		padding: 11px 16px;
		border: 1px solid #244d75;
		border-radius: 4px;
		background: #305b94;
		color: #fff;
		font: 700 16px/1.3 Arial, Tahoma, sans-serif;
		text-align: left;
		text-transform: uppercase;
		cursor: pointer;
		margin-bottom: 20px;
	}

	.mobile-menu-toggle:focus-visible {
		outline: 3px solid rgba(48, 91, 148, .35);
		outline-offset: 2px;
	}

	.mobile-menu-toggle__icon,
	.mobile-menu-toggle__icon:before,
	.mobile-menu-toggle__icon:after {
		display: block;
		width: 22px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform .2s ease, background-color .2s ease;
	}

	.mobile-menu-toggle__icon {
		position: relative;
		margin-left: 14px;
	}

	.mobile-menu-toggle__icon:before,
	.mobile-menu-toggle__icon:after {
		position: absolute;
		left: 0;
		content: "";
	}

	.mobile-menu-toggle__icon:before {
		top: -7px;
	}

	.mobile-menu-toggle__icon:after {
		top: 7px;
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon {
		background: transparent;
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon:before {
		top: 0;
		transform: rotate(45deg);
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon:after {
		top: 0;
		transform: rotate(-45deg);
	}

	#sideLeft .sidebar-menu {
		display: none;
		width: 100%;
		margin: 0;
		padding: 6px 0;
		border: 1px solid #d7e0e9;
		border-top: 0;
		border-radius: 0 0 4px 4px;
		background: #fff;
		box-shadow: 0 8px 18px rgba(21, 52, 82, .12);
	}

	#sideLeft.is-menu-open .sidebar-menu {
		display: block;
		animation: mobile-menu-reveal .18s ease-out;
	}

	#sideLeft .sidebar-menu > li {
		margin: 0;
		border-bottom: 1px solid #edf1f5;
	}

	#sideLeft .sidebar-menu > li:last-child {
		border-bottom: 0;
	}

	#sideLeft .sidebar-menu > li > a {
		display: block;
		padding: 11px 15px;
		color: #204e8a;
		font-size: 15px;
		line-height: 1.35;
	}

	#sideLeft .sidebar-menu > li > ul {
		display: none;
		position: static;
		margin: 0;
		padding: 0 12px 8px 28px;
		background: #f5f8fb;
	}

	#sideLeft.is-menu-open .sidebar-menu > li > ul {
		display: block;
	}

	#sideLeft .sidebar-menu > li > ul li {
		margin: 0;
	}

	#sideLeft .sidebar-menu > li > ul li a {
		display: block;
		padding: 8px 4px;
		font-size: 14px;
		line-height: 1.35;
	}

	#sideLeft .sidebar-extras > a,
	#sideLeft .sidebar-extras > div[style] {
		width: 100% !important;
		max-width: 100%;
		margin: 10px 0;
		padding-right: 12px !important;
		padding-left: 12px !important;
	}

	#sideLeft .sidebar-extras .news_bar {
		margin: 0 0 20px;
	}

	#sideLeft .sidebar-extras img {
		height: auto;
	}

	#sideLeft .sidebar-extras > br {
		display: none;
	}
}

@media (min-width: 992px) {
	.mobile-menu-toggle {
		display: none;
	}

	#sideLeft .sidebar-menu {
		display: block !important;
	}
}

@keyframes mobile-menu-reveal {
	from {
		transform: translateY(-5px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
