/*стили фиксированного меню*/
.top-nav {
    background: #555555;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    left: 0;
    opacity: 0.95;
    padding: 8px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}
.topnav-wrapper {
    margin: 0 auto;
    max-width: 980px;
}
.top-logo {
    color: #ddd;
    font: bold 16px/20px "Crete Round",serif;
    padding-left: 10px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
.top-logo a{
color: #B8B8B8;
text-decoration: none;    
}
.top-logo a:hover{
color: #ddd;
}
.topnav-right {
    float: right;
}
.right-menu {
    margin: 0;
    overflow: hidden;
}
.right-menu  li {
    float: left;
    list-style-type: none;
    margin: 0;
}
.right-menu li a {
    color: #B8B8B8;
    display: block;
    padding: 0.05em 0.75em;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}
.right-menu li a:hover {
    color: #fff;
    text-shadow: none;
}
.right-menu li span {
font-size: 16px;
line-height: 1.2;
}
    
#container {
max-width: 380px;
margin: 0 auto;
padding: 25px 10px 0;
}
h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}
.info{
  color:rgba(78, 78, 78, 0.8);
  width:100%;
  margin: 40px auto;
  text-align: center;
  font-weight:300;
}
.info a {
    color: #bbb;
    text-decoration:none;
}
.info a:hover {
    color: #888;
}
/* Конец стилей демо-страницы */
    
/* Базовый контейнер табов */
.tabs {
  padding: 0px;
  margin: 0 auto;
  
}
/* Стили секций с содержанием */
section {
  display: none;
  padding: 15px;
  background: #fff;
  border: 1px solid #ddd;
}
.tabs > input {
  display: none;
}
/* Стили вкладок (табов) */
.tabs > label {
font-family: verdana;
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #aaa;
  border: 1px solid #ddd;
  background: #f1f1f1;
  border-radius: 3px 3px 0 0;
}
/* Шрифт-иконки от Font Awesome в формате Unicode */
.tabs > label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}
.tabs > label[for*="1"]:before {
  content: "\f015";
}
.tabs > label[for*="2"]:before {
  content: "\f0f6";
}
.tabs > label[for*="3"]:before {
  content: "\f0e6";
}
.tabs > label[for*="4"]:before {
  content: "\f13c";
}
/* изменения стиля заголовков вкладок при наведении */
.tabs > label:hover {
  color: #888;
  cursor: pointer;
}
/* стили для активной вкладки */
.tabs > input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 1px solid #075098;
  border-bottom: 1px solid #fff;
  background: #fff;
}
/* активация секций с помощью переключателя :checked */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}
/* медиа запросы для различных типов носителей */  
@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;
  }
}    