﻿/*.media_block {
    margin-left: -16px;
    margin-right: -16px;
}*/

.video_simple .play_button_video:not(.stopped) {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
}

 .video_simple .play_button_video:not(.stopped):after {
        width: 40px;
        height: 40px;
    }

.video_description {
    padding-right: 16px;
}
.video_simple {
    border-radius: 20px;
    overflow: hidden;
}

    .video_simple picture {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video_simple img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 4;
        transition: .5s ease-in-out;
        opacity: 1;
    }

.video_simple_in.played img,
.video_simple_in.played .play_button_video {
    opacity: 0;
    display: none;
}

.video_uploaded {
    position: relative;
    padding-bottom: 56.25%;
}

    .video_uploaded iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video_simple .play_button_video {
    position: absolute;
    top: 32px;
    left: 32px;
    transform: translate(0, 0);
    background: linear-gradient(23.72deg, #EADED2 -50.34%, #FFB490 29.44%, #F18477 79.37%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    z-index: 5;
    opacity: 0.5;
    transition: .4s ease-in-out;
    cursor: pointer;
}

    .video_simple .play_button_video.stopped {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.9;
    }

    .video_simple .play_button_video:hover {
        opacity: 1;
    }

    .video_simple .play_button_video:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        background: url(../images/core/ico_pause.svg) 50% 50% no-repeat;
        background-size: 21px 16px;
    }

    .video_simple .play_button_video.stopped:after {
        background: url(../images/core/ico_play.svg) 50% 50% no-repeat;
        background-size: 21px 16px;
    }

.video_description {
    display: flex;
    gap: 16px;
    font-size: 16px;
    line-height: 16px;
    margin-top: 16px;
}
@media screen and (max-width: 1023px) {

    .video_description {
        padding-right: 16px;
    }
    .video_simple img {
        display: none;
    }
}