@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/google_font.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 26px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
}

.resana-player__controls-box__main .material-icons {
    font-size: 35px;
}

body {
    margin: 0;
    padding: 0;
}

video {
    width: 100%;
    max-height: 100vh;
}

#resana-player {
    direction: rtl;
}

#resana-player__controls-box {
    position: fixed;
    bottom: 0;
    width: 100%;
    justify-content: space-evenly;
    padding: 30px 10px 10px 10px;
    background: #00000082;
    color: white;
    display: none;
    direction: ltr;
}

#resana-player__controls-box.show {
    display: flex;
    flex-direction: column;
    direction: ltr;
}

.resana-player__controls-box__progress {
    width: calc(100vw - 100px);
}

#time-display {
    width: 100px;
    text-align: center;
}

.resana-player__controls-box__row {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto;
}

#resana-player__controls-box.show + .resana-player__subtitle {
    bottom: 90px;
}

.resana-player__subtitle {
    position: absolute;
    bottom: 0;
    text-align: center;
    transition: bottom 0.3s;
    left: 50%;
    transform: translateX(-50%);
    background: #181818f0;
    color: white;
    padding: 0 5px;
    font-size: 25px;
    display: none;
}

#volume-slider {
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 4px;
    left: -49px;
    transform: translateX(-50%);
    width: 100px;
    display: none;
    cursor: pointer;
}

.resana-player__controls-box__time-place {
    width: 50px;
    text-align: center;
    margin: 0 15px;
}

.volume-control:hover #volume-slider {
    opacity: 1;
    pointer-events: auto;
}

#resana-player:fullscreen #resana-player__controls-box,
#resana-player:-webkit-full-screen #resana-player__controls-box {
    position: fixed;
    bottom: 0;
    width: 100vw;
    z-index: 9999;
}
#resana-player__play-list__top-button {
    position: fixed;
    top: 0;
    margin-top: 10px;
    margin-right: 10px;
    color: white;
}

#resana-player__play-list {
    display: none;
}

#resana-player__play-list.show {
    display: block;
    position: fixed;
    background: black;
    z-index: 9;
    overflow: auto;
    height: 100%;
    width: 50%;
}

#resana-player__play-list * {
    direction: rtl;
}

#resana-player__play-list select {
    width: 150px;
    direction: rtl;
    line-height: 45px;
    height: 45px;
    cursor: pointer;
}


#resana-player__play-list .ep_overlay__header {
    text-align: center;
    color: white;
    border-bottom: 1px solid #676262;
    position: relative;
    padding-top: 10px;
    margin-bottom: 10px;
}

#resana-player__close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 35px;
    background: var(--red-color);
    border: 1px solid var(--red-color);
    color: white;
    cursor: pointer;
    text-align: center;
}

/*#resana-player__play-list .episode_box{
    height: 100px;
}*/
#resana-player__play-list .ep_overlay__header .title {
    font-size: 23px;
    line-height: 45px;
}

.resana-player__center-play {
    display: none;
    top: 50%;
    position: fixed;
    left: 50%;
    background: var(--red-color);
    border-radius: 100%;
    width: 100px;
    height: 100px;
    text-align: center;
    transform: translateY(-50%) translateX(-50%);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.resana-player__center-play i {
    font-size: 50px;
}

.show_flex {
    display: flex !important;
}
.resana-player__select {
    background: #111;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 14px;
}
.resana-player__controls-box__item{
    flex-grow: 9;
    text-align: center;
}
#teaser-resana-player {
    position: absolute;
    top: 0;
    z-index: 999;
}
.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
#resana-player__info-hover{
    display: none;
    position: absolute;
    z-index: 12;
    top: 0;
    width: 100%;
}
#resana-player__info-hover.show{
    display: block;
}