@import "../variables/variables";
@import "../mixins/private/token-mixins";

.video-player {
    position: relative;
}

.video-player video {
    height: 100%;
    width: 100%;
}

.video-player button {
    font-family: inherit;
}

.video-player__overlay {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    color: var(--color-neutral-100);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.video-player__overlay-text {
    margin: 20px 20px 0;
}

.video-player__overlay--hidden {
    display: none;
}

.video-player__report-button > svg {
    margin-inline-end: var(--spacing-50);
}

.video-player .shaka-overflow-menu svg {
    height: 24px;
    margin-left: 10px;
    margin-right: 10px;
    width: 24px;
}

.video-player .shaka-play-button {
    background: none;
    box-shadow: none;
    height: auto;
    padding: 0;
    width: auto;
}

.video-player .icon--video-play,
.video-player .shaka-play-button svg {
    height: 48px;
    width: 48px;
}

.video-player .shaka-bottom-controls {
    box-sizing: border-box;
    margin-bottom: 3%;
    padding-bottom: 0;
    position: relative;
    width: 94%;
}

.video-player .shaka-controls-button-panel {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    bottom: 0;
    height: 40px;
    position: absolute;
    width: 100%;

    :first-child {
        margin-left: 8px;
    }
    :last-child {
        margin-right: 8px;
    }
}

.video-player--poster .shaka-scrim-container {
    visibility: hidden;
}

.video-player .shaka-range-container {
    box-sizing: border-box;
    margin: 0 188px 18px 76px;
}

.video-player #shaka-player-ui-time-container {
    display: none;
}

.video-player .shaka-video-container {
    font-family: $font-family-default;
}
