.lsfw-voice-btns .lsfw-voice-btn::before {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
}

.lsfw-voice-btns.lsfw-voice-btns--sm .lsfw-voice-btn::before {
    margin: 0;
    font-size: 15px;
}

.lsfw-voice-btns.lsfw-voice-btns--sm .lsfw-voice-btn:not(.active) {
    color: #999999;
}

.lsfw-voice-btns.lsfw-voice-btns--sm .lsfw-voice-btn {
    min-width: 60px;
    text-align: center;
    padding: 0;
}

.lsfw-voice-btns .lsfw-voice-btn.lsfw-voice-btn--loader {
    color: #999999 !important;
    background: #ffffff !important;
}

.lsfw-voice-btns .lsfw-voice-btn.lsfw-voice-btn--loader::before {
    content: '';
    width: 7px;
    height: 7px;
    border: solid 2px #999999;
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name: voiceBtnLoader;
    animation-name: voiceBtnLoader;
    -webkit-animation-duration: 1.0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    transition: all 0.5s ease-in;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: inline-block;
    margin-top: 6px;
    vertical-align: top;
}

.lsfw-voice-hint.hint::before {
    content: "";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    top: -9px;
    left: 11px;
}

.hint-parent:hover .lsfw-voice-hint.hint {
    max-width: 320px;
    padding: 7px 10px 7px 15px;
    bottom: auto !important;
    right: auto;
    left: 0;
    top: 38px !important;
}

