#Search {
	position: relative;
}

#Search .fix {
	position: fixed;
	top: 0px;
	z-index: 99;
}

#Search .content {
	position: relative;
	display: none;
	padding: 10px;
	text-align: left;
}

#Search .hv {
	width: 1px;
}

#Search .hv::after {
	content: '';
	position: absolute;
	top: 0px;
	width: 1px;
	height: 100%;
	background: #EEE;
}

#Search .grid {
	position: relative;
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-row-gap: 60px;
	grid-auto-flow: dense;
}

#Search .placeholder {
	position: relative;
	width: 100%;
	font-size: inherit;
	text-align: left;
	margin-right: auto;
	padding-left: 20px;
}

#Search .selector {
	position: relative;
	display: none;
	padding: 0px;
	overflow: hidden;
	box-shadow: 0 0 3px 1px #CCC;
	border-radius: 0px 0px 3px 3px;
	background: #FFF;
}

#Search .select {
	position: relative;
	max-height: 180px;
}

#Search .select .hover {
	position: relative;
	cursor: pointer;
}

#Search .select .hover:hover {
	background: #EEE;
}

#Search .select .list {
	position: relative;
}

#Search .select .list_chkbx {
	overflow-x: hidden;
}

#Search .select .option {
	position: relative;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding: 8px 20px;
	cursor: pointer;
	box-sizing: border-box;
}

#Search .extra {
	position: relative;
}

#Search .input {
	position: relative;
	height: 40px;
	cursor: pointer;
	padding: 0px;
}

#Search .segment {
	position: relative;
	box-sizing: border-box;
}

#Search .tagcol {
	color: #999;
	fill: #999;
}

#Search .tagsel {
	color: #57B;
	fill: #57B;
}

#Search .color {
	color: #57B;
	fill: #57B;
}

#Search .segment .arrow {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translate(0px, -50%);
	width: 18px;
	height: 18px;
}

#Search .segment input[type='text'] {
	position: absolute;
	box-sizing: border-box;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
	background: none;
	border: none;
	text-align: center;
}

#Search .segment label {
	position: absolute;
	top: -32px;
	left: 5px;
	font-size: 12px;
}

#Search .segment .finder {
	position: relative;
}

#Search .segment .button {
	background: #69C;
	color: #FFF;
	fill: #FFF;
	border-radius: 5px;
}

#Search .shadow {
	position: relative;
	display: none;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 9px 5px #CCC;
	text-align: left;
	overflow: hidden;
}

#Search .every {
	position: relative;
	color: #999;
	padding: 8px 20px;
	text-align: left;
	margin-right: auto;
	box-sizing: border-box;
	cursor: pointer;
}

#Search .every:hover {
	background: #EEE;
}


.animated_arrow {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translate(0px, -50%);
	width: 12px;
	height: 12px;
}

.animated_arrow .svg {
	transform: rotate(-90deg);
	transition: all 0.5s cubic-bezier(0, .5, .5, 1);
}
.animated_arrow.up .svg  {
	transform: rotate(90deg);
}

/* ////// */
/* SLIDER */
/* ////// */

#Search .ui-slider {
	position: relative;
	background: none;
}

#Search .ui-widget-header {
	position: absolute;
	height: 3px;
}

#Search .ui-slider .ui-state-default {
	border: none;
	border-radius: 50%;
}

#Search .segment .bgover {
	background: none;
}

#Search .segment .bgover:hover {
	background: #EEE;
}

/* ///// */
/* ADMIN */
/* ///// */

#Search .admin {
	vertical-align: top;
	width: 280px;
}

#Search .item input[type="checkbox"] {
	position: absolute;
	cursor: pointer;
	margin: 0;
	padding: 0;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 3;
}

#Search .ui-slider-horizontal {
	height: 0px;
}


/* cards */
/*этот класс формируем динамически*/
._delete_grid_cards {
	position: relative;
	display: grid;
	grid-template-rows: auto;
	grid-gap: 10px 10px;
}

.flex_cards, .flex_cards_preview{
	display: flex;
	flex-wrap: wrap;
	grid-gap: 15px;
}

.cards_container a {
	color: inherit;
	text-decoration: none;
}

