/* Transition-page interstitial (video banner between site pages) - see views/layouts/_interstitial.php */
html.interstitial-open,
html.interstitial-open body {
    overflow: hidden;
}
.interstitial {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: #f5f5f5;
    direction: rtl;
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    font-family: Assistant, sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* header - same bar as the site's navbar so the visitor knows they're inside the site */
.interstitial-header {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    height: 51px;
    padding: 0 15px;
    background: #b81e0d;
}
.interstitial-logo {
    height: 40px;
    width: auto;
}
.interstitial-skip {
    min-width: 140px;
    text-align: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.5);
    color: rgba(255,255,255,.75);
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    padding: 9px 14px;
    border-radius: 4px;
    cursor: default;
    -webkit-transition: background .15s ease-in-out, border-color .15s ease-in-out;
    transition: background .15s ease-in-out, border-color .15s ease-in-out;
}
.interstitial-skip.enabled {
    background: #fff;
    border-color: #fff;
    color: #b81e0d;
    cursor: pointer;
}
.interstitial-skip.enabled:hover {
    background: #ffe9e6;
}
.interstitial-skip-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 7px solid #b81e0d;
}

/* body - the banner sits in the middle of the page */
.interstitial-body {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 16px;
}
.interstitial-banner {
    position: relative;
    width: 100%;
    max-width: 820px;
    height: 460px;
    max-height: calc(100vh - 51px - 32px - 50px);
    background: #000;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
    overflow: hidden;
}
.interstitial-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.interstitial-click {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    cursor: pointer;
}
.interstitial-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(0,0,0,.6);
    color: #ffb400;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 3px;
    pointer-events: none;
}
.interstitial-unmute {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(0,0,0,.75);
    border: 1px solid rgba(255,255,255,.7);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}
.interstitial-unmute i {
    font-style: normal;
}
.interstitial-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    -webkit-animation: interstitial-spin .8s linear infinite;
    animation: interstitial-spin .8s linear infinite;
}
@-webkit-keyframes interstitial-spin { to { -webkit-transform: rotate(360deg); } }
@keyframes interstitial-spin { to { transform: rotate(360deg); } }
.interstitial-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    z-index: 3;
    direction: ltr;
    background: rgba(255,255,255,.25);
    pointer-events: none;
}
.interstitial-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: #b81e0d;
}
.interstitial-remaining {
    margin: 16px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 767px) {
    