/* import fonts used in the scheme here
@font-face {

}
*/



:root{

    --content-width: 1000px;
    --content-margin: 1vw;

    --background: transparent;
    --modalcover: rgba(0,0,0,0.5);

    --headlinecolor: #281474;
    --headlinefont: "Roboto", Arial, Helvetica, sans-serif;

    --textcolor: #333;
    --textfont: "Lato", Arial, Helvetica, sans-serif;

    --linkcolor: #2196F3;

    --buttoncolor: var(--linkcolor);
    --buttontextcolor: white ;
}


html {
    background-color: var(--background);
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

body {
    color: var(--textcolor);

}

#_body-wrapper {
    z-index: 2;
    position: initial;
    min-height: initial;
}


h1 {
    font-size:1.2rem;
    text-align: center;
    margin: 10px 0;
}

h2 {
    margin: 10px 0;
    font-weight:bold;

}

a,  a:visited, a:link {
    text-decoration: none;
    color: silver;
}

a:hover{

    color: black;
}

/*#topwrapper{
    position: fixed;
    top:0;
    left:0;
    background-color:white;
    border-bottom: 2px solid silver;

    width:100vw;

}*/

#topwrapper{
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid silver;
    width: 100vw;
    z-index:400;
}
#top{
    background-color: whitesmoke;
    /*line-height:30px;*/
    color: #333;
    font-weight: bold;
    padding:5px;
    text-align: center;
}


#top a{

    color: #333;

}

#centertext{
    width:80vw;
    margin: 0 auto;
    text-align:center;
    line-height: 24px;
}



ul.liste
{
    padding: 0 20px;
    list-style-type: square;
    list-style-image: url(' ');
    list-style-position: outside;
}
ul.liste li
{
    padding: 4px;
    margin: 0px;
}



button{
    border-radius: 3px;
}


.buttonlist {
    margin:0;
    padding:0;
}

.buttonstyle {
    display:block;
    position:relative;
    list-style: none;
    list-style-image: none;
    list-style-position: inside;
    margin: 10px 0vw;
    padding: 5px;

    border: 1px solid silver;
    border-radius: 4px;
    background-color: #f7f7f7;
}

a.buttonstyle{
    text-decoration: none;
    color: black;
}



.erfolge {
    position: absolute;
    left: 60%;
    top: 5px;
}

.statistical {
    max-width:40px;
    right:5px;
    text-align:right;
    position: absolute;
}

#auswertung {
    padding: 0 2em;
}

#auswertung, #bestanden, #nichtbestanden {
    display: none;
    text-align: center;
}

#bestanden .pruefungsergbnis {
    font-weight:bold;
    color:green;
    font-size:larger;
}

#nichtbestanden .pruefungsergbnis {
    font-weight:bold;
    color:red;
    font-size:larger;
}


#buttonwrapper{
    display: flex;
    position: absolute;
    /* translate: 50%; */
    margin: 1vw;
    width: 98vw;
    /* text-align: center; */
    /* z-index: 999; */
    bottom: 3px;
    height: 30px;
    /* border: 1px dashed red; */
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}




#prevbutton , #skipbutton , #nextbutton  {
    border-radius: 3px;
    background-color: whitesmoke;
    color: black;
    border-color: silver;

    /*width: 32vw;*/
    height: 30px;

    flex-grow: 1;

}

.punkteanzeige{
    font-weight:bold;
    font-size:larger;
}

#containerwrapper{
    position: absolute;
    top: 93px;
    overflow: scroll;
    bottom: 34px;
    width: 100%;
}

#containerwrapper.fullsize{
    position: absolute;
    top: 45px;
    overflow: scroll;
    bottom: 0px;
    width: 100%;
}

#container {
    position: relative;
    margin: 5px;
    /*    height: 80vh;*/
    /*height: calc(100vh - 50px - 70px);*/

}

.headline{
    font-weight:bold;

}

.lernfeld{
    color: #999999;
    text-transform: uppercase;
    font-size: smaller;
    margin-top:15px;
}

.fragenkatalog {
    /*width: 50vw;*/
    /*                margin:0 auto;*/
    /*color:blue;*/
    z-index: 3000;
}

#preferences{
    position: fixed;
    display:none;
    top: 36px;
    z-index: 2000;
    background-color: aqua;
    width: calc(100% - 10px);
    padding: 5px;
    /*height:100%;*/
    bottom: 0px;
    /*transition: all .5s;*/
}