.cards_card_pdng {
	padding-left: 20px;
	padding-right: 20px;
}
.cards_card_shadow {
	border: 1px solid #D9DADA;
	border-radius: 2px;
}
.cards_card_dopparam {
	background: #c9dbd7;
}
.cards_card_red_txt {
	color: #ff0000;
}
.cards_card_grey_txt {
	color: #999999;
}
.cards_card_dopparam_pdng {
	padding: 4px;
}
.cards_card_tags_bg {
	background: #c9dbd7;
}

.cards_card_disp_none {
	opacity: 0;
}

.cards_card a {
	text-decoration: none;
    color: inherit;
}
.cards_access_btn {
	padding: 5px 8px;
}
.cards_tags_btn {
	padding: 5px 10px;
}
/* /cards */


.btn_next_box {
	text-align: center;
	padding: 10px 0;
}

.btn_next {
	cursor: pointer;
	text-align: center;
	border: none;
}

@media all and (min-width: 901px) {
	.btn_next {
		width: 250px;
	}
}

@media all and (max-width: 900px) {
	.btn_next {
		width: 100%;
	}

	.btn_next_box {
		margin-left: 5px;
		width: 87vw;
		min-width: 305px;
	}

	.list_grouped_tag{
		top: 50px;
	}
}

@media all and (max-width: 747px) {
	.cards_card{
		width: 87vw !important;
		margin-left: 5px;
		min-width: 305px;
	}
}

/* "показать еще" - только для мобильных */
@media all and (min-width: 901px) {
	.visible_box_find {
		display: block;
	}

	.visible_box_dopparam {display: none;}
}

@media all and (max-width: 900px) {
	.visible_box_find {
		display: none;
	}

	.visible_box_dopparam {display: block;}
}

/* "показать еще" - только для мобильных */


/* вариативные кнопки и слайдеры */
.room_box_0 {
	overflow: hidden;
}

.room_box_4 {
	overflow: hidden;
	height: calc(100% + 2px);
}

.summ_box_0 .right_input,
.area_box_0 .right_input {
	box-shadow: 0 0 0 0px #ddd !important;
	border-left: 1px solid #ddd;
	width: 50%;
}

.summ_box_2 .ui-slider,
.summ_box_3 .ui-slider,
.area_box_2 .ui-slider,
.area_box_3 .ui-slider {
	margin: 0px !important;
}

.summ_slider_box_2 .ui-slider .ui-state-default,
.area_slider_box_2 .ui-slider .ui-state-default {
	border-radius: 0px !important;
}

.summ_slider_box_2 .ui-slider .ui-slider-handle,
.area_slider_box_2 .ui-slider .ui-slider-handle {
	width: 8px !important;
	margin-left: -4px;
}

.summ_box_2 .left_elem,
.area_box_2 .left_elem {
	text-align: left !important;
}

.summ_box_2 .right_elem,
.area_box_2 .right_elem {
	text-align: right !important;
}

.level_box_2 .animated_arrow .svg,
.type_box_2 .animated_arrow .svg,
.bs_box_2 .animated_arrow .svg,
.term_box_2 .animated_arrow .svg,
.code_box_2 .animated_arrow .svg {
	transform: rotate(-90deg) scale(0.60);
}

.level_box_2 .animated_arrow.up .svg{
	transform: rotate(90deg) scale(0.60);
}

.level_box_2 .animated_arrow,
.type_box_2 .animated_arrow,
.bs_box_2 .animated_arrow,
.term_box_2 .animated_arrow,
.code_box_2 .animated_arrow {
	border-radius: 50%;
	right: 0px !important;
	width: 20px;
    height: 20px;
}

.level_box_2 .placeholder,
.type_box_2 .placeholder,
.bs_box_2 .placeholder,
.term_box_2 .placeholder,
.code_box_2 .placeholder {
	padding-left: 0px !important;
}

:is(
	.level_box_0,
	.level_box_1,
	.level_box_2,
	.type_box_0,
	.type_box_1,
	.type_box_2,
	.bs_box_0,
	.bs_box_1,
	.bs_box_2,
	.term_box_0,
	.term_box_1,
	.term_box_2,
	.code_box_0,
	.code_box_1,
	.code_box_2
) .box_select_list{
	left: 0px;
	width: 100%;
	height: 0px;
	z-index: 1;
} 

:is(
	.level_box_0,
	.level_box_1,
	.type_box_0,
	.type_box_1,
	.bs_box_0,
	.bs_box_1,
	.term_box_0,
	.term_box_1,
	.code_box_0,
	.code_box_1,
) .box_select_list{
	bottom: 20px;
} 

