.text-link {
	color: #165EC0;
}

.btn-flex-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.table-scroll {
  position: relative;
  width:100%;
  z-index: 1;
  margin: auto;
  /*overflow: auto;*/
  /*height: 80vh;*/
  max-width: calc(100vw - 60px);
}

.table-scroll::-webkit-scrollbar {
	width: 12px !important;
		height: 12px !important;
}

.table-scroll::-webkit-scrollbar-track {
	background: transparent !important;
}

.table-scroll::-webkit-scrollbar-thumb {
	border: 4px solid rgba(0, 0, 0, 0) !important;
		background-clip: padding-box !important;
		border-radius: 9999px !important;
		background-color: #B4B4B4 !important;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.table-scroll table {
  width: 100%;
  min-width: 1000px;
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}
.table-scroll th,
.table-scroll td {
  padding: 2px;
  border: 1px solid #D2D2D2;
  background: #fff;
  align: center;
}

.table-scroll td {
	color: #1A1A1A;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

.table-scroll td img {
	width: 100%;
}

.table-scroll thead th {
  background: #DCDCDC;
  color: #19365E;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  z-index: 10;
  border: 0;
}

.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #F0F0F0;
  color: #1A1A1A;
  z-index:8;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
}

.order-blank {
	max-width: 1510px;
	padding: 0 15px;
	margin: 0 auto;
}

.order-blank h1 {
	margin: 0 0 5px 0;
	font-size: 32px;
}

.order-blank h2 {
	color: #165EC0;
	font-size: 22px;
	margin: 0 0 40px;
}
.blank__header {
	display: flex;
	justify-content:space-between;
	margin-bottom:40px;
}
.blank__header .but_down {
	align-self:end
}
.order-blank .order-blank-sizes {
	display: block;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.order-blank .order-blank-sizes.order-blank-sizes-only-input {
	justify-content: center;
}

.order-blank-sizes label {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	white-space: nowrap;
	font-weight: 400;
	font-size: 14px;
	vertical-align: middle;
	margin-right: 10px;
}

.order-blank-sizes label .form-control {
	aspect-ratio: 1/ 1;
	width: 40px;
	height: 40px;
	text-align: center;
	padding: 4px;
}

.order-info .order-blank-sizes label .form-control {
	width: 30px;
	height: 30px;
}

.order-blank .order-blank-sizes label .form-control.disabled {
	font-size: 40px;
	background-color: #fff;
	padding-top: 0;
	color: #E51D27;
}
.order-blank-tab-item {
	display: none;
}
.table-scroll-head-btns {
	display: flex;
	flex-direction: column;
}
.table-scroll-head-btns button {
	display: flex;
	margin-bottom: -1px;
	justify-content: space-evenly;
}
.table-scroll-head-btns button span {
	background: #F0F0F0;
	color: #19365E;
	font-size: 10px;
	text-transform: uppercase;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3px;
	border-right: 1px solid #DCDCDC;
}
.table-scroll-head-btns button span.active {
	background: #165EC0;
	color: #fff;
}
.table-mobile {
	display: none;
}
.error-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.max-warning {
	color: #E51D27;
}

.error-block .max-warning {
	padding-right: 20px;
}

.table-mobile-items__item-button {
	background: url(/image/icons/info-icon.svg);
	width: 22px;
	height: 22px;
}

.table-mobile-items__item-button.open {
	background: url(/image/icons/info-icon-active.svg);
}

.table-mobile-items__item-button.open ~ .table-mobile-items__item-description {
	display: block;
}

#main-table .table-mobile-items__item-button {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.table-mobile-items__item-description {
	position: absolute;
	top: 95px;
	right: 33px;
	width: calc(100% - 32px);
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
	z-index: 1;
	padding: 14px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #165EC0;
	display: none;
}

#main-table tbody tr:last-of-type .table-mobile-items__item-description {
	top: auto;
	bottom: 10px;
}

.table-mobile-items__item-description-title{
	font-size: 20px;
	font-weight: 500;
	color: #848484;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.table-mobile-tabs {
	display: none;
}

#main-table tbody td {
	padding: 12px;
}

.order-blank .sizes_colm,
.order-blank .sizes_cell {
	max-width: 500px;
}

.order-info_info {
	text-align: center;
	margin: 5px 0;
}