#preferences.pref_visible{
    height: auto;
    padding: 5px;
}

.einstellungenaktiv{
    color:var(--linkcolor);
}

.fragedetailswrapper{
    position: fixed;
    background-color: whitesmoke;
    border-bottom: 1px solid silver;
    top: 35px;
    width: 100vw;
    font-size: smaller;
    line-height: 140%;
    color: #999999;
    /*z-index:800;*/

}

.fragedetails {
    height: 22px;
    padding-top: 3px ;

}

#fragedetails_links {
    position: absolute;
    /*    font-size: 1.5rem;*/
    /*    top: -1px;*/
    left: 7px;
}


#fragedetails_mitte span{
    font-weight:bold;
}

#fragedetails_mitte{
    position: absolute;
    left:110px;


}
#fragedetails_feedback{
    position: absolute;
    left: 49%;
    top: 0px;
    font-size: 1.5rem;
}

#fragedetails_rechts {
    position: absolute;
    /*    font-size: 1.5rem;*/
    /*    top: -1px;*/
    right: 7px;
}

#fragedetails_rechts span#bookmark-icon {

    font-size: large;

}

.versuchbox {
    width: 15px;
    vertical-align: text-bottom;
}

#ergebnisanzeige{
    /*    position: relative;

        margin: 10px 0vw;
        padding: 5px;

        min-height: 2.2rem;
        line-height: 1.1rem;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        background-color: transparent;
        text-align: center;
        color: white;
        transition: all .5s;*/

    position: absolute;
    top: 0;
    left: 0px;
    right:0px;
    /*    width: 100%;*/
    /*margin: 10px 0vw;*/
    padding: 5px;
    min-height: 50px;
    line-height: 1.1rem;
    /*         border: 1px solid #e0e0e0;*/
    /*border-radius: 4px;*/
    background-color: transparent;
    text-align: center;
    color: white;
    transition: all .5s;
    z-index:999;
    /*display:none;*/
}

#ergebnisanzeige{
    /*height:2rem;*/
}

#ergebnisanzeige.wrong{
    background-color:  #8b0000;
}

#ergebnisanzeige.correct{
    background-color:  green;
}
#ergebnisanzeige.hint{
    background-color:  gray;
}

#ergebnisanzeige.neutral{
    background-color:  transparent;
}

#ergebnisanzeige.info{
    background-color:  orange;
    color:black;
}

.antwortliste {
    margin:0;
    padding:0;
}
/*
.antwortoption {
    position: relative;
    list-style: none;
    list-style-image: none;
    list-style-position: inside;
    margin: 10px 0vw;
    padding: 5px;

    min-height: 6vh;
    border: 1px solid silver;
    border-radius: 4px;
    background-color: white;
    display:none;
}

.antwortoptionsbuchstabe {

    font-size: x-large;


    vertical-align: middle;
    float:left;
    color: #ccc;
    ;
    margin-right:10px;



    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.antwortoptionstext {
    position:relative;
    margin-left:30px;

        position: absolute;
        top: 50%;
        max-width: 80vw;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
}
.antwortoptiontitel {



    position: relative;
    top: 50%;
    max-width: 80vw;
    display:table-cell;

        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
}*/

#fragetext, .question-frage {
    position:relative;
    margin: 1rem 0;
    width:100%;
    text-align:left;
    font-weight: bold;
    text-align: center;
}

#fragetext img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flow-root;
}

/*@media screen AND (max-height:640px) {
    #fragetext img {
        max-height: 140px;
        width:auto;
        margin: 0 auto;
        display: flow-root;
    }
}*/

#ablagewrapper {
    position: fixed;
    top: 61px;
    height: 25px;
    background-color: white;

    width: auto;
    margin: 2px 5px 0 5px;
    transition: all 2s;
}

#ablagegrau{
    width: calc(25vw - 6px);
    margin: 0 2px 0 0;

    height:100%;
    float:left;
    position:relative;
    background-color: silver;
    border-radius: 3px;
    border:1px solid grey;
}

#ablagerot{
    width: calc(25vw - 6px);
    margin: 0 2px 0 0;
    height:100%;
    float:left;
    position:relative;
    background-color: red;
    border-radius: 3px;
    border:1px solid grey;
}


#ablageorange{
    width: calc(25vw - 6px);
    margin: 0 2px 0 0;
    height:100%;
    float:left;
    position:relative;
    background-color: orange;
    border-radius: 3px;
    border:1px solid grey;
}