@-webkit-keyframes voiceBtnLoader {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes voiceBtnLoader {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.lsfw-voice-btns .lsfw-voice-btn.active::before {
    -webkit-animation: voiceIcon 1.5s infinite;
    animation: voiceIcon 1.5s infinite;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.lsfw-voice-btns .lsfw-voice-btn.fa-microphone:not(.active):hover {
    background: #bf3232;
}

.lsfw-voice-btns .lsfw-voice-btn.fa-microphone {
    color: #e03a3a;
}

.lsfw-voice-btns .lsfw-voice-btn.fa-file-audio:hover {
    background: #2978aa;
}

.lsfw-voice-btns .lsfw-voice-btn.fa-file-audio {
    color: #318cc6;
}

.lsfw-voice-btns .lsfw-voice-btn:hover {
    color: #ffffff !important;
}

.lsfw-voice-btns .lsfw-voice-btn.active {
    color: #ffffff;
    background: #e03a3a !important;
    -webkit-animation: voiceGlow 1.5s infinite;
    animation: voiceGlow 1.5s infinite;
}

.lsfw-voice-btns > * {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

.lsfw-voice-btns .lsfw-voice-btn::before {
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
}

.lsfw-voice-btns .lsfw-voice-btn {
    height: 25px;
    color: #9999;
    text-align: left;
    line-height: 25px;
    min-width: 210px;
    padding: 0 10px 0 15px;
    font-family: 'apercu_pro', sans-serif;
    background: #ffffff;
    border: none;
    position: relative;
    font-size: 11px;
    border-radius: 5px;
    cursor: pointer;
}

@-webkit-keyframes voiceGlow {
    0% {
        -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0);
    }
    50% {
        -webkit-box-shadow: 0 0 20px 0 rgba(224, 58, 58, 0.23);
        box-shadow: 0 0 20px 0 rgba(224, 58, 58, 0.23);
    }
    100% {
        -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0);
    }
}

@-webkit-keyframes voiceIcon {
    0% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
    50% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.lsfw-voice-files .lsfw-voice-file__progress-line:hover::before {
    content: '\f111';
    font-size: 10px;
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 0;
    top: -3px;
    color: #475669;
}

.lsfw-voice-files .lsfw-voice-file__progress-line:hover {
    background: #e27200;
}

.lsfw-voice-files .lsfw-voice-file__progress-line {
    height: 4px;
    background: #999999;
    display: block;
    transition: 0.3s;
    border-radius: 2px;
    position: relative;
}

.lsfw-voice-files .lsfw-voice-file__processed::before {
    content: '';
    width: 6px;
    height: 6px;
    border: solid 1px;
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name: progressBar;
    -webkit-animation-duration: 1.0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    transition: all 0.5s ease-in;
    animation-name: progressBar;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: absolute;
    right: 0;
    bottom: 2px;
}

@keyframes progressBar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@-webkit-keyframes progressBar {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

.lsfw-voice-files .lsfw-voice-file__processed {
    position: relative;
    font-size: 10px;
    text-transform: uppercase;
    margin-left: auto;
    padding-right: 20px;
    color: #999999;
    font-weight: normal;
}

.lsfw-voice-files .lsfw-voice-file__progress {
    width: 110px;
    cursor: pointer;
    background: #cccccc;
}

.lsfw-voice-files .lsfw-voice-file__name {
    width: calc(100% - 210px);
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    line-height: 15px;
}

.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--error .fas.lsfw-voice-file__del,
.lsfw-voice-files .lsfw-voice-file .fas.lsfw-voice-file__del:hover {
    background: #ff0000;
}

.lsfw-voice-files .lsfw-voice-file:hover .hint {
    display: block;
    right: auto;
    left: 0;;
}

.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--error .fa-exclamation-triangle,
.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--error .lsfw-voice-file__name {
    color: #ff0000;
}

.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--error .lsfw-voice-file__name {
    width: calc(100% - 50px);
}

.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--loader .lsfw-voice-file__name {
    width: auto;
}

.lsfw-voice-files .lsfw-voice-file.lsfw-voice-file--loader {
    cursor: initial;
    color: #666666 !important;
    background-color: #eeeeee;
    -webkit-animation: lsfwTblLoader 5s infinite;
    animation: lsfwTblLoader 5s infinite;
}

@-webkit-keyframes lsfwTblLoader {
    0% {
        background-color: #eeeeee;
    }
    50% {
        background-color: #d9d9d9;
    }
    100% {
        background-color: #eeeeee;
    }
}

.lsfw-voice-files .lsfw-voice-file .fas.lsfw-voice-file__del {
    background: #999999;
    color: #ffffff;
    font-size: 8px;
    line-height: 15px !important;
    height: 15px;
    width: 15px;
    border-radius: 2px;
    margin-right: 5px;
}

.lsfw-voice-files .lsfw-voice-file__time {
    margin-left: auto;
    font-weight: normal;
    font-size: 10px;
    width: 35px;
    text-align: right;
    overflow: hidden;
}

.lsfw-voice-files .lsfw-voice-file .fa-play.active::before {
    content: '\f04c';
}

.lsfw-voice-files .lsfw-voice-file .fa-play:hover {
    color: #318cc6;
}

.lsfw-voice-files .lsfw-voice-file .fas {
    width: 25px;
    line-height: 25px;
    height: 25px;
    text-align: center;
    cursor: pointer;
}

.lsfw-voice-files .lsfw-voice-file .fa-play {
    font-size: 9px;
}

.lsfw-voice-files .lsfw-voice-file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    font-weight: bold;
    background: #eeeeee;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px 15px 5px 15px;
    height: 35px;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 5px;
    position: relative;
    width: calc(33.3% - 10px);
}

.lsfw-voice-files {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.lsfw-voice-settings {
    margin-bottom: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.lsfw-voice-block {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
}

.detailed-review__container .lsfw-voice-block {
    background: #eeeeee;
    margin-bottom: 20px;
}

.detailed-review__container .lsfw-voice-files .lsfw-voice-file__name {
    width: calc(100% - 220px);
}

.detailed-review__container .lsfw-voice-file__progress {
    width: 145px;
}

.detailed-review__container .lsfw-voice-files .lsfw-voice-file {
    background: #ffffff;
    width: calc(50% - 10px);
}

.lsfw-voice-files .lsfw-voice-file .fas.fa-font:hover {
    color: #ff8e41;
}

.lsfw-voice-files.lsfw-voice-files--white .lsfw-voice-file {
    background: #ffffff;
    border-radius: 2px;
    margin-bottom: 15px;
}

@media screen and (max-width: 1199px) {
    .lsfw-voice-block {
        padding: 10px;
    }
}

@media screen and (max-width: 1199px) {
    .lsfw-voice-files .lsfw-voice-file {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 1023px) {
    .text-editor .text-editor__right {
        font-size: 10px;
    }

    .lsfw-voice-btns .lsfw-voice-btn.fa-file-audio {
        min-width: auto;
    }
}

@media screen and (max-width: 767px) {
    .lsfw-voice-settings .lsfw-rbt label::before {
        left: 10px;
        top: 8px;
    }

    .lsfw-voice-btns .lsfw-voice-hint.hint::before {
        display: none;
    }

    .lsfw-voice-btns.lsfw-voice-btns--sm .hint-parent:hover .lsfw-voice-hint.hint {
        right: 0;
        left: auto;
    }

    .lsfw-voice-btns.lsfw-voice-btns--sm .lsfw-voice-btn {
        min-width: 40px;
    }

    .hint-parent:hover .lsfw-voice-hint.hint {
        max-width: 230px;
        padding: 5px 10px;
        top: 40px !important;
    }

    .lsfw-voice-settings .lsfw-rbt label {
        background: #eeeeee;
        padding: 5px 10px 5px 35px;
        border-radius: 5px;
    }

    .lsfw-voice-files .lsfw-voice-file__progress {
        width: calc(100% - 100px);
    }

    html body .page .lsfw-voice-files .lsfw-voice-file {
        width: 100%;
        height: auto;
        padding: 10px;
        gap: 10px 0;
        flex-wrap: wrap;
    }

    .lsfw-voice-files .lsfw-voice-file .fas.fa-font {
        text-align: right;
        font-size: 11px;
        line-height: 23px;
        height: 20px;
    }

    .lsfw-voice-files .lsfw-voice-file__progress-line {
        height: 6px;
    }

    .lsfw-voice-files .lsfw-voice-file__processed {
        margin: 0;
    }

    .lsfw-voice-files .lsfw-voice-file .fa-play {
        font-size: 11px;
        margin: 0 5px 0 -8px;
        width: 30px;
        line-height: 20px;
        height: 20px;
    }

    .lsfw-voice-btns .lsfw-voice-btn::before {
        margin: 0;
    }

    .lsfw-voice-settings {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0;
    }

    .lsfw-voice-files .lsfw-voice-file .fas.lsfw-voice-file__del {
        margin-right: 11px;
        position: absolute;
        right: 0;
        top: 10px;
    }

    .lsfw-voice-btns .lsfw-voice-btn {
        min-width: auto;
        width: 35px;
        font-size: 13px;
        text-align: center;
        padding: 0;
    }

    .lsfw-voice-btns > * {
        margin-right: 5px;
    }

    .text-editor .lsfw-voice-btns {
        margin-right: 20px;
    }

    html body .page .lsfw-voice-files .lsfw-voice-file__name {
        width: calc(100% - 26px);
    }

    .lsfw-voice-settings + .lsfw-voice-files {
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid #eeeeee;
    }

    .lsfw-voice-btns {
        right: 10px;
        bottom: 7px;
    }
}