.edpplayer {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f5f5f5;
    padding: 8px;
    box-sizing: border-box;
    font-size: 16px;
	user-select: none;
}
.edpplayer.withoutSubtitles{
    height: 700px;
}
.edpplayer.fullscreen{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 99999;
    padding: 0;
    background: #000;
}

.edpplayer div{
    box-sizing: border-box;
}
.edpplayer .controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #28303d;
}

.edpplayer .progress {
    height: 10px;
    width: 100%;
    position: absolute;
    top: -9px;
	background: transparent;
    box-shadow: none;
}

.edpplayer .progress > progress{
    width: 100%;
    border-radius: 0;
    background: #000;
    height: 4px;
    position: absolute;
    bottom: 0;
}

.edpplayer:hover .progress > progress{
    height: 10px;
}

*[class^=btn]{
    padding: 0;
    width: 40px;
    height: 40px;
    overflow: hidden;
    font-size: 14px;
    border: 0;
    color: #FFF;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spSpeed {
    line-height: 40px;
    padding: 0 20px;
    height: 40px;
    font-size: 12px;
    cursor: default;
    position: relative;
	max-width: 110px;
}

.spSpeed > span{
    white-space: nowrap;
}

.speedItems{
    position: absolute;
    bottom: 100%;
    background: #28303d;
    display: none;
    width: 100%;
    line-height: 28px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    left: 0;
}
button.speedItem{
    line-height: 28px;
    height: 28px;
    padding: 0;
    font-size: 12px;
    width: 100%;
    text-align: center;
    margin: 0;
    outline: none;
    border: 0;
	background: transparent;
}
button.speedItem:hover{
    background: #1c2430;
    color: #FFF;
}
.spSpeed:hover > .speedItems{
    display: block;
}

.spVolume{
    height: 40px;
    margin: 0 10px
}

*[class^=btn]:focus{
    outline: none;
}

*[class^=btn]:hover, *[class^=btn].active, .spSpeed:hover, .spSpeed.active{
    background: #1c2430 !important;
    color: #FFF !important;
}

.btnreplay, .btnstop{
    display: none;
}


input[type=range]{
    vertical-align: text-bottom;
    margin: 18px 0 !important;
}


progress {
    color: #0094eb;
    font-size: 12px;
    width: 220px;
    height: 16px;
    border: none;
    margin-right: 10px;
    background: #434343;
    border-radius: 9px;
    vertical-align: middle;
}
progress::-moz-progress-bar {
    color: #0094eb;
    background:#434343;
}

progress[value]::-webkit-progress-bar {
    background-color: #434343;
    border-radius: 2px;
}

progress[value]::-webkit-progress-value {
    background-color: #0094eb;
}



input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 0;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #0094eb;
    border-radius: 1px;
}
input[type=range]::-webkit-slider-thumb {
    height: 10px;
    width: 10px;
    border-radius: 4px;
    background: #596f82;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3px;
}
/*момент передвижения*/
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #0094eb;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #0094eb;
    border-radius: 1px;
}
input[type=range]::-moz-range-thumb {
    height: 10px;
    width: 10px;
    border-radius: 3px;
    background: #0094eb;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #0094eb;
    border-radius: 2px;
}
input[type=range]::-ms-fill-upper {
    background: #0094eb;
    border-radius: 2px;
}
input[type=range]::-ms-thumb {
    height: 10px;
    width: 10px;
    border-radius: 3px;
    background: #F00;
    cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
    background: #0094eb;
}
input[type=range]:focus::-ms-fill-upper {
    background: #0094eb;
}







.edpplayerBtns{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.edpplayerBtnsRight, .edpplayerBtnsLeft{
    display: flex;
    flex-direction: row;
    color: #FFF;
}

.playerwrapper {
    position: relative;
    padding-bottom: 40px;
    flex: 1 1 auto;
}
.playerwrapper video{
    width: 100%;
    height: 100%;
    background: #000;
}
.subtitles{
    width: 30%;
    overflow-y: auto;
    padding: 10px 10px 10px 20px;
}
.edpplayer.withoutSubtitles .subtitles{
    display: none;
}
.subtitles > .item{
    margin-bottom: 10px;
    line-height: 1.2em;
    color: #0074b5;
    cursor: pointer;
}
.edpplayer.fullscreen .subtitles > .item{
    color: #787878
}

.subtitles > .item:hover{
    text-decoration: underline;
}
.subtitles > .item.old{
    opacity: 1;
}
.subtitles > .item.active{
    opacity: 1;
    color: #222;
    text-shadow:0 0 1px #222;
}
.edpplayer.fullscreen .subtitles > .item.active{
    color: #FFF
}

@media all and (max-width: 720px){

    .edpplayer{
        flex-direction: column !important;
    }
    .playerwrapper{
        width: 100%;
    }
    .subtitles{
        width: 100%;
    }

    .edpplayer.withoutSubtitles{
        height: auto;
    }

}