/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

@keyframes mini-player {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mini-player-removed {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mini-player {
    position: fixed;
    min-width: 300px;
    width: 34%;
    right: 10px;
    left: auto;
    bottom: 10px;
    top: auto;
    z-index: 9999;
    animation-name: mini-player;
    animation-duration: 2s;
}

.fixed-player-activate {
    position: fixed;
    top: 40px;
    z-index: 9999;
}

.mini-player-removed {
    animation-name: mini-player-removed;
    animation-duration: 2s;
}

.video_wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

.mini-player > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.heartbeat-moments-player-toolbar-button {
    line-height: 34px;
    cursor: pointer;
}

.heartbeat-moments-player-toolbar-button img {
    vertical-align: middle;
    width: 25px;
    display: none;
    margin-left: 5px;
    margin-right: 10px;
}

.heartbeat-moments-player-toolbar {
    position: absolute;
    top: -34px;
    background-color: #eeeeeee8;
    height: 34px;
    width: 100%;
    display: none;
    text-align: right;
}

.heartbeat-moments-youtube-figure:hover .heartbeat-moments-player-toolbar.visible-bar {
    display: block;
}

.wp-dark-mode-active .heartbeat-moments-player-toolbar {
    background-color: #000000e8;
}

.heartbeat-moments-block-timecode-img {
    cursor: pointer;
}