/* ******************************************************** */
/* ORANGE: #ec6608 */
/* GREEN: #b3c340 */
/* YELLOW: #fae800 */
/* DARK-BLUE: #005694 */
/* BLUE (Background): #39b4d8 */
/* MID-BLUE: #50BDDF; */
/* HIGHLIGHT-BLUE: #9CDDF2; */
/* GRAY/ROCK: #938d77; */

/* Farben für Übungen */
/* der BLAU: #4265a3|	rgba(66, 101, 163, 1)	*/
/* die ROT:	#c52f2b	|	rgba(197, 47, 43, 1)	*/
/* das GRÜN: #96be35|	rgba(150, 190, 53, 1)	*/
/* GRAU: #938d77 	|	rgba(170, 170, 170, 1)	*/
/* ******************************************************** */
@font-face {
    font-family: "OpenSans";
    src: url("../Fonts/Open_Sans/static/OpenSans-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "NotoSansTamil";
    src: url("../Fonts/NotoSansTamil/NotoSansTamil-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "FontAwesome";
    src: url("../Fonts/FontAwesome/fa-light-300.eot?v=5.9.0");
    src: url("../Fonts/FontAwesome/fa-light-300.eot?#iefix&v=5.9.0") format("embedded-opentype"),
    url("../Fonts/FontAwesome/fa-light-300.woff?v=5.9.0") format("woff"),
    url("../Fonts/FontAwesome/fa-light-300.ttf?v=5.9.0") format("truetype"),
    url("../Fonts/FontAwesome/fa-light-300.svg?v=5.9.0#fontawesomeregular") format("svg");
}
@font-face {
    font-family: "FontAwesome-CC";
    src: url("../Fonts/FontAwesome/fa-brands-400.eot?v=5.9.0");
    src: url("../Fonts/FontAwesome/fa-brands-400.eot?#iefix&v=5.9.0") format("embedded-opentype"),
    url("../Fonts/FontAwesome/fa-brands-400.woff?v=5.9.0") format("woff"),
    url("../Fonts/FontAwesome/fa-brands-400.ttf?v=5.9.0") format("truetype"),
    url("../Fonts/FontAwesome/fa-brands-400.svg?v=5.9.0#fontawesomeregular") format("svg");
}

/* ******************************************************** */
/* !Basis-Layout */
/* ******************************************************** */
html {
    height: 100%; /* footer@bottom */
    box-sizing: border-box; /* footer@bottom */
}

body {
    font-family: OpenSans, Arial, sans-serif;
    font-size: 13pt;
    line-height: 150%;
    position: relative; /* footer@bottom */
    min-height: 100%; /* footer@bottom */
    margin: 0;
    float: none;
    overflow-x: clip;
    color: #333333;
}

.center-all {
    z-index: 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 93%;

}

#content {
    padding: 0 0 500px 0; /* footer@bottom */
    background:#39b4d8;
}
@media screen and (max-width: 711px) {
    #content {
        padding: 0;
    }
}


.blau { /* KINDER */
    position: relative;
    /*z-index: 1;*/
    background: #39b4d8;
    /*padding-top: 0.5em;*/
    /*padding-bottom: 0.5em;*/
}
.weiss { /* LEHRKRAEFTE */
    position: relative;
    background: #ffffff;
    /*padding-top: 0.5em;*/
    /*padding-bottom: 0.5em;*/
    /*z-index: 1;*/
}

.flexcontainer {
    clear: both;
    display: flex;
    flex-direction: row;
    gap: 3%;
    align-items: stretch;
}
.flexcontainer.spaceBetween {
    justify-content: space-between;
}

    .flexitem {
        flex-grow: 1;
        flex-basis: 32%;
        margin: 0.2em 0;
    }
    .flexitem.twothirds {
        flex-grow: 1;
        flex-basis: 68%;
    }

@media screen and (max-width: 711px) {
    .flexcontainer {
        flex-direction: column;
    }

    .flexitem p.align-right {
        text-align: left;
    }
}

footer {
    position: absolute; /* footer@bottom */
        left: 0; /* footer@bottom */
        bottom: 0;
    z-index: 0;
    width: 100%;
    max-height: 500px; /* footer@bottom */
    font-size: 80%;
    line-height: 150%;
}
    @media screen and (max-width: 711px) {
        footer {
            position: relative; /* footer@bottom */
            float: left;
            width: 100%;
            max-height: none; /* footer@bottom */
        }
    }

#footer-images {
    position: relative;
    width: 100%;
    height: 340px;
    margin-top: 30px;
    overflow: hidden;
    background:#39b4d8;
}
    #footer-gras,
    #footer-stein,
    #footer-welle {
        background:#39b4d8;
        position: absolute;
        width: 100%;
        height: 100%;
    }
    #footer-gras {
        background: url("../Images/Footer/gras.png") bottom right no-repeat;
        background-size: contain;
    }
    #footer-stein {
        background: url("../Images/Footer/stein.png") bottom left no-repeat;
        background-size: contain;
    }
    #footer-welle {
        background: url("../Images/Footer/welle.png") bottom right no-repeat;
        background-size: contain;
    }
    @media screen and (min-width: 1240px) {
        #footer-welle {
            background-size: cover;
        }
    }
    /* Image animation basics*/
    #animation {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #animation img {
        position: absolute;
        bottom: 0;
        max-height: 100%;
        object-fit: cover;
    }


    #footer-content {
        background: #AFC410;
    }
        @media screen and (min-width: 767px) {
            #footer-content .flexitem:first-child { flex-basis: 66%; }
            #footer-content .flexitem:last-child { flex-basis: 33%; }
        }

        #footer-content img {
            opacity: 1;
            filter: saturate(1);
            transition: saturate 0.2s ease-in-out;
        }
        #footer-content img:hover,
        #footer-content img:focus {
            filter: saturate(2);
        }


        h1, h2 {
            font-weight: normal;
            line-height: 115%;
            color: #ec6608;
        }
        h1 {
            font-size: 2.2em;
        }

        .blau h1, .blau h2 {
            color: #ffffff;
        }

        h3 {
            margin: 1em 0 0 0;
            font-size: 100%;
            clear: both;
        }

        h4 {
            font-weight: normal;
            font-size: 115%;
            line-height: 115%;
            color: #39b4d8;
            margin: 1em 0 0.25em 0;
            /*margin: 1.5em 0 0.25em 0;*/
            clear: both;
        }

        h5 {
            font-weight: normal;
            font-size: 100%;
            font-family: inherit;
            color: inherit;
            margin: 0;
            clear: both;
        }


