.box {
  display: flex;
  align-items: center;
}

.icon {
  width: 7rem;
  margin-right: 1rem;
}

.periodback {
  transition: 0.5s ease;
}
.col-lg-4:hover .periodback {
  transform: translate(7px, -15px);
  transition: .2s ease-in-out;
  box-shadow: 2px 2px 45px #dc3545;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
}


.col-lg-4:hover .middle {
  opacity: 1;
}

.hover01 img {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hover01:hover img {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.itemS {
  animation-name: fade;
  animation-duration: 1.5s;
}

.ipsTag {
  display: inline-block;
  background: url(https://tesall.ru/public/style_images/teslight/tag_bg.png);
  height: 20px;
  line-height: 20px;
  padding: 0 7px 0 15px;
  margin: 5px 5px 0 0;
  font-size: 11px;
  color: #656565;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
  -moz-border-radius: 0 3px 3px 0;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  border-radius: 0 3px 3px 0;
}

.cardsBlock {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mainBtn {
  color: red;
  background-color: white !important;
  border-radius: 50px;
  box-shadow: 0px 2px 2px black;
  max-height: 40px;
  transition: .2s ease-in-out;
}

.mainBtn:hover {
  transform: translateY(-7px);
  box-shadow: 2px 2px 7px #dc3545;
  transition: .2s ease-in-out;
  color: white !important;
  background-color: #dc3545 !important;
  /* font-weight: 600 !important; */
}

/* Стиль меню навигации */

/* Стиль навигационных ссылок */
#myMenu li a {
  padding: 12px;
  text-decoration: none;
  color: black;
  display: block;
}

#myMenu li a:hover {
  background-color: #eee;
}

.secBtn {
  color: #575756;
  background-color: #fff5e6;
}

.secBtn:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.mytext {
  font-size: 1.1rem;
  line-height: 1.8rem;
}

.textperiod {
  font-size: 1.3rem;
  line-height: 2rem;
}

.hover02 img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hover02 a:hover img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.textmenu {
  font-weight: 400;
}

.textmenu li {
  width: 100px;
  height: 50px;
  transition: background-position-x 0.9s linear;
  color: white !important;
  text-align: center;
}

/* Подчеркивание ссылок в меню */

/* .textmenu li:hover {
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4yLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i0KHQu9C+0LlfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMDAgNDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCA0MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6IzMxQTVERTt9DQo8L3N0eWxlPg0KPHJlY3QgeT0iMzYuNCIgY2xhc3M9InN0MCIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxLjQiLz4NCjwvc3ZnPg0K");
} */

/* Условия для меню и дропдаун ссылок */

.textmenu li:hover a:not(.colhref) {
  color: #fdab6c !important;
  box-shadow: 1px 1px 2px #fdab6c;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Скрытый дропдаун */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Ссылки для дропдауна */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 18px;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.colhref {
  /* Это пункты меню периодов */
  color: rgba(0, 0, 0, 0.5) !important;
}

/* ФОТОГАЛЕРЕЯ */

.photo-gallery {
  color: #313437;
  background-color: #fff;
}

.photo-gallery p {
  color: #7d8285;
}

.photo-gallery h2 {
  font-weight: bold;
  margin-bottom: 40px;
  padding-top: 40px;
  color: inherit;
}

@media (max-width: 767px) {
  .photo-gallery h2 {
    margin-bottom: 25px;
    padding-top: 25px;
    font-size: 24px;
  }
}

.photo-gallery .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom: 0;
}

.photo-gallery .photos {
  padding-bottom: 20px;
}

.photo-gallery .item {
  padding-bottom: 30px;
}

.otkatBtn {
  max-height: 40px;
  border: black solid 1px;
}

.otkatBtn:hover {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.preloader {
  /*фиксированное позиционирование*/
  position: fixed;
  /* координаты положения */
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /* фоновый цвет элемента */
  background: #e0e0e0;
  /* размещаем блок над всеми элементами на странице (это значение должно быть больше, чем у любого другого позиционированного элемента на странице) */
  z-index: 1001;
}

.preloader__row {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}

.preloader__item {
  position: absolute;
  display: inline-block;
  top: 0;
  background-color: #337ab7;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  animation: preloader-bounce 2s infinite ease-in-out;
}

.preloader__item:last-child {
  top: auto;
  bottom: 0;
  animation-delay: -1s;
}

@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloader-bounce {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

/* Mobile Menu*/

header {
  position: relative;
}
.menu-triger {
  display: block;
  width: 25px;
  height: 17px;
  background: url("nav/menu.png") 0 0 repeat;
  position: absolute;
  left: 15px;
  top: 18px;
}
.menu-close {
  display: block;
  width: 28px;
  height: 28px;
  background: url("nav/close.png") 0 0 repeat;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100;
}
.menu-popup {
  display: none;
  background: #fff5e6;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0;
  box-sizing: border-box;
  padding: 30px;
  z-index: 9999;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.menu-popup ul {
  margin: 0;
  padding: 0;
}
.menu-popup li {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}
.menu-popup li a {
  font-size: 18px;
  font-family: "Arial";
  color: rgba(0, 0, 0, 0.5) !important;
  line-height: 1.4;
  text-decoration: none;
}
.body_pointer * {
  cursor: pointer;
}



.textFresh {
  font-size: calc(1rem + 1vw);
  font-weight: 300;
  line-height: 1.2;
}