/* Ländle TV HbbTV-Mediathek – 1280x720 Bühne, per JS auf die Bildschirmgröße skaliert. Konservatives CSS (keine Grid-Layouts, keine CSS-Variablen) für ältere HbbTV-Browser. */
@font-face{font-family:"Ubuntu";font-weight:300;font-style:normal;src:url(/tv/fonts/ubuntu-latin-300-normal.woff) format("woff")}
@font-face{font-family:"Ubuntu";font-weight:400;font-style:normal;src:url(/tv/fonts/ubuntu-latin-400-normal.woff) format("woff")}
@font-face{font-family:"Ubuntu";font-weight:700;font-style:normal;src:url(/tv/fonts/ubuntu-latin-700-normal.woff) format("woff")}
html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:#0F2D40;color:#fff;font-family:"Ubuntu",Arial,Helvetica,sans-serif}
*{-webkit-box-sizing:border-box;box-sizing:border-box}
button,input{font-family:inherit;color:inherit}
button{border:0;background:transparent;cursor:pointer;padding:0;text-align:left}
button:focus,input:focus{outline:none}
.hidden{display:none!important}
.stage{position:absolute;left:0;top:0;width:1280px;height:720px;overflow:hidden;background:#0F2D40;-webkit-transform-origin:0 0;transform-origin:0 0}
/* Sichere Ränder: ca. 5 % links/rechts, 4 % oben/unten */
.app-shell{position:absolute;left:0;top:0;width:1280px;height:720px;padding:30px 64px 0 64px;background:#0F2D40;background-image:-webkit-radial-gradient(85% 0%,ellipse,#1a4560 0%,#0F2D40 55%);background-image:radial-gradient(ellipse at 85% 0%,#1a4560 0%,#0F2D40 55%)}
.topbar{height:62px;border-bottom:2px solid rgba(255,255,255,.12);position:relative}
.brand-block{position:absolute;left:0;top:4px}
.brand{display:block;width:190px;height:auto}
.brand.small{width:130px}
.claim{display:block;font-size:15px;font-weight:300;color:#cfdbe3;margin-top:4px;letter-spacing:.02em}
.main-nav{position:absolute;right:0;top:10px;white-space:nowrap}
.nav-item{display:inline-block;font-size:20px;font-weight:700;color:#d9e3ea;padding:8px 16px 10px;margin-left:8px;border-radius:6px;border:3px solid transparent}
.nav-item.selected{color:#fff;border-bottom-color:#E3000F}
.nav-item.focused{background:#fff;color:#0F2D40;border-color:#fff}
.dot{display:inline-block;width:14px;height:14px;border-radius:7px;margin-right:9px;vertical-align:0}
.dot.red{background:#E3000F}.dot.green{background:#2fa84f}.dot.yellow{background:#F2CF03}.dot.blue{background:#6297C0}
.notice{margin-top:10px;padding:8px 14px;border-radius:6px;background:#F2CF03;color:#0F2D40;font-size:16px;font-weight:700}
.notice.error{background:#E3000F;color:#fff}
.view{position:absolute;left:64px;right:64px;top:100px;bottom:56px}
.with-notice .view{top:140px}
.section{margin-bottom:6px}
.section-heading{margin:10px 0 10px}
.section-heading h1,.section-heading h2{margin:0;font-size:30px;font-weight:700;line-height:1.1}
.eyebrow{display:block;color:#9fbacb;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:4px}
.row{white-space:nowrap;font-size:0}
.row-scroll{overflow:hidden;width:100%}
.row.nowrap{-webkit-transition:-webkit-transform .2s;transition:transform .2s}
.state{font-size:20px;color:#cfdbe3;padding:30px 0;white-space:normal}
.state.small{font-size:17px;padding:8px 0 12px}
/* Karten */
.card{display:inline-block;vertical-align:top;width:272px;margin-right:16px;white-space:normal;border-radius:10px;padding:6px;border:4px solid transparent;font-size:16px;position:relative}
.card:last-child{margin-right:0}
.card.focused{border-color:#fff;background:#174a66}
.thumb{position:relative;width:252px;height:142px;border-radius:6px;overflow:hidden;background:#174054}
.thumb img{display:block;width:252px;height:142px}
.thumb-ph{width:252px;height:142px;background:#174054;text-align:center;line-height:142px;font-weight:700;font-size:22px;color:#6297C0;letter-spacing:.04em}
.thumb-ph b{color:#E3000F}
.duration{position:absolute;right:6px;bottom:6px;background:rgba(15,45,64,.92);padding:3px 7px;border-radius:4px;font-size:14px;font-weight:700}
.badge-demo{position:absolute;left:6px;top:6px;background:#F2CF03;color:#0F2D40;padding:3px 8px;border-radius:4px;font-size:13px;font-weight:700;letter-spacing:.06em}
.play-mark{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:26px;background:#E3000F;display:none}
.play-mark:after{content:"";position:absolute;left:21px;top:15px;border-style:solid;border-width:11px 0 11px 17px;border-color:transparent transparent transparent #fff}
.card.focused .play-mark{display:block}
.card-title{font-size:18px;font-weight:700;line-height:1.25;margin-top:8px;height:45px;overflow:hidden}
.card-meta{font-size:14px;color:#a9bfcd;margin-top:4px}
.card.playlist .thumb{height:120px}.card.playlist .thumb img,.card.playlist .thumb-ph{height:120px;line-height:120px}
.card.playlist .thumb-ph{font-size:20px;padding:0 10px;line-height:1.2;padding-top:44px;color:#fff;background:#174a66}
.accent{display:block;width:44px;height:4px;border-radius:2px;margin-top:6px;background:#E3000F}
.accent.c1{background:#6297C0}.accent.c2{background:#F2CF03}
.more-button{display:inline-block;margin-top:6px;font-size:17px;font-weight:700;color:#dce7ed;padding:6px 14px;border-radius:6px;border:3px solid transparent}
.more-button.focused{background:#fff;color:#0F2D40}
/* Raster */
.grid-scroll{position:absolute;left:0;right:0;top:80px;bottom:0;overflow:hidden}
#search-view .grid-scroll{top:180px}
.grid{font-size:0;-webkit-transition:-webkit-transform .2s;transition:transform .2s}
.grid .card{margin-bottom:12px}
.grid .card:nth-child(4n){margin-right:0}
.search-input{width:620px;height:56px;border-radius:8px;border:3px solid #6297C0;background:#0b2334;padding:0 18px;font-size:22px;color:#fff}
.search-input.focused{border-color:#fff}
/* Tastenleiste */
.keybar{position:absolute;left:64px;right:64px;bottom:14px;height:32px;font-size:15px;color:#cfdbe3;white-space:nowrap;border-top:1px solid rgba(255,255,255,.1);padding-top:8px}
.key{display:inline-block;margin-right:24px}
.key .dot{width:12px;height:12px;margin-right:7px}
.pill{display:inline-block;padding:1px 6px;margin-right:7px;border:1px solid #9fbacb;border-radius:4px;font-size:12px;font-weight:700}
/* Einwilligung */
.modal{position:absolute;left:0;top:0;width:1280px;height:720px;background:rgba(6,20,30,.86)}
.modal-card{position:absolute;left:250px;top:110px;width:780px;background:#123a52;border-radius:14px;padding:34px 40px;border-top:6px solid #E3000F}
.modal-card h2{margin:0 0 14px;font-size:32px}
.modal-card p{font-size:19px;line-height:1.45;margin:0 0 12px;color:#e7eef2}
.modal-card p.fine{font-size:15px;color:#b5c7d2}
.modal-actions{margin-top:22px}
.btn{display:inline-block;font-size:20px;font-weight:700;padding:14px 26px;border-radius:8px;margin-right:16px;border:4px solid transparent}
.btn.primary{background:#E3000F;color:#fff}
.btn.secondary{background:#1f5574;color:#fff}
.btn.focused{border-color:#fff}
/* Player */
.player{position:absolute;left:0;top:0;width:1280px;height:720px;background:#000}
.player-top{position:absolute;left:0;right:0;top:0;height:64px;padding:16px 64px;background:#0F2D40}
.player-top .brand{float:left}
.player-title{margin-left:160px;font-size:20px;font-weight:700;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-stage{position:absolute;left:0;right:0;top:64px;bottom:44px;background:#000}
#youtube-player,.player-stage iframe{width:100%;height:100%;border:0}
.player-error{position:absolute;left:240px;right:240px;top:180px;text-align:center;font-size:24px;line-height:1.4;background:#123a52;padding:30px;border-radius:12px}
.player-bottom{position:absolute;left:0;right:0;bottom:0;height:44px;padding:10px 64px;background:#0F2D40;font-size:16px;color:#cfdbe3}
#player-status{float:right}
/* Kompaktere Startseite, damit beide Bereiche vollständig im 16:9-Bild bleiben */
.notice{padding:5px 14px;font-size:15px}
.with-notice .view{top:132px}
.view{top:92px}
.section{position:relative}
.section-heading{margin:6px 0 8px}
.section-heading h1,.section-heading h2{font-size:26px}
#home-view .card-title{height:46px;line-height:1.15;white-space:normal;overflow:hidden;text-overflow:clip;word-wrap:break-word;overflow-wrap:break-word}
#home-view .thumb,#home-view .thumb img,#home-view .thumb-ph{height:136px;line-height:136px}
.more-button{position:absolute;right:0;top:14px;margin:0}
.card.playlist .thumb,.card.playlist .thumb img,.card.playlist .thumb-ph{height:96px!important;line-height:1.2!important}
.card.playlist .thumb-ph{padding-top:34px}
#home-view .thumb{line-height:normal}
.badge-demo,.duration{line-height:normal}
.card.playlist .thumb-ph{padding-top:0;line-height:96px!important;font-size:20px;color:#6297C0}
.key[data-key]{cursor:pointer}
/* 16:9 thumbnails for all cards incl. Rubriken (252x142) */
.thumb,.thumb img,.thumb-ph,#home-view .thumb,#home-view .thumb img,#home-view .thumb-ph,.card.playlist .thumb,.card.playlist .thumb img,.card.playlist .thumb-ph{height:142px!important}
.thumb img{object-fit:cover}
.thumb-ph,.card.playlist .thumb-ph{line-height:142px!important;padding-top:0!important}
#home-view .playlist .card-meta{display:none}
#home-view .accent{display:none}
#home-view #other-playlists{position:absolute;right:0;top:14px;margin-top:0}
.text-choice{font-size:18px;font-weight:700;padding:5px 10px;border:3px solid transparent;border-radius:6px;margin-top:2px}
.text-choice.focused,.playlist-text.focused{background:#fff;color:#0F2D40;border-color:#fff}
.text-list{font-size:0}
.playlist-text{display:inline-block;vertical-align:top;width:50%;height:50px;line-height:40px;padding:2px 14px;border:3px solid transparent;border-radius:6px;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Player outside the scaled TV stage: full viewport, temporary overlay only. */
.player{width:100%;height:100%;z-index:10}
.player-top{display:none}
.player-stage{top:0;bottom:0}
.player-bottom{height:auto;min-height:54px;padding:14px 5%;z-index:1}
.player-bottom .key{font-size:16px;line-height:26px}
#captions-toggle:before{content:"";display:inline-block;width:12px;height:12px;border-radius:6px;margin-right:7px;background:#6297C0}
.player.chrome-hidden .player-bottom{display:none}
@media(max-width:700px){.player-bottom .key{display:block;margin-right:0}.player-bottom #player-status{float:none;display:block}.player-error{left:5%;right:5%;top:20%;font-size:18px}}

/* Rubriken-Ansicht: kleinere 16:9-Vorschauen, 5 pro Reihe */
#rubriken-grid .card.mini{width:214px;margin:0 16px 12px 0;padding:5px;border-width:3px}
#rubriken-grid .card.mini:nth-child(5n){margin-right:0}
#rubriken-grid .thumb,#rubriken-grid .thumb img,#rubriken-grid .thumb-ph{width:198px;height:111px!important;line-height:111px!important}
#rubriken-grid .thumb-ph{font-size:17px}
#rubriken-grid .card-title{font-size:15px;height:38px;margin-top:6px}

#rubriken-view .grid-scroll{height:366px;bottom:auto}

/* Kopfzeile "Neueste Videos": Premiere, Weiterschauen, Alle */
.heading-actions{position:absolute;right:0;top:2px;white-space:nowrap;font-size:0}
.heading-actions .more-button{position:static;display:inline-block;vertical-align:middle;margin-left:8px}
.premiere{display:inline-block;vertical-align:middle;height:56px;padding:3px 10px 3px 3px;border:3px solid #E3000F;border-radius:8px;background:#123a52;font-size:0;max-width:520px;overflow:hidden}
.premiere img{float:left;width:80px;height:45px;border-radius:4px;margin-right:10px}
.premiere-when{display:block;font-size:13px;font-weight:700;color:#F2CF03;letter-spacing:.03em;line-height:20px;white-space:nowrap;width:340px;overflow:hidden}
.premiere-title{display:block;font-size:15px;font-weight:700;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:340px}
.premiere.focused{border-color:#fff;background:#174a66}
/* Weiterschauen-Fortschritt */
.progress{position:absolute;left:0;right:0;bottom:0;height:5px;background:rgba(0,0,0,.5)}
.progress span{display:block;height:5px;background:#E3000F}
/* Größere Schrift (Taste 0) */
.large-text .card-meta{font-size:17px}
.large-text .keybar{font-size:17px}
.large-text .state{font-size:23px}
.large-text .playlist-text{font-size:23px}
.large-text #rubriken-grid .card-title{font-size:17px;height:42px}
.large-text #browse-grid .card-title,.large-text #search-grid .card-title{font-size:20px;height:50px}
.keybar .key{margin-right:18px}

.nav-item .pill{font-size:14px;margin-right:6px}
.wx-top{overflow:hidden;margin-top:6px}
.wx-now{float:left;width:330px;background:#174a66;border-radius:10px;padding:16px 20px;height:236px}
.wx-loc{font-size:22px;font-weight:700}.wx-temp{font-size:72px;font-weight:700;line-height:1}.wx-cond{font-size:24px;margin:4px 0 10px}
.wx-meta{font-size:17px;color:#d9e3ea;line-height:1.5}
.wx-hours{margin-left:390px;white-space:nowrap}
.wx-hour{display:inline-block;vertical-align:top;width:94px;margin-right:8px;background:#123b52;border-radius:10px;padding:12px 6px;text-align:center;font-size:15px;color:#d9e3ea;height:236px}
.wx-hour b,.wx-day b{display:block;color:#fff;font-size:18px}
.wx-big{display:block;font-size:34px;font-weight:700;color:#fff;margin:14px 0}
.wx-days{margin-top:16px;white-space:nowrap}
.wx-day{display:inline-block;vertical-align:top;width:206px;margin-right:12px;background:#123b52;border-radius:10px;padding:10px 12px;font-size:16px;color:#d9e3ea}
.wx-day .wx-big{margin:4px 0}
.wx-text{margin-top:14px;font-size:17px;line-height:1.4;color:#d9e3ea;max-height:4.2em;overflow:hidden}

.wx-districts{margin:4px 0 10px}
.wx-districts .btn{padding:8px 20px}
.archive-pager{position:absolute;right:0;top:14px;white-space:nowrap;font-size:16px}
.archive-pager .more-button{position:static;margin:0;vertical-align:middle}
.archive-pager .more-button:disabled{opacity:.4;cursor:default}
#archive-page{display:inline-block;width:180px;text-align:center;vertical-align:middle}
.cancel-home{position:fixed;right:5%;bottom:4%;z-index:20;margin:0;padding:6px 14px;font-size:16px;line-height:24px}
.player-bottom{padding-right:240px}
.footer-impressum{position:absolute;right:100px;top:3px;margin:0;font-size:15px;padding:2px 6px}
.impressum-columns{overflow:hidden;margin-top:18px}
.impressum-column{float:left;width:50%;padding-right:36px}
.impressum-column h2{font-size:19px;margin:0 0 5px}
.impressum-column p{font-size:19px;line-height:1.4;margin:0 0 18px}
.impressum-source{font-size:16px;margin:8px 0 12px}
/* Transparentes AIT-Startbild: das laufende TV-Programm bleibt unverdeckt. */
html.broadcast-background,html.broadcast-background body{background:transparent}
.broadcast-hint{position:fixed;right:5%;bottom:6%;z-index:30;background:#0F2D40;color:#fff;border-bottom:4px solid #E3000F;border-radius:6px;padding:16px 22px;font-size:22px;font-weight:700;line-height:30px;white-space:nowrap}
.broadcast-hint img{display:block;width:150px;height:auto;margin-bottom:12px}