h1 a, h2 a {
            text-decoration: none;
        }

        h1 a:hover, h1 a:focus, h1 a:active,
        h2 a:hover, h2 a:focus, h2 a:active {
            text-decoration: underline;
        }


        p {
            padding: 0.7em 0 0.3em 0;
            margin: 0;
        }

        h1.align-left, h1.text-left,
        h2.align-left, h2.text-left,
        h3.align-left, h3.text-left,
        p.align-left, p.text-left {
            text-align: left;
        }

        a {
            color: inherit;
            outline: none;
            transition: text-shadow 0.1s ease-in-out;
        }


        a:hover, a:active, a:focus {
            text-decoration: none;
        }

        /* IE fix */
        a img {
            border: none;
            outline: none;
        }

        a:active,
        a:visited {
            border: none;
            outline: none;
        }

        /* Responsive Images: */
        embed, object, img {
            max-width: 100%;
            height: auto;
        }

        i, em {
            font-style: italic;
        }

        sup {
            display: block;
            font-size: 11pt;
            line-height: 180%;
        }

        hr {
            clear: both;
            border: none;
            padding: 0;
            border-top: 2px dotted #ffffff;
            margin: 0.7em 3% 0.3em 3%;

        }
        .weiss hr {
            border-top: 1px solid #555555;
        }
        .weiss .frame-layout-1 hr {
            border-color: #ffffff; /* invisible */
        }

