/* Стили для нижнего колонтитула */
footer {
   padding: 20px 60px;
   background: #3C3D41;
   color: white;
   font-size: 1.1em;
}
.footer-col {
   width: 33.3333333333%;
   float: left;
   font-size: 18px;
   color: #ccc;
}
.footer-col a {
   color: #ccc;
}
.footer-col a:hover {
   color: #EF5A42;
}
.footer-col:last-child {
   text-align: right;
}
.social-bar-wrap {
   text-align: center;
}
.social-bar-wrap a {
   padding: 0 7px;

}

.log {
    float: left;
    width: 30%;
    margin: 15px 5px;
}

.a img{
	}
.b img{
	width:100%;
	}

/* Centered text */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
   /* показываем кнопку для переключения верхней навигации */
   .nav-toggle {
      display: block;
   }
   header {
      padding: 10px 0;
   }
   /* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */
   #menu {
      max-height: 0;
      background: white;
      float: none;
      position: absolute;
      overflow: hidden;
      top: 62px;
      right: 0;
      left: 0;
      margin: 0;
      padding: 0;
      z-index: 3;
   }
   /* делаем элементы списка блочными, чтобы они располагались друг под другом */
   #menu li {
      display: block;
      text-align: center;
      border-bottom: 1px solid #fff;
      margin-right: 0;
   }
   /* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
   .posts-list {
      width: 100%;
      float: none;
   }
   .widget-post-title {
      font-size: 1.5em;
   }
   .sign {
    float: left;
    width: 363px;
    margin: 3px 3px;
    padding: 2% 9%;
    }
}

@media screen and (max-width: 480px) {
   /* отменяем обтекание для логотипа и выравниваем по центру*/
   .logo {
      float: none;
      margin: 0 auto 15px;
      display: table;
   }
   .logo span {
      margin: 0 2px;
   }
   /* позиционируем меню на увеличившуюся высоту шапки */
   #menu {
      top: 106px;
   }
   /* позиционируем форму поиска по левому краю */
   #searchform {
      float: left;
      margin-left: 0;
   }
   /* убираем верхнюю и нижнюю границы и выравниваем кнопку по центру */
   .post-footer {
      border-top: none;
      border-bottom: none;
      text-align: center;
   }
   /* отменяем позиционирование кнопок соцсетей */
   .post-social {
      position: static;
      text-align: center;
      transform: none;
      margin-top: 20px;
   }
   .widget-post-title {
      font-size: 1.2em;
   }
   /* отменяем обтекание для столбцов подвала страницы */
   .footer-col {
      float: none;
      margin-bottom: 20px;
      width: 100%;
      text-align: center;
   }
   .footer-col:last-child {
      text-align: center;
      margin-bottom: 0;
   }
   .sign {
     float: none;
     width: 100%;
     margin: 3px 3px;
     padding: 2% 25%;
     text-align: center;
   }
}

.normal {
  float: left;  /* Выравнивание по левому краю */
  width: 600px;
  height: 680px;
  border: 1px solid #ccc; /* Параметры рамки */
  padding: 3% 3%; /* Поля внутри блока */
  margin: 0px 0px; /* Отступы вокруг */
  background: #FFF; /* Цвет фона */
}

.posts-listok {
   margin-bottom: 40px;
   width: 66%;
   float: left;
}
ul {
  list-style-type: circle; /* маркеры */
}

.herd{
  font-size: 150%; /* Размер текста */
}

.hard{
  font-size: 102%; /* Размер текста */
}

.slideshow {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #0096FF;
    margin: 10px 0;
}
.slideshow-item {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    animation: slideanim 40s infinite;
    pointer-events: none;
}
.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
    animation-delay: 0;
}
.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
    animation-delay: 10s;
}
.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
    animation-delay: 20s;
}
.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img {
    animation-delay: 30s;
}
.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 40s infinite;
}
.slideshow-item-text {
    max-width: 50%;
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 20px 30px;
    font-family: Verdana, sans-serif;
}
.slideshow-item-text h5 {
    font-size: 34px;
    margin: 0 0 10px 0;
    color: #FFF;
    font-weight: bolder;
}
.slideshow-item-text p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}
@keyframes slideanim {
    12.5%{
        opacity: 1;
        pointer-events: auto;
    }
    25%{
        opacity: 1;
        pointer-events: auto;
    }
    37.5%{
        opacity: 0;
    }
}
@keyframes zoom {
    50%{
        transform: scale(1.3);
    }
}
@media screen and (max-width: 1100px){
    .slideshow-item-text{
        max-width: 75%;
    }
}
@media screen and (max-width: 456px){
    .slideshow-item-text {
        bottom: 0;
        left: 0;
        max-width: 100%;
    }
    .slideshow-item-text h5 {
        font-size: 18px;
    }
    .slideshow-item-text p {
        font-size: 13px;
    }
}
@media screen and (min-width: 768px) {
.scroll-up {
  width:70px;
  height:50px;
  opacity:0.5;
  position:fixed;
  bottom:50px;
  right:5px;
  display:none;
  text-indent:-9999px;
  background: url('icon_top.png') no-repeat;
  }
}

a.tel[href^="tel:"]:before {
  content: "\260e";
  margin-right: 0.1em;
  font-size: 22px;
  line-height: 10px;
  color: #EF5A42;
}

.round {
  border-radius: 120px; /* Радиус скругления */
  box-shadow: 0 0 0 0px #111, 0 0 8px #333; /* Параметры теней */
  margin: 10px  10px 10px 12px; /* Отступы вокруг */
  padding: 0% 0%;
}
.round:hover {
  filter: alpha(Opacity=90); /* Полупрозрачность для IE */
  opacity: 0.9; /* Полупрозрачность для других браузеров */
  box-shadow: 0 0 0 0px #111, 0 0 14px #333; /* Параметры теней */
  border-radius: 120px; /* Радиус скругления */
  background: #EF5A42;
}
@media screen and (max-width: 320px){
    .scale {
    float: none;
    margin: 0 auto 15px;
    display: table;
    }
}
@media screen and (max-width: 1024px){
    .round{
    width: 120px;
    height: 120px;
    }
}
@media screen and (max-width: 820px){
    .round{
    width: 130px;
    height: 130px;
    }
}
@media screen and (max-width: 820px) {
    footer {
    padding: 20px 0px;
    font-size: 1.1em;
    }
}
