.history_item_year::after,
.history_item_year::before,
.history_wrapper::before {
	position: absolute;
	content: ''
}

body.tax-category_history::-webkit-scrollbar {
	width: 0
}

.history_main {
	background: url(../images/history/back_history.jpg) 0 0/cover no-repeat
}

.history_page_title {
	margin: 0 0 120px
}

.history_page {
	padding-bottom: 200px
}

.history_wrapper {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between
}

.history_wrapper::before {
	top: 30px;
	left: 0;
	right: 0;
	width: 2px;
	height: calc(100% + 50px);
	margin: auto;
	background: #ff632a
}

.history_item {
	width: calc(50% - 200px);
	padding-bottom: 70px
}

.history_item:last-child {
	padding: 0
}

.history_item_year {
	height: 60px;
	width: 130px;
	border-radius: 5px;
	background: #ff632a;
	padding: 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: Montserrat;
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-align: center;
	margin: 0 0 55px;
	position: relative
}

.history_item_text,
.history_item_title {
	color: #2e2e2e;
	font-family: Montserrat;
	font-style: normal;
	line-height: 160%
}

.history_item_year::before {
	width: calc(100% + 580px);
	border-bottom: 2.5px dotted silver;
	left: calc(100% + 17px)
}

.history_item_year::after {
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #ff632a;
	left: calc(100% + 722px);
	top: 22px
}

.history_item:nth-child(2n) {
	margin-top: 170px
}

.history_item:nth-child(2n) .history_item_year::before {
	width: calc(100% + 51px);
	right: 150px;
	left: auto
}

.history_item:nth-child(2n) .history_item_year::after {
	right: 321px;
	left: auto;
	top: 22px
}

.history_item_title {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 25px
}

.history_item_text {
	font-size: 19px;
	font-weight: 400;
	margin: 0 0 50px
}

.history_item_img {
	height: 500px;
	border-radius: 15px;
	overflow: hidden
}

.history_item_img img {
	object-fit: cover;
	object-position: center;
	height: 100%;
	min-height: 100%
}

.single_content ul li,
.single_news_content ul li {
	line-height: normal;
	margin: 0 0 10px
}

.card_product_spec .product_spec_item:nth-child(4) {
	margin: 0
}

.card_product_spec .product_spec_item._custom {
	margin-top: 25px
}


.single_news iframe {
	width: 100% !important;
	max-width: 1280px !important;
}

.print_logo{
	display: none;
	opacity: 0;
}

@media print {
	
	@page {
		margin: .5cm .8cm 0
	}

	a[href^=http]:not([href*="mywebsite.com"]):after {
		content: " ("attr(href) ")"
	}

	.grid_container,
	.grid_container_full {
		max-width: 100%
	}

	.print_logo{
		opacity: 1;
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 200px;
	}
	
	.product_spec_item {
		display: flex;
		flex-flow: row wrap
	}

	.product_spec_name {
		padding: 0 5px 0 0
	}

	.card_product_spec .product_spec_name {
		font-weight: 600
	}

	.product_spec_value {
		font-size: 13px;
		font-weight: 400
	}

	* {
		background-image: none !important
	}

	.accordion_content .site_btn,
	.accordion_content br,
	.breadcrumb,
	.diametr_btn_box,
	.have_questions,
	.product_slider,
	.product_slider .card_product_slide,
	.product_slider_nav,
	.see_also_product,
	footer,
	header {
		display: none
	}

	.card_product_description,
	.card_product_slider_spec {
		margin: 0 0 10px
	}

	.product_page_title {
		font-size: 20px;
		margin: 15px 0 5px
	}

	.product_page_type {
		font-size: 15px;
		margin: 0 0 15px
	}

	.card_product_spec .product_spec_item._custom {
		margin-top: 5px;
		font-size: 13px;
		display: flex;
		flex-flow: column;
	}

	.card_product_description,
	.card_product_spec .product_spec_item {
		font-size: 12px;
		line-height: 1.3
	}

	.card_product_spec2 img {
		margin: 0 15px 0 0;
		height: 45px
	}

	.card_product_spec2 {
		margin: 0 0 15px
	}

	.card_product_spec2 p {
		font-size: 13px;
		line-height: 1.5
	}

	.card_product_spec {
		width: 100%
	}

	.card_product_accordion {
		margin: 0
	}

	.accordion_content {
		display: block !important;
		padding: 0;
		margin: 0 0 5px;
		border: none
	}

	.card_product_info {
		width: 100%;
		margin: 0 0 10px !important
	}

	.accordion_header {
		border: none;
		padding: 0 0 2px;
		font-size: 13px;
		line-height: normal
	}

	.accordion_header.ui-state-active {
		border: none
	}

	.accordion_header:first-of-type {
		border-top: 1px solid silver;
		padding-top: 10px
	}

/*
	.accordion_content table {
		margin: 0 0 5px
	}
*/
	
	.accordion_content .tekst_upakovki{
		display: none;
	}
	
	.accordion_content table tr:first-child td,
	.him_sostav table tr:first-child td,
	.accordion_content table tr,
	.accordion_content table tr td{
		color: #2e2e2e !important;
		font-weight: 400!important;
		height: auto !important;
	}

	.him_sostav table tr:nth-child(2) td,
	.mehanika table tr:first-child td,
	.recomendations table tr:first-of-type td,
	.recomendations table tr:nth-of-type(2) td {
		border-color: #ababab
	}

	.accordion_content table tr:first-of-type,
	.him_sostav table tr:first-child {
		font-size: 13px !important;
		line-height: 1.5 !important;
		height: auto;
		min-height: 30px !important;
		word-wrap: break-word !important;
	}

	.him_sostav table tr:first-child td {
		padding: 3px
	}

	.accordion_content table tr,
	.him_sostav table tr:nth-child(n+2) {
		font-size: 12px;
		line-height: 1.3;
		font-weight: 400;
		height: auto;
		min-height: 20px;
		word-wrap: break-word
	}

	.accordion_content p,
	.accordion_content p a,
	.accordion_content ul {
		font-size: 13px;
		line-height: 1.3
	}

	.accordion_content ul {
		margin: 5px 0
	}
}