table {
            font-size: inherit;
            width: 100%;
            border-collapse: collapse;
            border: none;
            /*	border: 1px solid #555555;
            */
        }

        table p {
        }

        tr {
            vertical-align: top;
        }

        td, th {
            padding: 0;
        }

        .video {
            overflow: hidden;
            padding-bottom: 56.25%;
            position: relative;
            height: 0;
        }

        .video iframe {
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            position: absolute;
        }


        /* ******************************************************** */
        /* HEADER */
        /* ******************************************************** */
        header#header {
            position: relative;
            display: block;
            width: 100%;
            clear: both;
            z-index: 10;
            background:#39b4d8;
        }

        /* ******************************************************** */
        /* Switch between classic Desktop menu (>768px) and Smartphone Slicknav menu (<768px) */
        /* ******************************************************** */
        @media screen and (max-width: 767px) {
            /* Navigation area */
            nav#navigation {
                position: relative;
                float: left;
                width: 340px;
                max-width: 25%;
                padding-top: 1em;
            }
            nav#navigation #mainMenu { display: none; }
            nav#navigation .slicknav_menu { display: block; }
            #logo {
                position: relative;
                float: right;
                    right: -4.4%; /* remove .center-all padding */
                width: 340px;
                max-width: 75%;
                overflow-x: clip;
            }
            #logo img {
                position: relative;
                right: -33.3%;
                height: auto;
            }
        }
        @media screen and (min-width: 768px) {
            /* Navigation area */
            nav#navigation {
                position: relative;
                float: left;
                width: 70%;
            }
            nav#navigation #mainMenu { display: flex; }
            nav#navigation .slicknav_menu { display: none; }
            #logo {
                position: absolute;
                    right: -130px;
                float: right;
                width: 340px;
            }
            header#header { height: 133px; }
        }


        /* ******************************************************** */
        /* Desktop menu MainMenu */
        /* ******************************************************** */
        ul#mainMenu {
            z-index: 2;
            margin: 1.5em 0 0 0;
            padding: 0;
            list-style: none;
            display: flex;
            flex-direction: row;
            gap: 3%;
            align-items: stretch;
            clear: both;
        }

        ul#mainMenu > li {
            position: relative;
            flex-grow: 1;
            flex-basis: 20%;
            text-align: center;
            margin: 2px;
            padding: 0.3em 0.3em;
            border-radius: 1em;
            background: #ec6608;
            color: #ffffff;
        }
        ul#mainMenu > li:hover,
        ul#mainMenu > li:focus {
            /*box-shadow: inset 2px 2px 4px #555555;*/
        }

        ul#mainMenu a {
            white-space: nowrap;
            display: inline-block;
            text-decoration: none;
            border: none;
            width: 100%;
            color: inherit;
            background: none;
        }

        ul#mainMenu a:hover,
        ul#mainMenu a:focus,
        ul#mainMenu a.current {
            color: #555555;
        }

        /*ul#mainMenu > li:nth-child(1),*/
        /*ul#mainMenu > li:nth-child(1) ul {*/
        /*    !*background: #fe7300;*!*/
        /*    background: #ec6608;*/
        /*}*/
        /*ul#mainMenu > li:nth-child(2),*/
        /*ul#mainMenu > li:nth-child(2) ul {*/
        /*    !*background: #b3e51f;*!*/
        /*    background: #b3c340;*/
        /*}*/
        /*ul#mainMenu > li:nth-child(3),*/
        /*ul#mainMenu > li:nth-child(3) ul {*/
        /*    !*background: #fae800;*!*/
        /*    background: #e8d700;*/
        /*}*/
        /*ul#mainMenu > li:nth-child(4),*/
        /*ul#mainMenu > li:nth-child(4) ul {*/
        /*    !*background: #18acdc;*!*/
        /*    background: #50BDDF;*/
        /*}*/

        /* *** */
        /* 2. Ebene - Vertical Dropdown */
        /* *** */
        ul#mainMenu ul {
            padding: 0;
            margin: 0;
            list-style: none;
            position: absolute;
                top: 2.5em;
                left: 0;
            min-width: 100%;
            font-size: 100%;
            border-radius: 1em;
            background: #ec6608;
            /*box-shadow: inset 2px 2px 4px #555555;*/
        }

        ul#mainMenu ul:before {
            content: '';
            position: absolute;
            top: -0.5em;
            height: 1em;
            display: block;
            width: 100%;
        }
        ul#mainMenu li:last-child ul {
            left: auto;
            right: 0;
        }
        ul#mainMenu ul li {
            display: block;
            float: none;
            margin: 0;
            padding: 0.2em 0.5em;
            border-radius: 0;
            border-bottom: 1px dotted #ffffff;
        }
        ul#mainMenu ul li:last-child {
            border-bottom-color: transparent;
        }


        /* Grafischer Hinweis auf Existenz eines Dropdown-Submenu */
        /*					ul#mainMenu ul li.sub-nav > a:after {
        *						content: "•";
        *						position: absolute;
        *							right: 0.5em;
        *					}
        */
        /* 2. Menubene ausblenden bis :hover / .active */
        ul#mainMenu ul {
            /*	display: none; */
            /* Animationseffekt */
            display: block;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0s linear 0.3s, opacity 0.3s linear;
        }
        ul#mainMenu li:hover > ul,
        ul#mainMenu li:focus > ul,
        ul#mainMenu li:active > ul {
            /* display: block; */
            /* Animationseffekt */
            visibility: visible;
            opacity: 1;
            transition: all 0.2s ease-in-out;
        }

        /* *** */
        /* 3. Ebene - Vertical Dropdown */
        /* *** */
        ul#mainMenu ul ul {
            z-index: 1;
            position: absolute;
            top: 0;
            left: 100%;
            padding: 0 0 0.2em 0;
            border-radius: 0.3em;
            box-shadow: -1px 5px 3px -1px #555;
        }

        /* *** */
        /* 4. Ebene - vertikal Dropdown */
        /* *** */
        ul#mainMenu ul ul ul { }


        /* ******************************************************** */
        /* SlickNav */
        /* ******************************************************** */
        .slicknav_menu a {
            text-decoration: none;
        }

        .slicknav_btn .slicknav_menutxt {
            position: relative;
            z-index: 10;
            font-size: 72%;
            color: #000000;
            transition: color 0.2s ease-in-out;
            text-decoration: none;
        }
        /* Slicknav ICON */
        .slicknav_icon {
            z-index: 10;
            float: left;
            font-size: 200%;
            position: absolute;
            display: block;
            width: 1em;
            height: 1em;
            cursor: pointer;
        }
        /* Icon animation - closed state */
        .slicknav_icon-bar {
            position: absolute;
            display: block;
            width: 100%;
            height: 0.13em;
            background-color: #555555;
            border-radius: 0.06em;
            transform:  translateY(0em) rotate(0deg);
            transition: all 0.2s ease-in-out;
        }
        .slicknav_icon-bar:nth-child(1) { top: 0.0em; }
        .slicknav_icon-bar:nth-child(2) { top: 0.3em; }
        .slicknav_icon-bar:nth-child(3) { top: 0.6em; }
        /* Icon animation - open state */
        .slicknav_btn.slicknav_open .slicknav_menutxt {
            color: #ffffff;
            opacity: 30%;
        }
        .slicknav_open .slicknav_icon-bar {
            height: 0.1em;
            background-color: #ffffff;
        }
        .slicknav_open .slicknav_icon-bar:nth-child(1) { transform: translateY(0.3em) rotate(135deg); }
        .slicknav_open .slicknav_icon-bar:nth-child(2) { transform: translateX(0.5em); width: 0; }
        .slicknav_open .slicknav_icon-bar:nth-child(3) { transform: translateY(-0.3em) rotate(-135deg); }

        /* Menu OPEN state */
        .slicknav_nav {
            position: absolute;
            top: -.72em; /* Space required by .slicknav_menutxt */
            left: -1em;
            z-index: 1;
            background: #005694;
            padding: 5.5em 0 0 0;
            margin: 0;
            list-style: none;
            width: 460px;
            max-width: 100vw;
        }
        @media screen and (max-width: 359px) {
            .slicknav_nav {
                width: auto;
            }
        }


        ul.slicknav_nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        ul.slicknav_nav li {
            white-space: nowrap;
            line-height: 150%;
            margin: 0;
            padding: 0;
            border-top: 1px dotted #666;
            overflow: hidden;
        }
        .slicknav_nav a {
            color: inherit;
            text-decoration: none;
            width: calc(100% - 2em);
            display: inline-block;
        }
        .slicknav_nav a .slicknav_arrow {
            font-family: FontAwesome, fantasy; /* Icons => slicknav.config.js */
            float: right;
            z-index: 1;
        }
        .slicknav_nav li > a {
            padding: 0.2em 1em;
        }

        /* 1. Menu level */
        ul.slicknav_nav > li {
            font-size: 125%;
            color: #ffffff;
            border-top: 1px dotted #ffffff;
        }
        /* 2.+3.+4. menu level */
        ul.slicknav_nav > li > ul > li  {
            font-size: 80%;
            background: #ffffff;
            color: #666;
        }
        ul.slicknav_nav > li > ul > li:first-child {
            border-top: none;
        }
        ul.slicknav_nav li a:hover,
        ul.slicknav_nav li a:focus,
        ul.slicknav_nav > li > ul > li a.active > a, /* Highlight Item */
        ul.slicknav_nav > li > ul > li a.active, /* Highlight whole path */
        ul.slicknav_nav > li > ul > li a.active ~ .slicknav_arrow,
        ul.slicknav_nav > li > ul > li a.active:hover,
        ul.slicknav_nav > li > ul > li a.active:focus,
        ul.slicknav_nav > li > ul > li a.active.current {
            color: #ec6608;
        }
        /* 3.+4. menu level only */
        .slicknav_nav > li > ul > li > ul li {
            padding-left: 0.75em;
        }



        /* ******************************************************** */
        /* !TYPO3-Spezifika: links-/rechtsbündig, zentriert, Blocksatz */
        /* ******************************************************** */
        .text-left, .align-left, .ce-headline-left { text-align: left; }
        .text-center, .align-center, .ce-headline-center { text-align: center; }
        .text-right, .align-right, .ce-headline-right { text-align: right; }
        .text-justify, .align-justify { text-align: justify; }
        @media screen and (max-width: 430px) {
            .text-right, .align-right,
            .text-justify, .align-justify {
                text-align: left;
            }
        }

        /* ******************************************************** */
        /* !Ausklapper für H3-Tag => per jquery.ausklapper.js */
        /* ******************************************************** */
        .Ausklapper {
            margin: 0 0 0 1em;
            padding: 0;
            cursor: pointer;
            font-weight: normal;
        }
        .Ausklapper:hover,
        .Ausklapper:focus {
            text-decoration: underline;
        }
        .Ausklapper:before {
            position: absolute;
            font-family: FontAwesome, fantasy;
            content: "\f054"; /* chevron-right */
            margin: 0 0 0 -1em;
            width: 1em;
            height: 1em;
            display: block;
            transform-origin: bottom center;
            transition: all 0.2s ease-in-out;
        }
        .Ausklapper:hover:before,
        .Ausklapper:focus:before {
            transform: rotate(90deg) translateY(0.5em);
        }

        .Ausklapper ~ UL LI,
        .Ausklapper ~ TABLE,
        .Ausklapper ~ DIV P.bodytext {
            margin-top: 0 !important;
        }
        /* Textvorlagen (hier klicken) - as yet unsupported in Firefox */
        .frame-type-uploads ~ .frame-type-uploads:has(.Ausklapper) {
            margin-top: -2.5em;
        }

        /* ******************************************************** */
        /* !Textstyles DIV */
        /* ******************************************************** */
        .kasten {
            border-radius: 0.5em;
            padding: 0.5em !important;
            margin-right: 0.5em;
            margin-bottom: 0.5em;
            border: 1px solid #39b4d8;
            /*background: #39b4d8;*/
        }
            .kasten p {
                padding: 0 0 0.3em 0;
            }

        .flipbook-viewport .frage,
        .flipbook-viewport .antwort,
        .flipbook-viewport .richtig,
        .flipbook-viewport .falsch {
            cursor: pointer;
            display: block;
            padding: 0 0 0 0.1em;
            /*margin-bottom:0.75em;*/
            background: #50BDDF;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            border-radius: 1em;
            border: 1px solid #39b4d8;
        }

        .flipbook-viewport .richtig.ende,
        .flipbook-viewport .richtig.beantwortet,
        .flipbook-viewport .richtig.ende:hover,
        .flipbook-viewport .richtig.ende:focus,
        .flipbook-viewport .richtig.beantwortet:hover,
        .flipbook-viewport .richtig.beantwortet:focus,
        .flipbook-viewport .antwort {
            color: #938d77;
            background: transparent;
            border-color: transparent;
            cursor: default;
        }

        .flipbook-viewport .frage:hover, .flipbook-viewport .frage:focus,
        .flipbook-viewport .richtig:hover, .flipbook-viewport .richtig:focus,
        .flipbook-viewport .falsch:hover, .flipbook-viewport .falsch:focus {
            box-shadow: inset 2px 2px 4px #555555;
            color: #555555;
        }

        .flipbook-viewport .frage:before,
        .flipbook-viewport .antwort:before,
        .flipbook-viewport .richtig:before,
        .flipbook-viewport .falsch:before {
            position: relative;
                top: 0.2em;
            display: inline-block;
            padding: 0 0 0 1px;
            font-family: FontAwesome, fantasy;
            line-height: 100%;
            overflow: hidden;
        }

        /* Fragezeichen grau */
        .flipbook-viewport .frage:before,
        .flipbook-viewport .frage.unbeantwortet:before {
            padding-right: 2px;
            content: "\f138"; /* fa-comment */
            color: inherit;
        }
        .flipbook-viewport .frage.beantwortet:before {
            padding-right: 2px;
            content: "\f13a"; /* fa-comment-o */
            color: #938d77;
        }

        /* Fragezeichen grau */
        .flipbook-viewport .richtig.unbeantwortet:before,
        .flipbook-viewport .falsch.unbeantwortet:before {
            content: "\f059"; /* icon-question-sign */
            color: inherit;
        }

        .flipbook-viewport .falsch.ende:before {
            content: "\f057"; /* icon-remove-sign */
            color: #938d77;
        }

        /* Smiley grün */
        .flipbook-viewport .richtig:before,
        .flipbook-viewport .richtig.beantwortet:before {
            text-shadow: none;
            color: #96be35; /* <= Einblendung per Javascript */
            content: "\f118"; /* icon-smile */ /* <= Einblendung per Javascript */
        }

        /* Frownie rot */
        .flipbook-viewport .falsch:before,
        .flipbook-viewport .falsch.beantwortet:before {
            text-shadow: none;
            color: #c52f2b; /* <= Einblendung per Javascript */
            content: "\f119"; /* icon-frown */ /* <= Einblendung per Javascript */
        }

        .flipbook-viewport .ende,
        .flipbook-viewport .ende:hover, .flipbook-viewport .ende:focus,
        .flipbook-viewport .beantwortet,
        .flipbook-viewport .beantwortet:hover, .flipbook-viewport .beantwortet:focus {
            background: none;
            border: 1px solid transparent;
            text-decoration: none;
            text-shadow: none;
            cursor: default;
            box-shadow: none;
            color: #666666;
        }

        .flipbook-viewport .antwort:before {
            color: #96be35;
            padding-right: 2px;
            content: "\f06a"; /* icon-exclamation-sign */
        }

        .stimmt .frage,
        .stimmt .richtig,
        .stimmt .falsch {
            background: #96be35; /* old browser fallback */
            border: 1px solid #938d77;
        }

        .stimmtnicht .frage,
        .stimmtnicht .richtig,
        .stimmtnicht .falsch {
            background: #c52f2b; /* old browser fallback */
        }


        .stimmt .beantwortet,
        .stimmtnicht .beantwortet {
            box-shadow: 3px 3px 5px #555;
        }

        .stimmt .ende,
        .stimmt .ende:hover,
        .stimmt .ende:focus,
        .stimmt .beantwortet,
        .stimmt .beantwortet:hover,
        .stimmt .beantwortet:focus,
        .stimmtnicht .ende,
        .stimmtnicht .ende:hover,
        .stimmtnicht .beantwortet,
        .stimmtnicht .beantwortet:hover,
        .stimmtnicht .beantwortet:focus {
            background: none;
            border: 1px solid transparent;
            text-decoration: none;
            text-shadow: none;
            cursor: default;
            box-shadow: none;
        }

        span.faPlay:after {
            font-family: FontAwesome, fantasy;  /* RTE text selection: #xf144; (play) */
            content: "\f144";
        }

        /* Sprechblase */
        .frame-layout-1 .layout-1 .kasten,
        span.sprechblase {
            position: relative;
                top: 0.5em;
            display: inline-block;
            border-radius: 0.5em;
            background: #fff;
            padding: 0.25em 1em;
            margin: 0 0.5em 0.5em 0.5em;
            border: #000000 solid 1px;
        }
        .frame-layout-1 .layout-1 .kasten:before,
        span.sprechblase:before {
            content: '';
            position: absolute;
            top: 80%;
            right: -14px;
            border-style: solid;
            border-width: 9px 0 2px 14px;
            border-color: transparent #000000;
            display: block;
            width: 0;
            z-index: 0;
            margin-top: -9px;
        }
        .frame-layout-1 .layout-1 .kasten:after,
        span.sprechblase:after {
            content: '';
            position: absolute;
            top: 80%;
            right: -12px;
            border-style: solid;
            border-width: 8px 0 0 14px;
            border-color: transparent #FFFFFF;
            display: block;
            width: 0;
            z-index: 1;
            margin-top: -8px;
        }

        /* Define diagonal borders for ALL backgroundColors */
        span.backgroundRed,
        span.backgroundGreen,
        span.backgroundYellow,
        span.backgroundBlue,
        span.backgroundGray {
            position: relative;
            display: inline-block;
            line-height: 110%;
        }

        span.backgroundRed:before,
        span.backgroundGreen:before,
        span.backgroundYellow:before,
        span.backgroundBlue:before,
        span.backgroundGray:before {
            position: absolute;
            bottom: 0;
            left: -0.25em;
            width: 0;
            height: 0;
            display: block;
            content: "";
            border-top: 1.1em solid transparent;
            border-right: 0.25em solid; /* <= color missing */
        }

        span.backgroundRed:after,
        span.backgroundGreen:after,
        span.backgroundYellow:after,
        span.backgroundBlue:after,
        span.backgroundGray:after {
            position: absolute;
            top: 0;
            right: -0.25em;
            width: 0;
            height: 0;
            display: block;
            content: "";
            border-bottom: 1.1em solid transparent;
            border-left: 0.25em solid; /* <= color missing */
        }


        span.textSpielplatz {
            color: #A67A2A;
        }

        .layout-1 span.textSpielplatz {
            color: #d5a248;
        }

        span.backgroundRed {
            background-color: rgba(197, 47, 43, 0.4);
        }

        span.backgroundRed:before {
            border-right-color: rgba(197, 47, 43, 0.4);
        }

        span.backgroundRed:after {
            border-left-color: rgba(197, 47, 43, 0.4);
        }

        span.backgroundGreen {
            background-color: rgba(125, 154, 43, 0.4);
        }

        span.backgroundGreen:before {
            border-right-color: rgba(125, 154, 43, 0.4);
        }

        span.backgroundGreen:after {
            border-left-color: rgba(125, 154, 43, 0.4);
        }

        span.backgroundBlue {
            background-color: rgba(0, 86, 148, 0.4);
        }

        span.backgroundBlue:before {
            border-right-color: rgba(0, 86, 148, 0.4);
        }

        span.backgroundBlue:after {
            border-left-color: rgba(0, 86, 148, 0.4);
        }

        span.backgroundGray {
            background-color: rgba(170, 170, 170, 0.4);
        }

        span.backgroundGray:before {
            border-right-color: rgba(170, 170, 170, 0.4);
        }

        span.backgroundGray:after {
            border-left-color: rgba(170, 170, 170, 0.4);
        }

        span.textOrange {
            color: #ec6608;
        }

        span.textRed {
            color: #c52f2b;
        }

        span.textGreen {
            color: #b3c340;
        }
            .unbeantwortet span.textGreen {
                color: #c0d345;
            }
        span.textBlue {
            color: #005694;
        }

        span.textGray {
            color: #938d77;
        }

        /* Book cover styles */

        /* Margin for 3d effect */
        .menu .item { margin-top: 1.5em; } /* Single book (width: 100%) */
        .menu .menuitem .item { margin-top: 0; } /* Multiple books (width: 15%) */

        .menu .item {
            z-index: -10;
            width: 100%;
            min-height: 190px;
            transform: perspective(100px) rotateY(-3deg) scale(.95) translateX(-4%) translateY(-5%) translateZ(-10px);
            transition: all 0.2s ease-in-out;
        }
        .menu a:hover .item,  /* Verlinkte Rotation bei :hover + :focus */
        .menu a:focus .item {
            transform: perspective(999px) rotateY(0) scale(1.015) translateX(0) translateY(-5%) translateZ(0);
        }

        .menu .item .image {
            margin: 1em 0 0 0;
            position: relative;
            display: inline-block;
            outline: 1px solid transparent; /* Helps smooth jagged edges in Firefox */
            box-shadow: none;
            transform: perspective(500px) rotateY(-3deg);
        }
        .menu a:hover .item .image,
        .menu a:focus .item .image {
            transform: rotateY(0);
        }

        /* Front cover */
        .menu .item .image img {
            position: relative;
            top: 5px;
            max-width: 100%;
            border-radius: 4px;
        }

        /* Back cover */
        .item .image:before {
            position: absolute;
            top: 3.5%;
            left: 4%;
            content: ' ';
            width: 100%;
            height: 93%;
            z-index: -2;
            border-radius: 3px;
            transition: all 0.2s ease-in-out;
            background-color: #777777;
            box-shadow: 5px 15px 15px #938d77;
        }

        .blau .item .image:before {
            background-color: #555555;
            box-shadow: 5px 15px 15px #333333;
        }

        /* Paper */
        .item .image:after {
            position: absolute;
            top: 4%;
            left: 99.9%;
            height: 91%;
            width: 3%;
            content: ' ';
            z-index: -1;
            border-radius: 2px;
            background-color: #EFEFEF;
            transform: perspective(100px) rotateY(10deg);
            transition: all 0.1s ease-in-out ;
        }
        .menu a:hover .image:before,
        .menu a:focus .image:before {
            left: 1%;
        }
        .menu a:hover .image:after,
        .menu a:focus .image:after {
            opacity: 0;
        }
        /* /Book cover styles */





        /* ******************************************************** */
        /* Submenu BUCHAUSWAHL + SPRACHAUSWAHL */
        /* ******************************************************** */

        /* BUCHAUSWAHL */
        .menu {
            margin: 0;
            text-align: center;
            justify-content: center;
            width: 100%;
        }
        a.menuitem {
            display: inline-block;
            text-decoration: none;
            vertical-align: top;
            width: 15%;
            min-width: 120px;
            margin: 0 0.75%;
        }
        @media screen and (max-width: 768px) {
            .menu > a.menuitem {
                width: 30%;
            }
        }

        @media screen and (max-width: 430px) {
            .menu > a, .colPos3 .menu > a.menuitem {
                width: 48%;
            }
        }

        @media screen and (max-width: 360px) {
            .menu > a, .colPos3 .menu > a.menuitem {
                width: 100%;
            }
        }

        .menu .item img {
            border: 1px solid #666;
        }

        .menu p {
            margin: 0 0 0.5em 0;
            padding: 0.2em 0;
            line-height: 120%;
            min-height: 2.4em;
            cursor: pointer;
            text-align: center;
        }
        .blau .menu p {
            color: #ffffff;
        }

        @media screen and (max-width: 1111px) {
            .menu p {
                font-size: 82%;
            }
        }

        .menu p.small {
            margin: 0.25em 0;
            padding: 0;
            font-size: 66%;
            line-height: 100%;
            color: #000000;
        }

        .menu p.small:before {
            content: '(';
        }

        .menu p.small:after {
            content: ')';
        }

        .menu .abstract,
        .menu .keywords {
            display: block;
            width: 100%;
            line-height: 100%;
            text-align: center;
            margin: 1em 0 -1em 0;
            font-size: 60%;
            color: #555555;
        }
        /* SkyCarousel styling "Klasse 1-2" */
        .menu span.abstract {
            margin: 0 0 0.5em 0;
        }

        .blau .menu .abstract,
        .blau .menu .keywords {
            color: #ffffff;
        }


        .menu .keywords {
            margin: 1em;
        }

        .menu .keywords > a:first-of-type {
            text-decoration: none;
        }

        /* SPRACHAUSWAHL */
        .frame-type-menu_categorized_pages.frame-layout-0 ul,
        .subpages {
            clear: both;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 5%;
            margin: 0 0 2em 0;
        }
        .frame-type-menu_categorized_pages.frame-layout-0 li,
        .subpage {
            background: #50BDDF;
            color: #ffffff;
            flex-grow: 1;
            flex-basis: 100%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 1em;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s ease;
            margin: 1em 0 0 0;
        }
        .subpage.halfwidth {
            flex-basis: 46%;
        }
        @media screen and (max-width: 468px) {
            .subpage.halfwidth {
                flex-basis: 100%;
            }
        }
        .subpage.invisible,
        .subpage.halfwidth.invisible {
            visibility: hidden; /* For odd number of items, suppress flex-grow of last row */
        }

        .subpage .language,
        .subpage .deutsch {
            display: inline-block;
            width: 44%;
            text-align: right;
            margin: 0;
            padding-right: 0.2em;
            transition: none;
        }
        .subpage .deutsch {
            text-align: left;
            padding-left: 0.5em;
            border-left: 1px dotted #ffffff;
            color: #005694;
        }

        .frame-type-menu_categorized_pages.frame-layout-0 li:hover,
        .frame-type-menu_categorized_pages.frame-layout-0 li:focus,
        .subpage a:hover,
        .subpage a:focus,
        .subpage a.active,
        .subpages a:hover .subpage a:hover,
        .subpages:hover .subpage a.active:hover,
        .subpage a.active:focus {
            box-shadow: inset 2px 2px 4px #555555;
            background: #9CDDF2;
            color: #555555;
            border-radius: 1em;
        }
        .subpages:hover a:focus,
        .subpages:hover a.active {
            box-shadow: none;
            background: #50BDDF;
            color: #ffffff;
        }


