/*Begin fixes*/
	li, ul li{
		margin-left: 0px;	
	}
	
	ul, ol{
	  margin-top: 16px;
		margin-left: 0px;
		margin-right: 0px;
	}
/*End fixes*/
	

	
/*--- маркеры --*/
.poi-pm {
    width: 24px;
    height: 28px;
    background: url(../img/cats.png) no-repeat -10px -10px;
}

.poi-pm .ci {
    width: 24px;
    height: 24px;
    background: url(../img/cats.png) no-repeat -10px -38px;
}

/*--- UI карт ---*/
.map-ui-info {
    position: absolute;
    width: 400px;
    height: 150px;
    border: solid 2px var(--border-strong);
    margin-left: -150px;
    margin-top: 100px;
    background: var(--card)
}

.map-ui-arrow {
    width: 24px;
    height: 24px;
    background-image: url(../img/arrows.png);
}


/*--- Стрелки на контрол выбора направления ---*/
.map-ui-area {
    width: 24px;
    height: 24px;
    background: url(../img/arrows.png) 0 -48px;
}

.map-ui-area-a {
    width: 24px;
    height: 24px;
    background: url(../img/arrows.png) 0 -24px;
}

.map-ui-angle {

}

.map-ui-angle .area {
    position: absolute;
    top: 36px;
    left: 36px;
    width: 24px;
    height: 24px;
}

.map-ui-angle .area div {
    position: absolute;
}

.map-ui-angle .control div {
    position: absolute;
    cursor: pointer;
    background: url(../img/arrows.png) no-repeat;
}

.map-ui-angle .control div a {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../img/arrows.png) no-repeat;
}

.map-ui-angle .control div.n {
    top: 0;
    left: 36px;
    background-position: -24px 0
}

.map-ui-angle .control div.n a:hover {
    background-position: -24px -24px
}

.map-ui-angle .control div.e {
    top: 36px;
    left: 72px;
    background-position: -48px 0
}

.map-ui-angle .control div.e a:hover {
    background-position: -48px -24px
}

.map-ui-angle .control div.s {
    top: 72px;
    left: 36px;
    background-position: -72px 0
}

.map-ui-angle .control div.s a:hover {
    background-position: -72px -24px
}

.map-ui-angle .control div.w {
    top: 36px;
    left: 0;
    background-position: -96px 0
}

.map-ui-angle .control div.w a:hover {
    background-position: -96px -24px
}

.map-ui-angle .control div.ne {
    top: 12px;
    left: 60px;
    background-position: -120px 0
}

.map-ui-angle .control div.ne a:hover {
    background-position: -120px -24px
}

.map-ui-angle .control div.se {
    top: 60px;
    left: 60px;
    background-position: -144px 0
}

.map-ui-angle .control div.se a:hover {
    background-position: -144px -24px
}

.map-ui-angle .control div.sw {
    top: 60px;
    left: 12px;
    background-position: -168px 0
}

.map-ui-angle .control div.sw a:hover {
    background-position: -168px -24px
}

.map-ui-angle .control div.nw {
    top: 12px;
    left: 12px;
    background-position: -192px 0
}

.map-ui-angle .control div.nw a:hover {
    background-position: -192px -24px
}

/*--- Направления --*/
.map-ui-dir {
    position: absolute;
    left: 1px;
    width: 24px;
    height: 24px;
}

.map-ui-dir div {
    position: absolute;
    width: 7px;
    height: 7px;
    background: url(../img/arrows.png) no-repeat;
}

.map-ui-dir div.n {
    top: 0;
    left: 8px;
    background-position: -8px -72px
}

.map-ui-dir .s {
    top: 17px;
    left: 8px;
    background-position: -8px -89px
}

.map-ui-dir .w {
    top: 9px;
    left: 0;
    background-position: 0 -81px
}

.map-ui-dir .e {
    top: 9px;
    left: 17px;
    background-position: -17px -81px
}

.map-ui-dir .nw {
    top: 2px;
    left: 2px;
    background-position: -2px -74px
}

.map-ui-dir .ne {
    top: 2px;
    left: 15px;
    background-position: -15px -74px
}

.map-ui-dir .sw {
    top: 15px;
    left: 2px;
    background-position: -2px -87px
}

.map-ui-dir .se {
    top: 15px;
    left: 15px;
    background-position: -15px -87px
}

/*--- КОНСТРУКЦИИ ---*/
.map-ui-pin {
    width: 24px;
    height: 24px;
}

.map-ui-pin .area {
    position: absolute;
    top: 1px;
    width: 24px;
    height: 24px;
    background: url(../img/arrows.png) 0 -48px;
}

.map-ui-c {
    width: 24px;
    height: 24px;
    background: url(../img/pins.png) no-repeat;
    z-index:100;
}

.map-ui-ci {
    width: 24px;
    height: 24px;
    background: url(../img/pins-i.png) no-repeat;
    z-index:100;
}

/* Брандмауэр */
.map-ui-c1 {
    background-position: -72px 0
}

.map-ui-c1l {
    background-position: -72px -24px
}

.map-ui-c1v {
    background-position: -72px -48px
}

.map-ui-c1vl {
    background-position: -72px -72px
}

/* Бэклайт */
.map-ui-c2 {
    background-position: -144px 0
}

.map-ui-c2l {
    background-position: -144px -24px
}

.map-ui-c2v {
    background-position: -144px -48px
}

.map-ui-c2vl {
    background-position: -144px -72px
}

/* Лайтбокс */
.map-ui-c3 {
    background-position: -216px 0
}

.map-ui-c3l {
    background-position: -216px -24px
}

.map-ui-c3v {
    background-position: -216px -48px
}

.map-ui-c3vl {
    background-position: -216px -72px
}

/* Монитор */
.map-ui-c4 {
    background-position: -192px 0
}

.map-ui-c4l {
    background-position: -192px -24px
}

.map-ui-c4v {
    background-position: -192px -48px
}

.map-ui-c4vl {
    background-position: -192px -72px
}

/* Пилларс */
.map-ui-c5 {
    background-position: -120px 0
}

.map-ui-c5l {
    background-position: -120px -24px
}

.map-ui-c5v {
    background-position: -120px -48px
}

.map-ui-c5vl {
    background-position: -120px -72px
}

/* Пилон */
.map-ui-c6 {
    background-position: -96px 0
}

.map-ui-c6l {
    background-position: -96px -24px
}

.map-ui-c6v {
    background-position: -96px -48px
}

.map-ui-c6vl {
    background-position: -96px -72px
}

/* Призма */
.map-ui-c7 {
    background-position: -24px 0
}

.map-ui-c7l {
    background-position: -24px -24px
}

.map-ui-c7v {
    background-position: -24px -48px
}

.map-ui-c7vl {
    background-position: -24px -72px
}

/* Ситилайт */
.map-ui-c8 {
    background-position: -168px 0
}

.map-ui-c8l {
    background-position: -168px -24px
}

.map-ui-c8v {
    background-position: -168px -48px
}

.map-ui-c8vl {
    background-position: -168px -72px
}

/*цифровой ситилайт*/
.map-ui-c19, .map-ui-c19v, .map-ui-c19l, .map-ui-c19vl {
    background-position: -168px -72px
}

/* Cитискролл */
.map-ui-c20, .map-ui-c20v {
    background-position: -168px 0
}
.map-ui-c20l, .map-ui-c20vl {
    background-position: -168px -24px
}


/* Цифровой борд */
.map-ui-c21 {
    background-position: 0 0
}
.map-ui-c21l {
    background-position: 0 -24px
}
.map-ui-c21v {
    background-position: 0 -48px
}
.map-ui-c21vl {
    background-position: 0 -72px
}

/* Цифровой скролл */
.map-ui-c22, .map-ui-c22v {
    background-position: -168px 0
}
.map-ui-c22l, .map-ui-c22vl {
    background-position: -168px -24px
}


/* Скролл */
.map-ui-c9 {
    background-position: -48px 0
}

.map-ui-c9l {
    background-position: -48px -24px
}

.map-ui-c9v {
    background-position: -48px -48px
}

.map-ui-c9vl {
    background-position: -48px -72px
}

/* Борд */
.map-ui-c10 {
    background-position: 0 0
}

.map-ui-c10l {
    background-position: 0 -24px
}

.map-ui-c10v {
    background-position: 0 -48px
}

.map-ui-c10vl {
    background-position: 0 -72px
}

/* Тролл */
.map-ui-c11 {
    background-position: -240px 0
}

.map-ui-c11l {
    background-position: -240px -24px
}

.map-ui-c11v {
    background-position: -240px -48px
}

.map-ui-c11vl {
    background-position: -240px -72px
}

/* Арка/мост */
.map-ui-c12 {
    background-position: -288px 0
}

.map-ui-c12l {
    background-position: -288px -24px
}

.map-ui-c12v {
    background-position: -288px -48px
}

.map-ui-c12vl {
    background-position: -288px -72px
}

/* Object */
.map-ui-c14 {
    background-position: -312px 0
}

.map-ui-c14l {
    background-position: -312px 0
}

.map-ui-c14v {
    background-position: -312px 0
}

.map-ui-c14vl {
    background-position: -312px 0
}

/* Холдер */
.map-ui-c13 {
    background-position: -264px 0
}

.map-ui-c13l {
    background-position: -264px -24px
}

.map-ui-c13v {
    background-position: -264px -48px
}

.map-ui-c13vl {
    background-position: -264px -72px
}

/* Остановка, киоск (вид как у пилларса) */
.map-ui-c15,.map-ui-c16 {
    background-position: -120px 0
}

.map-ui-c15l,.map-ui-c16l {
    background-position: -120px -24px
}

.map-ui-c15v,.map-ui-c16v {
    background-position: -120px -48px
}

.map-ui-c15vl,.map-ui-c16vl {
    background-position: -120px -72px
}

/* Суперборд (как у бэклайта) */
.map-ui-c17 {
    background-position: -144px 0
}

.map-ui-c17l {
    background-position: -144px -24px
}

.map-ui-c17v {
    background-position: -144px -48px
}

.map-ui-c17vl {
    background-position: -144px -72px
}

/* Крыша (как Брандмауэр) */
.map-ui-c18 {
    background-position: -72px 0
}

.map-ui-c18l {
    background-position: -72px -24px
}

.map-ui-c18v {
    background-position: -72px -48px
}

