.video-and-ad {
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.video-and-ad .ad-video-container {
    max-width: 100%;
    max-height: 100%;
    background: rgba(255,255,255,0);
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
    cursor: pointer;
}
.mobile-unmute {
    position: absolute;
    display: block;
    z-index: 101;
    padding: 5px 10px;
    background: #000;
    color: #fff;
    font-family: Avenir, 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 13px;
}
.mobile-unmute:hover {
    color: #fff;
    text-decoration: underline;
}
.ad-trigger {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
}
.ad-time {
    position: absolute;
    top: 0;
    left: 5px;
    display: none;
}
.ad-time .ad-time__time {
    color: #fff;
    font-family: Avenir, 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}
.ad-time .ad-time__sr-only {
    display: none;
}
.video-and-ad .loading-pane {
    background: rgba(0,0,0,.90);;
    z-index: 11;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
}
.loading-pane .spinner {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 20px;
    text-align: center;
}
.loading-pane .spinner > div {
    width: 18px;
    height: 18px;
    background-color: #3498db;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading-pane .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loading-pane .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% { 
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% { 
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* Plyr/uplynk styles */
.playing-ads .plyr--video [data-plyr="play"],
.playing-ads .plyr--video [data-plyr="pause"],
.playing-ads .plyr--video [data-plyr="fullscreen"],
.playing-ads .plyr--video .plyr__progress,
.playing-ads .plyr--video .plyr__time {
    display: none;
}
.plyr--video .plyr__controls {
    z-index: 10;
}
.playing-ads .plyr--video .plyr__controls {
    padding: 0 10px 10px 0;
    left: auto;
    background: transparent;
}
.ad-video-container .plyr__play-large-ad {
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px;
    background: #3498db;
    border: 4px solid currentColor;
    border-radius: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    color: #fff;
    transition: all .3s ease;
    cursor: pointer;
}
.ad-video-container .plyr__play-large-ad svg {
    position: relative;
    left: 2px;
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

/* Elementor widget styles */
.elementor-widget-wp-widget-video_and_ad_placement {
    display: none;
}
.elementor-element-edit-mode.elementor-widget-wp-widget-video_and_ad_placement {
    display: block;
}