@keyframes bounce {
  0% {
    margin-top: 0px;
  }
  25% {
    margin-top: -3px;
  }
  50% {
    margin-top: -6px;
  }
  75% {
    margin-top: -3px;
  }
  100% {
    margin-top: 0px;
  }
}
.social_header {
  margin-left: 40px;
  padding: 5px 0;
  position: relative;
  text-align: right;
}
.social_header a {
  display: inline-block;
  vertical-align: top;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
}
.social_header a img {
  max-width: 30px;
  max-height: 30px;
  /*@include transition(all 0.5s);*/
}
.social_header a:hover img {
  animation: bounce linear 0.6s infinite;
}
@media (max-width: 960px) {
  .social_header {
    text-align: center;
    margin-left: 0;
  }
}
@keyframes msngrs_slide1 {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -60px;
  }
}
@keyframes msngrs_slide2 {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -120px;
  }
}
@keyframes msngrs_slide3 {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -180px;
  }
}
@keyframes msngrs_slide4 {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -240px;
  }
}
@keyframes msngrs_slide5 {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: 0px;
  }
}
.messenger_block {
  position: fixed;
  z-index: 999;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  visibility: hidden;
  opacity: 0;
  /*right: 15px;*/
  bottom: 250px;
  right: -120px;
  transition: all 0.5s;
}
.messenger_block .messenger_block_close {
  position: absolute;
  top: 2px;
  right: 2px;
  visibility: hidden;
  opacity: 0;
  width: 10px;
  height: 10px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid #ddd;
  transition: all 0.3s;
  text-align: center;
  line-height: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.messenger_block .messenger_block_close:before {
  content: "x";
  font-size: 9px;
  color: #ddd;
  transition: all 0.3s;
  cursor: pointer;
  line-height: 1;
}
.messenger_block .messenger_block_close:hover {
  border-color: #f00;
}
.messenger_block .messenger_block_close:hover:before {
  color: #f00;
}
.messenger_block .messenger_block_in {
  width: 60px;
  height: 60px;
  overflow: hidden;
  transition: all 0.4s;
}
.messenger_block .messenger_block_in .messenger_block_list {
  height: 60px;
  display: -moz-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
.messenger_block .messenger_block_in a {
  display: inline-block;
  vertical-align: top;
  line-height: 0;
  font-size: 0;
  padding: 2px;
}
.messenger_block .messenger_block_in a img {
  max-width: 56px;
  max-height: 56px;
  transition: all 0.4s;
}
.messenger_block .messenger_block_in a:hover img {
  transform: scale(1.1);
}
.messenger_block.opened .messenger_block_close {
  visibility: visible;
  opacity: 1;
}
.messenger_block.closed {
  cursor: pointer;
}
.messenger_block.closed .messenger_block_in a {
  pointer-events: none;
}