#ablagegruen{
    width: calc(25vw - 6px);
    margin: 0 0 0 0;
    height:100%;
    float:left;
    position:relative;
    background-color: green;
    border-radius: 3px;
    border:1px solid grey;
}



.ui-effects-transfer, .transfer{
    border: 1px dashed silver;
    background-color:silver;
    margin:0px;

}

.anzahl {
    /*    position: absolute;
        width: 45px;
        top: 19px;
        left: 6px;*/
    text-align: center;
    /* transform: translate(120px, 50%); */
    font-weight: bold;
    color: white;
    font-size:1.2rem;
    line-height: 1.5rem;
}

.rot{
    /*color:#8b0000;*/
    color: white;
}

.orange{
    /*color:#FFA500;*/
    color:white
}

.ablage_inaktiv {
    opacity:.5;
}
.ablage_aktiv {
    opacity:1;
}

.gruen{
    /*color:#008b00;*/
    color:white
}


/*Rutenbau*/


.komponentenliste {
    margin:0;
    padding:0;
}

.komponente {
    position: relative;
    list-style: none;
    list-style-image: none;
    list-style-position: inside;
    margin: 5px 0vw;
    padding: 5px;

    min-height: 3vh;
    border: 1px solid silver;
    border-radius: 4px;
    background-color: white;
    display:none;
}

.komponentenkennzeichen {

    font-size: smaller;


    vertical-align: middle;
    float:left;
    color: #ccc;
    ;
    margin-right:10px;



    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.komponentenkennzeichen.plus {

    font-size: xx-large;

}

.komponentenname {

    margin-left:40px;

    /* position: absolute;
         top: 50%;*/
    max-width: 80vw;
    /*    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);*/
}

/*.antwortoption.correct{
    color: green;
    border-color: green;
}

.antwortoption.correct > div.antwortoptionsbuchstabe,
.antwortoption.correct > div > div.antwortoptiontitel
{
    color: green;

}

.antwortoption.wrong{
    color: red;
    opacity: 0.2;
    border-color: red;
}

.antwortoption.wrong > div.antwortoptionsbuchstabe,
.antwortoption.wrong > div > div.antwortoptiontitel
{
    color: red;
    opacity: 0.2;
}

.antwortoption.neutral{
    color: var(--textcolor);
    opacity: 1;
}*/


.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.flex-item:nth-child(1) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}

.flex-item:nth-child(2) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 2 1 auto;
    -ms-flex: 2 1 auto;
    flex: 2 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}

.flex-item:nth-child(3) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}


.selectlist{
    display:none;
}

.visible{
    display:block;
}

.dialog{
    padding: 5px;
    border: 1px solid silver;
    border-radius: 4px;
    background-color: white;
    width:90vw;
    display:block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.selectoption{
    position: relative;

    margin: 5px 0vw;
    padding: 5px;

    min-height: 4vh;
    border: 1px solid silver;
    border-radius: 4px;
    background-color: white;
}




.selopttitle:after{
    content: "\A";
    white-space: pre;
}

.seloptdetail{
    font-weight:200;
}

.seloptselected{
    border-color: black;
}


.seloptnumber{
    width: 20px;
    display: none;
    /*position: absolute;*/
}
.selopttitle{
    font-size:100%;
    hyphens: auto;
    line-height: normal;
}

.seloptdetails {
    display: block;
    position: absolute;
    top: -9px;
    right: -10px;
    color: green;
    width:20px;
}

/*.indent {
    margin-left:20px;
}*/

.selectoption.correct{
    background-color: green;
    color:white;
}
/*.selectoption.correct::before{
    content: attr(data-sequence);
}*/

.selectoption.wrong > div.selopttitle{
    color: red;
    opacity: 0.2;
}

.selectoption.neutral{
    color: var(--textcolor);
    opacity: 1;
}

.selectoption.topanswer{
    /*    color: orange;
        border-color: orange;*/
}

.selectoption.clicked{

    /*background-color: #f2f2f2;*/
    text-decoration:underline;
}




/*SWITCH*/

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(31px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 17px;
}

.slider.round:before {
    border-radius: 50%;
}

#blur.blurred > div.selectoption > div.selopttitle {
    filter: blur(4px);
}

#toggle-screen-orientation {
    display:none;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:9999;

    background-color:white;

}

#backgroundblur {
    position:relative;
    width:100vw;
    height: 100vh;
    filter: blur(4px);
}