:is(
	.level_box_1,
	.level_box_2,
	.type_box_1,
	.type_box_2,
	.bs_box_1,
	.bs_box_2,
	.term_box_1,
	.term_box_2,
	.code_box_1,
	.code_box_2
) .box_select_list{
	bottom: 0px;
} 

:is(.level_box_0, .type_box_0, .bs_box_0, .term_box_0, .code_box_0) .selector .select:first-child{
	padding-top: 30px;
}

.level_box_1 .selector .select:first-child, .level_box_2 .selector .select:first-child,
.type_box_1 .selector .select:first-child, .type_box_2 .selector .select:first-child,
.bs_box_1 .selector .select:first-child, .bs_box_2 .selector .select:first-child,
.term_box_1 .selector .select:first-child, .term_box_2 .selector .select:first-child,
.code_box_1 .selector .select:first-child, .code_box_2 .selector .select:first-child {
	padding-top: 10px;
}

#Search .selector .select:last-child {
	padding-bottom: 15px;
}

.room_box_1 label,
.room_box_4 label {
	left: 0px !important;
}

.type_box_2 label,
.bs_box_2 label,
.term_box_2 label,
.level_box_2 label,
.code_box_2 label,
.summ_box_2 label,
.summ_box_3 label,
.area_box_2 label,
.area_box_3 label {
	left: 0px !important;
}


/* дефолт */
#Search .grid {
	grid-column-gap: 20px;
}

.segment, .segment .elem {
	font-size: 14px;
}


.summ_box_0 .right_input,
.area_box_0 .right_input {
	border-left: 1px solid #ddd;
	width: 50%;
}


.type_box_0 .active .animated_arrow, .type_box_1 .active .animated_arrow {
	background: transparent;
}

.room_box_1,
.room_box_4 {
	box-shadow: none;
	background-color: transparent;
}

.room_box_1 .on {
	background-color: transparent;
}

.room_box_4 {
	border-radius: 3px 3px 0px 0px;
}

.room_box_0 .first_item .of, .room_box_0 .first_item .on {
	border-radius: 3px 0px 0px 3px;
}

.room_box_0 .last_item .of, .room_box_0 .last_item .on {
	border-radius: 0px 3px 3px 0px;
}



.summ_slider_box_1 .ui-slider,
.summ_slider_box_2 .ui-slider,
.area_slider_box_1 .ui-slider,
.area_slider_box_2 .ui-slider {
	border-bottom: 0px solid #57B;
}

.summ_box_0:hover .ui-slider, .summ_box_3:hover .ui-slider,
.area_box_0:hover .ui-slider, .area_box_3:hover .ui-slider {
	border-bottom: 0px solid #57B;
}

.summ_box_3,
.area_box_3 {
	border-radius: 3px 3px 0px 0px;
}


.room_box_2 {
	overflow: visible !important;
	height: 40px;
}

.room_box_2 .select {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	height: 40px;
}

.room_box_2 .on {
	height: 40px;
}

.room_box_2 .of {
	height: 40px;
}

.room_box_3 {
	overflow: visible !important;
	height: 40px;
}

.room_box_3 .select {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	height: 40px;
}

.room_box_3 .item {
	overflow: visible !important;
	flex: 0 0 40px;
	border-radius: 50%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	max-height: 40px !important;
	max-width: 40px !important;
}

.room_box_3 .on {
	box-shadow: 0 0 0 1px #57B;
	border-radius: 50%;
}

.room_box_3 .of {
	box-shadow: 0 0 0 1px #57B;
	border-radius: 50%;
}

/* /дефолт */


/* Новые стили для фильтра */

.list_chkbx label {
	position: unset !important;
	color: #000 !important;
}

.list_chkbx {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	width: 100%;
	padding: 0px 0px;
	cursor: pointer;
	box-sizing: border-box;
}