@media screen and (min-width:320px) and (max-width:767px) {
	.history_page_title {
		margin: 0 0 25px
	}

	.history_item,
	.history_item:nth-child(2n) {
		width: 100%;
		padding: 0 0 0 25px;
		margin: 0 0 35px
	}

	.history_item:last-child {
		padding: 0 0 0 25px;
		margin: 0
	}

	.history_wrapper::before {
		left: 5vw;
		right: auto;
		width: 1px;
		top: 11px;
		height: calc(100% + 10px)
	}

	.history_item_year {
		margin-left: auto;
		margin-bottom: 30px;
		height: 25px;
		padding: 0 12px;
		font-size: 17px;
		width: fit-content;
	}

	.history_item:nth-child(2n) .history_item_year::before,
	.history_item_year::before {
		width: calc(90vw - 70px);
		border-bottom: 2px dotted silver;
		right: calc(100% + 7px);
		left: auto
	}

	.history_item:nth-child(2n) .history_item_year::after,
	.history_item_year::after {
		width: 10px;
		height: 10px;
		right: calc(90vw - 6px);
		top: 7px;
		left: auto
	}

	.history_item_title {
		font-size: 16px;
		margin: 0 0 15px
	}

	.history_item_text {
		font-size: 14px;
		margin: 0 0 25px
	}

	.history_item_img {
		height: 190px
	}

	.history_page {
		padding-bottom: 50px
	}

	.single_news iframe {
		width: 100% !important;
		height: 250px;
	}

	.single_news h2 {
		font-size: 16px;
		line-height: 1.4;

	}


}

@media screen and (min-width:768px) and (max-width:1280px) {
	.history_page {
		padding-bottom: 125px
	}

	.history_page_title {
		margin: 0 0 45px
	}

	.history_item_year {
		margin-bottom: 35px;
		height: 35px;
		padding: 0 14px;
		font-size: 19px;
		width: fit-content;
		max-width: 72px;
	}

	.history_wrapper::before {
		top: 11px
	}

	.history_item {
		width: calc(50% - 50px);
		padding-bottom: 30px
	}

	.history_item_year::before {
		width: calc(46vw - 91px)
	}

	.history_item_year::after {
		width: 15px;
		height: 15px;
		left: calc(46vw - 8px);
		top: 8px
	}

	.history_item_title {
		font-size: 18px;
		margin: 0 0 15px
	}

	.history_item_text {
		font-size: 16px;
		margin: 0 0 30px
	}

	.history_item_img {
		height: 220px
	}

	.history_item:nth-child(2n) .history_item_year::before {
		width: 50px;
		right: 73px
	}

	.history_item:nth-child(2n) .history_item_year::after {
		right: 114px;
		top: 9px
	}
}

@media screen and (min-width:1024px) and (max-width:1280px) {
	.history_item_year {
		font-size: 22px;
		max-width: fit-content;
		padding: 0 15px;
	}

	.history_item {
		width: calc(50% - 90px)
	}

	.history_item:nth-child(2n) .history_item_year::before {
		width: 75px;
		right: 95px
	}

	.history_item:nth-child(2n) .history_item_year::after {
		right: 162px
	}

	.history_item_title {
		font-size: 20px;
		margin: 0 0 20px
	}

	.history_item_text {
		font-size: 18px
	}

	.history_item_img {
		height: 320px
	}
}

@media screen and (min-width:1281px) and (max-width:1715px) {
	.history_item {
		width: calc(50% - 130px)
	}

	.history_wrapper::before {
		top: 20px
	}

	.history_item_year {
		font-size: 28px;
		padding: 0 26px;
		height: 50px
	}

	.history_item_year::before {
		width: calc(48vw - 130px)
	}

	.history_item_year::after {
		width: 17px;
		height: 17px;
		left: calc(48vw - 8px);
		top: 16px
	}

	.history_item:nth-child(2n) .history_item_year::before {
		width: 110px;
		right: 135px
	}

	.history_item:nth-child(2n) .history_item_year::after {
		right: 234px;
		top: 15px
	}

	.history_item_title {
		font-size: 28px
	}
}

@media screen and (min-width:1716px) and (max-width:1900px) {
	.history_item_year::before {
		width: calc(70% + 580px)
	}

	.history_item_year::after {
		left: calc(70% + 724px)
	}
}
