.user-video-preview {
    display:none;
}
.user-video {
    display:block;
    position: relative;
    height:0;
    padding-bottom: 56.25%;
    padding-bottom: calc(9 / 16 * 100%);
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.user-video::empty {
    padding-bottom: 0;
}
.user-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

 .user--video .video-cookie-consent {
    display: inline-block;
    background: #F5F5F5;
    color: var(--text-color);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 888;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.user--video.accepted .video-cookie-consent {
    display: none;
}
.user--video .video--privacy {
    width: 24px;
    height: 24px;
    text-align: center;
    position: absolute;
    background: #F5F5F5;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    line-height: 24px;
    display: none;
}
.user--video.accepted .video--privacy {
    display: inline-block;
}
.user--video.accepted .video--privacy:hover {
    cursor: pointer;
}
.user--video .video.popover.bottom {
    position: absolute;
    display: block;
    float: none;
    width: 76%;
    margin: 0 auto;
    max-width: 100%;
    min-width: 300px;
    z-index:889;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.user--video.accepted .video.popover.bottom {
    display: none;
}

.video.popover.bottom .popover-content {
    padding: 15px;
}
.video.popover.bottom .popover-content p,
.video.popover.bottom .popover-content a {
    font-size: 14px;
}
.video.popover.bottom .popover-content p {
    text-align: center;
    margin-bottom: 15px;
}
.video.popover.bottom .popover-title {
    text-align: center;
    margin-top: 5px;
    font-size: 16px;
}
.detail-view .user--video iframe{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
}
@media screen and (max-width:700px) {
    .user--video .video.popover.bottom {
        width: 92%;
    }
    .video.popover.bottom .popover-content p,
    .video.popover.bottom .popover-content p a,
    .video.popover.bottom .popover-content button {
        line-height: 1.5;
        hyphens: auto;
    }
}

@media screen and (max-width:580px) {
    .user--video .video.popover.bottom {
        width: 96%;
    }
    .video.popover.bottom .popover-content {
        padding: 10px;
    }
    .video.popover.bottom .popover-content p,
    .video.popover.bottom .popover-content p a,
    .video.popover.bottom .popover-content button {
        font-size: 13.3px;
        line-height: 1.33;
        hyphens: auto;
    }
}

@media screen and (max-width:540px) {
    .user--video  {
        padding-bottom: calc(16 / 9 * 100% / 2);
    }
}
@media screen and (max-width:480px) {
    .user--video  {
        padding-bottom: calc(9 / 16 * 100%);
        min-height: 400px;
    }
}
@media screen and (max-width:375px) {
    .user--video .video.popover.bottom {
        width:100%;
        min-width: 100%;
    }
    .user--video  {
        padding-bottom: calc(9 / 16 * 100%);
        min-height: 400px;
    }
}
@media screen and (max-width:340px) {
    .user--video .video.popover.bottom {
        width:96%;
        min-width:100%;
    }
    .user--video  {
        padding-bottom: calc(9 / 16 * 100%);
        min-height: 440px;
    }
}