.subpage hr {
            margin: 0.1em 0;
            border-top: 1px dotted #ffffff;
        }

        .frame-type-menu_categorized_pages.frame-layout-0 li a,
        .subpage a {
            display: inline-block;
            width: 100%;
            color: inherit;
            text-decoration: none;
            padding: 0.2em 0;
        }


        /* ******************************************************** */
        /* !EXT Mask */
        /* ******************************************************** */

        /* Übung "Richtig oder Falsch" */
        #richtigfalsch1 {
            width: 100%;
            display: flex;
            flex-flow: row wrap;
        }

        #richtigfalsch1 .cp-container {
            margin: 0 auto;
        }

        #richtigfalsch2 {
            margin: 2em 0 0 0;
            text-align: center;
        }

        #richtigfalsch2 table td:first-child {
            text-align: right;
            padding: 0 20px 0 0;
        }

        #richtigfalsch2 table td:last-child {
            text-align: left;
            padding: 0 0 0 20px;
        }


        /* ******************************************************** */
        /* !FORM FIELDS */
        /* ******************************************************** */

        form,
        fieldset {
            margin: 0;
            padding: 0;
            border: none;
        }

        label {
            padding: 0 1em 0 0;
            float: left;
            text-align: right;
            clear: both;
        }

        @media screen and (max-width: 711px) {
            LABEL {
                text-align: left;
            }
        }

        select,
        textarea,
        input[type="text"] {
            margin: 0 0 0 0;
            clear: none;
            width: 70%;
            border: 1px solid #666666;
            outline: none;
            padding: 5px 1%;
            font-size: 90%;
            color: #666666;
            transition: all 0.2s ease-in-out;
        }

        select {
            width: auto;
        }

        textarea:hover, textarea:active,
        textarea:focus,
        input[type="text"]:hover, input[type="text"]:active,
        input[type="text"]:focus {
            border: 1px solid #666666;
        }

        input[type="submit"] {
            -webkit-appearance: none;
            margin: 0.5em 0 0 0;
            float: right;
            clear: none;
            border: 1px solid #666666;
            padding: 5px 15px;
            background: #e6e8ed;
            font-size: 100%;
            color: #053163;
            cursor: pointer;
            width: auto;
            transition: all 0.2s ease-in-out;
        }

        input[type="submit"]:hover, input[type="submit"]:active,
        input[type="submit"]:focus {
            border: 1px solid #666666;
            color: #000;
        }


        /* ******************************************************** */
        /* !TYPO3-Spezifika */
        /* ******************************************************** */
        .divider {
            display: block;
            clear: both;
        }

        hr {
            border: none;
            border-top: 1px dotted #000000;
            margin: 0.7em 3% 0.3em 3%;
        }

        .ce-textpic figcaption {
            padding-top: 1em;
            font-family: OpenSans, Arial, sans-serif;;
            font-size: 60%;
            color: #555555;
        }

        figure {
            line-height: 0;
        }

        .flexcontainer figure,
        .flexcontainer .ce-left.ce-intext figure {
            float: left;
            margin: 0.5em 1em 0.5em 0;
            line-height: 100%;
            width: fit-content;
        }

        .ce-textpic.ce-right.ce-intext figure {
            float: right;
            margin: 0.5em 0 0.5em 1em;
            line-height: 100%;
        }

        .flexcontainer .ce-below,
        .flexcontainer .ce-above {
            display: block;
            clear: both;
        }
        /* Spezialfall Hörspiel-Button Der allerbeste Spielplatz der Welt */
        .flexcontainer .frame-layout-1 .ce-below,
        .flexcontainer .frame-layout-1 .ce-above {
            clear: none;
        }
        /* *** */
        /* File uploads */
        /* *** */
        .frame-type-uploads {
            padding: 0.5em 1em;
            margin-bottom: 2em;
            background:#eeeeee;
            color: #777
        }

        .frame-type-uploads h2,
        .frame-type-uploads h3,
        .frame-type-uploads h4,
        .frame-type-uploads h5 {
            color: #ec6608;
        }
        .frame-type-uploads a {
            text-decoration: none;
        }
        .frame-type-uploads a:hover,
        .frame-type-uploads a:focus {
            text-decoration: underline;
        }
        .ce-uploads {
            margin-left: 0;
            padding-left: 0;
            list-style: none;
        }
