.LikeButton__button {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}

.LikeButton__button--notLiked {
    color: inherit !important;
}

.LikeButton__textContext {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.LikeButton__icon {
    display: inline-block;
    overflow: visible; /** Prevent svg edges from being cut off  */
    fill: currentColor;
    width: 1em;
    height: 1em;
    margin-top: -0.2em;
    margin-right: 0.3em;
    vertical-align: middle;
}

.LikeButton__icon--notLiked {
    display: none;
}

.LikeButton__button--notLiked .LikeButton__icon--notLiked {
    display: inline-block;
}

.LikeButton__button--notLiked .LikeButton__icon--liked {
    display: none;
}

/**
 * Who
 */

.LikeButton__who {
    position: relative;
    display: inline-block;
    margin-left: 0.5em;
}

.LikeButton__showCount {
    text-decoration: none;
    color: inherit;
}

.LikeButton__showCount:empty {
    display: none;
}

.LikeButton__popUp {
    position: absolute;
    left: 0;
    display: none;
    padding: 0.6em 1.6em 0.5em 0.8em;
    border-radius: 1px;
    background-color: rgba(30, 30, 30, 0.9);
    z-index: 999;
}

.LikeButton__popUp:before {
    content: '';
    position: absolute;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid rgba(30, 30, 30, 0.9);
}

.MessagePreviewForList:last-child .LikeButton__popUp {
    bottom: 20px;
}

.MessagePreviewForList:last-child .LikeButton__popUp:before {
    top: unset;
    bottom: -4px;
    border-bottom: 0;
    border-top: 4px solid rgba(30, 30, 30, 0.9);
}

.LikeButton__who--showPopUp:focus,
.LikeButton__who--showPopUp:active {
    outline: none;
}

.no-touch .LikeButton__who:hover .LikeButton__popUp,
.LikeButton__who--showPopUp .LikeButton__popUp {
    display: block;
}

.LikeButton__nameList {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
}

.LikeButton__name {
    white-space: nowrap;
}

.LikeButton__nameLink,
.LikeButton__nameLink:hover {
    text-decoration: none;
    color: #fff;
}

@media print {
    .LikeButton__button--notLiked,
    .LikeButton__text,
    .LikeButton__popUp {
        display: none !important;
    }
}
