div.popup_table-size,
.popup.closed div.popup_table-size {
	transition: unset;
	position: relative;
	right: unset;
	transform: unset;
	animation: unset;
	max-width: 1075px;
	max-height: 485px;
}

.table-size_b_image {
	margin-right: 32px;
}

.popup.closed div.popup_table-size {
	display: none;
}

.popup_table-size-b{
	align-items: center;
}

.popup_table-size .popup_header {
	align-items: center;
}

.popup_table-size .popup_header .popup_close {
	position: relative;
	top: unset;
}

.popup_table-size h5.popup_title {
	font-weight: 300;
	font-size: 32px;
	line-height: 28px;
}

.table-size {

}
.table-size_name {
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.table-size_table-link {
	color: #c2a79d;
	text-decoration: underline;
	cursor: pointer;
	margin-top: 15px;
}
.table-size_table-link._right {
	text-align: right;
	margin-top: -17px;
}
.table-size_b {
	max-width: calc(100vw - 165px);
	overflow-x: auto;
	position: relative;
}
.table-size_table-link._right + .table-size_b {
	margin-top: 30px;
}
.table-size_btn {
	width: 24px;
	height: 24px;
	position: absolute;
	top: -35px;
	right: 10px;
	background: url(/local/templates/an/img/icons/table_scroll.svg) center center no-repeat;
	cursor: pointer;
	transition: transform 0.2s linear;
	opacity: 0.5;
	display: none;
}
.table-size_btn._invert {
	transform: rotate(180deg);
}
.table-size_b table {
	width: 100%;
	text-align: left;
	border-collapse: separate;
	border-spacing: 4px 8px;
}
.table-size_b table tr th,
.table-size_b table tr td {
	padding: 0 !important;
	font-weight: 400;
	white-space: nowrap;
	width: 48px;
	min-width: 48px;
	max-width: 48px;
	height: 48px;
	text-align: center;
}

.table-size_b thead th {
	color: rgba(0,0,0,0.5);
}

.table-size_b table tr td._number span {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: white;
	background-color: black;
	line-height: 20px;
	text-align: center;
	font-weight: normal;
}

.table-size_b table tr td {
	background-color: #F3F3F3;
}

.table-size_b table tr ._title {
	text-align: left;
	max-width: 90px;
	white-space: normal;
}

.table-size_b table tr td._title,
.table-size_b table tr td._number {
	background-color: unset;
}

.table-size_text {
	margin-top: 30px;
	font-size: 12px;
	line-height: 16px;
	color: rgba(0,0,0,0.25);
}
@media screen and (max-width: 767px) {
	.popup_table-size h5.popup_title {
		font-size: 24px;
		line-height: 24px;
	}
}
@media screen and (max-width: 728px){
	div.popup_table-size,
	.popup.closed div.popup_table-size {
		height: 100%;
		width: 100%;
		max-width: unset;
		max-height: unset;
	}
	#bx-panel~.popup .popup_block.popup_table-size {
		height: 100%;
	}
	#bx-panel.bx-panel-folded~.popup .popup_block.popup_table-size {
		height: 100%;
	}
}

@media screen and (max-width: 576px){
	.popup_table-size-b {
		flex-direction: column;
		align-items: center;
	}

	.table-size_b_image {
		margin-right: 0;
		height: 300px;
	}

	.table-size {
		height: 100%;
		width: 100%;
		overflow-y: auto;
	}

	.table-size_b {
		width: 100%;
		max-width: unset;
	}

	.table-size_text {
		font-size: 11px;
	}
}


/*@media (max-width: 1660px) {*/
/*	.table-size_b table tr th,*/
/*	.table-size_b table tr td {*/
/*		padding: 9px 15px;*/
/*		font-size: 12px;*/
/*	}*/
/*}*/
/*@media (max-width: 1260px) {*/
/*	.table-size_text {*/
/*		font-size: 11px;*/
/*	}*/
/*	.table-size_b table tr th,*/
/*	.table-size_b table tr td {*/
/*		padding: 7px 17px;*/
/*	}*/
/*}*/
/*@media (max-width: 510px) {*/
/*	!*.table-size_b-scroll {*/
/*		overflow-x: auto;*/
/*	}*!*/
/*	.table-size_b table tr th,*/
/*	.table-size_b table tr td {*/
/*		padding: 7px 10px;*/
/*	}*/
/*}*/