.item_chkbx_chbx {
	flex: 0 0 14px;
	padding: 8px 0px 8px 20px;
	text-align: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.item_chkbx_txt {
	flex-basis: calc(100% - 30px - 20px);
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
}

.item_chkbx_txt .item_item_chkbx_flex div {
	font-size: 14px;
}

.item_chkbx_flex {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;
}

.item_chkbx_txt .item_chkbx_flex {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	padding-left: 15px;
}

.item_item_chkbx_flex {
	flex: 1 0 100%;
	text-align: left;
	cursor: pointer;
	height: 100%;
}

.item_item_chkbx_padding {
	padding: 8px 0px;
}

.multi_zk {
	border-color: #ddd;
	border-style: solid;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;
}

.item_chkbx_zk {
	flex-basis: 100%;
	width: 100%;
	text-align: left;
	padding-left: 20px;
	padding-bottom: 15px;
	color: #666;
	font-size: 12px;
}

.item_chkbx_zk.item_chkbx_zk_title_0 hr {
	margin-top: 0px;
}

.item_chkbx_zk hr {
	margin-top: 10px;
	margin-bottom: 15px;
	margin-right: 20px;
	border-bottom: 0px;
	border-top: 1px solid #eee;
}

.UNI_checkbox.default .fake {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3e%3cpath d='M102.13 215.21c-9.71,-8.93 -10.34,-24.05 -1.41,-33.76 8.93,-9.71 24.06,-10.34 33.77,-1.41l38.27 35.3 92.3 -89.7c9.45,-9.2 24.57,-8.99 33.77,0.46 9.19,9.45 8.98,24.57 -0.47,33.77l-124.76 121.25 -71.47 -65.91z'/%3e%3c/svg%3e");
}

.item_chkbx_txt .sel_opt_name,
.item_chkbx_txt .sel_opt_term {
	flex-grow: 1;
	padding: 0.5em 0px;
}

.item_chkbx_txt .sel_opt_name {
	white-space: nowrap;
	padding-right: 5px;
}

.item_chkbx_txt .sel_opt_term {
	color: #999;
	fill: #999;
	font-size: 14px !important;
	text-align: right;
}

.item_chkbx_txt .sel_opt_term .term_txt {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* hover */
.UNI_checkbox input:hover~.fake {
	opacity: 0.5;
}


.label_button.chkbx input {
	opacity: 0.5 !important;
	left: 20px !important;
	top: calc(50% - 10px);
	height: 20px !important;
	width: 20px !important;
}

.label_button.chkbx label {
	position: unset !important;
	color: #000 !important;
}

#Search .select .option_chkbx {
	position: relative;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding: 8px 10px 8px 50px;
	cursor: pointer;
	box-sizing: border-box;
}


.search_more_show {
	display: block;
	animation-name: shows, widthSlide;
	animation-duration: 1s;
	animation-iteration-count: 1;
}

@keyframes shows {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes widthSlide {
	from {
		width: 0%;
	}

	to {
		width: 100%;
	}
}


/* /Новые стили для фильтра */
#findContent {
	margin-top: 10px;
}

.flex_row {
	display: flex;
	flex-direction: column;
}
.flex_columns {
	display: flex;
	flex-direction: row;
}

.link_table_row {
	color: inherit;
}

.cartouche_free {
	padding-left: 5px;
	display: flex;
}
@media all and (max-width: 900px) {
	.flex_columns .flex_cell {
		align-self: center;
	}	
	.cartouche_free {
		padding-top: 10px;
	}
	.search_header_table_align{
		margin-left: auto;
		margin-right: auto;
	}
}
@media all and (min-width: 901px) {
	.flex_columns .flex_cell {
		align-self: flex-start;
	}
	.flex_columns > .flex_cell:not(:first-child) {
		padding-top: 35px;
	}	
	.cartouche_free {
		padding-top: 18px;
	}

	.standart_block_in_list {
		display: flex;
		align-items: flex-end;
	}
	.standart_block_in_list.height_22 {
		height: 22px;
	}
	.standart_block_in_list.height_24 {
		height: 24px;
	}
	.standart_block_in_list.height_26 {
		height: 26px;
	}
}

.view_com_inb {
	display: inline-block;
}
.view_com_table_cell {
	display: table-cell;
}
.view_mob_inb,
.view_mob_table_cell {
	display: none;
}

.search_abs_block {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
@media all and (max-width: 900px) {
	.view_com_inb,
	.view_com_table_cell {
		display: none;
	}
	.view_mob_inb {
		display: inline-block;
	}
	.view_mob_table_cell {
		display: table-cell;
	}
	.search_header_table_align{
		text-align: left;
	}
	.search_abs_block {
		transform: translate(0%, -50%);
	}
}

#Search .ui-slider-range, #Search .ui-slider-handle{
	background-color: var(--slider-color) !important;
}

:is(.type_box_1, .type_box_2, .bs_box_1, .bs_box_2, .term_box_1, .term_box_2, .level_box_1, .level_box_2, .code_box_1, .code_box_2 ) .search_filter_box{
	border-bottom-right-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	box-shadow: none !important;
} 

:is(.type_box_1, .room_box_1, .area_box_2, .summ_box_2, .type_box_2, .room_box_2, .room_box_4, .area_box_3, .summ_box_3, .bs_box_1, .term_box_1, .level_box_1, .code_box_1).search_filter_box{
	box-shadow: none !important;
} 

:is(.type_box_2, .room_box_1, .area_box_2, .summ_box_2, .bs_box_2, .term_box_2, .level_box_2, .code_box_2, .room_box_2).search_filter_box{
	background: transparent !important;
} 

.type_box_2.type_segment{
	border-bottom: none !important;
}
@media (max-width: 535px) {
	.search_filter_box{
		width: 100% !important;
	}
	.segment{
		width: 100% !important;
		flex: auto !important;
	}

	.segment .box_select_list .selector{
		width: 100% !important;
	}

	.room_box_2 .select{
		flex-wrap: wrap !important;
	}
	.room_box_2 .item {
		height: var(--search-input-height);
	}
	.room_box_2, .room_box_2 .input, .room_box_2 .select.row{
		height: auto !important;
	}
}

#Search .grid { 
	grid-template-columns: repeat(auto-fill, minmax(var(--search_input_width), 1fr)); 
}