.ce-uploads-fileName {
    font-weight: bold;
}
.ce-uploads-fileName::after {
    content: '';
    display: block;
}
.ce-uploads-description {
    display: block;
}

.ce-uploads-filesize {
    display: block;
    font-size: 75%;
}
    .ce-uploads-filesize:before { content: "("; }
    .ce-uploads-filesize:after { content: ")"; }
        /* IF link is of filetype, add TEXT to description */
        a[href $='.pdf'] + .ce-uploads-filesize:before, a[href $='.pdf'] + .ce-uploads-description + .ce-uploads-filesize:before { content: "(PDF, " }
        a[href $='.jpg'] + .ce-uploads-filesize:before, a[href $='.jpg'] + .ce-uploads-description + .ce-uploads-filesize:before,
        a[href $='.jpeg'] + .ce-uploads-filesize:before, a[href $='.jpeg'] + .ce-uploads-description + .ce-uploads-filesize:before,
        a[href $='.png'] + .ce-uploads-filesize:before, a[href $='.png'] + .ce-uploads-description + .ce-uploads-filesize:before,
        a[href $='.gif'] + .ce-uploads-filesize:before, a[href $='.gif'] + .ce-uploads-description + .ce-uploads-filesize:before { content: "(Bild, " }
        a[href $='.mp3'] + .ce-uploads-filesize:before, a[href $='.mp3'] + .ce-uploads-description + .ce-uploads-filesize:before { content: "(MP3, " }
        a[href $='.m4v'] + .ce-uploads-filesize:before, a[href $='.m4v'] + .ce-uploads-description + .ce-uploads-filesize:before { content: "(Film, " }



        .frame-type-uploads .ce-uploads:after { /* clearfix */
            content: "";
            clear: both;
            display: table;
        }

        .ce-uploads li {
            clear: both;
            margin: 0 0 1em 0;
            line-height: 120%;
        }

        .ce-uploads li a {
        }

        .ce-uploads li img {
            margin: 0 0.5em 1em 0;
            float: left;
            background: #ffffff;
            max-width: 75px;
        }

        /* Icons haben keinen Title = keinen Schatten */
        .ce-uploads li img[title] {
            box-shadow: 1px 2px 5px #9b9c9e;
        }

        /* Bildzeilen nicht breiter als das Bild */
        #content .frame-layout-0 figure.image {
            width: min-content;
        }
        #content .frame-layout-0 figure.image img {
            max-width: none;
        }

        /* Ausnahme: Elefant Startseite */
        #content .frame-layout-1 .ce-textpic.ce-below figure.image img {
            position: relative;
            bottom: -60px;
            z-index: 100;
        }
        @media screen and (max-width: 711px) {
            #content .frame-layout-1 figure.image {
                display: none;
            }
        }

        /* Book language selector */
        h6 {
            font-weight: normal;
            line-height: 115%;
            color: #ffffff;
            font-size: 2.2em;
            width: 100%;
            height: 2.5em;
            overflow: hidden;
            margin: 0.66em 0 0 0;
            text-align: left;
        }
        @media screen and (max-width: 468px) {
            h6 { font-size: 1.7em; }
        }

        h6 a {
            text-decoration: none;
            transition: color 0.2s ease-in-out;
        }

        h6 a:hover, h6 a:focus, h6 a.active {
            color: #555555;
            text-decoration: underline;
        }

        /* Arabic "Right to Left" replacement [dir="rtl"] */
        .rtl {
            direction: rtl;
            text-align: right;
        }

        /* TAMIL own font (Otherwise Chrome Windows would use another replacement font than all other browsers/devices)  */
        .layout-1 sup,
        p.tamil {
            display: block;
            font-family: NotoSansTamil, cursive;
            font-size: 11pt;
            line-height: 180% !important;
        }
        @media only screen and (max-width: 1023px) and (max-height: 767px) and (orientation: landscape) {
            .layout-1 sup,
            p sup {
                font-size: 2vh;
            }
        }

        h1.tamil, h2.tamil, h3.tamil {
            font-family: NotoSansTamil, cursive;
        }


    /* Arabic "Right to Left" replacement [dir="rtl"] */
        .rtl {
            direction: rtl;
            text-align: right;
        }

        /* Imprint + Creative commons (Impressum) */
        .rechteBuchseite .imprint {
            position: absolute;
                bottom: 5px;
                right: 1em;
            text-align: right;
            font-size: 70%;
            line-height: 150%;
        }
        .linkeBuchseite .imprint {
            position: absolute;
            left: 1em;
            bottom: 1em;
            padding-left: 1em;
            width: calc(100% - 3em);
            text-align: left;
            font-size: 66%;
            line-height: 130%;
            color: #000000;
            box-shadow: 0 0 15px rgba(255,255,255,1);
            background: rgba(255,255,255,.6);
            border-radius: 1em;
        }

        /* Creative Commons license */
        .imprint a[href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.de"] {
            white-space: nowrap;
        }
        .imprint a[href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.de"]:after {
            font-family: FontAwesome-CC, fantasy;
            content: "\f25e \f4e7 \f4e8 \f4eb";
            padding-left: 0.25em;
        }

/* TYPO3 fix CKEditor styling */
.cke_panel_container .imprint { position: relative; }
.cke_panel_container ul { background: #ffffff; }
div.ck.ck-style-grid button.ck .ck-content { padding: 0 !important; }
