.msgrs {
  position: fixed;
  right: 25px;
  bottom: 120px;
  display: flex;
  flex-direction: row;
  z-index: 8;
}
@media (max-width: 640px) {
  .msgrs {
    bottom: 50px;
  }
}
.msgrs.msgrs_mobile .msgrs_item a span {
  display: none;
}
.msgrs_list {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0;
  transition: 0.3s all linear;
  opacity: 1;
  visibility: visible;
  bottom: 0;
}
.msgrs_list.opened {
  max-height: 275px;
  bottom: 55px;
  opacity: 1;
  visibility: visible;
}
.msgrs_item.phone a {
  background: url(msgrs_sprite.png) 0 100% no-repeat;
}
.msgrs_item a {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  background-repeat: no-repeat;
  transition: 0.3s opacity linear;
  position: relative;
  font-size: 0;
}
.msgrs_item a img {
  border-radius: 50%;
}
.msgrs_item a span {
  color: #000;
  font-size: 16px;
  line-height: 20px;
  position: absolute;
  right: 100%;
  margin-right: 5px;
  top: 50%;
  margin-top: -10px;
  visibility: hidden;
  opacity: 0;
  border-radius: 3px;
  background: #fff;
  padding: 2px;
  transition: 0.25s all linear;
  white-space: nowrap;
}
.msgrs_item a:hover {
  opacity: 0.9;
}
.msgrs_item a:hover span {
  visibility: visible;
  opacity: 1;
}
.msgrs_item:not(.phone) {
  margin-top: 15px;
}
.msgrs_item.phone a {
  background-position: bottom left;
}
.msgrs_item.telegram a {
  background-position: top right;
}
.msgrs_item.whatsapp a {
  background-position: top -55px right 0;
}
.msgrs_item.viber a {
  background-position: top -110px right 0;
}
.msgrs_item.form a {
  background-position: top -165px right 0;
}
.msgrs_but {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-left: 15px;
  background-image: url(msgrs_sprite.png);
  background-repeat: no-repeat;
  background-position: bottom -55px right 0;
  cursor: pointer;
  transition: 0.3s opacity linear;
}
.msgrs_but:hover {
  opacity: 0.9;
}
.msgrs_but.opened {
  background-position: bottom 0 right 0;
}
@media (max-width: 960px) {
  .msgrs:not(.real-mobile) {
    bottom: 15px;
  }
}
.msgrs_item a {
  position: relative;
  border-radius: 50%;
}
.msgrs_item a:before, .msgrs_item a:after {
  content: " ";
  display: block;
  position: absolute;
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: border-animate 1.5s linear infinite;
  opacity: 0;
  border: 1px solid #2CA5E0;
}
.msgrs_item a:after {
  animation-delay: 0.5s;
}
.msgrs_item:nth-child(2) a:before, .msgrs_item:nth-child(2) a:after {
  border: 1px solid #25D366;
}
@keyframes border-animate {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
table.gallery td img {
  object-fit: contain !important;
}
.gal-wrap10 img {
  border: none !important;
}
