/* Базовый контейнер табов */
.tabs {
	padding: 8px;
	margin: 0 auto;
	height: 100%;
}
/* Стили секций с содержанием */
.tabsections { height:calc(100% - 33px); }
.tabsections>section {padding: 0;width: calc(100% - 16px);height: calc(100% - 33px);position: absolute;}
.spravochnik>.html, .tabsections>section .dataTables_wrapper, .tabsections>section>.html{padding-top: 4px; height: calc(100% - 4px); }
.tabsections>section>div {
	/*margin: 0 0 5px;*/
	line-height: 1.5;
	color: #383838;
	/* прикрутим анимацию */
	-webkit-animation-duration: 0.4s;
	animation-duration: 0.4s;
	-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;
	}
}

.tablabels{ display: flex; }
/* Прячем чекбоксы */
.tablabels>input {
	display: none;
	position: absolute;
}
/* Стили переключателей вкладок (табов) */
.tablabels>label {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 5px 25px;
	font-weight: 600;
	text-align: left;
	color: rgb(68, 68, 68);
	opacity: 0.5;
	/* border: 0px solid #ddd; */
	/* border-width: 1px 1px 1px 1px; */
	border-radius: 3px 3px 0 0;
	background-color: rgba(0, 0, 0, 0);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Шрифт-иконки от Font Awesome в формате Unicode */
.tablabels>label:before {
	font-family: fontawesome;
	font-weight: normal;
	margin-right: 10px;
	background-color: rgba(0, 0, 0, 0)
}

/* Изменения стиля переключателей вкладок при наведении */
.tablabels>label:hover {
	color: #888;
	cursor: pointer;
}
/* Стили для активной вкладки */
.tablabels>input:checked+label {
	opacity: 1;
	border-top: 1px solid #009933;
	/* border-bottom: 1px solid #fff; */
	/* background-color: rgba(0, 0, 0, 0); */
}
/* Убираем текст с переключателей 
* и оставляем иконки на малых экранах
*/
 
@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: 5px;
	}
}
