/* Вкладки */
ul.tabs{
	margin: 0 0 0 0;
	padding: 0;
}
ul.tabs li {
	list-style: none;
	float: left;
	height: 32px;
	margin: 0 1px 0 0;
	background: #fbfbfb;
	border: 1px solid #bfbfbf;
	border-bottom: 0;
	position: relative;
	z-index: 1;
}
ul.tabs li a,
ul.tabs li a:visited {
	display: block;
	font: 16px/32px Arial;
	color: #333333;
	padding: 0 16px 0 16px;
	text-decoration: none;
}
ul.tabs li.active {
	border: 1px solid #323232;
	background: #323232;
	border-bottom: 0;
}
ul.tabs li.active a {
	color: #ffffff;
}

ul.goodsTabs li:first-child {
	-webkit-border-radius:3px 0 0 0;
	-moz-border-radius:3px 0 0 0;
	border-radius:3px 0 0 0;
}
ul.goodsTabs li:last-child {
	-webkit-border-radius:0 3px 0 0;
	-moz-border-radius:0 3px 0 0;
	border-radius:0 3px 0 0;
}
ul.goodsTabs + .goodsGroupColumns #filter {
	-webkit-border-radius: 0 0 0 3px;
	-moz-border-radius: 0 0 0 3px;
	border-radius: 0 0 0 3px;
}

.tyresCalcParams.wheelsTyresmainPageClass{
	background: #fafafa;
}

.tyresSearchControls .selectsBlock2{
	clear: both;
	padding: 15px 10px;
}

.tyresSearchControls .selectsBlock2 .fr-form-group {
	margin-bottom: 5px;
}

.wCarSimpleVertical {
	margin-left: 0 !important;
}

.tyresSearchBlock{
	min-width: 895px;
	margin-bottom: 45px;
	border: 1px solid #bfbfbf;
	position: relative;
	width: 100%;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tyresSearchBlock .tyresSearchControls{
	width: 190px;
	padding: 0 10px;
	box-sizing: border-box;
	float: left;
	margin-right: -190px;
	position: relative;
}

.tyresSearchBlock .tyresCalcParamsColumn {
	float: left;
	width: 100%;
}

.tyresSearchBlock .tyresSearchControls div.tyresSearchControlsCont{
	padding:0 4px 0 15px;
	min-width: 145px;
}

.carbaseAutoChoiseImage img {
	max-width: 100%;
}

/*шинный калькулятор*/
.tyresCalcParams{
	background: #fff;
	padding: 10px 0 0;
	margin-left: 190px;
}

.tyresCalcParamsCont {
	background: #FFFFFF;
}

.tyresCalcParams h2{
	color: #000000;
	font: 16px Arial;
	text-align: left;
	margin-top: 10px;
}

.tyresCalcColumns{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 0;
	border-left: 1px solid #fff;
}

.tyresCalcColumns{
	vertical-align: top;
	background: #fff;
}

.tyresCalcColumns td:first-child{
	border-right: 1px solid #bfbfbf;
	width: 50%;
	padding: 0;
}

.tyresCalcColumns td:last-child{
	width: 50%;
	border-left: 1px solid #fff;
	padding: 0;
}

.tyresCalcParams table.paramsTables td[rowspan]{
	border-bottom: 0;
}

.tyresCalcParams .params{
	width: 100%;
	text-align: center;
	border-bottom: 1px solid #bfbfbf;
	background: #fff;
	padding-top: 37px;
}

.tyresCalcParams .selects{
	clear: both;
	float: left;
	width: 100%;
	border-bottom: 1px solid #969696;
}

.tyreDisksSelects{
	height: 72px;
	padding: 42px 0 0 10px;
}

.tyreDisksSelects *{
	color: #000;
	font: 12px Arial;
}

.tyreDisksSelects label,
.tyreDisksSelects input,
.tyreDisksSelects select,
.tyreDisksSelects span{
	vertical-align: middle;
}

.tyreDisksSelects .tyre{
	padding-bottom: 9px;
	margin-bottom: 9px;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 31px;
	box-sizing: border-box;
}

.tyreDisksSelects .disc{
	display: flex;
	align-items: center;
	min-height: 22px;
}

input.tyresAndDisksSearchButton{
	cursor: pointer;
	border: 1px solid #808080;
	background: #dcdcdc;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#e8e8e8), to(#fefefe));
	background: -webkit-linear-gradient(#e8e8e8, #fefefe);
	background: -moz-linear-gradient(#e8e8e8, #fefefe);
	background: -ms-linear-gradient(#e8e8e8, #fefefe);
	background: -o-linear-gradient(#e8e8e8, #fefefe);
	background: linear-gradient(#e8e8e8, #fefefe);
	-pie-background: linear-gradient(#e8e8e8, #fefefe);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	min-width: 48px;
	margin: 5px 0 0;
	padding: 1px 0;
	font-size: 11px;
	box-shadow: 3px 0 2px #cecece inset,
				-3px 0 2px #cecece inset;
}

.tyreDisksSelects input {
	display: none;
}

.tyreDisksSelects input + label:before {
	font-family: 'icomoon';
	content: "\e61f";
	color: #666666;
	display: block;
	margin-right: 5px;
	position: relative;
	top: -1px;
}

.tyreDisksSelects .disc input + label:before {
	top: 0;
}

.tyreDisksSelects input:checked + label:before {
	content: "\e61e";
	color: #428bca;
}

.tyreDisksSelects label{
	display: flex;
	align-items: center;
	width: 67px;
	justify-content: space-between;
}

.tyreDisksSelects label a {
	margin-left: 5px;
	margin-right: 2px;
}
.tyreDisksSelects label a i {
	color: #428bca;
}

.tyreDisksSelects span{
	margin: 0 1%;
}
.tyreDisksSelects .tireMenuSpan {
	margin: 0 7px;
}


.tyreDisksSelects span.r{
	margin: 0 8px;
}

.carbaseAutoChoiseSelect select {
	box-shadow: none;
	border-radius: 3px;
	padding: 3px 10px;
}

#CAResults {
	padding: 0 10px;
}

#CAResults table {
	border: none;
}

#CAResults table tr:last-child td {
	border-bottom: none;
}

#CAResults table th {
	font-size: 15px;
	background: none;
	border: none;
}

#CAResults table td {
	font-size: 11px;
	border: none;
	border-bottom: 1px solid #dddddd;
	height: 32px;
	vertical-align: middle;
	box-sizing: border-box;
}

#CAResults table td:first-child {
	font-weight: bold;
}

#CAResults h2{
	margin-left: 0;
}