#filter-category_new {
	width: 400px;
	padding: 5px;
}
.filter-category_dropdown {
	position: absolute;
	background: #fff;
	padding: 20px;
}
.filter-category_dropdown .buttons {
	display: flex;
	gap: 20px;
}
.filter-category_dropdown .buttons .btn {
	width: 100px;
	height: 30px;
}
.filter-category_inner {
	overflow: hidden;
	line-height: 32px;
	padding-left: 10px;
}
.filter-category_inner span {
	font-size: 12px;
	color: #FFFFFF;
	background-color: #165EC0;
	padding: 3px;
	border-radius: 10px;
	margin-right: 5px;
	white-space: nowrap;
}
@media (max-width: 1510px) {
	.filter-category_inner {
		line-height: 26px;
	}
}
@media (max-width: 768px) {
	.table-desktop {
		display: none;
	}

	.table-mobile {
		display: block;
	}

	.order-blank h1 {
		margin: 0 0 10px 0;
		font-size: 20px;
	}

	.order-blank h2 {
		font-size: 14px;
		margin: 0 0 20px;
	}

	.order-blank-fixed-bottom {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 15px;
		box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #fff;
		z-index: 10;
	}

	.order-blank-fixed-bottom__text {
		font-size: 14px;
		line-height: 1.2;
	}
	.order-blank-fixed-bottom__text b {
		margin-left: 10px;
	}
	.order-blank-fixed-bottom .promo__btn {
		margin: 0;
		height: 40px;
		width: 180px;
	}
	.table-mobile-tabs {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		border-radius: 4px;
		overflow: hidden;
	}
	.table-mobile-tabs button {
		background: #F0F0F0;
		padding: 7px;
		text-align: center;
		border-right: 1px solid #DCDCDC;
	}
	.table-mobile-tabs button:disabled {
		background: #165EC0;
		color: #fff;
	}
	.table-mobile-items__item-top-text-flex {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 13px;
		margin-top: 10px;
		
	}

	.table-mobile-items__item-top-text p  {
		margin: 0;
	}

	.table-mobile-items__item-top {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 18px;
		border-bottom: 1px solid #F0F0F0;
		padding: 0 10px 10px 10px;
	}

	.table-mobile-items__item {
		padding: 10px 0 0;
		border: 1px solid #F0F0F0;
		border-radius: 3px;
		position: relative;
	}

	.table-mobile-items {
		display: flex;
		flex-direction: column;
		gap: 15px;
		margin-top: 20px;
		padding-bottom: 80px;
	}

	.table-mobile-items__item-counter {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		max-width: 100px;
		border: 1px solid #F0F0F0;
		border-radius: 4px ;
	}

	.table-mobile-items__item-counter input {
		width: 34px;
		height: 34px;
		text-align: center;
		-moz-appearance: textfield;
	}

		.table-mobile-items__item-counter input::-webkit-outer-spin-button,
				.table-mobile-items__item-counter input::-webkit-inner-spin-button {
			-webkit-appearance: none;
			margin: 0;
		}

	.table-mobile-items__item-counter button {
		background: #F0F0F0;
		font-size: 23px;
		display: flex;
		font-weight: 700;
		align-items: center;
		justify-content: center;
		color: #19365E;
	}

	.table-mobile-items__item-counter button:disabled {
		color: rgba(25, 54, 94, 0.1);
	}

	.table-mobile-items__item-sizes {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.table-mobile-items-sizes-block,
	.table-mobile-items-quantity-block {
		border-bottom: 1px solid #F0F0F0;
		padding: 14px;
	}

	.table-mobile-items__item-prices {
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 14px;
		gap: 28px;
		position: relative;
		border-bottom: 3px solid #F0F0F0;
	}

	.table-mobile-items__item-prices::before {
		content: "";
		display: block;
		width: 1px;
		height: 100%;
		background: #F0F0F0;

		position: absolute;
		left: 50%;
	}

	.table-mobile-items__item-prices input {
		width: 100px;
	}
		.table-mobile-items__item-prices label>span {
			box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
			background-color: #fff;
			font-size: 14px;
			line-height: 1.42857143;
			color: #555;
			height: 34px;
			padding: 6px 12px;
			display: block;
			border: 1px solid #ccc;
			border-radius: 4px;
			max-width: 140px;
			overflow: hidden;
			text-overflow: ellipsis;
		}

	.table-mobile-items__item-prices label {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		margin: 0;
		font-size: 13px;
		font-weight: 400;
	}

	.table-mobile-items__item-description {
		top: 120px;
		left: 16px;
	}
	.table-scroll-head-btns button {
		display: none;
	}

	#account-order-info .table-mobile-items__item-sizes {
		display: inline-flex;
		gap: 6px;
		margin-right: 10px;
		margin-bottom: 5px;
	}
	#account-order-info .table-mobile-items__item-sizes input {
		width: 30px;
		height: 30px;
		padding: 4px;
		text-align: center;
	}
	#account-order-info .table-mobile-items-quantity-block .table-mobile-items__item-sizes {
		display: flex;
	}
	.order-info_info {
		text-align: left;
	}
	#filter-category_new {
		width: 100%;
	}
	.opt-table thead th {
		border: none;
	}
	.blank__header {
		flex-direction: column;
		margin-bottom: 20px;
	}
	.blank__header .but_down{
		width: 100%;
		margin-top: 15px;
	}
}