.dbv3-block--dbm-theme-video-block {
    z-index: 0;
}
.dbv3-block--dbm-theme-video-block > .block-bg .video-block-preview-image,
.dbv3-block--dbm-theme-video-block > .block-bg .dbm-theme-video {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dbv3-block--dbm-theme-video-block > .block-bg .dbm-theme-video,
.dbv3-block--dbm-theme-video-block > .block-bg .dbm-theme-video .dbm-theme-video-video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.dbv3-block--dbm-theme-video-block > .block-content {
    position: static;
}
.dbm-theme-video-block .video-block-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 500ms, transform 500ms;
}
.dbm-theme-video-block .video-block-popup-wrapper,
.dbm-theme-video-block .video-block-popup,
.dbm-theme-video-block .video-block-popup .popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dbm-theme-video-block .video-block-popup-wrapper,
.dbm-theme-video-block .video-block-popup-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dbm-theme-video-block .video-block-popup-wrapper {
    visibility: hidden;
    padding: 2em 8%;
    overflow: hidden;
    transition: opacity 500ms, visibility 0s 500ms;
    opacity: 0;
    background: rgba(0, 0, 0, 0.34);
}
.dbm-theme-video-block .video-block-popup-bg {
    cursor: pointer;
}
.dbm-theme-video-block .video-block-popup {
    width: 100%;
    height: 100%;
    max-width: 1280px;
    max-width: 80rem;
    max-height: 100%;
    transform: scale(1.25);
    transition: transform 500ms ease-in;
    pointer-events: none;
}
.dbm-theme-video-block .video-block-popup .popup-content {
    position: relative;
    width: 100%;
    max-height: 100%;
    margin: 0 auto;
    border-radius: 0.3em;
    background: #222;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0.25rem 2rem rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}
.dbm-theme-video-block .video-block-popup .video-popup-video {
    width: 100%;
    border-radius: inherit;
}
.dbm-theme-video-block .video-block-popup-close-btn {
    position: absolute;
    z-index: 8;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}
.dbm-theme-video-block .video-block-popup-close-btn > .inner {
    padding: 0.8em 1em;
    background: #222;
    color: #fff;
}
.dbm-theme-video-block .video-block-popup-close-btn .label::before {
    padding: 0;
}
.dbm-theme-video-block .video-block-popup-close-btn .label-txt {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.dbm-theme-video-block.popup-is-open .video-block-content {
    transform: scale(0.8);
    opacity: 0;
}
.dbm-theme-video-block.popup-is-open .video-block-popup-wrapper {
    visibility: visible;
    transition: opacity 500ms;
    opacity: 1;
}
.dbm-theme-video-block.popup-is-open .video-block-popup {
    transform: scale(1);
    transition: transform 500ms ease-out;
}
.dbm-theme-video-with-image {
    display: inline-block;
    position: relative;
    line-height: 0;
}
.dbm-theme-video-with-image .dbm-theme-video,
.dbm-theme-video-with-image .dbm-theme-video-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dbm-theme-video-with-image .dbm-theme-video-video {
    display: block;
    width: 100%;
    height: 100%;
}
.dbm-theme-video {
    position: relative;
}
.dbm-theme-video::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -0.75rem;
    margin-left: -0.75rem;
    transform: scale(0);
    transition: transform 200ms, opacity 200ms;
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    background-image: linear-gradient(90deg, #ffbb00 0%, #ffbb00 20%, #343434 20%, #343434 40%, #eeeef0 40%, #eeeef0 60%, #343434 60%, #343434 80%, #ffbb00 80%, #ffbb00 100%);
    background-position: 0% 50%;
    background-size: 500% 100%;
    box-shadow: 0 0.1rem 0.5rem -0.1rem #000, 0 0.1rem 0.5rem -0.1rem #000;
}
.dbm-theme-video:not(.is-loaded),
.is-loading.dbm-theme-video,
.is-busy.dbm-theme-video {
    cursor: wait;
}
.dbm-theme-video:not(.is-loaded)::after,
.is-loading.dbm-theme-video::after,
.is-busy.dbm-theme-video::after {
    transform: scale(1);
    animation: 2400ms cubic-bezier(0.7, 0, 0, 0.7) 200ms infinite mat_throbber_bg, 2400ms cubic-bezier(0.7, 0, 0, 0.7) 200ms infinite mat_throbber_rot;
    animation-delay: 200ms, 200ms;
    opacity: 1;
}
.dbm-theme-video::after {
    font-size: 1.5em;
}
.dbm-theme-video-video {
    -o-object-position: center;
    object-position: center;
}
.dbm-theme-video-video--fit--fill {
    -o-object-fit: fill;
    object-fit: fill;
}
.dbm-theme-video-video--fit--contain {
    -o-object-fit: contain;
    object-fit: contain;
}
.dbm-theme-video-video--fit--cover {
    -o-object-fit: cover;
    object-fit: cover;
}
.dbm-theme-video-video--fit--none {
    -o-object-fit: none;
    object-fit: none;
}
.dbm-theme-video-video--fit--scale-down {
    -o-object-fit: scale-down;
    object-fit: scale-down;
}
.dbm-theme-youtube-video {
    position: relative;
}
.dbm-theme-youtube-video::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -0.75rem;
    margin-left: -0.75rem;
    transform: scale(0);
    transition: transform 200ms, opacity 200ms;
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    background-image: linear-gradient(90deg, #ffbb00 0%, #ffbb00 20%, #343434 20%, #343434 40%, #eeeef0 40%, #eeeef0 60%, #343434 60%, #343434 80%, #ffbb00 80%, #ffbb00 100%);
    background-position: 0% 50%;
    background-size: 500% 100%;
    box-shadow: 0 0.1rem 0.5rem -0.1rem #000, 0 0.1rem 0.5rem -0.1rem #000;
}
.dbm-theme-youtube-video:not(.is-loaded),
.is-loading.dbm-theme-youtube-video,
.is-busy.dbm-theme-youtube-video {
    cursor: wait;
}
.dbm-theme-youtube-video:not(.is-loaded)::after,
.is-loading.dbm-theme-youtube-video::after,
.is-busy.dbm-theme-youtube-video::after {
    transform: scale(1);
    animation: 2400ms cubic-bezier(0.7, 0, 0, 0.7) 200ms infinite mat_throbber_bg, 2400ms cubic-bezier(0.7, 0, 0, 0.7) 200ms infinite mat_throbber_rot;
    animation-delay: 200ms, 200ms;
    opacity: 1;
}
.dbm-theme-youtube-video::after {
    font-size: 1.5em;
}
.dbm-theme-youtube-video {
    position: relative;
    max-height: 100%;
    overflow: hidden;
}
.dbm-theme-youtube-video .padder {
    width: 100%;
    height: 0;
    /* padding-bottom: 56.25%; */
    padding-bottom: 40.25%;
}
.dbm-theme-youtube-video::before {
    overflow: hidden;
    font-family: "dbicons", "dbf-base", "Arial", "Verdana", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-rendering: optimizeLegibility;
    text-transform: none;
    font-feature-settings: "liga" 1;
    content: "YouTube";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 1em;
    margin: -0.5em 0 0 -1em;
    opacity: 0.1;
    font-size: 20em;
    text-align: center;
}
.dbm-theme-youtube-video-player {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