#toggle-screen-icon{
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image:url("/media/kein-querformat.svg");
    background-size: 200px auto;
    background-repeat: no-repeat !important;
    background-position: center center;

}

ul.multiplechoice{
    margin: 10px 0px 10px 15px;
    list-style: none outside none;
}

ul.multiplechoice li{
    margin: 2px 0px 0px 20px;


}


.multiplechoice li.richtig::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f14a";
    padding: 0 2px 0 0;
    position: absolute;
    left: 20px;
}
.multiplechoice li.falsch::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f0c8";
    padding: 0 10px 0 0;
    position: absolute;
    left: 20px;
}



ul.multiplechoice{
    margin: 10px 0px 10px 15px;
    list-style: none outside none;
}

ul.multiplechoice li{
    margin: 2px 0px 0px 20px;


}


.richtig::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f14a";
    font-size: large;
    /*    padding: 0 2px 0 0;
        position: absolute;
        left: 20px;*/
}
.falsch::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f0c8";
    font-size: large;
    /*    padding: 0 10px 0 0;
        position: absolute;
        left: 20px;*/
}


.wissen {
    cursor:pointer;
    color:var(--buttoncolor);

}


.wissenlink {
    cursor:pointer;
    /*    border-bottom: 2px dotted red;*/
    color:var(--buttoncolor);
    border-bottom: 1px solid var(--buttoncolor);
}

.vergleich {
    cursor:pointer;
    color:var(--buttoncolor);

}


.hint.o {
    /*visibility: hidden;*/
    /*width: 120px;*/
    background-color: rgba(5,5,5,.2);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px ;
    position: absolute;
    z-index: 1;
    font-size: small;
    line-height:normal;
    /*bottom: 125%;*/
    /*transform:translate(0, -105%);*/
    transform: translate(0, -150%);
    left: 50%;
    margin-left: -60px;
    /*opacity: 0;*/
    transition: opacity 0.3s;
}

.hint.u{
    /*visibility: hidden;*/
    /*width: 120px;*/
    background-color: rgba(5,5,5,.2);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px ;
    position: absolute;
    z-index: 1;
    font-size: small;
    line-height:normal;
    /*bottom: 125%;*/
    /*transform:translate(0, -105%);*/
    transform: translate(0, -0%);
    left: 50%;
    margin-left: -60px;
    /*opacity: 0;*/
    transition: opacity 0.3s;
}

.hinttext {
    display: block;
    position: absolute;
    transform: translate(-50%, -99%);
    white-space: nowrap;
    background-color: rgba(255,0,0,1);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px ;
    position: absolute;
    z-index: 1;
    font-size: small;
    line-height:normal;
}



.hintarrow.toparrow .hinttext.inthemiddle {
    transform: translate(none);
}

.hintarrow.toparrow .hinttext.totheleft {
    transform: translate(-80%, -99%);
}
.hintarrow.toparrow .hinttext.totheright {
    transform: translate(-20%, -99%);
}

.hintarrow.bottomarrow .hinttext.inthemiddle {
    transform: translate(none);
}

.hintarrow.bottomarrow .hinttext.totheleft {
    transform: translate(-20%, -99%);
}
.hintarrow.bottomarrow .hinttext.totheright {
    transform: translate(-80%, -99%);
}


.hintarrow.noarrow .arrowimg{
    display:none;

}

/*.hintarrow.noarrow  .hinttext{

    transform: translate(0, 0);
}*/

.hintarrow.toparrow {
    position: relative;
    left: -50%;
    /*content: url(/media/_hintarrow.svg);*/
    display: block;
    transform-origin: 50% 100%;
    transform: rotate(0deg) skew(1deg);
}

.hintarrow.bottomarrow {
    position: relative;
    left: -50%;
    /*content: url(/media/_hintarrow.svg);*/
    display: block;
    /*transform-origin: 50% 100%;*/
    transform: rotate(180deg) skew(1deg);
}

.hintarrow.bottomarrow .hinttextcontent {
    transform: scale(-1);
}

.hintarrow .arrowimg {
    position: relative;
    left: -50%;
}
.hint.u::after {
    content: "";

}



@media screen AND (max-height:599px) AND (min-aspect-ratio: 125/100) {

    #toggle-screen-orientation {
        /*display: block;*/
    }
}

@-webkit-keyframes opacityPulse {
    0% {
        opacity: 0.0;
    }
    50% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.0;
    }
}

.opacityPulse-css {
    animation: opacityPulse 2s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}