
/* OVERLAY ANFANG */

.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    /*background-color: rgba(3, 91, 98, 0.95); */
	background-image:linear-gradient(#efefef,#d8d8d8);
	font-family: Helvetica, sans, sans-serif
}

.overlay-content {
    position: absolute;
	height: 100%;
	width: 100%;
    text-align: center;

}

.overlay-content a {
	position: absolute;
	left: 21%;
	top: 40%;
	font-family: ultramagnetic,arial, roboto,"droid sans",helvetica,sans-serif;
    padding-top: 12px;
	padding-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
    text-decoration: none;
	text-transform: uppercase;
    font-size: 20px;
    background-color: #005c63;
	color: #cbecee;
    display: block;
    transition: 0.3s;
    width: 58%;
	height: 68px;
    border-width: 2px;
	border-color: buttonface;
	border-image: inital;
	border-style: outset;
}

.overlay-content p {
	position: absolute;
	top: 5%;
	padding: 10px;
	font-family: ultramagnetic,arial, roboto,"droid sans",helvetica,sans-serif;
    text-decoration: none;
    font-size: 20px;
    color: #4f4f4f;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay #close {
	font-family: ultramagnetic,arial, roboto,"droid sans",helvetica,sans-serif;
    position: absolute;
	top: 60%;
	width: 58%;
	height: 68px;
	left: 21%;
    font-size: 20px;
	padding: 10px;
	background-color: #005c63;
	color: #cbecee;	
	text-transform: uppercase;
	border-width: 2px;
	border-color: buttonface;
	border-image: inital;
	border-style: outset;
}


/* OVERLAY ENDE */

/*!
 * smartbanner.js v1.10.0 <https://github.com/ain/smartbanner.js>
 * Copyright © 2018 Ain Tohvri, contributors. Licensed under GPL-3.0.
 */
/*little changes of the original smartbanner-CSS regarding color, background and fonts*/

.smartbanner {
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    width: 100%;
    height: 84px;
	/* background-color: #005c63; */
	background-image:linear-gradient(#efefef,#d8d8d8);
    font-family: ultramagnetic,arial, roboto,"droid sans",helvetica,sans-serif;
}

.smartbanner__exit {
    position: absolute;
    top: calc(50% - 6px);
    left: 8px;
    display: block;
    margin: 0;
    width: 12px;
    height: 12px;
    padding: 1px;
    border: 0;
	font-weight: 700;
    text-align: center
}

.smartbanner__exit::before,
.smartbanner__exit::after {
    position: absolute;
    width: 2px;
    height: 14px;
    background: #4f4f4f;
    content: ' '
}

.smartbanner__exit::before {
    transform: rotate(45deg)
}

.smartbanner__exit::after {
    transform: rotate(-45deg)
}

.smartbanner__icon {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background-size: 64px 64px
}

.smartbanner__info {
    position: absolute;
    top: 10px;
    left: 103px;
    display: flex;
    overflow-y: hidden;
    width: 60%;
    height: 64px;
    color: #4f4f4f;
    align-items: center
}

.smartbanner__info__title {
    font-size: 14px;
    padding-bottom: 10px;
    font-weight: 700;
	color: #005c63;
}

.smartbanner__info__author,
.smartbanner__info__price {
    font-size: 11px;
    font-weight: 300;
}

.smartbanner__button {
    position: absolute;
    top: 22px;
    right: 10px;
    z-index: 1;
    display: block;
    padding: 10px 10px;
    min-width: 10%;
    border-radius: 5px;
    background-color: #005c63;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    text-decoration: none
}

.smartbanner__button__label {
    text-align: center
}

.smartbanner__button:hover {
    background: #17BFFF;
}

.smartbanner.smartbanner--android {
    background: #3d3d3d;
    box-shadow: inset 0 4px 0 #88b131
}

.smartbanner.smartbanner--android .smartbanner__exit {
    left: 6px;
    margin-right: 7px;
    width: 17px;
    height: 17px;
    border-radius: 14px;
    background: #1c1e21;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) inset, 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #b1b1b3;
    font-family: 'ArialRoundedMTBold', Arial;
    font-size: 20px;
    -webkit-font-smoothing: subpixel-antialiased;
    line-height: 17px;
    text-shadow: 0 1px 1px #000
}

.smartbanner.smartbanner--android .smartbanner__exit::before,
.smartbanner.smartbanner--android .smartbanner__exit::after {
    top: 3px;
    left: 8px;
    width: 2px;
    height: 11px;
    background: #b1b1b3
}

.smartbanner.smartbanner--android .smartbanner__exit:active,
.smartbanner.smartbanner--android .smartbanner__exit:hover {
    color: #eee
}

.smartbanner.smartbanner--android .smartbanner__icon {
    background-color: transparent;
    box-shadow: none
}

.smartbanner.smartbanner--android .smartbanner__info {
    color: #ccc;
    text-shadow: 0 1px 2px #000
}

.smartbanner.smartbanner--android .smartbanner__info__title {
    color: #fff;
    font-weight: bold
}

.smartbanner.smartbanner--android .smartbanner__button {
    top: 30px;
    right: 20px;
    padding: 0;
    min-width: 12%;
    border-radius: 0;
    background: none;
    box-shadow: 0 0 0 1px #333, 0 0 0 2px #dddcdc;
    color: #d1d1d1;
    font-size: 14px;
    font-weight: bold
}

.smartbanner.smartbanner--android .smartbanner__button:active,
.smartbanner.smartbanner--android .smartbanner__button:hover {
    background: none
}

.smartbanner.smartbanner--android .smartbanner__button__label {
    display: block;
    padding: 0 10px;
    background: #42b6c9;
    background: linear-gradient(to bottom, #42b6c9, #39a9bb);
    box-shadow: none;
    line-height: 24px;
    text-align: center;
    text-shadow: none;
    text-transform: none
}

.smartbanner.smartbanner--android .smartbanner__button__label:active,
.smartbanner.smartbanner--android .smartbanner__button__label:hover {
    background: #2ac7e1
}

/* Fix für Smartbanner für KiKA Player App */

html.view-xs .bigStage #header, html.view-s body .bigStage #header {
position: relative !important;
top: 0 !important;
margin-bottom: 0 !important;
}

html.view-xs body.bigStage, html.view-s body.bigStage  {
padding-top: 141px !important;
}

html.view-xs body.bigStage #bigstage, html.view-s body.bigStage #bigstage {
position: relative !important;
margin-top: -141px;
}