.map-ui-c18vl {
    background-position: -72px -72px
}
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.ttf?5tnml5') format('truetype'), url('../fonts/fontello.woff?5tnml5') format('woff'), url('../fonts/fontello.svg?5tnml5#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'fontello' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-search:before {
  content: "\e800";
}
.icon-plus-circle:before {
  content: "\e900";
}
.icon-video-camera:before {
  content: "\e901";
}
.icon-camera:before {
  content: "\e902";
}
.icon-user-plus:before {
  content: "\e973";
}
.icon-enter:before {
  content: "\ea13";
}
.icon-exit:before {
  content: "\ea14";
}
.icon-arrow-right:before {
  content: "\ea34";
}
.icon-arrow-left:before {
  content: "\ea38";
}
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
	font-family: sans-serif; /* 1 */
	line-height: 1.15; /* 2 */
	-ms-text-size-adjust: 100%; /* 3 */
	-webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
	margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
	display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
	margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	-webkit-box-sizing: content-box;
	        box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
	background-color: transparent; /* 1 */
	-webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
	outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
	font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
	font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
	background-color: var(--color-yellow-200);
	color: var(--color-black);
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
	display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
	display: none;
	height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
	border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
	overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: sans-serif; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
	-webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
	border: 1px solid var(--border-strong);
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	display: inline-block; /* 1 */
	vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
	display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
	display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
	display: none;
}
/* тема jQuery UI - js/lib/ui/jquery-ui-1.14.2/jquery-ui.min.css (base), подключает каркас (RF_006) */
/*!	Developed at http://htmlcoder.net */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
::selection {
  background: var(--selection);
  color: var(--selection-foreground);
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.dotted {
  border-bottom: 1px dotted;
  cursor: pointer;
  line-height: 1em;
  position: relative;
  text-decoration: none !important;
  top: -0.1em;
  -webkit-transition: border-bottom-color 0.3s ease;
  transition: border-bottom-color 0.3s ease;
}
.dotted span {
  position: relative;
  top: .1em;
}
.dotted:hover {
  border-bottom-color: transparent;
}
label {
  font-weight: inherit;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.iblock {
  display: inline-block;
}
.rel {
  position: relative;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
html {
  font-size: 100%;
  height: 100%;
}
body {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 87.5%;
  min-height: 100%;
}
body.noscroll {
  position: fixed;
  overflow: hidden;
  max-width: 1330px;
  margin: 0 auto;
  left: 0;
  right: 0;
}
a {
  color: var(--link);
  -webkit-transition: color .5s ease;
  transition: color .5s ease;
}
a:hover,
a:focus {
  text-decoration: none;
  color: var(--link-hover);
}
.c-green {
  color: var(--success);
}
.c-gray {
  color: var(--muted-foreground);
}
.c-gray-light {
  color: var(--color-gray-400);
}
h1,
.h1 {
  font-size: 28px;
  font-weight: normal;
  margin: 0 0 .5em;
}
img {
  max-width: 100%;
}
.container {
  padding: 0 15px;
  max-width: 1330px;
  margin: 0 auto;
}
/* кабинет - только десктоп: узкое окно прокручивается, а не перестраивается */
body:has(.page-cabinet) {
  min-width: 1330px;
}
/* хидер раздела (.menu-pics) не прилипает к главному меню */
#workspace.page-cabinet {
  margin-top: 16px;
}
/* «на всю ширину» (controls.wexpand): контейнер каркаса без ограничения ширины */
.container.width-full {
  width: auto;
  max-width: none;
}
.dashed {
  border-bottom: 1px dashed;
  cursor: pointer;
  line-height: 1em;
  position: relative;
  text-decoration: none !important;
  top: -2px;
}
.dashed span {
  position: relative;
  top: 2px;
}
.block {
  display: block;
}
.table {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin: 0;
}
.cell {
  display: table-cell;
}
input,
.select select {
  outline: 0 none;
}
/* поля: вид - css/controls.css (.input и голые поля) */
input[type="text"].block,
input[type="email"].block,
input[type="tel"].block,
input[type="date"].block,
input[type="password"].block,
.select select[type="text"].block,
.select select[type="email"].block,
.select select[type="tel"].block,
.select select[type="date"].block,
.select select[type="password"].block {
  width: 100%;
  display: inline-block;
}
hr {
  border: none;
  border-top: 1px solid var(--border-strong);
}
.select select option {
  line-height: 1.3;
}
/* кнопки .btn - css/controls.css (RF_003 TASK_007) */
/*********/
@media (max-width: 479px) {
  .logo {
    display: block;
    margin: 0 auto;
    float: none;
    padding: 32px 70px 0 0;
  }
}
.header {
  padding: 10px 0;
}
/* логотип партнёра: слева; при меню-бургере - по центру (бургер fixed слева вверху) */
.header .partner-logo {
  float: left;
}
body:has(.menu.menu-mobile) .header .partner-logo {
  margin-left: 50%;
  transform: translate(-50%, 0%);
}
/* меню свёрнуто в бургер (fixed слева вверху) - логотип bb24 из-под него вправо, страна под логотипом */
body:has(.menu.menu-mobile) .header .logo,
body:has(.menu.menu-mobile) .header .country-select {
  margin-left: 45px;
}
body:has(.menu.menu-mobile) .header .container > br {
  display: none;
}
body:has(.menu.menu-mobile) .header .country-select {
  margin-top: 4px;
}
body:has(.menu.menu-mobile) .header .country-select sup {
  color: var(--color-gray-500);
}
.country-select,
.services-select {
  position: relative;
  display: inline-block;
}
.country-select .variables,
.services-select .variables {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 160px;
  background: var(--color-white);
  padding: 5px;
  border: 1px solid var(--color-gray-300);
  -webkit-border-radius: 3px;
          border-radius: 3px;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -webkit-transform: translate3d(0, 10px, 0);
          transform: translate3d(0, 10px, 0);
  -webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, -webkit-transform .3s ease;
  transition: transform .3s ease, opacity .3s ease;
  transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
  z-index: -99;
  opacity: 0;
  visibility: hidden;
}
.country-select .variables .counts,
.services-select .variables .counts {
  float: right;
  width: 50px;
  font-size: .75em;
  color: var(--color-gray-600);
  margin-top: 3px;
}
.country-select .item,
.services-select .item {
  padding: 3px 0;
}
.country-select .item:before,
.services-select .item:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 11px;
  background-image: url(../img/flags.jpg);
  float: left;
  margin: 3px 5px 0 0;
}
.country-select .item.ua:before,
.services-select .item.ua:before {
  background-position: 0 0;
}
.country-select .item.ru:before,
.services-select .item.ru:before {
  background-position: 0 -11px;
}
.country-select .item.by:before,
.services-select .item.by:before {
  background-position: 0 -22px;
}
.country-select .item.md:before,
.services-select .item.md:before {
  background-position: 0 -33px;
}
.country-select .item.lv:before,
.services-select .item.lv:before {
  background-position: 0 -44px;
}
.country-select .item.lt:before,
.services-select .item.lt:before {
  background-position: 0 -55px;
}
.country-select .item.ee:before,
.services-select .item.ee:before {
  background-position: 0 -66px;
}
.country-select .item.az:before,
.services-select .item.az:before {
  background-position: 0 -77px;
}
.country-select .item.am:before,
.services-select .item.am:before {
  background-position: 0 -88px;
}
.country-select .item.ge:before,
.services-select .item.ge:before {
  background-position: 0 -99px;
}
.country-select .item.kz:before,
.services-select .item.kz:before {
  background-position: 0 -110px;
}
.country-select .item.kg:before,
.services-select .item.kg:before {
  background-position: 0 -121px;
}
.country-select .item.tj:before,
.services-select .item.tj:before {
  background-position: 0 -132px;
}
.country-select .item.tm:before,
.services-select .item.tm:before {
  background-position: 0 -143px;
}
.country-select .item.uz:before,
.services-select .item.uz:before {
  background-position: 0 -154px;
}
.country-select .active,
.services-select .active {
  font-weight: bold;
}
.country-select .active .dotted,
.services-select .active .dotted {
  border-bottom-color: transparent;
  color: var(--color-gray-600);
  cursor: default;
}
.country-select.open .variables,
.services-select.open .variables {
  z-index: 10;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.country-select .dotted,
.services-select .dotted {
  color: var(--link);
}
.country-select .dotted:hover,
.services-select .dotted:hover {
  color: var(--color-red-600);
}
.country-select ul,
.services-select ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
}
.services-select {
  text-align: left;
}
.services-select .item {
  white-space: nowrap;
}
.services-select .item:before {
  display: none;
}
.services-select .variables {
  width: auto;
}
.services-select .variables .counts {
  float: none;
  width: auto;
}
.auth-buttons {
  float: right;
  white-space: nowrap;
}
.auth-buttons .icon-enter,
.auth-buttons .icon-user-plus {
  display: none;
  font-size: 30px;
}
@media (max-width: 479px) {
  .auth-buttons {
    position: absolute;
    right: 10px;
    top: 10px;
  }
  .auth-buttons .dotted {
    top: auto;
    border: none;
    display: inline-block;
  }
  .auth-buttons .icon-enter {
    display: inline-block;
  }
  .auth-buttons .icon-user-plus {
    /*display: inline-block;*/
  	display: none;
  }
  .auth-buttons .item-text {
    display: none;
  }
}
.menu {
  border-bottom: 7px solid var(--border);
  background: var(--nav);
}
.menu ul {
  display: block;
  padding: 0 15px;
  max-width: 1330px;
  margin: 0 auto;
  list-style: none;
}
.menu li {
  display: block;
  float: left;
  border-left: 1px solid var(--nav-border);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}
.menu li:last-of-type {
  border-right: 1px solid var(--nav-border);
}
.menu li:hover {
  background: linear-gradient(to bottom, var(--nav) 0%, var(--nav) 49%, var(--nav-border) 50%, var(--nav-border) 100%);
}
/* current - текущий раздел (Theme::menu, menu.xsl), active - раздел по пути */
.menu li.active,
.menu li.current {
  background: linear-gradient(to bottom, var(--card) 0%, var(--muted) 49%, var(--secondary) 50%, color-mix(in srgb, var(--secondary), var(--foreground) 6%) 100%);
}
.menu li.active a,
.menu li.current a {
  color: var(--nav-active-foreground);
}
.menu a {
  height: 35px;
  line-height: 35px;
  color: var(--nav-foreground);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  padding: 0 10px;
  display: block;
}
.menu:after {
  content: '';
  display: block;
  clear: both;
}
.menu .burger {
  display: none;
  background: var(--nav-mobile);
  padding: 2px 5px;
  height: auto;
  line-height: normal;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  position: relative;
  z-index: 5;
}
.menu .burger span {
  display: block;
  height: 3px;
  width: 20px;
  margin: 3px 0;
  background: var(--color-white);
}
.menu.menu-mobile {
  position: fixed;
  top: 10px;
  left: 10px;
  border-bottom: none;
  background: none;
  z-index: 1001;
}
.menu.menu-mobile .burger {
  display: block;
}
.menu.menu-mobile ul {
  display: none;
}
.menu.menu-mobile.active {
  z-index: 1002;
}
.menu.menu-mobile.active ul {
  display: block;
  position: absolute;
  left: -10px;
  top: -10px;
  width: 100vw;
  max-width: none;
  padding: 3px 0 0;
  margin: 0;
  background: var(--nav-mobile);
  z-index: 4;
}
.menu.menu-mobile.active ul a {
  padding: 0 10px 0 40px;
}
.menu.menu-mobile.active li {
  float: none;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--color-white);
}
.menu.menu-mobile.active .burger {
  background: none;
  padding: 5px;
  margin: -5px;
}
.menu.menu-mobile.active .burger span {
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  background: var(--color-gray-900);
}
.menu.menu-mobile.active .burger span:first-of-type {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  margin: 9px 0 -6px;
}
.menu.menu-mobile.active .burger span:last-of-type {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.menu.menu-mobile.active .burger span:nth-of-type(2) {
  display: none;
}
.page {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.page .content-box {
  display: table-cell;
  vertical-align: top;
  padding: 20px 20px 20px 0;
}
.page .sidebar-box {
  display: table-cell;
  vertical-align: top;
  width: 270px;
  padding: 20px 0;
}
@media (max-width: 767px) {
  .page .content-box {
    display: block;
    padding: 20px 0 0;
    margin-bottom: 20px;
  }
  .page .sidebar-box {
    display: block;
    width: auto;
    padding: 0;
    margin-bottom: 20px;
  }
}
.search-line {
  background: var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-400);
  -webkit-border-radius: 3px 3px 0 0;
          border-radius: 3px 3px 0 0;
  padding: 10px;
  margin-bottom: 20px;
}
.search-line .search-notice {
  font-size: 13px;
  margin: -3px 0 3px;
}
.search-line .table {
  display: table;
  width: 100%;
  table-layout: auto;
}
.search-line .table input,
.search-line .table .select select {
  background: var(--color-white);
  display: block;
  width: 100%;
}
.search-line .table .cell {
  vertical-align: bottom;
}
.search-line .table .cell-btn {
  width: 100px;
  padding-left: 10px;
}
.search-line .table .cell-btn .btn {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .search-line .table .cell {
    display: block;
    width: auto;
  }
  .search-line .table .cell-btn {
    padding: 10px 0 0;
  }
}
.tag-cloud {
  line-height: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.news-list .item {
  margin-bottom: 20px;
}
.news-list .item:after {
  content: '';
  display: block;
  clear: both;
}
.news-list .item-title {
  font-size: 20px;
  margin-bottom: 10px;
}
.news-list .item-image {
  float: left;
  margin: 0 10px 5px 0;
  max-height: 100px;
  overflow: hidden;
  -webkit-border-radius: 3px;
          border-radius: 3px;
}
.news-list .item-image img {
  -webkit-border-radius: 3px;
          border-radius: 3px;
  display: inline-block;
}
.news-list .item-info {
  font-size: 11px;
  color: var(--color-gray-600);
  font-weight: bold;
  margin-bottom: 5px;
}
.news-list .item-info a {
  color: inherit;
}
.news-list .item-info a:hover {
  color: var(--color-red-600);
}
.news-list .item-date {
  display: inline-block;
  margin-right: 10px;
}
.news-list .item-announce {
  font-size: 15px;
  margin-bottom: 5px;
}
.news-list .item-announce a {
  text-decoration: none;
}
.news-list .read-more {
  font-size: 11px;
  color: var(--color-gray-600);
}
.news-list .read-more a {
  color: inherit;
}
.news-list .read-more a:hover {
  color: var(--color-red-600);
}
/****************/
.fade {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1001;
  display: none;
  overflow: auto;
  text-align: center;
  opacity: 1;
  -webkit-transition: none;
  transition: none;
}
.popup {
  padding: 5px 10px;
  vertical-align: middle;
  display: inline-block;
  max-width: 100%;
  min-width: 320px;
  width: 600px;
  -webkit-border-radius: 5px;
          border-radius: 5px;
}
.popup-flex {
  width: 100%;
  max-width: 1030px;
}
.popup-flex .popup-layout {
  width: 99%;
}
.popup .popup-header {
  padding: 0 30px 10px 15px;
  margin: 0 -15px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: bold;
}
.popup .popup-controls {
  padding: 10px 10px 0 15px;
  margin: 0 -15px;
  border-top: 1px solid var(--border);
}
.popup .popup-controls .btn {
  margin-left: 10px;
}
.popup-box {
  font-size: 16px;
  padding: 10px 0;
}
.popup-box p {
  margin: 0 0 10px;
}
.popup-layout {
  position: relative;
  display: inline-block;
  text-align: left;
  background: var(--card);
  padding: 10px 15px;
  -webkit-box-shadow: 0 0 30px var(--color-black);
          box-shadow: 0 0 30px var(--color-black);
  -webkit-border-radius: 5px;
          border-radius: 5px;
}
.popup-layout .close-popup {
  position: absolute;
  left: 100%;
  top: 0;
  margin: 5px 0 0 -25px;
  color: var(--card-foreground);
  display: block;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
  text-decoration: none;
}
.popup-layout .close-popup:hover {
  text-decoration: none;
}
@media (max-width: 767px) {
  .popup-layout {
    max-width: 100%;
  }
}
.popupVCenterer {
  display: inline-block;
  height: 100%;
  line-height: 100%;
  vertical-align: middle;
  width: 0;
}
.popup-layout-auth {
  display: none;
}
.popup-auth {
  max-width: 400px;
  display: none;
}
.auth-form .line {
  margin-bottom: 10px;
}
.auth-form .cell-title {
  width: 130px;
  text-align: right;
  padding-right: 5px;
  vertical-align: top;
  padding-top: 6px;
}
.auth-form .additional-layout {
  font-size: 11px;
}
.auth-form .cell-empty {
  padding-top: 0;
}
.auth-form textarea {
  display: block;
  width: 100%;
}
@media (max-width: 480px) {
  .auth-form .cell-title {
    display: block;
    width: auto;
    text-align: left;
    padding-bottom: 3px;
    font-size: 13px;
  }
  .auth-form .cell-empty {
    display: none;
  }
  .auth-form .cell-value {
    display: block;
  }
  .auth-form .additional-layout {
    font-size: 13px;
    padding-bottom: 5px;
  }
}
.popup-feedback {
  display: none;
}
.popup-request {
  display: none;
}
.popup-request .asterisk, .popup-request-main .asterisk {
  color: var(--color-red-500);
  font-weight: bold;
}
.popup-request .auth-form .cell-title, .popup-request-main .auth-form .cell-title {
  width: 180px;
}
.popup-request .table-period .cell:nth-of-type(2), .popup-request-main .table-period .cell:nth-of-type(2) {
  width: 30px;
  text-align: center;
}
.popup-request .input-notice, .popup-request-main .input-notice {
  font-size: .75em;
  margin-top: 3px;
}
.info-block {
  margin-bottom: 20px;
  border: 1px solid var(--color-blue-300);
  -webkit-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0;
  overflow: hidden;
}
.info-block .info-block-title {
  background: var(--color-blue-300);
  color: var(--color-white);
  padding: 5px 10px;
  -webkit-border-radius: 3px 3px 0 0;
          border-radius: 3px 3px 0 0;
}
.info-block .info-block-content {
  padding: 0 10px 10px;
}
.info-block .info-block-description {
  font-size: 12px;
  margin: .5em 0;
}
.info-block-simple {
  padding: 0 10px 10px;
  margin-bottom: 20px;
}
.info-block-simple .info-block-title {
  font-weight: bold;
  font-size: 20px;
}
.subscribe .table {
  display: table;
  width: 100%;
  table-layout: auto;
  margin: 10px 0;
}
.subscribe .cell {
  vertical-align: top;
}
.subscribe .cell-title {
  white-space: nowrap;
  padding-right: 5px;
  padding-top: 7px;
}
.subscribe input,
.subscribe .select select {
  display: block;
  width: 100%;
  margin-bottom: 5px;
}
.subscribe .btn {
  display: block;
  text-align: center;
  width: 100%;
}
.subscribe .service-provider {
  font-size: 11px;
}
.billboards-stats .item {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 0 0 5px;
}
.billboards-stats .item .cell-title {
  width: 120px;
}
.billboards-stats .map-ui-c {
  margin: -3px 0 0;
}
.billboards-stats .cell-counts {
  font-size: 12px;
  color: var(--color-gray-600);
}
.billboards-stats .billboards-stats-line {
  margin: 10px 0;
}
.billboards-stats .billboards-stats-line .item-highlight {
  padding: 3px 8px;
  display: inline-block;
  background: var(--highlight);
  border: 1px solid var(--highlight-border);
}
.billboards-stats .billboards-stats-line .item-highlight big {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
}
.resource-list {
  padding: 0;
  margin: 0;
}
.resource-list li {
  display: block;
  margin-bottom: 10px;
}
.resource-list .item-title {
  margin-bottom: 5px;
}
.resource-list .item-info {
  color: var(--color-gray-600);
  font-size: 12px;
}
@media (max-width: 767px) and (min-width: 481px) {
  .page .sidebar-box {
    font-size: 0;
  }
  .page .info-block,
  .page .info-block-simple {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    font-size: 14px;
  }
}
.footer {
  border-top: 7px solid var(--footer-line);
  padding: 10px 0 20px;
  /* отступ от контента: страницы (в т.ч. HTML партнёра из админки) не дают его снизу */
  margin-top: 30px;
}
.footer .left-box {
  float: left;
  width: 45%;
  padding-right: 5px;
}
.footer .right-box {
  float: right;
  width: 55%;
  padding-left: 5px;
  text-align: right;
  padding-top: 3px;
}
.footer .law-rules {
  color: var(--color-gray-400);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 5px;
}
.footer .menu-right-box {
  font-size: 11px;
}
.footer .footer-contacts {
  font-size: 11px;
  color: var(--color-gray-600);
  margin-top: 5px;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .footer {
    font-size: 16px;
  }
  .footer .left-box {
    width: auto;
    float: none;
    padding: 0;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer .footer-contacts {
    font-size: 16px;
  }
  .footer .menu-right-box {
    font-size: 16px;
  }
  .footer .right-box {
    float: none;
    width: auto;
    padding: 0;
    text-align: center;
    font-size: 16px;
  }
}
/*	promo-page	*/
.page-promo-header {
  display: table;
  table-layout: fixed;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-gray-400);
}
.page-promo-header .content-box {
  display: table-cell;
  vertical-align: top;
  width: 550px;
  padding: 20px 0;
}
.page-promo-header .sidebar-box {
  display: table-cell;
  vertical-align: top;
  padding: 20px 0;
}
.page-promo-header .info-block-simple {
  font-size: 16px;
}
.page-promo-header .info-block-simple .group-thumb {
  margin: 0 10px 3px 0;
}
.page-promo-header .info-block-simple h2 {
  font-size: 24px;
  font-weight: normal;
  display: inline;
}
@media (max-width: 767px) {
  .page-promo-header .content-box {
    display: block;
    width: auto;
  }
  .page-promo-header .sidebar-box {
    display: block;
  }
}
.promo-advantages {
  font-size: 0;
  margin: 0 -15px;
}
.promo-advantages .item {
  display: inline-block;
  font-size: 16px;
  vertical-align: top;
  width: -webkit-calc(33.33% - 30px);
  width: calc(33.33% - 30px);
  margin: 0 15px 20px;
}
.promo-advantages .item h2 {
  margin: .2em 0 0;
  font-size: 24px;
  font-weight: normal;
}
.promo-advantages .item img {
  max-width: 100%;
}
@media (max-width: 767px) {
  .promo-advantages .item {
    width: -webkit-calc(50% - 30px);
    width: calc(50% - 30px);
  }
}
@media (max-width: 479px) {
  .promo-advantages .item {
    width: auto;
    display: block;
    text-align: center;
    margin-bottom: 40px;
  }
}
.promo-info-text {
  font-size: 16px;
  margin-bottom: 50px;
}
/*	publications	*/
.page-info .content-box {
  padding-right: 0;
}
.publications .btn-make-publication {
  margin: 3px 0 0 10px;
}
.publication-list {
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.3;
}
.publication-list li {
  margin-bottom: 10px;
}
.publication-list .item-announce {
  font-size: 13px;
  margin: 5px 0;
}
.publication-list p {
  margin: 0 0 5px;
}
.publication-item .h1,
.publication-item h1 {
  margin-bottom: 10px;
}
.publication-item .item-date {
  font-size: .85em;
  color: var(--color-gray-600);
  margin-bottom: 20px;
  float: left;
  white-space: nowrap;
}
.publication-item .item-views {
  float: right;
  white-space: nowrap;
  color: var(--color-gray-600);
  font-size: .8em;
  line-height: 1;
}
.publication-item .image {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  padding: 4px 4px 5px;
  float: left;
  margin: 0 10px 5px 0;
  max-width: 400px;
}
@media (max-width: 767px) {
  .publication-item .image {
    max-width: 50%;
  }
}
@media (max-width: 480px) {
  .publication-item .image {
    max-width: 100%;
    float: none;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .publication-item .item-date,
  .publication-item .item-views {
    float: none;
    margin-bottom: 5px;
  }
}
/*	catalogue	*/
.static-switcher {
  border-bottom: 1px solid var(--color-gray-400);
  font-size: 18px;
}
.static-switcher .item {
  padding: 10px 15px;
  -webkit-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0;
  display: inline-block;
  text-decoration: none;
}
.static-switcher .item:hover .item-title {
  text-decoration: none;
}
.static-switcher .item-disabled {
  color: var(--color-gray-400);
  cursor: default;
}
.static-switcher .item-title {
  text-decoration: underline;
}
.static-switcher .item-counts {
  font-size: .6em;
  color: var(--color-gray-600);
  position: relative;
  top: -0.75em;
  display: inline-block;
}
.static-switcher .active {
  background: var(--color-gray-200);
  color: var(--color-black);
}
@media (max-width: 900px) {
  .static-switcher {
    font-size: 14px;
    text-align: center;
    padding-bottom: 10px;
  }
  .static-switcher .item {
    -webkit-border-radius: 5px;
            border-radius: 5px;
  }
}
.static-switcher + .search-line {
  -webkit-border-radius: 0;
          border-radius: 0;
}
.sorting {
  font-size: 14px;
}
.sorting .item {
  display: inline-block;
  padding: 3px 10px 5px;
}
.sorting .active {
  background: var(--color-gray-200);
}
.alphabet a {
  display: inline-block;
  text-decoration: none;
  padding: 5px;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}
.alphabet a:hover {
  background: rgba(238, 238, 238, 0.7);
}
.alphabet a.disabled {
  color: var(--color-gray-300);
  cursor: default;
}
.alphabet a.disabled:hover {
  background: none;
}
.alphabet a.active {
  border: 1px solid var(--color-gray-400);
  background: rgba(238, 238, 238, 0.9);
  color: var(--color-black);
  cursor: default;
}
@media (max-width: 950px) {
  .alphabet a {
    padding: 4px 3px;
  }
}
.catalogue-sort-table {
  width: 100%;
  table-layout: auto;
}
.catalogue-sort-table .cell {
  vertical-align: middle;
}
@media (max-width: 840px) {
  .catalogue-sort-table .cell {
    display: block;
    text-align: center;
  }
  .catalogue-sort-table .alphabet {
    padding: 20px 0;
  }
  .catalogue-sort-table .lat {
    border-top: 1px solid var(--color-gray-300);
    padding: 15px 0 0;
    margin-top: 15px;
  }
}
@media (max-width: 480px) {
  .catalogue-sort-table .services-select-cell {
    text-align: left;
  }
}
.companies {
  margin-left: -20px;
  font-size: 0;
  color: var(--color-gray-400);
  padding: 30px 0;
}
@media (max-width: 767px) {
  .companies {
    margin-left: 0;
  }
}
.companies .item {
  display: inline-block;
  width: -webkit-calc(33.33% - 40px);
  width: calc(33.33% - 40px);
  margin: 0 0 20px 20px;
  font-size: 13px;
}
@media (max-width: 767px) {
  .companies .item {
    width: 50%;
    margin: 0 0 30px;
    padding-right: 20px;
  }
}
@media (max-width: 480px) {
  .companies .item {
    width: auto;
    padding-right: 0;
    display: block;
  }
}
.companies .item-title {
  font-size: 18px;
  margin-bottom: 5px;
}
.companies .item-city {
  margin-bottom: 5px;
}
.companies .item-city a {
  color: var(--color-gray-400);
}
.companies .item-address {
  margin-bottom: 5px;
}
.companies .item-phone a {
  text-decoration: none;
  color: var(--color-gray-400);
}
.companies .item-phone a:hover {
  text-decoration: underline;
}
.page-catalogue .content-box {
  padding-right: 0;
}
.page-catalogue .btn-add-company {
  float: right;
  margin: 5px 0 0 10px;
}
@media (max-width: 480px) {
  .page-catalogue .btn-add-company {
    display: block;
    width: 200px;
    margin: 0 auto 10px;
    float: none;
  }
}
.region-list {
  padding: 20px 0;
  font-size: 0;
}
.region-list .item {
  display: inline-block;
  width: -webkit-calc(33.33% - 20px);
  width: calc(33.33% - 20px);
  margin: 0 0 10px 20px;
  font-size: 14px;
  vertical-align: top;
}
.region-list .item a {
  text-decoration: none;
}
.region-list .item a:hover .item-title {
  text-decoration: none;
}
.region-list .item-title {
  text-decoration: underline;
}
.region-list .item .counts {
  font-size: .65em;
  color: var(--color-gray-600);
  position: relative;
  top: -0.3em;
}
@media (max-width: 480px) {
  .region-list .item {
    width: -webkit-calc(50% - 10px);
    width: calc(50% - 10px);
    margin: 0 0 10px;
  }
}
@media (max-width: 360px) {
  .region-list .item {
    width: auto;
    display: block;
  }
}
.page-ads .btn-add-ad {
  float: right;
  margin: 5px 0 0 10px;
}
@media (max-width: 480px) {
  .page-ads .btn-add-ad {
    display: block;
    width: 200px;
    margin: 0 auto 10px;
    float: none;
  }
}
.pagination {
  padding: 0;
  margin: 1em auto;
  display: block;
  text-align: center;
  font-size: 0;
}
.pagination li {
  display: inline-block;
  font-size: 15px;
}
.pagination li > a,
.pagination li > span {
  display: inline-block;
  padding: 5px;
  min-width: 30px;
  text-align: center;
}
.pagination li > a:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.pagination li .active {
  color: var(--color-black);
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.pagination li .disabled {
  color: var(--color-gray-300);
  cursor: default;
}
.pagination li .disabled:hover {
  border-color: transparent;
}
.pagination li .prev,
.pagination li .next {
  text-decoration: none;
}
@media (max-width: 480px) {
  .pagination {
    margin-left: -15px;
    margin-right: -15px;
  }
  .pagination li > a,
  .pagination li > span {
    padding: 3px;
    min-width: 25px;
  }
}
.rubrics {
  margin-bottom: 20px;
  font-size: 0;
}
.rubrics .item {
  display: inline-block;
  font-size: 14px;
  width: -webkit-calc(33.33% - 20px);
  width: calc(33.33% - 20px);
  margin: 0 0 5px 20px;
  vertical-align: top;
}
@media (max-width: 480px) {
  .rubrics .item {
    width: -webkit-calc(50% - 10px);
    width: calc(50% - 10px);
    margin: 0 0 10px;
  }
}
@media (max-width: 360px) {
  .rubrics .item {
    width: auto;
    display: block;
  }
}
.rubrics .active {
  font-weight: bold;
}
.ad-filter {
  table-layout: auto;
  margin-bottom: 20px;
}
.ad-filter .cell-sorting {
  text-align: right;
  border-bottom: 1px solid var(--color-gray-400);
}
@media (max-width: 970px) {
  .ad-filter .cell {
    display: block;
    text-align: center;
  }
  .ad-filter .cell-sorting {
    border-bottom: none;
    padding-top: 15px;
  }
}
.ad-list .cell {
  vertical-align: top;
}
.ad-list .item {
  margin-bottom: 15px;
  border-bottom: 1px dotted var(--color-gray-400);
  padding-bottom: 15px;
}
.ad-list .item-table {
  table-layout: fixed;
}
.ad-list .cell-cost {
  width: 120px;
  text-align: right;
  color: var(--color-gray-400);
}
.ad-list .item-cost {
  color: var(--color-gray-600);
  margin-bottom: 5px;
}
.ad-list .item-info .cell-photo {
  width: 120px;
  padding-right: 18px;
}
.ad-list .item-info .cell-photo img {
  display: block;
  border: 1px solid var(--color-gray-400);
  -webkit-border-radius: 3px;
          border-radius: 3px;
  max-width: 100%;
}
.ad-list .item-title {
  font-size: 18px;
  margin-bottom: 10px;
}
.ad-list .item-city {
  font-size: 13px;
  margin-bottom: 5px;
}
.ad-list .item-city a {
  color: var(--color-gray-400);
  text-decoration: none;
}
.ad-list .item-city a:hover {
  text-decoration: underline;
}
.ad-list .item-demand a {
  color: var(--color-green-600);
  text-decoration: none;
}
.ad-list .item-demand a:hover {
  text-decoration: underline;
}
.ad-list .item-demand-title a {
  color: var(--color-gray-400);
  text-decoration: none;
}
.ad-list .item-demand-title a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .ad-list .item-table > .cell {
    display: block;
    width: auto;
  }
  .ad-list .item-table > .cell-cost {
    text-align: left;
    padding-left: 100px;
    padding-top: 10px;
  }
  .ad-list .item-info .cell-photo {
    width: 100px;
    padding-right: 10px;
  }
}
.add-company-form .cell-title {
  font-weight: bold;
}
.add-company-form .select-type {
  font-size: 0;
  padding-top: 6px;
}
.add-company-form .select-type label {
  display: inline-block;
  vertical-align: top;
  width: 33.33%;
  padding-right: 15px;
  margin-bottom: 10px;
  font-size: 14px;
  padding-left: 15px;
  position: relative;
}
.add-company-form .select-type input[type='checkbox'],
.add-company-form .select-type .select select[type='checkbox'] {
  display: inline-block;
  padding: 0;
  float: left;
  position: absolute;
  left: 0;
  top: 0;
  margin: 1px 3px 0 0;
  border: none;
}
.add-company-form .select-type .input-notice {
  color: var(--color-red-500);
}
@media (max-width: 767px) {
  .add-company-form .select-type label {
    width: 50%;
  }
  .add-company-form .select-type input[type='checkbox'],
  .add-company-form .select-type .select select[type='checkbox'] {
    margin: -1px 3px 0 0;
  }
}
@media (max-width: 400px) {
  .add-company-form .select-type label {
    width: auto;
    display: block;
    padding-left: 18px;
  }
}
.add-company-form .input-notice {
  font-size: 12px;
  color: var(--color-gray-600);
  margin-top: 3px;
}
.add-company-form .asterisk {
  color: var(--color-red-500);
  font-size: 15px;
  font-weight: bold;
  margin-right: 3px;
}
@media (max-width: 480px) {
  .add-company-form .asterisk {
    position: absolute;
    margin-left: -10px;
  }
}
@media (max-width: 600px) {
  .add-company-form .line {
    margin-bottom: 0;
  }
  .add-company-form .cell-title {
    display: block;
    width: auto;
    margin-bottom: 3px;
    text-align: left;
  }
  .add-company-form .cell-value {
    margin-bottom: 10px;
    display: block;
    width: auto;
  }
}
.catalogue-item h1,
.catalogue-item .h1 {
  margin-bottom: 10px;
}
.catalogue-item .item-description .item-country {
  font-size: 20px;
  margin-bottom: 10px;
}
.catalogue-item .item-description .item-address {
  margin-bottom: 10px;
}
.catalogue-item .item-description .item-phone {
  margin-bottom: 10px;
}
.catalogue-item .item-description ul {
  padding: 0;
  margin: 10px 0 10px 20px;
}
.catalogue-item .item-description ul li {
  margin-bottom: 10px;
}
.catalogue-item .item-screen {
  float: right;
  margin: 0 0 10px 20px;
}
.catalogue-item .item-screen-mobile {
    display: none;
}
@media (max-width: 700px) {
  .catalogue-item .item-screen {
    float: none;
    margin: 0;
  }
  .catalogue-item .item-screen .item-image {
    display: none;
  }
    .catalogue-item .item-screen-mobile {
        display: block;
    }
}
.catalogue-item .item-views {
  text-align: right;
  font-size: 12px;
}
@media (max-width: 700px) {
  .catalogue-item .item-views {
    text-align: left;
    margin-bottom: 10px;
  }
}
.catalogue-item:after {
  content: '';
  display: table;
  clear: both;
}
/*	stat	*/
.page-stat .content-box {
  padding-right: 0;
}
.select {
  height: 30px;
  border: 1px solid var(--border);
  background: none;
  -webkit-border-radius: 3px;
          border-radius: 3px;
}
.select select {
  border: none;
  display: block;
  width: 100% !important;
  height: 100%;
  padding: 5px 10px;
  cursor: pointer;
}
.views-table {
  display: table;
  table-layout: auto;
}
.views-table .item {
  display: table-row;
}
.views-table .item-header {
  font-weight: bold;
}
.views-table .item-header .cell {
  border-bottom: 1px solid var(--color-gray-400);
  padding-bottom: 10px;
}
.views-table .item-header .cell-address {
  text-align: center;
}
.views-table .item:not(.item-header):hover .cell {
  background: var(--color-gray-200);
  cursor: pointer;
}
.views-table .cell {
  vertical-align: middle;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-gray-200);
}
.views-table .cell-title {
  width: 30%;
}
.views-table .cell-title .table {
  table-layout: fixed;
}
.views-table .cell-title .table .cell {
  border-bottom: none;
}
.views-table .cell-photo {
  width: 120px;
  padding-right: 10px;
  padding-left: 10px;
}
.views-table .cell-photo img {
  max-width: 100%;
  border: 1px solid var(--color-gray-400);
}
.views-table .cell-format {
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  width: 80px;
}
.views-table .cell-city {
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  width: 120px;
}
.views-table .cell-views {
  text-align: center;
  padding-left: 5px;
  width: 120px;
}
.views-table .cell-title-mobile {
  display: block;
  font-style: italic;
  color: var(--color-gray-400);
  font-size: 12px;
  margin-bottom: 3px;
}
@media (min-width: 600px) {
  .views-table .cell-title-mobile {
    display: none;
  }
}
@media (max-width: 600px) {
  .views-table .cell {
    border-bottom: none;
  }
  .views-table .item {
    display: block;
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid var(--color-gray-400);
  }
  .views-table .item:after {
    clear: both;
    content: '';
    display: block;
  }
  .views-table .item-header {
    display: none;
  }
  .views-table .item:not(.item-header):hover .cell {
    background: none;
  }
  .views-table .cell {
    padding-top: 0;
  }
  .views-table .cell-title {
    display: block;
    width: auto;
    padding-bottom: 5px;
  }
  .views-table .cell-title .cell {
    padding-bottom: 0;
  }
  .views-table .cell-format {
    width: 100px;
    display: block;
    float: left;
  }
  .views-table .cell-photo {
    padding-left: 0;
  }
  .views-table .cell-city {
    width: 100px;
    display: block;
    float: left;
  }
  .views-table .cell-address {
    display: block;
    width: -webkit-calc(100% - 200px);
    width: calc(100% - 200px);
    float: left;
  }
  .views-table .cell-views {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    width: auto;
  }
}
@media (max-width: 360px) {
  .views-table .cell-address {
    float: none;
    width: auto;
    clear: both;
  }
  .views-table .cell-format,
  .views-table .cell-city {
    display: inline;
    width: 50%;
    text-align: left;
    padding-left: 0;
  }
  .views-table .cell-format .cell-title-mobile,
  .views-table .cell-city .cell-title-mobile {
    display: inline;
  }
}
/*	boards	*/
.page-boards .content-box {
  padding-right: 0;
}
.boards-list .item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(102, 102, 102, 0.3);
}
.boards-list .item-link {
  display: table;
  text-decoration: none;
  table-layout: fixed;
  width: 100%;
  color: var(--color-gray-900);
}
.boards-list .item-map {
  height: 0;
  overflow: hidden;
  -webkit-transition: all ease .2s;
  transition: all ease .2s;
  opacity: 0;
  background: 50% 50% no-repeat;
  background-size: cover;
}
.boards-list .item-map.active {
  opacity: 1;
  min-height: 200px;
}
.boards-list .item-map img {
  display: none;
}
.boards-list .item-image {
  display: table-cell;
  width: 30%;
  padding-right: 15px;
  vertical-align: top;
  padding-bottom: 20px;
}
.boards-list .item-image img {
  display: block;
  max-width: 100%;
  border: 1px solid rgba(102, 102, 102, 0.3);
}
.boards-list .item-cost {
  font-weight: bold;
  float: right;
  color: var(--color-green-600);
}
.boards-list .item-type {
  margin-bottom: .5em;
}
.boards-list .item-info {
  display: table-cell;
  font-size: 1.2em;
  vertical-align: middle;
  padding-bottom: 20px;
}
.boards-list .item-number {
  color: var(--link);
  margin-bottom: .5em;
}
.boards-list .item-number:hover {
  color: var(--color-red-600);
}
.boards-list .item-city {
  color: var(--color-gray-600);
  font-size: 1em;
  margin-bottom: .5em;
}
.boards-list .item-city b {
  font-style: italic;
}
.boards-list .item-opportunity {
  margin-bottom: .5em;
  color: var(--color-gray-600);
}
.boards-list .item-opportunity b {
  color: var(--color-gray-900);
}
.boards-list .item .icon_map,
.boards-list .item .icon_light,
.boards-list .item .icon_light-off {
  font-size: inherit;
  line-height: 1;
  vertical-align: -2px;
}
@media (max-width: 767px) {
  .boards-list .item-image {
    width: 200px;
  }
  .boards-list .item-info {
    font-size: 1em;
  }
  .boards-list .item .icon_map,
  .boards-list .item .icon_light,
  .boards-list .item .icon_light-off {
    vertical-align: -3px;
  }
}
@media (max-width: 480px) {
  .boards-list .item-image {
    width: 60%;
    display: block;
    float: left;
    padding-bottom: 5px;
    padding-right: 5px;
  }
  .boards-list .item-info {
    font-size: .85em;
    display: inline;
  }
  .boards-list .item-address {
    clear: both;
    margin-bottom: 10px;
  }
  .boards-list .item .icon_map,
  .boards-list .item .icon_light,
  .boards-list .item .icon_light-off {
    vertical-align: -4px;
  }
}
.boards-filters-box {
  margin-bottom: 10px;
  position: relative;
  height: 40px;
}
.boards-filters-box .table {
  table-layout: auto;
  margin-bottom: 10px;
  width: -webkit-calc(50% - 10px);
  width: calc(50% - 10px);
}
.boards-filters-box .table .cell:last-child {
  width: 90px;
  padding-left: 10px;
}
.boards-filters-box .table-city {
  float: left;
}
.boards-filters-box .table-address {
  float: right;
}
.boards-filters-box .table-address button {
  position: absolute;
  border: none;
  width: 30px;
  text-align: center;
  top: 1px;
  bottom: 1px;
  right: 1px;
  -webkit-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}
.boards-filters-box .table-address input,
.boards-filters-box .table-address .select select {
  padding-right: 35px;
}
@media (max-width: 600px) {
  .boards-filters-box {
    height: 85px;
  }
  .boards-filters-box .table {
    width: 100%;
    float: none;
  }
}
.full-map {
  height: -webkit-calc(100vh - 90px);
  height: calc(100vh - 90px);
  display: none;
  position: relative;
}
.full-map .map {
  height: 100%;
}
.full-map .boardInfo {
  background: var(--color-white);
  -webkit-box-shadow: 0 -5px 10px 0 rgba(0, 0, 0, 0.3);
          box-shadow: 0 -5px 10px 0 rgba(0, 0, 0, 0.3);
  padding: 10px;
  position: absolute;
  left: -15px;
  bottom: 0;
  right: -15px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.full-map .boardInfo .item-close {
  font-size: 0;
  float: right;
  display: inline-block;
  margin: -5px 0 3px;
}
.full-map .boardInfo .item-close:before {
  content: '×';
  font-size: 20px;
  padding: 3px 5px;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
}
.full-map .boardInfo .item-image {
  width: 50%;
  float: left;
  max-width: 200px;
  margin: 0 10px 5px 0;
}
.full-map .boardInfo .item-cost {
  color: var(--color-green-600);
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 5px;
}
.full-map .boardInfo .item-number {
  margin-bottom: 5px;
}
.full-map .boardInfo .item-type {
  margin-bottom: 5px;
}
.full-map .boardInfo .item-type [class*='icon_'] {
  vertical-align: -3px;
}
.full-map .boardInfo .item-opportunity {
  margin-bottom: 5px;
}
@media (min-width: 1000px) {
  .full-map .boardInfo {
    left: 0;
    right: 0;
  }
}
.boards-filters {
  padding: 0;
  text-align: left;
}
.boards-filters.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 8px 10px 0 50px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
}
.boards-filters.fixed .table {
  margin-bottom: 8px;
}
@media (min-width: 1330px) {
  .boards-filters.fixed .container {
    padding: 0 15px;
  }
}
.boards-filters.no-mobile-menu {
  padding: 8px 15px;
}
.boards-filters .container {
  padding: 0;
}
.filters {
  display: none;
}
.filters .filter-section {
  margin-bottom: 15px;
  font-size: 0;
  border-bottom: 1px solid rgba(102, 102, 102, 0.2);
  padding-bottom: 10px;
}
.filters .filter-section .item-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
.filters .filter-item {
  display: inline-block;
  width: 33.33%;
  vertical-align: top;
  margin: 0 0 5px 0;
  font-size: 14px;
}
@media (max-width: 480px) {
  .filters .filter-item {
    width: 50%;
    font-size: 13px;
  }
}
.filters .period {
  font-size: 14px;
}
.filters .period select {
  font-size: 13px;
}
.filters .period .table {
  margin: 0 0 10px;
  width: 100%;
  table-layout: auto;
}
.filters .period .table .cell-caption {
  width: 85px;
  padding-right: 10px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .filters .period .table .cell-caption {
    width: 74px;
  }
}
.filters .period .table .cell-to {
  text-align: center;
  width: 30px;
}
@media (max-width: 480px) {
  .filters .period {
    font-size: 13px;
  }
  .filters .period select {
    font-size: 12px;
  }
}
.filters hr {
  margin-bottom: 10px;
}
.filters .item-counts {
  font-size: .75em;
  color: rgba(102, 102, 102, 0.8);
}
.filters input[type="checkbox"],
.filters .select select[type="checkbox"] {
  float: left;
  margin: 2px 3px 0 0;
}
@media (max-width: 480px) {
  .filters input[type="checkbox"],
  .filters .select select[type="checkbox"] {
    margin: -1px 3px 0 0;
  }
}
.board {
  display: none;
}
.board .item-info-city {
  font-size: 1.2em;
  font-weight: bold;
}
.board .item-info .check-item {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 10px;
  white-space: nowrap;
  color: var(--color-green-600);
}
.board .item-info .check-item input[type="checkbox"],
.board .item-info .check-item .select select[type="checkbox"] {
  vertical-align: middle;
  margin: -1px 3px 0 0;
}
.board .item-info .check-item .btn {
  width: 250px;
  text-align: center;
}
@media (max-width: 480px) {
  .board .item-info .check-item .btn {
    width: auto;
    display: block;
  }
}
.board .item-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}
.board .item-cost {
  margin-bottom: 15px;
}
.board .item-cost b {
  color: var(--color-green-600);
}
.board .item-description {
  table-layout: auto;
  padding: 0;
  width: 100%;
  border: none;
  border-spacing: 0;
  font-size: 13px;
  background: rgba(102, 102, 102, 0.2);
  margin-bottom: 20px;
}
.board .item-description tr td {
  padding: 3px 5px;
  border: none;
}
.board .item-description tr td:first-child {
  width: 60px;
  font-size: .85em;
}
.board .item-image {
  margin-bottom: 20px;
  position: relative;
}
.board .item-image img {
  max-width: 100%;
  border: 1px solid rgba(102, 102, 102, 0.2);
  display: block;
}
.board .item-image-info {
  position: absolute;
  bottom: 1px;
  right: 1px;
  left: 1px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  padding: 5px;
  font-size: 13px;
}
.board .table-page {
  margin-bottom: 0;
  width: 100%;
  table-layout: fixed;
  display: table;
}
.board .table-page > .cell {
  width: 50%;
  vertical-align: top;
}
.board .table-page > .cell:first-of-type {
  padding-right: 10px;
}
@media (max-width: 767px) {
  .board .table-page > .cell:first-of-type {
    padding-right: 5px;
  }
}
.board .table-page > .cell:last-of-type {
  padding-left: 10px;
}
@media (max-width: 767px) {
  .board .table-page > .cell:last-of-type {
    padding-left: 5px;
  }
}
@media (max-width: 480px) {
  .board .table-page > .cell {
    display: block;
    width: auto;
  }
  .board .table-page > .cell:first-of-type {
    padding-right: 0;
  }
  .board .table-page > .cell:last-of-type {
    padding-left: 0;
  }
}
.occupation {
  table-layout: fixed;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
  border: 1px solid rgba(102, 102, 102, 0.2);
  margin-bottom: 10px;
}
.occupation td {
  padding: 2px 3px;
  border-right: 1px solid rgba(102, 102, 102, 0.2);
}
.occupation .line-years td {
  border-bottom: 1px dotted rgba(102, 102, 102, 0.2);
}
.occupation .line-month td {
  border-bottom: 1px solid rgba(102, 102, 102, 0.2);
  background: rgba(102, 102, 102, 0.05);
}
.occupation .item-occupation-free {
  background: var(--occ-free);
}
.occupation .item-occupation-reserve {
  background: var(--occ-reserved);
}
.occupation .item-occupation-sold {
  background: var(--occ-sold);
}
.occupation .item-occupation-undefined {
  background: var(--occ-unknown);
}
@media (max-width: 767px) {
  .occupation {
    font-size: 10px;
  }
  .occupation td {
    padding: 1px;
  }
}
@media (min-width: 481px) and (max-width: 600px) {
  .occupation {
    font-size: 9px;
  }
  .occupation td {
    padding: 0;
  }
}
.occupation-legend {
  font-size: 13px;
  margin-bottom: 20px;
}
.occupation-legend [class*="item-occupation"] {
  display: inline-block;
  white-space: nowrap;
}
.occupation-legend [class*="item-occupation"]:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(102, 102, 102, 0.3);
  float: left;
  margin: 1px 3px 0 0;
}
.occupation-legend .item-occupation-free:before {
  background: var(--occ-free);
}
.occupation-legend .item-occupation-reserve:before {
  background: var(--occ-reserved);
}
.occupation-legend .item-occupation-sold:before {
  background: var(--occ-sold);
}
.occupation-legend .item-occupation-undefined:before {
  background: var(--occ-unknown);
}
@media (max-width: 767px) {
  .occupation-legend {
    font-size: 11px;
  }
  .occupation-legend [class*="item-occupation"] {
    margin: 0 5px 5px 0;
  }
  .occupation-legend [class*="item-occupation"]:before {
    margin: 0 3px 0 0;
  }
}
/*	board	*/
.page-board .content-box {
  padding-right: 0;
}
.page-board .board {
  display: block;
}
.page-board .board .btn-check-plane {
  white-space: nowrap;
  margin-bottom: 10px;
  display: inline-block;
}
.page-board .board .btn-check-plane input,
.page-board .board .btn-check-plane .select select {
  vertical-align: -2px;
}
.page-board .board .item-title {
  margin-right: 15px;
}
/* шапка плоскости: заявка и цена - справа */
.page-board .board .item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 15px;
}
.page-board .board .item-head-r {
  text-align: right;
}
@media (max-width: 480px) {
  .page-board .board .item-head-r {
    flex: 1 1 100%;
    text-align: left;
  }
}
.page-board .board .item-title [class*="icon_"] {
  vertical-align: -2px;
}
.board-info {
  border: 1px solid var(--color-yellow-200);
  -webkit-border-radius: 3px;
          border-radius: 3px;
  padding: 5px;
  background: var(--color-yellow-50);
}
.board-info h1,
.board-info .h1 {
  font-size: 18px;
}
/*	partners */
.page-partners .content-box {
  padding-right: 0;
}
.partners-list {
  font-size: 0;
  margin: 0 -10px;
}
.partners-list .item-section {
  border-bottom: 3px double var(--color-gray-700);
  padding-bottom: 3px;
  text-align: right;
  margin: 20px 10px;
}
.partners-list .item-section .item-region {
  background: var(--color-gray-700);
  padding: 3px 5px;
  color: var(--color-white);
  font-size: 16px;
}
.partners-list .item {
  display: inline-block;
  font-size: 16px;
  margin: 0 10px 30px;
  width: -webkit-calc(50% - 20px);
  width: calc(50% - 20px);
  vertical-align: top;
}
.partners-list .item:after {
  content: '';
  display: block;
  clear: both;
}
.partners-list .item-title {
  font-size: 24px;
  margin-bottom: 10px;
}
.partners-list .item-counts {
  color: var(--color-gray-600);
  font-size: 11px;
}
.partners-list .item-link {
  margin-bottom: 10px;
}
.partners-list .item-image {
  border: 1px solid var(--color-gray-300);
  position: relative;
  width: 50%;
  float: left;
}
.partners-list .item-image img {
  max-width: 100%;
}
.partners-list .item-image:after {
  content: '';
  display: block;
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 40px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(var(--color-white)));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
}
.partners-list .item-info {
  float: right;
  width: 50%;
  padding: 0 0 0 15px;
}
@media (max-width: 767px) {
  .partners-list .item {
    border: 1px solid var(--color-gray-300);
  }
  .partners-list .item-link {
    padding: 10px 20px;
  }
  .partners-list .item-title {
    font-size: 18px;
  }
  .partners-list .item-image {
    width: auto;
    float: none;
    margin-bottom: 20px;
    border: none;
  }
  .partners-list .item-image img {
    display: block;
    width: 100%;
  }
  .partners-list .item-image:after {
    left: 0;
    right: 0;
  }
  .partners-list .item-info {
    width: auto;
    float: none;
    padding-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .partners-list .item {
    border: 1px solid var(--color-gray-300);
    display: block;
    width: auto;
  }
  .partners-list .item-link {
    padding: 10px 20px;
  }
  .partners-list .item-image {
    width: auto;
    float: none;
    margin-bottom: 20px;
    border: none;
  }
  .partners-list .item-image img {
    display: block;
    width: 100%;
  }
  .partners-list .item-image:after {
    display: none;
  }
  .partners-list .item-info {
    width: auto;
    float: none;
    padding-bottom: 10px;
  }
}
.partner-item {
  margin-bottom: 30px;
}
.partner-item:after {
  content: '';
  display: block;
  clear: both;
}
.partner-item .item-image {
  display: inline-block;
  width: 50%;
  max-width: 250px;
  float: left;
  position: relative;
  border: 1px solid var(--color-gray-300);
}
.partner-item .item-image:after {
  content: '';
  display: block;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 40px;
  position: absolute;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(var(--color-white)));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
}
.partner-item .item-info {
  padding-left: 20px;
  overflow: hidden;
}
.partner-item .item-city,
.partner-item .item-address {
  font-weight: bold;
  font-size: 18px;
}
.partner-item .item-address {
  margin-bottom: 5px;
}
.partner-item .item-phone {
  margin-bottom: 5px;
  font-size: 16px;
}
.partner-item .item-phone a {
  text-decoration: none;
}
.partner-item .item-site {
  margin-bottom: 5px;
}
.partner-item .item-base {
  margin-bottom: 10px;
}
.partner-item .additional-info {
  font-size: 12px;
  line-height: 1.4;
}
.partner-item .additional-info p {
  margin: 0 0 5px;
}
.partner-item .item-description {
  margin-bottom: 30px;
}
@media (max-width: 480px) {
  .partner-item .item-image {
    width: 250px;
    max-width: 100%;
    margin: 0 auto 20px;
    display: block;
    float: none;
  }
  .partner-item .item-info {
    padding-left: 0;
  }
}
/*	ads	*/
.page-ads .ads-item-box {
  padding-right: 0;
}
.page-ads .ads-item-box .page-crumbs {
  font-size: 18px;
  margin-bottom: 10px;
}
.page-ads .ads-item-box .btn-add-ad {
  margin: -4px 0 0 10px;
}
@media (max-width: 480px) {
  .page-ads .ads-item-box .btn-add-ad {
    margin: 0 auto 20px;
    width: 230px;
  }
}
.ads-item .item-title {
  line-height: 1.3;
  margin-bottom: 20px;
}
.ads-item .item-title h1 {
  display: inline;
  vertical-align: middle;
  margin-right: 10px;
}
.ads-item .item-number {
  display: inline-block;
  border: 1px solid var(--color-yellow-400);
  background: var(--color-yellow-200);
  padding: 3px 10px;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  vertical-align: -2px;
}
.ads-item .table-info {
  width: 100%;
  table-layout: fixed;
  font-size: 0;
}
.ads-item .table-info .cell {
  vertical-align: top;
  font-size: 14px;
  width: 50%;
}
.ads-item .table-info .cell-images {
  padding: 0 10px 0 20px;
}
.ads-item .table-info h2 {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.ads-item .table-info p {
  margin: 0 0 5px;
}
@media (min-width: 481px) and (max-width: 767px) {
  .ads-item .table-info .img-gallery .item-current {
    height: -webkit-calc((100vw / 2 - 30px)*4/6 );
    height: calc((100vw / 2 - 30px)*4/6 );
  }
  .ads-item .table-info .img-gallery .item-thumbs .item {
    height: -webkit-calc((100vw / 2 - 30px)*4/6/4 );
    height: calc((100vw / 2 - 30px)*4/6/4 );
  }
}
@media (max-width: 480px) {
  .ads-item .table-info .cell {
    display: block;
    width: auto;
    margin: 0 0 20px;
    padding: 0;
  }
  .ads-item .table-info .img-gallery {
    width: auto;
  }
  .ads-item .table-info .img-gallery .item-current {
    height: -webkit-calc((100vw - 30px)*4/6 );
    height: calc((100vw - 30px)*4/6 );
  }
  .ads-item .table-info .img-gallery .item-thumbs .item {
    height: -webkit-calc((100vw - 30px)*4/6/4 );
    height: calc((100vw - 30px)*4/6/4 );
  }
}
.ads-item .item-stats {
  margin-bottom: 10px;
}
.ads-item .item-user-feedback {
  margin-bottom: 20px;
}
.ads-item .item-user-feedback p {
  margin: 0 0 10px;
}
.ads-item .item-cost {
  border: 1px solid var(--color-gray-400);
  background: var(--color-gray-50);
  padding: 10px;
  -webkit-border-radius: 5px;
          border-radius: 5px;
  margin-bottom: 15px;
}
.ads-item .item-cost .item-city {
  margin-top: 5px;
  font-size: 12px;
}
.ads-item .static-url {
  color: var(--color-gray-600);
}
.img-gallery {
  width: 400px;
  max-width: 100%;
  margin-bottom: 20px;
}
.img-gallery .item-current {
  border: 1px solid var(--color-gray-300);
  -webkit-border-radius: 5px;
          border-radius: 5px;
  margin-bottom: 10px;
  height: 300px;
  background: 50% 50% no-repeat;
  background-size: cover;
}
.img-gallery .item-current img {
  display: none;
}
.img-gallery .item-thumbs {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-spacing: 3px;
}
.img-gallery .item-thumbs .item {
  height: 80px;
  display: table-cell;
  background: no-repeat 50% 50%;
  background-size: cover;
  border: 1px solid var(--color-gray-300);
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  cursor: pointer;
}
.img-gallery .item-thumbs .item img {
  display: none;
}
.img-gallery .item-thumbs .item.active {
  -webkit-box-shadow: 0 0 15px rgba(65, 100, 204, 0.8);
          box-shadow: 0 0 15px rgba(65, 100, 204, 0.8);
}
[class*="icon_"] {
  vertical-align: baseline;
}
[class*="icon_"]:before {
  font-size: 0;
  line-height: normal;
  content: '';
  width: 16px;
  height: 16px;
  margin: 0 .1em;
  display: inline-block;
  vertical-align: baseline;
  background: 50% 50% no-repeat;
}
.icon_map:before {
  background-image: url("../img/ico/map-inf.png");
}
/* освещение - свои иконки bb-light / bb-light-off маской цвета темы (пути - из js/compile/icons) */
.icon_light:before, .icon_light-off:before {
  -webkit-mask: var(--ui-mask) center / 16px no-repeat;
  mask: var(--ui-mask) center / 16px no-repeat;
}
.icon_light:before {
  background: var(--primary);
  --ui-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0-3.5 10.9c.6.4 1 1 1 1.7V17h5v-1.4c0-.7.4-1.3 1-1.7A6 6 0 0 0 12 3z' fill='%23000'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}
.icon_light-off:before {
  background: var(--muted-foreground);
  --ui-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0-3.5 10.9c.6.4 1 1 1 1.7V17h5v-1.4c0-.7.4-1.3 1-1.7A6 6 0 0 0 12 3z'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}
.leaflet-control-zoomslider-body{
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

.ui-timedalert{
	box-sizing: content-box;
}
/*
 * Страницы, свёрстанные под старый каркас (index.php legacy, index_adaptive.xsl .page-legacy, RF_003 TASK_002):
 * колонки .lg-cols - на широком основная (от 700, тянется) и боковая (280) рядом, на узком столбиком, основная первой.
 */
/* старые шаблоны строят колонки на float и не закрывают их - контейнер закрывает сам */
.page-legacy {
  display: flow-root;
  padding-top: 20px;
}
/* картинки и встраиваемые блоки (в т.ч. HTML страниц партнёра из админки) - не шире экрана */
.page-legacy img,
.page-legacy iframe {
  max-width: 100%;
}
.page-legacy img {
  height: auto;
}
.lg-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.lg-main {
  order: 1;
  flex: 1 1 700px;
  min-width: 0;
}
.lg-side {
  order: 2;
  flex: 0 0 280px;
  margin-left: 20px;
}
@media (max-width: 991px) {
  .lg-cols {
    flex-direction: column;
    align-items: stretch;
  }
  .lg-main,
  .lg-side {
    flex: none;
    margin-left: 0;
  }
  .lg-side {
    margin-top: 20px;
  }
}
/* плитки (вместо таблицы с ячейками фиксированной ширины): переносятся по строкам */
.lg-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/**
 * Сайт партнёра (RF_003 TASK_004): хидер и футер из настроек сайта и классы старого каркаса (.head, .navi-top,
 * .navi-title, .navi, .foot-line, .foot, .foot-content) - под них написан CSS партнёров. Здесь - чтобы эти классы
 * не ломали адаптивную вёрстку: отступы и ширины из themes/business/css/adaptive/global.css и css/global.css.
 */
.head.partner-head {
  margin: 0;
  padding: 0;
}
/* .head .width-1000 есть в CSS партнёров (фон, высота) - класс оставлен, ширина - каркаса */
.partner-head .container.width-1000 {
  width: auto;
}
/* HTML хидера и футера из админки свёрстан под 1000px: на узком экране не влезший блок прокручивается сам, страница -
   нет; таблицы не сжимаем (ячейки шапок-таблиц сжимаются до буквы). overflow-x: auto включает и вертикальную
   прокрутку: блоку с высотой из CSS партнёра (.navi-title) хватало 3px зазора под картинкой для полосы - по вертикали
   не прокручиваем */
.partner-title,
.partner-footer {
  overflow-x: auto;
  overflow-y: hidden;
}
.partner-title img,
.partner-footer img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
/* при меню-бургере (fixed слева вверху) хидер - из-под него */
body:has(.menu.menu-mobile) .partner-title {
  padding-left: 45px;
}
/* линия над подвалом - .foot-line (цвет у партнёров свой), у подвала своей нет */
.container:has(> .foot-line) {
  margin-top: 30px;
}
.footer.foot.partner-foot {
  width: auto;
  margin-top: 0;
  border-top: 0;
}

/**
 * Оформление сайта партнёра (Partner::brand, RF_003 TASK_004): шапка .pt-header и подвал .pt-footer по настройкам,
 * цвета - переменные --pt-* (index_adaptive.xsl задаёт заданные партнёром), наши разделы - в цветах партнёра.
 * Классы .pt-* - для своего CSS партнёра (настройки сайта).
 */
:root {
  --pt-header: var(--color-white);
  --pt-headerText: var(--color-gray-900);
  --pt-accent: var(--color-green-600);
  --pt-accentText: var(--color-white);
  --pt-link: var(--color-blue-700);
  --pt-footer: var(--color-gray-100);
  --pt-footerText: var(--color-gray-800);
  --pt-font: Arial, sans-serif;
  --pt-radius-header: 0px;
  --pt-radius-button: 4px;
  --pt-logo-height: 40px;
}
body:has(.pt-header) {
  font-family: var(--pt-font);
}
.pt-header {
  background: var(--pt-header);
  color: var(--pt-headerText);
  border-radius: 0 0 var(--pt-radius-header) var(--pt-radius-header);
  position: relative;
  /* ниже плана по карте (#map-fs-container, z-index 800): он на весь экран поверх страницы */
  z-index: 799;
}
.pt-header-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.pt-header a {
  color: inherit;
  text-decoration: none;
}
.pt-logo {
  display: flex;
  align-items: center;
  flex: none;
}
/* широкие логотипы из старых настроек (картинка заголовка, до 500px) - не мельче, чем были */
.pt-logo img {
  height: var(--pt-logo-height);
  width: auto;
  max-width: 360px;
  object-fit: contain;
}
.pt-logo-text {
  font-size: 22px;
  font-weight: 600;
}
.pt-tagline {
  font-size: 13px;
  line-height: 1.3;
  max-width: 200px;
  padding-left: 14px;
  border-left: 1px solid currentColor;
  opacity: .85;
}
.pt-drawer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.pt-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pt-nav li a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  opacity: .85;
  border-bottom: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.pt-nav li a:hover {
  opacity: 1;
  color: inherit;
}
.pt-nav li.current a {
  opacity: 1;
  font-weight: 600;
  border-bottom-color: var(--pt-accent);
}
.pt-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.pt-social {
  display: inline-flex;
  opacity: .85;
}
.pt-social:hover {
  opacity: 1;
}
.pt-phone {
  font-weight: 600;
  font-size: 15px;
}
.pt-auth .auth-buttons {
  float: none;
  font-size: 12px;
  opacity: .7;
}
.pt-auth .auth-buttons a {
  color: inherit;
}
.pt-auth .auth-buttons [class^="icon-"] {
  display: none;
}
.pt-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.pt-burger span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
/* узкий: логотип и бургер, меню и контакты - выпадающей панелью */
@media (max-width: 991px) {
  /* строка: логотип | подпись (ужимается) | бургер; ниже - панель меню на всю ширину */
  .pt-header-in {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0 12px;
    min-height: 60px;
  }
  .pt-burger {
    grid-column: 3;
  }
  .pt-drawer {
    grid-column: 1 / -1;
    margin-left: 0;
  }
  /* вход - ссылками в панели (в каркасе на узком - значок справа вверху) */
  .pt-auth .auth-buttons {
    position: static;
  }
  .pt-auth .auth-buttons .item-text {
    display: inline;
  }
  /* логотип, подпись и бургер - одной строкой, подпись ужимается */
  .pt-tagline {
    justify-self: start;
    font-size: 11px;
    padding-left: 10px;
  }
  /* не выше 40px: широкий логотип ужимается по ширине, и высокая шапка вокруг мелкой картинки ни к чему
     (height: auto не годится - SVG без размеров во flex схлопывается в 0) */
  .pt-logo img {
    max-width: 150px;
    height: min(var(--pt-logo-height), 40px);
  }
  .pt-burger {
    display: block;
  }
  .pt-drawer {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0 12px;
  }
  .pt-header.open .pt-drawer {
    display: flex;
  }
  .pt-header.open .pt-burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .pt-header.open .pt-burger span:nth-child(2) {
    opacity: 0;
  }
  .pt-header.open .pt-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .pt-nav ul {
    flex-direction: column;
  }
  .pt-nav li a {
    font-size: 18px;
  }
}
.pt-footer {
  margin-top: 40px;
  padding: 32px 0 20px;
  background: var(--pt-footer);
  color: var(--pt-footerText);
  font-size: 14px;
}
.pt-footer a {
  color: inherit;
  text-decoration: none;
}
.pt-footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
}
.pt-footer-about {
  max-width: 360px;
}
.pt-footer-logo {
  height: var(--pt-logo-height);
  width: auto;
}
.pt-footer-tagline,
.pt-footer-text {
  margin-top: 10px;
  opacity: .8;
  white-space: pre-line;
}
.pt-footer .pt-nav ul {
  flex-direction: column;
}
.pt-footer .pt-nav li a {
  padding: 3px 0;
  font-size: 14px;
  border: 0;
}
.pt-footer .pt-nav li.current a {
  font-weight: normal;
}
.pt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 20%, transparent);
  font-size: 12px;
  opacity: .7;
}

/* наши разделы - в цветах партнёра: ссылки (кнопки и переключатели - токенами, css/controls.css) */
body:has(.pt-header) .page a:not(.ui-button):not([class*="ui-"]):not(.btn) {
  color: var(--pt-link);
}
/* зелёные кнопки с цветом в style (вибрати площину в карточке, заявка в плане по карте) - в акцент */
body:has(.pt-header) [style*="background:#2aa900"] {
  background: var(--pt-accent) !important;
  border-color: var(--pt-accent) !important;
  border-radius: var(--pt-radius-button);
}
body:has(.pt-header) [style*="background:#2aa900"] :is(a, span, .white) {
  color: var(--pt-accentText) !important;
}
/* то же классами (цвет - --primary, он из акцента): скругление и текст внутри */
body:has(.pt-header) .bg-primary {
  border-radius: var(--pt-radius-button);
}
body:has(.pt-header) .bg-primary :is(a, span, .white) {
  color: var(--primary-foreground) !important;
}
/* «замовити» над таблицей (.dot.green) - цветом акцента */
body:has(.pt-header) .dot.green {
  color: var(--pt-accent) !important;
}
/* всплывающие формы (заявка, вход): ссылки - цветом ссылок (кнопки - токенами, css/controls.css) */
body:has(.pt-header) .popup-layout a:not(.btn) {
  color: var(--pt-link);
}
/* Таблица (jqGrid) и протяжка карты (backlog п. 11): пока карта движется, браузер каждый кадр раскладывает страницу на
   слои (Layerize), и таблица на 500 строк там - основная доля.
   - тело таблицы с непрозрачным фоном: прозрачное прокручиваемое тело Chrome раскладывает вместе со страницей
     (светлое оформление партнёра, 500 строк: 4,2 с за протяжку → 0,16 с);
   - ячейки без своей обрезки (overflow:hidden у каждой - тысячи обрезок): длинный текст (тип, адрес) закрывают
     следующие ячейки - position:relative рисует каждую целиком по порядку, фон - строки (799: 42 → 28 мс);
     .ui-jqgrid-btable - перебить ui.jqgrid.css, он подключается позже;
   - после последнего столбца закрывать некому: contain:paint обрезает по краю таблицы и не раздувает
     scrollWidth bdiv (иначе горизонтальный скролл «пустой», заголовки не едут). */
.ui-jqgrid .ui-jqgrid-bdiv {
  background: var(--card);
}
.ui-jqgrid .ui-jqgrid-btable {
  contain: paint;
}
/* поля в jqGrid (тулбар поиска, пейджер, правка в ячейке) - компактные, вопреки общим input[type=text] (30px)
   каркаса; так же в публичной базе (boards-one.css, ap-view.css - там свои, через #tab-grid) */
.ui-jqgrid input[type="text"] {
  height: auto;
  padding: 1px 2px;
  border: 1px solid var(--input);
  border-radius: 0;
  font-size: 11px;
  transition: none;
  background-color: var(--field);
  color: var(--foreground);
}
/* тулбар поиска: поле высотой с селекты, по центру ячейки (обёртка height:100% в style jqGrid) */
.ui-jqgrid .ui-search-toolbar input[type="text"],
.ui-jqgrid .ui-search-toolbar select {
  box-sizing: border-box;
  height: 20px;
  margin: 0;
  vertical-align: middle;
}
.ui-jqgrid .ui-search-toolbar input[type="text"] {
  padding: 0 3px !important;
}
.ui-jqgrid .ui-search-toolbar th > div {
  display: flex;
  align-items: center;
}
/* окно «Экспорт в Excel» (planes/, site/, adprog/view/ boards.grid.js): поля - сеткой в 4 колонки,
   флажок и подпись по центру строки */
.xls-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 8px;
  margin-bottom: 12px;
}
.xls-fields > div {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.xls-fields input[type="checkbox"] {
  flex: none;
  margin: 0;
}
.xls-fields label {
  overflow: hidden;
  text-overflow: ellipsis;
}
/* гриды кабинета и просмотра кампании: заголовки и строка поиска - с отступом по вертикали, иначе слипаются
   (ui.jqgrid.css подключается позже - селекторы с классом страницы) */
.page-cabinet .ui-jqgrid .ui-jqgrid-labels th,
.page-ap-view .ui-jqgrid .ui-jqgrid-labels th {
  padding-top: 4px;
  padding-bottom: 4px;
  vertical-align: middle;
}
.page-cabinet .ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th,
.page-ap-view .ui-jqgrid .ui-jqgrid-htable .ui-search-toolbar th {
  padding-top: 3px;
  padding-bottom: 3px;
  vertical-align: middle;
}
.ui-jqgrid .ui-jqgrid-btable tr.jqgrow td {
  overflow: visible;
  position: relative;
  background: inherit;
}
.fb-page-link {
  margin-top: 30px;
}
.fb-page-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--color-blue-50);
  border-radius: 999px;
  background: var(--color-blue-50);
  color: var(--color-facebook);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.fb-page-link-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-facebook);
  color: var(--color-white);
  transition: background-color .15s, color .15s;
}
.fb-page-link a:hover,
.fb-page-link a:focus-visible {
  background: var(--color-facebook);
  border-color: var(--color-facebook);
  color: var(--color-white);
}
.fb-page-link a:hover .fb-page-link-ico,
.fb-page-link a:focus-visible .fb-page-link-ico {
  background: var(--color-white);
  color: var(--color-facebook);
}
