.bend-radius-tool,
.bend-radius-calculator {
	max-width: 891px;
	/* overflow: hidden; */
}

.bend-radius-tool-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.bend-radius-tool-header__flex {
	display: flex;
	gap: 20px;
}
.bend-radius-tool-header__item {
	padding: 8px;
}
.bend-radius-tool-header__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 8px;
	color: #092c47;
}
.bend-radius-tool-header__row {
	gap: 8px;
	display: flex;
}
.bend-radius-tool-header__btn {
	padding: 6px 8px;
	border: 1px solid #c1cad1;
	outline: none;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	color: #476175;
	background: #fff;
	border-radius: 4px;
	transition: 0.3s;
}
.bend-radius-tool-header__btn:hover,
.bend-radius-tool-header__btn.active {
	color: #092c47;
	border: 1px solid #0e6aed;
}
.bend-radius-tool-header__btn_download {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #0e6aed;
	padding: 3px 8px;
	display: flex;
	align-items: center;
}
a.bend-radius-tool-header__btn_download[href=''] {
	display: none;
}
.bend-radius-tool-header__btn_download img {
	height: 19px;
	width: 15px;
	object-fit: contain;
	margin-right: 4px;
}
.bend-radius-tool-table {
	border-spacing: 2px;
	border-collapse: separate;
	width: calc(100% + 4px);
	margin-left: -2px;
	margin-right: -2px;
	-webkit-overflow-scrolling: touch;
}
.bend-radius-tool-legend {
	margin-top: 12px;
	background: #e6e9ec;
	border-radius: 3px;
	padding: 5px;
	font-size: 16px;
	line-height: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.bend-radius-tool__info {
	width: 14px;
	height: 14px;
	border-radius: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 10px;
	font-weight: 400;
	color: #092c47;
	border: 1px solid #092c47;
	cursor: pointer;
	margin-left: 4px;
}
.bend-radius-tool__cell_imperial .bend-radius-tool__info,
.bend-radius-tool__cell_metric .bend-radius-tool__info {
	margin-left: 0;
}
.bend-radius-tool tr {
	background: none !important;
}
.bend-radius-tool__cell {
	text-align: center;
	border-radius: 3px;
	background: #fdf5f3;
	padding: 0 2px;
	min-width: 36px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
tbody .bend-radius-tool__cell,
thead .bend-radius-tool__cell {
	border: 1px solid transparent;
}
tbody .bend-radius-tool__cell {
	cursor: pointer;
}
.bend-radius-tool__cell_blue {
	background: #e6f0fd;
}
thead .bend-radius-tool__cell_dark-blue {
	width: 75px;
	min-width: 75px;
}

thead .bend-radius-tool__cell_dark-blue a {
	display: flex;
	align-items: center;
	text-align: left;
}
thead .bend-radius-tool__cell_imperial,
.bend-radius-tool__cell_dark-blue {
	background: #c3dafb !important;
	font-weight: 700;
	padding: 0 2px;
}
.bend-radius-tool__cell_light-blue,
.bend-radius-tool__cell_value.bend-radius-tool__cell {
	background: #f6f9ff;
}
.bend-radius-tool__cell_value
	~ .bend-radius-tool__cell:not(.bend-radius-tool__cell_value) {
	background: #f3fcf9;
}
.bend-radius-tool__cell_value-blue {
	color: #0e6aed;
	font-weight: 700;
}
.bend-radius-tool__cell_vertical {
	z-index: 1;
	writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	text-align: center !important;
	padding: 0;
	position: sticky;
	transform: rotate(180deg);
	left: 0;
	top: 0;
	box-shadow: 0px 4px 12px 0px #040e1c59;
	min-width: 26px;
}
.bend-radius-tool__cell_vertical a {
	writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	white-space: nowrap;
	width: fit-content;
	height: fit-content;
	margin: auto;
}
.bend-radius-tool__cell_vertical div,
.bend-radius-tool__cell_vertical a {
	display: flex;
	align-items: center;
	justify-content: center;
}
.bend-radius-tool__cell_vertical .bend-radius-tool__info {
	margin-left: 0;
	margin-top: 4px;
}
.bend-radius-tool__cell_vertical:last-child {
	transform: rotate(0);
	top: 0;
	right: 0;
}
.bend-radius-tool__wrap {
	overflow: auto;
}
.bend-radius-tool__cell_fixed {
	position: sticky;
	left: 26px;
	box-shadow: 0px 4px 12px 0px #040e1c59;
	z-index: 1;
}
.bend-radius-tool__cell_imperial,
thead .bend-radius-tool__cell_imperial {
	width: 57px;
	min-width: 57px;
	justify-content: space-between;
}
thead .bend-radius-tool__cell_imperial a,
thead .bend-radius-tool__cell_metric a {
	justify-content: space-between;
	width: 100%;
}
.bend-radius-tool__cell_imperial:nth-child(1) {
	left: 0;
}

.bend-radius-tool__cell_imperial:nth-child(2) {
	left: 59px;
}
.bend-radius-tool__cell_imperial:nth-child(3),
.bend-radius-tool__cell_dark-blue.bend-radius-tool__cell_imperial {
	left: 118px;
}
.bend-radius-tool__wrap::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

.bend-radius-tool__wrap::-webkit-scrollbar-track {
	background-color: #f3fcf9;
}
.bend-radius-tool__wrap::-webkit-scrollbar-thumb {
	background-color: #c3dafb;
	border-radius: 4px;
}
.bend-radius-tool__cell_highlight,
.bend-radius-tool__cell_highlight-column {
	background: #fcebe7;
}

.bend-radius-tool__cell_fixed.bend-radius-tool__cell_highlight,
thead th.bend-radius-tool__cell_highlight-column {
	border-color: #0e6aed;
	color: #0e6aed;
	font-weight: 700;
	background: #e6f0fd;
}
.bend-radius-tool__cell_value-blue.bend-radius-tool__cell_highlight {
	border-color: #0e6aed;
}
.bend-radius-tool__cell_value.bend-radius-tool__cell_highlight,
.bend-radius-tool__cell_value.bend-radius-tool__cell_highlight
	~ .bend-radius-tool__cell,
.bend-radius-tool__cell_value
	~ .bend-radius-tool__cell_highlight-column:not(
		.bend-radius-tool__cell_value
	) {
	background: #e7f8f3;
}
/* calculator */
.bend-radius-calculator {
	padding-top: 20px;
}
.bend-radius-calculator__title {
	margin-bottom: 20px;
}
.bend-radius-calculator__wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 8px;
}
.bend-radius-calculator__content {
	display: flex;
	gap: 12px;
}
.bend-radius-calculator-result {
	padding-left: 24px;
}
.bend-radius-calculator__subtitle {
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	color: #092c47;
	margin-bottom: 12px;
	min-height: 48px;
	display: flex;
	align-items: flex-end;
}
.bend-radius-calculator-result__cell {
	border: 1px solid #e6e9ec;
	background: #f5f7f8;
	width: 110px;
	padding: 19px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

.bend-radius-calculator-result__optimal {
	background: #e6f0fd;
	color: #0e6aed;
	font-weight: 700;
}
.bend-radius-calculator-result__optimal:first-child:before {
	color: #0e6aed;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	position: absolute;
	transform: rotate(180deg);
	left: 0px;
}
.bend-radius-calculator-result__row-optimal
	~ .bend-radius-calculator-result__row-optimal
	.bend-radius-calculator-result__optimal::before {
	display: none;
}
.bend-radius-calculator-result__cell_footer {
	width: 110px;
	padding: 20px;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}
.bend-radius-calculator-picker {
	max-width: 104px;
}
.bend-radius-calculator-picker__wrap {
	border: 1px solid #0e6aed;
	background: #f5f7f8;
	height: calc(35px * 9);
	overflow: hidden;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	position: relative;
}
.bend-radius-calculator-picker__list {
	margin: 0;
	padding: 0;
	height: 100%;
	list-style-type: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	padding: 0 8px;
}

.bend-radius-calculator-picker__list::-webkit-scrollbar {
	display: none;
}
.bend-radius-calculator-picker__list::before {
	content: '';
	background: linear-gradient(
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, 0) 45%,
		rgba(255, 255, 255, 0) 55%,
		rgba(255, 255, 255, 1) 100%
	);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
	pointer-events: none;
}
.bend-radius-calculator-picker__item {
	text-align: center;
	scroll-snap-align: center;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
}
.bend-radius-calculator-picker__item.bend-radius-calculator-picker__item_selected {
	background: #eef1f2;
	color: #0e6aed;
	font-size: 22px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: 0.3499999940395355px;
	border-radius: 2px;
}
.bend-radius-calculator-picker__item_20 {
	font-size: 20px;
}
.bend-radius-calculator-picker__item_17 {
	font-size: 17px;
}
.bend-radius-calculator-picker__item:empty {
	pointer-events: none;
}
.bend-radius-calculator-img {
	display: flex;
	padding-top: 80px;
}
#bend-radius-calculator__overlay,
.bend-radius-calculator__btn,
.bend-radius-calculator__sticky {
	display: none;
}

.bend-radius-calculator-img__wrap {
	position: relative;
	margin-top: 36px;
	width: 250px;
	height: 232px;
	padding-right: 51px;
}
.bend-radius-calculator-img__wrap img {
	width: 199px;
	height: 232px;
}
.bend-radius-calculator-img__item {
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	padding: 4px 6px;
	min-width: 40px;
	border: 1px solid;
	border-radius: 3px;
	position: absolute;
	width: max-content;
	text-align: center;
}
.bend-radius-calculator-img__item span {
	color: inherit;
}
.bend-radius-calculator-img__item_b {
	color: #f9ae00;
	border-color: #f9ae00;
	background: #fff8e7;
	top: 93px;
	left: 180px;
}
.bend-radius-calculator-img__item_ir {
	color: #e63817;
	border-color: #e63817;
	background: #fcebe7;
	top: 91px;
	left: 0;
	right: 0;
	margin: auto;
}
.bend-radius-calculator-img__item_f {
	color: #10a474;
	border-color: #10a474;
	background: #e7f8f3;
	top: -28px;
	left: 0;
	right: 0;
	margin: auto;
}
.bend-radius-calculator-img__item_t {
	color: #2437bf;
	border-color: #2437bf;
	background: #e6f0fd;
	top: 23px;
	right: 210px;
}
.bend-radius-calculator-img__item_v {
	color: #7640ea;
	border-color: #7640ea;
	background: #ece5fc;
	bottom: 17px;
	left: 0;
	right: 0;
	margin: auto;
}
@media (max-width: 991px) {
	.bend-radius-calculator-img {
		justify-content: center;
		max-width: 580px;
		width: 100%;
		padding-top: 0;
	}
}

@media (max-width: 576px) {
	.bend-radius-tool-header__flex + .bend-radius-tool-header__item {
		order: -1;
		margin-bottom: 12px;
	}
	.bend-radius-tool-header__flex {
		flex-wrap: wrap;
		gap: 12px;
	}
	.bend-radius-tool-header__item {
		width: 100%;
		padding: 0;
	}
	.bend-radius-tool-header__title {
		margin-bottom: 4px;
	}
	.bend-radius-calculator__btn {
		display: block;
		padding: 8px 12px;
		margin: 20px 0 24px;
		line-height: 24px;
		width: fit-content;
		text-align: center;
	}
	.bend-radius-calculator__title {
		margin-bottom: 8px;
	}
	.bend-radius-calculator__content {
		flex-wrap: wrap;
	}
	.bend-radius-calculator-result {
		padding-left: 0;
		padding-right: 24px;
	}
	.bend-radius-calculator-result__optimal:first-child:before {
		transform: rotate(0);
		left: unset;
		right: -24px;
		margin-top: -17px;
	}
	.bend-radius-calculator__table {
		position: relative;
		display: flex;
		flex-direction: column;
	}
	.bend-radius-calculator__table tfoot {
		order: -1;
	}
	.bend-radius-calculator__subtitle {
		min-height: fit-content;
		margin-bottom: 0;
	}
	.bend-radius-calculator-result__cell,
	.bend-radius-calculator-result__cell_footer {
		padding: 19px 10px;
		font-size: 14px;
	}
	.bend-radius-calculator-picker {
		max-width: 100%;
		box-shadow: 0px -4px 4px 0px #0000001c;
		padding: 8px;
		position: fixed;
		bottom: 0;
		background: #fff;
		z-index: 99;
		margin-left: -8px;
	}
	.bend-radius-calculator-picker__wrap {
		height: auto;
		width: calc(100vw - 16px);
	}
	.bend-radius-calculator-picker__list {
		display: flex;
		overflow-x: scroll;
		width: 100%;
		padding: 6px 0;
	}
	.bend-radius-calculator-picker__item {
		height: 40px;
		min-width: 60px;
		color: #c1cad1;
	}
	.bend-radius-calculator-picker__item_20 {
		color: #8495a3;
	}
	.bend-radius-calculator__subtitle {
		margin-bottom: 8px;
	}
	.bend-radius-calculator {
		background: #fbf8ff;
		border-radius: 16px 16px 0 0;
		width: 100%;
		margin-left: -8px;
		padding: 28px 8px 128px;
		position: fixed;
		bottom: 0;
		z-index: 99;
		max-height: 85%;
		height: 0;
		overflow: hidden;
		overflow-y: auto;
		visibility: hidden;
		transition: all 0.3s ease;
	}
	.bend-radius-calculator::before {
		content: '';
		position: absolute;
		height: 3px;
		width: 37px;
		background: #d9d9d9;
		left: 0;
		right: 0;
		margin: 0 auto;
		top: 8px;
	}
	#bend-radius-calculator.open {
		visibility: visible;
		height: 1000px;
		overflow: auto;
	}
	.bend-radius-calculator__wrap {
		gap: 8px;
	}

	#bend-radius-calculator__overlay.fadeIn {
		display: block;
		z-index: 98;
		width: 100vw;
		margin-left: -8px;
	}

	.bend-radius-calculator__sticky {
		display: flex;
		align-items: center;
		justify-content: center;
		position: sticky;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		background: #0e6aed;
		top: calc(100% - 122px);
		left: calc(100% - 65px);
		z-index: 10;
		margin-top: -100px;
		margin-bottom: 50px;
		cursor: pointer;
	}
	.bend-radius-calculator__sticky svg {
		width: 32px;
		height: 32px;
	}
}