#Search .segment{
	width: var(--search_input_width);
	flex: 0 0 var(--search_input_width); /* Базовый размер 200px, не растягивается и не сжимается */
}

#Search .filters_container{
    display: flex;
    flex-wrap: wrap;
	row-gap: calc(var(--filter-row-gap) + 40px);
	column-gap: calc(var(--filter-column-gap) );
}

.filters_container .separated_btns {
    flex-basis: calc( ((var(--search-input-height) + 10px) * var(--rooms-btn-count)) - 10px) !important; 
}

.room_box_2 .item {
	flex: 0 0  var(--search-input-height);
}


#Search .segment .height{
	height: var(--search-input-height);
}

.tags_type_0 .container_custom_styles .border_radius_ckbx{
	border-radius: 0px;
}

.tags_type_1 .container_custom_styles .border_radius_ckbx{
	border-radius: 3px;
}

.tags_type_2 .container_custom_styles .border_radius_ckbx{
	border-radius: 9px;
}

.cards_card {
	border-style: solid;
	border-width: 1px;
}

.card_economy{
	padding: 3px 12px;
}

.container_custom_styles .size_chkbx{
	width: 18px;
	height: 18px;
}

.room_box_2 {
	border-radius: 0px;
	overflow: visible !important;
}

.room_box_2 .select {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}

.summ_box_0 .right_input,
.area_box_0 .right_input {
	border-left: 1px solid #ddd;
	width: 50%;
}

.room_box_2 {
	border-radius: 0px;
	overflow: visible !important;
}

.room_box_2 .select {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}

.room_box_2 .item {
	overflow: visible !important;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}


.dopparams_open_btn{
	width: var(--search_input_width);
	padding-top: 10px;
}

.search_list_cell{
	display: flex;
    align-items: center;
}




.view_selector .lnk_type_view{
	text-decoration: none;
	font-weight:400;
	height:100%;
	cursor: pointer
}

.lnk_type_view .handler{
	height: 100%;
}

#chess {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

#chess .shadow_plate {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.15;
    display: none;
}

#chess .chess_plus_content, #chess_preview .chess_plus_content{
    position: relative;
    display: inline-block;
    vertical-align: top;
    list-style: none;
    font-style: normal;
    z-index:2;
}

#chess .cat_chess .bg, #chess_preview .cat_chess .bg {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

#chess .chess_plus_cell, #chess_preview .chess_plus_cell{
    padding:10px;
    display: flex;
    align-items: center;
    justify-content: start;
    position: relative;
    box-sizing: border-box;
    width: calc(var(--chess-plus-size) * 1px);
    height: calc((var(--chess-plus-size) / 2) * 1px);
}

#chess .chess_plus_cell .line_1,
#chess .chess_plus_cell .line_2, 
#chess_preview .chess_plus_cell .line_1,
#chess_preview .chess_plus_cell .line_2 {
    margin-bottom: 3px;
}