#CAResults table.paramsTables{
	margin: 10px 0;
}

table.paramsTables,
table.recommendationsTable{
	clear: both;
	padding: 0 23px 0;
	background: #dcdcdc;
	border: 0 none;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

table.paramsTables tr:last-child td{
	padding-bottom: 20px;
	border-bottom: 0;
}

table.paramsTables td,
table.recommendationsTable td{
	height: 18px;
	vertical-align: middle;
	border-bottom: 1px solid #f1f1f1;
	font: 12px Arial;
	padding: 5px 5px 5px 25px;
}

table.paramsTables tr:first-child td,
table.recommendationsTable tr:first-child td{
	padding-top: 15px;
}

table.paramsTables td:first-child{
	width: 25%;
}

table.paramsTables td.secondCell,
table.paramsTables th.secondCell{
	border-right: 1px solid #bfbfbf;
	border-left: 0;
	width: 25%;
}

table.paramsTables td:last-child,
table.paramsTables th:last-child{
	width: 50%;
	border-left: 1px solid #fff;
	border-right: 0;
	padding-left: 49px;
}

table.paramsTables tr:last-child td{
	border-bottom: 0;
}

table.paramsTables th,
table.recommendationsTable th{
	background: #eeeeee;
	height: 30px;
	color: #323232;
	font: bold 14px Arial;
	text-align: left;
	padding-left: 25px;
}

.tyresIframeWrap1{
	position:relative;
}

.tyresIframeWrap1 h2{
	position: absolute;
	top: 455px;
	left: 10px;
	z-index:1;
}

.tyresIframeWrap2{
	padding-top: 20px;
	position:relative;
}

.tyresIframeWrap2 h2{
	position: absolute;
	top: 455px;
	left: 51.2%
}

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

/*переопределение старых стилей*/
#vatman{
	margin: 0 auto;
}

#compareSpecs{
    margin: 10px;
}

.carapplicability, .tyrescalc, .diskscalc{
    padding: 5px 0 5px;
}

.tyresPaginator{
	text-align: center;
	margin-bottom: 10px;
}

.tyresPaginator > a{
	margin-right: 8px;
	font: 14px/14px Arial;
	color: #fff;
	text-decoration: none;
	background: #bebebe;
	border: 1px solid #999999;
	display: inline-block;
	padding: 5px 6px;
	-moz-box-shadow: 0 1px 0 #fff;
	-webkit-box-shadow: 0 1px 0 #fff;
	box-shadow: 0 1px 0 #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: relative;
}

.tyresPaginator > a.act{
	background: #323232;
}

.tyresPaginator span.first a, .tyresPaginator span.last a{
	color: #646464;
	font: 12px Arial;
}

.tyresPaginator span.first{
	margin-right: 18px;
}

.tyresPaginator span.last{
	margin-left: 6px;
}

@media (min-width: 768px) {
	table.withlines,
	table.withlines th,
	table.withlines td {
		box-sizing: border-box;
	}

	table.withlines td {
		width: 30% !important;
	}

	table.withlines td:first-child {
		width: 20% !important;
	}

	table.withlines td:last-child {
		width: 50% !important;
		padding-left: 15px;
	}

	table.withlines th:last-child {
		padding-left: 15px;
	}

	table.withlines th:not(:last-child):not(:first-child),
	table.withlines td:not(:last-child) {
		text-align: right;
		padding-right: 15px;
	}

	table.withlines .withlinesRowTitle td:first-child {
		text-align: left;
	}

	.wWheelCalc .tyresIframeWrap2 iframe {
		width: 50% !important;
	}
}

@media (min-device-width: 768px) {
	.tyreDisksSelects .tyre,
	.tyreDisksSelects .disc {
		justify-content: center;
	}

	.iFrameLeft #vatman {
		margin: 0 0 0 auto;
	}

	.iFrameRight #vatman {
		margin: 0 auto 0 0;
	}

	.tyreDisksSelects {
		padding: 42px 10px 0 15px;
	}

	.wWheelCalc .tyresCalcParams h2 {
		position: absolute;
	}

	.tyresIframeWrap1 h2 {
		left: 25%;
		transform: translateX(-50%);
	}

	.tyresIframeWrap2 h2 {
		left: 75%;
		transform: translateX(-50%);
	}
}

/* здесь 340px - это ширина фрейма, а не разрешение экрана */
@media (max-width: 340px) {
	.tyreDisksSelects {
		padding-top: 10px;
	}

	.tyreDisksSelects .disc,
	.tyreDisksSelects .tyre {
		flex-wrap: wrap;
	}

	.tyreDisksSelects label{
		margin-bottom: 5px;
	}
}