.wplc-voice-notes {
    display: none;
    width: 100%;
    position: fixed;
    right: 0;
    bottom: -100px;
    left: 0;
    z-index: 10000;
    transition: bottom .3s;
    padding: 20px;
    background: rgba(0,0,0,.8);
    color: #ccc;
}

.wplc-voice-notes.is-active {
    display: block;
    bottom: 0;
}

.wplc-voice-notes__close {
    float: right;
    position: relative;
    right: 70px;
    bottom: 0;
    font-size: 19px !important;
    cursor: pointer;
}

.wplc-voice-notes{
    display: none;
}

#nifty_wrapper .messages .wplc-admin-message .wplc-msg-content-audio,
#nifty_wrapper .messages .wplc-user-message .wplc-msg-content-audio {
    height: 30px;
    top: 4px;
    padding: 0 10px 0 0;
    background-color: #e0e0e0;
    border-radius: 30px;
}

#nifty_wrapper .messages .wplc-admin-message .wplc-msg-content-audio:hover,
#nifty_wrapper .messages .wplc-user-message .wplc-msg-content-audio:hover {
    cursor: pointer;
}

#nifty_wrapper .messages .wplc-user-message .wplc-msg-content-audio {
    top: 12px;
}

#nifty_wrapper .messages .wplc-admin-message .wplc-msg-content-audio:after,
#nifty_wrapper .messages .wplc-user-message .wplc-msg-content-audio:before {
    content: none;
}

.wplc-msg-content-audio-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    margin-right: 5px;
    background-color: #0776b8;
    border-radius: 30px;
    font-family: FontAwesome;
}

.wplc-msg-content-audio-icon:after {
    position: absolute;
    top: 7px;
    left: 11px;
    content: '\f04b';
    font-size: 13px;
}

.wplc-msg-content-audio .messageBody {
    float: right;
    vertical-align: middle;
}

#nifty_wrapper .wplc-msg-content-audio .messageBody a {
    outline: 0;
    color: #333 !important;
    font-size: 15px;
    line-height: 30px;
    text-decoration: none !important;
}

#nifty_wrapper .wplc-msg-content-audio .messageBody a:active,
#nifty_wrapper .wplc-msg-content-audio .messageBody a:focus {
    outline: 0;
    box-shadow: none;
}

.nifty_voice_notes_icon_dashboard {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 10px;
    right: 60px;
    background-color: #333333;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

.nifty_voice_notes_icon_dashboard i {
    position: relative;
    left: 8px;
    line-height: 25px;
}

.nifty_voice_notes_icon_dashboard_off {
    left: 7px;
}

.nifty_voice_notes_icon_dashboard_on {
    display: none;
}

.is-audio-active .nifty_voice_notes_icon_dashboard_on  {
    display: block;
}


.is-audio-active .nifty_voice_notes_icon_dashboard_off  {
    display: none;
}

.nifty_voice_notes_icon_dashboard:hover,
.nifty_voice_notes_icon_dashboard.is-audio-active {
    background-color: #075077;
}

.nifty_voice_notes_icon_dashboard.is-audio-active:hover {
    cursor: default;
}

.wplc-voice-note-toggle.recording{
    color: #333;

    animation-name: recording_fade;
    animation-direction: alternate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.wplc-msg-content.wplc-msg-content-audio .messageBody {
    width: 150px !important;
}

@keyframes recording_fade{
    to{color: #333;}
    from{color: #cc0e0e;}
}

