﻿.followWrapper {
    animation-play-state: paused;  white-space: nowrap;
    overflow: hidden;
}

.followWrapper .followLinkWrap {
    display: inline-flex;
    background: #dc0d8a;
    border-radius: 3px;
    padding: 3px 15px;
    position: relative;
}
.followWrapper .followLinkWrap a {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}
.followWrapper .followLinkWrap a:hover {
    text-decoration: none;
}
.followWrapper span.icon {
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 5px;
}

.followWrapper span.count {
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.followWrapper.followed .followLinkWrap {
    display: none;
}
.followWrapper.followed .unfollowLinkWrap {
    display: inline-flex;
}

.followWrapper.notFollowed .followLinkWrap {
    display: inline-flex;
}
.followWrapper.notFollowed .unfollowLinkWrap {
    display: none;
}

.followWrapper.followed a:hover span.icon {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-play-state: running;
    -webkit-animation: hinge 2s infinite;
    animation: hinge 2s infinite;
}

.followWrapper.notFollowed a:hover span.icon {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-play-state: running;
    -webkit-animation: tada 1s infinite;
    animation: tada 1s infinite;
}