html.view-xs .channelMainPage #header, html.view-s .channelMainPage #header, html.view-xs .cssMultiGroup #header, html.view-s .cssMultiGroup #header, html.view-xs .node-wissen #header, html.view-s .node-wissen #header, html.view-xs .cssBroadcast #header, html.view-s .cssBroadcast #header, html.view-xs .cssIpg #header, html.view-s .cssIpg #header, html.view-xs .node-sendungen #header, html.view-s .node-sendungen #header, html.view-xs body .timsterHeader, html.view-s body .timsterHeader, html.view-xs .node-paarefinden #header, html.view-s .node-paarefinden #header, html.view-xs .node-spielen #header, html.view-s .node-spielen #header, html.view-xs .node-memo #header, html.view-s .node-memo #header, html.view-xs .node-spiele #header, html.view-s .node-spiele #header, html.view-xs .node-tonspiel #header, html.view-s .node-tonspiel #header, html.view-xs .node-spiel #header, html.view-s .node-spiel #header, html.view-xs .cssArticle #header, html.view-s .cssArticle #header, html.view-xs .node-selbermachen #header, html.view-s .node-selbermachen #header, html.view-xs .node-ich-bin-ich #header, html.view-s .node-ich-bin-ich #header, html.view-xs .cssDownload #header, html.view-s .cssDownload #header, html.view-xs .node-malen #header, html.view-s .node-malen #header, html.view-xs .node-zusatzmaterial #header, html.view-s .node-zusatzmaterial #header{
position: relative !important;
margin-top: -76px;
} 
 
html.view-m .bigStage #header, html.view-l body .bigStage #header {
position: relative !important;
top: 0 !important;
margin-bottom: 0 !important;
}

html.view-m body.bigStage, html.view-l body.bigStage {
padding-top: 142px !important;
}

html.view-m body.bigStage #bigstage, html.view-l body.bigStage #bigstage {
position: relative !important;
margin-top: -142px;
}

html.view-m .channelMainPage #header, html.view-m .cssMultiGroup #header, html.view-m .node-wissen #header, html.view-m .cssBroadcast #header, html.view-m .cssIpg #header, html.view-m .node-sendungen #header, html.view-m .node-paarefinden #header, html.view-m .node-spielen #header, html.view-m .node-memo #header,html.view-m .node-spiele #header, html.view-m .node-tonspiel #header, html.view-m .node-spiel #header, html.view-m .cssArticle #header, html.view-m .node-selbermachen #header, html.view-m .node-ich-bin-ich #header, html.view-m .cssDownload #header, html.view-m .node-malen #header, html.view-m .node-zusatzmaterial #header{
position: relative !important;
margin-top: -108px;
} 
 
