/*@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,700);*/

/*
.ow_photoview_info_wrap {
    overflow: visible !important;
}
.ow_photoview_info {
    overflow: visible !important;
}
*/
.facebook-reaction{
  font-family: 'Roboto',Arial,sans-serif;
  color: #333;
  max-width:100%;
  /*margin:150px auto;
  padding:0 60px;*/
  position: relative;
}

.like-btn {
  font-weight: bold;
  color: #7f7f7f;
  position: relative;
  cursor: pointer;
  padding: 20px 20px 0 0;
}

.like-btn:hover, .like-btn:active {
  text-decoration: underline;
}

.like-btn-default {
  background-image: url('../images/facebook.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: -277px -446px;
}

.like-btn-emo {
  display: inline-block;
  margin: 0 6px -3px 0;
  width: 16px;
  height: 16px;
}

.reactions-box {
  height: 44px;
  width: 340px;
  padding: 10px;
  position: absolute;
  top: -63px;
  left: -14px;
  top: -48px;
  left: 0px;
  box-shadow: 1px 1px 2px #cccccc, -1px 0px 2px #eeeeee;
  border-radius: 44px 44px;
  display: none;
  background: rgba(255, 255, 255, 0.82);
  z-index: 1010;
}

.reaction {
  list-style-type: none;
  cursor: pointer;
  display: inline-block;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 8px;
  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;
  
  transition-delay: 0s !important;
  -webkit-transition: all 300ms ease;
  z-index: 1010;
}


@media screen and (max-width: 480px) {
	.reaction {
	  width: 36px;
	  height: 36px;  
	  top: 5px;
	}
	@keyframes reaction_delay {
	  0% {
		width: 36px;
		height: 36px;
		top: 60px;
	  }
	  48% {
		width: 42px;
		height: 42px;
		top: 5px;
	  }	
	  100% {
		width: 36px;
		height: 36px;
		top: 8px;
	  }
	}
	.reactions-box {
		height: 26px;
		width: 223px;
		top: -35px;
		left: -20px;
	}
/*
	48+10 = 58+10=68	
	36+6 = 42 + 6 = 48
	33+5 = 38 + 5 = 41
*/
	.reaction-1 {
	  left: 8px !important;
	}
	.reaction-2 {
	  left: 46px !important;
	}
	.reaction-3 {
	  left: 84px !important;
	}
	.reaction-4 {
	  left: 122px !important;
	}
	.reaction-5 {
	  left: 160px !important;
	}
	.reaction-6 {
	  left: 198px !important;
	}
	    
}
.like-btn:hover .reactions-box, .like-btn:active .reactions-box {
  display: block;
}

.reaction-like {
  left: 10px;
  transition-delay: 0s;
  background-image: url('../images/reactions_like.png');
}

.reaction-love {
  left: 68px;
  transition-delay: .05s;
  background-image: url('../images/reactions_love.png');
}

.reaction-haha {
  left: 126px;
  transition-delay: .1s;
  background-image: url('../images/reactions_haha.png');
}

.reaction-wow {
  left: 184px;
  transition-delay: .15s;
  background-image: url('../images/reactions_wow.png');
}

.reaction-sad {
  left: 242px;
  transition-delay: .2s;
  background-image: url('../images/reactions_sad.png');
}

.reaction-angry {
  left: 300px;
  transition-delay: .25s;
  background-image: url('../images/reactions_angry.png');
}



.like-btn:hover .reaction, .like-btn:active .reaction {
  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;
  }
}


.like-btn:hover .reaction-like, .like-btn:hover .reaction-1, .like-btn:active .reaction-like, .like-btn:active .reaction-1 {
  animation-delay: 0s
}

.like-btn:hover .reaction-love, .like-btn:hover .reaction-2, .like-btn:active .reaction-love, .like-btn:active .reaction-2 {
  animation-delay: .05s
}

.like-btn:hover .reaction-haha, .like-btn:hover .reaction-3, .like-btn:active .reaction-haha, .like-btn:active .reaction-3 {
  animation-delay: .1s
}

