/* THIS FILE IS USED BY ALL V2 TENANTS */

@font-face {
    font-family: "Inter-Regular";
    src: url('/BlazeDS/static/fonts/zcn/Inter-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.hidden{
    display: none;
}

/* MULTI VARIANT TEMPLATE */
.multi-content-template .EPublisherTitle {
    position:absolute;
    font-size: 7vh;
    margin:0;
    padding:6vh;  
    color: var(--button-font-color);
    display: flex;
    align-items: center;
    margin: 0;
    text-align: left;
    font-weight: bold;
    z-index: 1;
    word-wrap: break-word;
    animation: opacity 2s ease-in-out 1 alternate;
}

.multi-content-template .EPublisherTitle.position-top,
.multi-content-template .EPublisherTitle.position-bottom{
    width: 100%;
}

.multi-content-template .EPublisherNarrowcastingImage {
    top:0px;
    height: 100%;
    width: 100%;
    position:absolute; 
    z-index: 0;
    /* object-fit: contain; */
    object-position: center;
}

.multi-content-template .EPublisherVideo {
    top:0px;
    height: 100%;
    width: 100%;
    position:absolute; 
    z-index: 0;
}

.multi-content-template .EPublisherText {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: var(--button-font-color);
    font-size: 3vh;
    padding: 2vh 4vw;
    margin: 0;
    text-align: left;
    word-wrap: break-word;
    animation: opacity 2s ease-in-out 1 alternate;
    z-index: 1;
}

.multi-content-template .EPublisherText p {
    height: auto !important;
    width: 100%;
    line-height: 1.5em;
}

.multi-content-template .EPublisherText h1 {
    width: 100%;
}

.multi-content-template .EPublisherLogo {
    position: absolute;
    /* width: 30vw; */
    max-height: 13vh;
    max-width: 30vw;
    z-index: 9;
    animation: opacity 2s ease-in-out 1 alternate;
    padding: 2vw;
}

.multi-content-template .EPublisherClock {
    position: absolute;
    color: #fff;
    padding: 2vw;
    font-size: 4.166666666666667vh; 
    z-index: 9;
    /* animation: opacity 2s ease-in-out 1 alternate; */
    font-family: 'RobotoLight', sans-serif;
}

.multi-content-template .EPublisherTextAndImage{
    position: absolute;
    bottom: 0;
    height: 12%;
    /* right: 1.5625vw; */
    width: 100%;
    color: var(--text-color);
    z-index: 5;
    flex-direction: row-reverse;
    gap: 1.4vw;
    display: flex;
    align-items: center;
    background-color:  var(--navigation-color);
    /* animation: opacity 2s ease-in-out 1 alternate; */
    overflow: hidden;
}

.multi-content-template .EPublisherTextAndImage p p:first-child br{
    display: none;
}
.multi-content-template .EPublisherTextAndImage img{
    width: 8.05555555555556vh;
    height: 8.05555555555556vh;
    border-radius: 50%;
    margin-right: 1.5625vw;
}
/* first p of EPublisherTextAndImage */
.multi-content-template .EPublisherTextAndImage p:first-child {
    font-family: 'RobotoLigth', sans-serif;
    font-size: 2.1vh;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    grid-gap: 0.6vh;
}
.multi-content-template .EPublisherTextAndImage strong{
    font-family: 'RobotoMedium', sans-serif;
    font-size: 2.3vh;
    line-height: 3vh;
    margin: 0;
    padding: 0;
}

@media (orientation: portrait) {
    .multi-content-template .EPublisherText {
        font-size: 1.8vh;
    }
    .multi-content-template .EPublisherText p {
        font-size: 1em;
    }
    .multi-content-template .EPublisherTitle {
        font-size: 5vh;
    }
}

.transparentBackgroundColor {
    background-color: var(--button-background-color-transparent-darker);
}

.position-right,
.position-top-right{
    right: 0vw;
}
.position-left,
.position-top-left{
    left: 0vw;
}
.position-top{
    top: 0vw;
}
.position-bottom{
    bottom: 0vw;
}
.position-bottom-left{
    bottom: 0vw;
    left: 0vw;
}
.position-bottom-right{
    bottom: 0vw;
    right: 0vw;
}
.position-bottom-middle {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    position: absolute;
}
.large-size{
    height: 100%;
    width: 42vw;
    padding-top: 0 !important;
}

  @keyframes opacity {
    0% {
      opacity:0
    }
    100% {
        opacity:1
    }
  }
  .broadcast.table{
    background-color: white;
  }
/* Dinamic table template */

/* EPublisherText display none to all p in the first level under the EPublisherText */
.broadcast.table{
    background-color: white;
    color: black;
}
.broadcast.table .EPublisherText p{
    display: none !important;
}
.broadcast.table .EPublisherText.\31{
    background-color: black;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3.94vh 2.8vw;
    right: 0;
    display: flex;
    align-items: center;
    width: calc(100% - 5.6vw);
    font-size: 5vh;
    text-transform: uppercase;
    font-family: 'Inter-Black', sans-serif;
}
/* make the table tr and td background color var(--navigation-color-darker) */
.broadcast.table .EPublisherText table tr{
    background-color: transparent!important;
}

.broadcast.table .EPublisherText.\32 {
    position: absolute;
    top: 11.31%;
    left: 0;
    right: 0;
    width: calc(100% - 5.6vw);
    padding: 3.94vh 2.8vw;
    font-size: 4.25vh;
    font-family: 'Inter-Bold', sans-serif;
}


.broadcast.table .footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6.5%;
    color: var(--text-color);
    background-color: var(--navigation-color);
}

