
/* Базовый контейнер табов */
.tabs {
	min-width: 320px;
//	max-width: 1000px;
	padding: 0px;
	margin: 0 auto;
}
/* Стили секций с содержанием */
.tabs>section {
	display: none;
	//padding-top: 0px;
	//padding-left: 15px;
	//padding-right: 0px;
	//padding-bottom: 15px;
	background: #fff;
	border-top: 0px solid blue;
	border-left: 3px solid blue;
	border-right: 3px solid blue;
	border-bottom: 3px solid blue;	
}
.tabs>section>p {
	margin: 0 0 5px;
	line-height: 1.5;
	color: #383838;
	/* прикрутим анимацию */
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}
/* Описываем анимацию свойства opacity */
 
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* Прячем чекбоксы */
.tabs>input {
	display: none;
	position: absolute;
}
/* Стили переключателей вкладок (табов) */
.tabs>label {
	display: inline-block;
	margin: 0 0 -1px;
	padding-left: 5px;
	padding-top: 5px;
	padding-right: 1px;
	padding-bottom: 10px;
	font-weight: 600;
	text-align: center;
	color: #aaa;
	//border: 0px solid #ddd;
	//border-width: 1px 1px 1px 1px;
	background: #f1f1f1;
	border-radius: 3px 3px 0 0;
	border-top: 0px solid gray;
	border-left: 0px solid gray;
	border-right: 0px solid gray;
	border-bottom: 0px solid blue;
	width:150px;	
}
/* Шрифт-иконки от Font Awesome в формате Unicode */

.tabs>label:before {
//	font-family: fontawesome; 
	font-weight: normal;
	margin-right: 10px;
	background: url(/images/vin/file.png) no-repeat;
}
.tabs>label[for*="1"]:before {
/*	content: "\f19a"; */
	background: url(/images/vin/file.png) no-repeat;
}
.tabs>label[for*="2"]:before {
/*	content: "\f17a"; */
	background: url(/images/vin/file.png) no-repeat;
}
.tabs>label[for*="3"]:before {
/*	content: "\f13b"; */
	background: url(/images/vin/file.png) no-repeat;
}
.tabs>label[for*="4"]:before {
/*	content: "\f13c"; */
	background: url(/images/vin/file.png) no-repeat;
}
.tabs>label[for*="9"]:before {
/*	content: "\f13d"; */
	background: url(/images/vin/file.png) no-repeat;	
}

/* Изменения стиля переключателей вкладок при наведении */
 
.tabs>label:hover {
	color: #888;
	cursor: pointer;
}
/* Стили для активной вкладки */
.tabs>input:checked+label {
	color: #555;
	border-top: 3px solid blue;
	border-left: 3px solid blue;
	border-right: 3px solid blue;
	border-bottom: 0px solid #fff;
	border-radius: 3px 3px 0 0;
	background: #fff;
}

.section-top-border1, .section-top-border2, .section-top-border3, .section-top-border4, .section-top-border9 {
	width: 100%;
	height: 3px;
	margin-top: 1px;
	border-top: 3px solid blue;
}

.section-top-border101, .section-top-border102, .section-top-border103, .section-top-border104 {
	width: 100%;
	height: 3px;
	margin-top: 1px;
	border-top: 3px solid blue;
}

/* Активация секций с помощью псевдокласса :checked */
#tab1:checked~#content-tab1, #tab2:checked~#content-tab2, #tab3:checked~#content-tab3, #tab4:checked~#content-tab4, #tab9:checked~#content-tab9 {
	display: block;
}

#main_tab1:checked~#content-tab101, #main_tab2:checked~#content-tab102, #main_tab3:checked~#content-tab103, #main_tab4:checked~#content-tab104 {
	display: block;
}

#content-tab1, #content-tab2, #content-tab3, #content-tab4, #content-tab9 {
	max-height: 33vh;
}

/* Убираем текст с переключателей 
* и оставляем иконки на малых экранах
*/
 
@media screen and (max-width: 680px) {
	.tabs>label {
		font-size: 0;
	}
	.tabs>label:before {
		margin: 0;
		font-size: 18px;
	}
}
/* Изменяем внутренние отступы 
*  переключателей для малых экранов
*/
@media screen and (max-width: 400px) {
	.tabs>label {
		padding: 15px;
	}
}

.tab-checkbox-container {
	position:absolute;
	right:10px;top:10px;
	z-index:99;
}

.tab-block-filters {
	height:40px;
	width:144px;
	background-image:url(/images/vin/vin_filters.png);
	background-repeat: no-repeat;
}

.tab-block-podveska {
	height:40px;
	width:144px;
	background-image:url(/images/vin/vin_podveska.png);
	background-repeat: no-repeat;
}

.tab-block-remni {
	height:40px;
	width:144px;
	background-image:url(/images/vin/vin_remni.png);
	background-repeat: no-repeat;
}

.tab-block-tormoz {
	height:40px;
	width:144px;
	background-image:url(/images/vin/vin_tormoz.png);
	background-repeat: no-repeat;
}

.tab-block-dop {
	height:40px;
	width:144px;
	background-image:url(/images/vin/vin_dop.png);
	background-repeat: no-repeat;
}