/* Базовый контейнер табов */
.tabs1 {
  min-width: 320px;
  max-width: 90%;
  padding: 0px;
  margin: 0 auto;
  
}
/* Стили секций с содержанием */
section {
  display: none;
  padding: 15px;
  background: #FFF;
  border: 1px solid #ddd;
}
.tabs1 input {
  display: none;
}
/* Стили вкладок (табов) */
.tabs1 label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 5px 1px;
  font-weight: 600;
  text-align: center;
  color: #aaa;
  border: 2px solid #ddd;
  background: #f1f1f1;
background-image: url(/sm.aspx?guid=24283) repeat-x;
  border-radius: 3px 3px 0 0;
}
/* Шрифт-иконки от Font Awesome в формате Unicode */
.tabs1 label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}
.tabs1 label[for*="0"]:before {
content: ;
 }
.tabs1 label[for*="1"]:before {
 content: ;
 }
.tabs1 label[for*="2"]:before {
 content: ;
}
.tabs1 label[for*="3"]:before {
 content: ;
}
.tabs1 label[for*="4"]:before {
 content: ;
	}
.tabs1 label[for*="5"]:before {
 content: ;
}
.tabs1 label[for*="6"]:before {
 content: ;
}
/* изменения стиля заголовков вкладок при наведении */
.tabs1 label:hover {
  color: #888;
  cursor: pointer;
}
/* стили для активной вкладки */
.tabs1 input:checked + label {
  color: #555;
  border: 2px solid #ddd;
  border-top: 2px solid #009933;
  border-bottom: 2px solid #fff;
  background: #fff;
}
/* активация секций с помощью переключателя :checked */
#tab0:checked ~ #content0,
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6
{
  display: block;
}
/* медиа запросы для различных типов носителей */  
@media screen and (max-width: 680px) {
  .tabs1 label {
    font-size: 0;
  }

  .tabs1 label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  .tabs1 label {
    padding: 15px;
  }
}    