/* article-announcement / text-photo-rechts: QR code block positioned over the image (bottom-right of screen) */
.text-photo-rechts .EPublisherText .article-qr-container {
    position: fixed;
    bottom: 10vh;
    right: 5vw;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    width: min-content;
}

.text-photo-rechts .EPublisherText .article-qr-box {
    background: #000;
    border-radius: 1vmin;
    padding: 0.5vmin;
    display: inline-block;
    box-sizing: border-box;
}

.text-photo-rechts .EPublisherText .article-qr-box canvas,
.text-photo-rechts .EPublisherText .article-qr-box img,
.text-photo-rechts .EPublisherText .article-qr-box svg {
    width: 20vmin;
    height: 20vmin;
    max-width: 20vmin;
    max-height: 20vmin;
    background: #fff;
    border-radius: 0.4vmin;
    display: block;
    box-sizing: border-box;
}

.text-photo-rechts .EPublisherText .article-qr-label {
    font-size: 1.5vh;
    line-height: 1.3;
    color: #fff;
    opacity: 0.95;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

@media (orientation: portrait) {
    .text-photo-rechts .EPublisherText .article-qr-box canvas,
    .text-photo-rechts .EPublisherText .article-qr-box img,
    .text-photo-rechts .EPublisherText .article-qr-box svg {
        width: 18vmin;
        height: 18vmin;
        max-width: 18vmin;
        max-height: 18vmin;
    }

    .text-photo-rechts .EPublisherText .article-qr-label {
        font-size: 1.4vw;
    }
}

/* article-announcement template: layout + QR (same as text-photo-rechts) */
.article-announcement .EPublisherNarrowcastingImage {
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.article-announcement .EPublisherNarrowcastingImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-announcement .EPublisherText {
    position: absolute;
    left: 0;
    height: 100vh;
    width: 42vw;
    background: rgb(232,124,13);
    background: linear-gradient(141deg, var(--button-background-color) 6%, var(--button-background-color) 70%, var(--button-background-color-transparent) 82%, var(--button-background-color) 100%);
    color: var(--button-font-color);
    font-size: 2.8vh;
    line-height: 4.2vh;
    padding: 2vh 4vw;
}

.article-announcement .EPublisherText h1 {
    line-height: 4.5vh;
}

.article-announcement .EPublisherText .article-qr-container {
    position: fixed;
    bottom: 10vh;
    right: 5vw;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    width: min-content;
}

.article-announcement .EPublisherText .article-qr-box {
    background: #000;
    border-radius: 1vmin;
    padding: 0.5vmin;
    display: inline-block;
    box-sizing: border-box;
}

.article-announcement .EPublisherText .article-qr-box canvas,
.article-announcement .EPublisherText .article-qr-box img,
.article-announcement .EPublisherText .article-qr-box svg {
    width: 20vmin;
    height: 20vmin;
    max-width: 20vmin;
    max-height: 20vmin;
    background: #fff;
    border-radius: 0.4vmin;
    display: block;
    box-sizing: border-box;
}

.article-announcement .EPublisherText .article-qr-label {
    font-size: 1.5vh;
    line-height: 1.3;
    color: #fff;
    opacity: 0.95;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

@media (orientation: portrait) {
    .article-announcement .EPublisherText {
        font-size: 2.8vw;
        line-height: 4vw;
        padding: 2vw 4vh;
    }

    .article-announcement .EPublisherText h1 {
        line-height: 4.5vw;
    }

    .article-announcement .EPublisherText .article-qr-box canvas,
    .article-announcement .EPublisherText .article-qr-box img,
    .article-announcement .EPublisherText .article-qr-box svg {
        width: 18vmin;
        height: 18vmin;
        max-width: 18vmin;
        max-height: 18vmin;
    }

    .article-announcement .EPublisherText .article-qr-label {
        font-size: 1.4vw;
    }
}

.broadcast.custom-template {
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: #ffffff;
}

.broadcast.custom-template > .custom-template-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    overflow: hidden;
    transform-origin: 0 0;
}

.custom-template-canvas {
    overflow: hidden;
}

.custom-template-image-container img {
    display: block;
}

.custom-template-svg-container svg {
    display: block;
}

.custom-template-video-container video {
    display: block;
}

.custom-template-video-container .custom-template-video-player {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

.custom-template-text {
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    line-height: normal;
    padding: 10px;
    border: 1px solid transparent;
    font-family: "Inter-Regular", sans-serif;
}

.custom-template-text p,
.custom-template-text div {
    margin: 0;
    width: 100%;
}

.custom-template-app-container {
    overflow: hidden;
    background: #000;
}

.custom-template-app-container .custom-template-app-iframe,
.custom-template-app-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.custom-template-app-container .youtube-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: relative;
}

.custom-template-app-container .youtube-container iframe {
    width: 300% !important;
    height: 100% !important;
    margin-left: -100%;
    position: absolute;
    top: 0 !important;
    border: 0;
}

.custom-template-screen-container {
    overflow: hidden;
    background: transparent;
}

.custom-template-screen-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}