.like-btn:hover .reaction-wow, .like-btn:hover .reaction-4, .like-btn:active .reaction-wow, .like-btn:active .reaction-4 {
  animation-delay: .15s
}

.like-btn:hover .reaction-sad, .like-btn:hover .reaction-5, .like-btn:active .reaction-sad, .like-btn:active .reaction-5 {
  animation-delay: .2s
}

.like-btn:hover .reaction-angry, .like-btn:hover .reaction-6 , .like-btn:active .reaction-angry, .like-btn:active .reaction-6 {
  animation-delay: .25s
}

.reaction:hover, .reaction:active {
  transform: scale(1.3, 1.3);
  top: 2px
}




.reaction::before {
  display: inline-block;
  color: #ffffff;
  text-align: center;
  line-height: 17px;
  font-size: .7em;
  width: 80%;
  height: 17px;
  margin-left: 10%;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  position: absolute;
  top: -22px;
  opacity: 0;
  transition: opacity .2s ease-in-out 0s;
}

.reaction:hover::before, .reaction:active::before {
  opacity: 1
}

.reaction-like::before {
  content: 'Like'
}

.reaction-love::before {
  content: 'Love'
}

.reaction-haha::before {
  content: 'Haha'
}

.reaction-wow::before {
  content: 'Wow'
}


.reaction-sad::before {
  content: 'Sad'
}

.reaction-angry::before {
  content: 'Angry'
}

.like-stat {
  margin-top: 10px;
}


.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-text-like {
  color:rgb(88, 144, 255);
}
.like-btn-text-wow,.like-btn-text-haha,.like-btn-text-sad {
  color:rgb(240, 186, 21)
}
.like-btn-text-love{
  color:rgb(242, 82, 104)
}
.like-btn-text-angry{
  color:rgb(247, 113, 75);
}

.like-emo > span{
    display: inline-block;
    margin: 0 -3px -3px 0px;
    width: 16px;
    height: 16px;
    border: 2px solid #EEE;
    border-radius: 50%;

}

.like-details{
  margin-left:10px;
  /*color:#9197a3;*/
  font-size:12px;
}

.photoReactions{
	padding-top: 10px;
}

.reactionsContainer{
	padding: 5px;
	padding-bottom: 10px;
}

.loadingReaction{
  background-image: url('../images/ripple.gif');
  background-repeat: no-repeat;
  padding-bottom: 20px
}


.reactionsContainer.ow_box{
	padding-top: 10px;
    padding-left: 20px;
}
.place_section{
	overflow: visible !important;
}

.profile-REACTIONS_CMP_ProfileReaction{
	z-index: 999;
}
.ow_forum_topic_posts .reactionsContainer{
    padding-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 0px;
}






















/* FIX FOR THEMES */


@keyframes reaction_delayLittle {
  0% {
	width: 36px;
	height: 36px;
	top: 60px;
  }
  48% {
	width: 42px;
	height: 42px;
	top: 5px;
  }	
  100% {
	width: 36px;
	height: 36px;
	top: 8px;
  }
}

body.ethos #feed1 .like-btn:hover .reaction, body.ethos #feed1 .like-btn:active .reaction {
  opacity: 1;
  animation-name: reaction_delayLittle;
  animation-duration: .5s;  
}
body.ethos #feed1 .reaction {
	  width: 36px;
	  height: 36px;  
	  top: 5px;
}
body.ethos #feed1 .reactions-box {
		height: 26px;
		width: 223px;
		top: -35px;
		left: -20px;
		left: -75px;
	}
body.ethos #feed1 .reaction-1 {
	  left: 8px !important;
	}
body.ethos #feed1 .reaction-2 {
	  left: 46px !important;
	}
body.ethos #feed1 .reaction-3 {
	  left: 84px !important;
	}
body.ethos #feed1 .reaction-4 {
	  left: 122px !important;
	}
body.ethos #feed1 .reaction-5 {
	  left: 160px !important;
	}
body.ethos #feed1 .reaction-6 {
	  left: 198px !important;
	}
	    