#chess .chess_plus_cell .line_1, #chess_preview .chess_plus_cell .line_1 {
    font-size: calc( 0.9em * (var(--chess-plus-size) / 140) );
}
#chess .chess_plus_cell .line_2, #chess_preview .chess_plus_cell .line_2 {
    font-size: calc( 1.4em * (var(--chess-plus-size) / 140) );
}
#chess .chess_plus_cell .line_3, #chess_preview .chess_plus_cell .line_3 {
    font-size: calc( 0.8em * (var(--chess-plus-size) / 140) );
}

.box_vigoda_hint .txt{
    font-size: 12px;
}
.box_vigoda_hint{
    color: #898989;
    margin: 7px 0;
    white-space: nowrap;
}

.chess_hide{display: none;}


.cell_chess .manager {
    display: block;
}
.cell_chess .cel_dot {
    display: table-cell;
}
.cell_chess .bg {
    opacity: 1;
    height: var(--small-chess-size);
    width: var(--small-chess-size);
}


.cell_chess{
    height: var(--small-chess-size);
    width: var(--small-chess-size);
} 

.cell_chess_plus .bg{
    width: 100%;
    height: 100%;
}

.cell_in_deal{
    box-shadow: rgb(0, 0, 0) 0px 0px 0px 1.5px;
}

.crm_chess_color{
    color: #FFF;
}

.manager.on{
    display: block;
}

.manager.of{
    display: none;
}

.chess_bs, .chess_bs_preview{
    position: relative;
    display: inline-block;
    vertical-align: top;
    list-style: none;
    font-style: normal;
    vertical-align: bottom; 
    margin: 0px 60px 20px 0px;
}

.chess_lev{
    position: relative !important;
    display: table-cell !important;
    padding: 0px;
    vertical-align: middle !important;
    font-size: 12px;
    text-align: left;
    color: #999;
    fill: #999;
}

.lev_separator{
    position: absolute;
    right:0px; 
    top:3px; 
    bottom:3px; 
    width:2px; 
    background:#CCC;
}

/* @nobody9988 functions */
.chess_term{
    font-size: 12px;
    color: #999;
    fill: #999;
    position: relative;
}

.chess_dot{
    border-radius: 50%; 
    border-style: solid; 
    border-width: 5px; 
    position: absolute; 
    top: -4px; 
    right: -4px;
}

.chess_small{
    z-index: 2;
    position: relative;
    display: inline-block;
    vertical-align: top;
    list-style: none;
    font-style: normal;
}

.chess_small .manager{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0, .5, .5, 1);
}

#chess .chess_hint{
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index:2;
}

.promotion_price{
    height: 18px; 
    line-height: 18px; 
    padding-left: 5px; 
    padding-right: 5px; 
    font-size: 9px; 
	text-wrap: nowrap;
}

.promotion_triangle{
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 6px
}

.hint_body{
    background: #FFF;
    padding: 5px;
    box-shadow: 0 0 3px 1px #CCC;
    border-radius: 5px;
    min-width: 10px;
    min-height: 10px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    list-style: none;
    font-style: normal;
}

.chess_hint_apa_id{
    text-align: right;
    color:#CCC; 
    font-size:10px;
}

.chess_apa_number{
    font-size: 14px;
    position: absolute; 
    right: 0px; 
    bottom: 2px;
}

.chess_apa_info{
    text-align: left;
    margin-right: auto;
    position: relative;
    padding: 5px;
    min-width: 150px;
}
.chess_apa{
    padding: 4px;
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.chess_area_cost{
    font-size: 14px;
    position: relative;
    padding-top: 5px; 
    text-wrap: nowrap;
}
.che_bold{
    font-weight:700; 
        font-size:14px;
}

.list_grouped_tag{
	position: absolute;
	bottom: 5px;
	margin-left: -4px;
}

.manager_status_btn:hover{
	filter: brightness(110%);
}

.manager_status_btn.active {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .4) inset;
    z-index: 3;
}



.cell_chess.transformed .manager,
.cell_chess.transformed .chess_dot {
	opacity: 0;
	/**Используем opacity вместо display чтобы максимально избавиться от reflow */
} 
.cell_chess.transformed {
	transform: scale(0.4) ;
	/**Используем transform вместо width,heigth чтобы максимально избавиться от reflow */
}
.cell_chess.transformed .bg{
	opacity: 0.3;
	border-radius: 25px;
}
.cell_chess_plus.transformed{
    opacity: 0.1;
}

#chess .animated {
    transition: opacity 0.5s cubic-bezier(0, .5, .5, 1),
				transform 0.5s cubic-bezier(0, .5, .5, 1);
}