/*Spezifizierung Banner bzgl. Tablet-Ausrichtung */

@media (orientation: portrait) {
html.view-m body .timsterHeader{
position: relative !important;
margin-top: 8px !important;
} 
}

@media (orientation: landscape) {
html.view-m body .timsterHeader, html.view-l body .timsterHeader{
position: relative !important;
margin-top: 8px !important;
} 
}

@media (orientation: landscape) {
html.view-m .bigStage #header, html.view-l .bigStage #header{
position: relative !important;
top: 0 !important;
margin-bottom: 0 !important;
}
}

@media (orientation: landscape) {
html.view-m #header, html.view-l #header{
position: relative !important;
top: -110px !important;
margin-bottom: -80px !important;
}
}

@media (orientation: landscape) {
html.view-m .overlay , html.view-l .overlay{
z-index: 1000 !important;
}
}

@media (orientation: landscape) {
html.view-m .overlay .overlay-content a, html.view-l .overlay .overlay-content a {
padding-top: 40px !important;
}
}

@media (orientation: landscape) {
html.view-m .overlay .overlay-content #close, html.view-m .overlay .overlay-content a, html.view-l .overlay .overlay-content #close, html.view-l .overlay .overlay-content a {
margin-top: 5px !important;
height: 100px !important;
}
}

@media (orientation: landscape) {
html.view-m .overlay .overlay-content a {
top: 35% !important;
}
}

@media (orientation: portrait) {
html.view-m .overlay .overlay-content #close, html.view-m .overlay .overlay-content a {
margin-top: 21px !important;
height: 100px !important;
width: 58% !important;
margin-left: auto%;
margin-right: auto%;
}
}

@media (orientation: portrait) {
html.view-m .overlay .overlay-content a {
padding-top: 40px !important;
}
}

@media (orientation: portrait) {
html.view-m .overlay p{
width: 80%;
text-align: justify;
margin-left: 10% !important;
}
}
 

html.view-xs .theme-kkl #header{
margin-bottom: 35px !important;
} 

html.view-s .theme-kkl #header, html.view-m .theme-kkl #header{
margin-bottom: 0 !important;
} 

html.view-xs .theme-kkl .headerGfx, html.view-m .theme-kkl .headerGfx, {
position: relative !important;
margin-top:  0px !important;
margin-bottom: -160px !important;
} 

@media (orientation: landscape){
html.view-s .theme-kkl .headerGfx {
position: relative !important;
margin-top:  0px !important;
margin-bottom: -175px !important;
} 
}

html.view-xs body .headerGfx, html.view-s body .headerGfx, html.view-m body .headerGfx{
position: relative !important;
margin-top: -44px;
margin-bottom: -130px;
height: 218px;
} 

@media (orientation: landscape){
html.view-s body .headerGfx{
position: relative !important;
margin-top: -44px;
margin-bottom: -150px;
height: 218px;
} 
}

html.view-xs .overlay, html.view-s .overlay{
z-index: 1000;
}

html.view-xs body .smartbanner__info, html.view-s body .smartbanner__info, html.view-m body .smartbanner__info{
width: 40%;
}
 
/*Spezifizierung Banner bzgl. Smartphone-Ausrichtung */

@media (orientation: landscape) {
html.view-s .bigStage #header {
position: relative !important;
top: 2px !important;
margin-bottom: 0 !important;
}
}

@media (orientation: landscape) {
html.view-s .overlay .overlay-content #close, html.view-s .overlay .overlay-content a {
margin-top: 5px !important;
height: 50px !important;
}
}

@media (orientation: landscape) {
html.view-s .overlay .overlay-content a {
top: 35% !important;
padding-top: 15px;
}
}

@media (orientation: portrait) {
html.view-xs .overlay .overlay-content a {
padding-top: 22px !important;
}
}

@media (orientation: portrait) {
html.view-xs .overlay p{
width: 80%;
margin-left: 10% !important;
}
}

@media (orientation: portrait) {
html.view-xs .overlay {
background-image: url("/resources/img/ain-smartbanner/iphone.png");
background-color: #efefef;
background-position: 50% 45%;
background-repeat: no-repeat;
}
}

@media (orientation: portrait) {
html.view-xs .overlay .overlay-content #close {
margin-top: 40% !important;
height: 80px !important;
width: 58% !important;
margin-left: auto;
margin-right: auto;
}
} 

@media (orientation: portrait) {
html.view-xs .overlay .overlay-content a {
margin-top: 50% !important;
height: 80px !important;
width: 58% !important;
margin-left: auto;
margin-right: auto;
}
} 
