.reaction-container {
  max-width:100%; 
  }

.reaction-btn {
  font-weight: bold;
  color: #7f7f7f;
  float:right;
  position: relative;
  cursor: pointer;
  padding: 10px 10px 0 0;
  z-index:999;
}

.reaction-btn:hover {
  color: #0026FF;
}

.like-btn-default {
  background-image: url('emojis/default_small.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: -1px -5px;
}

.reaction-btn-emo {
  display: inline-block;
  margin: 0 6px -3px 0;
  width: 16px;
  height: 16px;
  
}

.emojies-box {
  height: 42px;
  width: 302px;
  padding: 10px;
  position: absolute;
  top: -43px;
  left: -210px;
  box-shadow: 1px 1px 2px #cccccc, -1px 0px 2px #eeeeee;
  border-radius: 44px 44px;
  z-index:9999;
  display: none;
  background-color:#ffffff;
}

.emoji {
  list-style-type: none;
  cursor: pointer;
  display: inline-block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 4px;
  opacity: 0;
  transform: scale(1, 1);
  transition: opacity .5s ease-in-out 1s, transform .07s ease-in-out 0s, top .07s ease-in-out 0s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index:9999;
}

.reaction-btn:hover .emojies-box {
  display: block;
  z-index:9999;
}

.emo-like {
  left: 5px;
  transition-delay: 0s;
  background-image: url('../images/reactions_like.png');
}

.emo-love {
  left: 48px;
  transition-delay: .05s;
  background-image: url('../images/reactions_love.png');
}

.emo-haha {
  left: 91px;
  transition-delay: .1s;
  background-image: url('../images/reactions_haha.png');
}

.emo-wow {
  left: 134px;
  transition-delay: .15s;
  background-image: url('../images/reactions_wow.png');
}

.emo-sad {
  left: 177px;
  transition-delay: .2s;
  background-image: url('../images/reactions_sad.png');
}

.emo-angry {
  left: 220px;
  transition-delay: .25s;
  background-image: url('../images/reactions_angry.png');
}

.emo-care {
  left: 262px;
  transition-delay: .3s;
  background-image: url('../images/reactions_care.png');
}



.reaction-btn:hover .emoji {
  opacity: 1;
  animation-name: reaction_delay;
  animation-duration: .5s;
}

@keyframes reaction_delay {
  0% {
    width: 48px;
    height: 48px;
    top: 60px;
  }
  48% {
    width: 56px;
    height: 56px;
    top: 5px;
  }	
  100% {
    width: 48px;
    height: 48px;
    top: 8px;
  }
}


.reaction-btn:hover .emo-like {
  animation-delay: 0s
}

.reaction-btn:hover .emo-love {
  animation-delay: .05s
}

.reaction-btn:hover .emo-haha {
  animation-delay: .1s
}

.reaction-btn:hover .emo-wow {
  animation-delay: .15s
}

.reaction-btn:hover .emo-sad {
  animation-delay: .2s
}

.reaction-btn:hover .emo-angry {
  animation-delay: .25s
}

.reaction-btn:hover .emo-care {
  animation-delay: .3s
}

.emoji:hover {
  transform: scale(1.3, 1.3);
  top: 2px
}



.emoji::before {
  display: inline-block;
  color: #ffffff;
  text-align: center;
  line-height: 17px;
  font-size: .5em;
  width: 80%;
  height: 17px;
  margin-left: 10%;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  position: absolute;
  top: -25px;
  opacity: 0;
  transition: opacity .2s ease-in-out 0s;
  z-index:9999;
}

.emoji:hover::before {
  opacity: 1;    
}

.emo-like::before {
  content: 'Like'
}

.emo-love::before {
  content: 'Love'
}

.emo-haha::before {
  content: 'Haha'
}

.emo-wow::before {
  content: 'Wow'
}


.emo-sad::before {
  content: 'Sad'
}

.emo-angry::before {
  content: 'Angry'
}

.emo-care::before {
  content: 'Care'
}

.like-stat {
  margin-top: 5px;
}


.like-btn-Like{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -17px -151px;
}

.like-btn-Love{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 -168px;
}

.like-btn-Haha{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 -151px;
}

.like-btn-Wow{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -17px -185px;
}

.like-btn-Sad{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -17px -168px;
}

.like-btn-Angry{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -17px -117px;
}

.like-btn-Care{
  background-image: url('../images/reaction-small.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -17px -202px;
}

.reaction-btn-text-like {
  color:rgb(88, 144, 255);
}
.reaction-btn-text-wow,.reaction-btn-text-haha,.reaction-btn-text-sad,.reaction-btn-text-care {
  color:rgb(240, 186, 21)
}
.reaction-btn-text-love{
  color:rgb(242, 82, 104)
}
.reaction-btn-text-angry{
  color:rgb(247, 113, 75);
}

.like-emo > span{
    display: inline-block;
    margin: 10px -3px -3px 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #EEE;
    border-radius: 50%;
    float:left

}

.like-details{
  margin:10px 0 0 10px;
  color:#9197a3;
  font-size:12px;
  float:left;
}
[data-tooltip1] {
    display: inline-block;
    position: relative;
    cursor: help;
    padding: 4px;
}
/* Tooltip styling */
[data-tooltip1]:before {
    content: attr(data-tooltip1);
    display: none;
    position: absolute;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.4;
    min-width: 100px;
    text-align: center;
    border-radius: 4px;
}
/* Dynamic horizontal centering */
[data-tooltip1-position="top"]:before {
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
[data-tooltip1-position="top"]:before {
    bottom: 100%;
    margin-bottom: 6px;
}

/* Tooltip arrow styling/placement */
[data-tooltip1]:after {
    content: '';
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}
/* Dynamic horizontal centering for the tooltip */
[data-tooltip1-position="top"]:after {
    left: 50%;
    margin-left: -6px;
}

[data-tooltip1-position="top"]:after {
    bottom: 100%;
    border-width: 6px 6px 0;
    border-top-color: #000;
}
/* Show the tooltip when hovering */
[data-tooltip1]:hover:before,
[data-tooltip1]:hover:after {
    display: block;
    z-index: 50;
}