.player_legal {

}

.player_legal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border: 0;
}

.list_legal {

}


/*
|--------------------------------------------------------------------------
| ПЕРЕКЛЮЧАТЕЛИ СЕРИЙ
|--------------------------------------------------------------------------
*/

.epizode {
    background: #bc0030;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    text-align: left;
    margin: 5px;
    border-radius: 4px;
    transition:
        background .2s ease,
        transform .2s ease;
}

.epizode:hover {
    background: #980027;
    color: #fff;
}

.active_epz_sh {
    background: #980027;
    color: #fff;
    cursor: default;
}


/*
|--------------------------------------------------------------------------
| Re:Video Part
|--------------------------------------------------------------------------
*/

.playerbox_show_player {
    display: block;
    width: 100%;
}

.video_block {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}


/*
|--------------------------------------------------------------------------
| ВСТРОЕННЫЙ ПЛЕЕР 16:9
|--------------------------------------------------------------------------
*/

.re-video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

#re_frameid {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    display: block;
}


/*
|--------------------------------------------------------------------------
| ВНЕШНЯЯ ССЫЛКА
|--------------------------------------------------------------------------
*/

.re-video-external {
    display: none;
    width: 100%;
    min-height: 400px;
    box-sizing: border-box;
    padding: 60px 20px;
    background: #151515;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.re-video-external-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #bc0030;
    color: #fff;
    font-size: 25px;
    box-shadow: 0 8px 30px rgba(188, 0, 48, .35);
}

.re-video-external-title {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.re-video-external-source {
    display: none;
}


/*
|--------------------------------------------------------------------------
| КНОПКА СМОТРЕТЬ
|--------------------------------------------------------------------------
*/

.re-video-external-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 6px;
    background: #bc0030;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.re-video-external-button:hover {
    background: #980027;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(188, 0, 48, .25);
}

.re-video-external-button span {
    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| СЕРИИ
|--------------------------------------------------------------------------
*/

.stdplayer_show_player {
    width: 100%;
}

.scrolltwo {
    width: 100%;
}

.scrolltwo .items {
    width: 100%;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .re-video-embed {
        padding-bottom: 56.25%;
    }

    .player_legal iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .re-video-external {
        min-height: 300px;
        padding: 45px 15px;
    }

    .re-video-external-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .re-video-external-button {
        width: 100%;
        max-width: 280px;
    }

}