:root {
    --range-slider-thumb-size: 24px;
    --thumb-h: 12px;
    --thumb-w: 12px;
    --font-blue-gray: #f03;
    --blue-green: rgba(255, 255, 255, .2);
}

#player {
    cursor: pointer;
}

#player.fullscreen {
    width: 100%;
    height: 100%;
}

.player-wrap {
    width: 100%;
    max-width: 865px;
    position: relative;
}

.video-col {
    width: 100%;
    max-width: 863px;
}

.player-wrap:before, .player-wrap:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
    left: 0;
    height: calc(50% - 30px);
}

.player-wrap:before {
    top: 0;
}

.player-wrap:after {
    bottom: 0;
}

.player-wrap--fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: #000;
    z-index: 1000;
}

.player-wrap--fullscreen #player {
    width: 100%;
    height: 100%;
}

.player-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    opacity: 0;
    visibility: hidden;
    transition: all .25s linear 2s;
}

.player-btns {
    display: flex;
}

.player-btns button {
    display: flex;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    transition: all .1s cubic-bezier(.4, 0, 1, 1);
}

.player-btns button:focus {
    outline: none;
}

.ytp-svg-fill {
    fill: #fff;
}

.player-time {
    font-family: sans-serif;
    font-size: 13px;
    color: #fff;
}

.player-btns-fullscreen {
    margin: 0 0 0 auto;
}

.player-full-btn-play {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
    cursor: pointer;
}

.player-full-btn-play:focus {
    outline: none;
}

.pause-icon-center {
    display: none;
    background: rgba(0, 0, 0, .25);
    border-radius: 50%;
}

.player-wrap.ready #player {
    pointer-events: none;
}

.player-wrap.ready .player-full-btn-play {
    display: flex;
}

.player-wrap.ready:hover .player-nav {
    opacity: 1;
    visibility: visible;
    transition: all .25s linear 0s;
}

.player-wrap.ready:before, .player-wrap.ready:after {
    display: none;
}

/*************************/

.range-slider {
    height: var(--range-slider-thumb-size);
    position: relative;
    margin: 0 0 4px;
    overflow: hidden;
}

.range-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--range-slider-thumb-size);
    margin: 0;
    padding: 0;
    background-color: transparent;
    appearance: none;
    border-color: transparent;
    color: transparent;
    cursor: pointer;
}

.range-slider-input:focus {
    outline: none;
}

.range-slider-input::-moz-focus-outer {
    border: 0;
}

.range-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: var(--thumb-h);
    width: var(--thumb-w);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    box-sizing: border-box;
}

.range-slider-input::-ms-track {
    width: 100%;
    cursor: pointer;
}

.range-slider-input::-moz-range-thumb {
    border: none;
    height: var(--thumb-h);
    width: var(--thumb-w);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    box-sizing: border-box;
}

.range-slider-input::-ms-thumb {
    border: none;
    height: var(--thumb-h);
    width: var(--thumb-w);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    box-sizing: border-box;
}

.range-slider-visible {
    position: relative;
    width: 100%;
    height: var(--range-slider-thumb-size);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-slider-visible:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    top: calc(50% - 2px);
    left: 0;
    background: var(--blue-green);
}

.range-slider-visible-checked {
    display: block;
    position: absolute;
    width: 0;
    max-width: 100%;
    height: 4px;
    top: calc(50% - 2px);
    left: 0;
    background: var(--font-blue-gray);
}
