@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;1,400;1,500&display=swap');

* {
    font-family: 'Roboto', sans-serif;
}



html {
    --scrollbarBG: #CFD8DC;
    --thumbBG: #90A4AE;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
    border-radius: 6px;
    border: 3px solid var(--scrollbarBG);
}


body {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
    margin: 0;
    padding: 0;
    background: #0F51A0;
    overflow: hidden;
    height: 100vh;
}

.wrapper {
    transform: skew(-9deg, 0deg);
    background-color: white;
    overflow: hidden;
    padding-left: 300px;
    margin-left: -300px;
    height: 100vh;
    width: 300px;
    z-index: 7;
    box-shadow: 1px 2px 7px 7px #1d1d1d;
}

.skew {
    transform: skew(-9deg, 0deg);
}

.skew_back {
    transform: skew(9deg, 0deg);
}


.s_content {
    /* padding: 0px 0px 30px 0px; */
    transform: skew(9deg, 0deg);
    overflow: hidden;
    height: 100vh;
    box-sizing: border-box;
    width: 300px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px 20px 50px;
}

.logo img {
    width: 170px;
    height: auto;
}

#logoutbtn {
    float: right;
    padding: 10px 0px;
    /* border: 1px solid blue; */
}

#logoutbtn i {
    color: #0F51A0;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag img {
    height: 25px;
    width: auto;
    margin: 5px;
    border: 1px solid black;
}



/* --------------- menu  */

.menutabs {
    padding: 10px 0px 10px 40px;
}

.menu-item {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-size: 1em;
    color: #0F51A0;
    padding: 7px 0 7px;
    /* font-weight: bold; */
}

.menu-item a {
    text-decoration: none;
    /* no underline */
    color: #0F51A0;
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;

}

.menu-item.active a, #menu-account.active #ausername, #menu-account.active #alogin  {
    color: #FF0000;
}
#menu-account.active #auserrangimg{
    border-color: #FF0000;
}

main {
    display: flex;
}

.backgoundimg {
    background-image: url(../res/quizserbbackground.png);
    width: 40vw;
    height: 40vw;
    transform: rotate(-45deg);
    position: fixed;
    bottom: -15vw;
    right: -10vw;
    background-position: top;
    background-size: cover;
    z-index: -1;
}

.hide {
    display: none;
}

.leftsidemodal {
    position: absolute;
    z-index: 1;

    height: 100vh;
    width: 300px;
    padding-left: 50px;
    padding-top: 100px;
    background-color: #fff;
    top: 0px;
    left: 300px;

    transform: skew(-9deg, 0deg);

    /* transform: skew(-9deg, 0deg); */
    box-shadow: inset 3px 3px 3px #828282;

}

.leftsidemodal .s_content {
    padding-left: 50px;
}


.flagline {
    background-image: url('../res/serb.png');
    background-size: contain;
    background-repeat: repeat-x;
    width: 100%;
    height: 10px;
}

.headline.left h2 {
    width: 100%;
    padding-left: 20px;
    text-align: left;
    padding-bottom: 7px;
    padding-top: 0px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: #0F51A0;
}


.description {
    /* font-size: 14px; */
    color: #2035aa;
    font-weight: bold;
    padding: 15px 16px 2px;
}

input.input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 2px solid #2035aa;
    font-size: 0.9em;
    width: 80%;
    box-sizing: border-box;
}

.button {
    width: 80%;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0px;
    box-sizing: border-box;
    z-index: 2;
    transition: 0.5s;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */

}

/* .button:hover{
    box-shadow: 0px 4px 4px 5px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),  0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.5s;
} */

.shadow1,
.shadow2 {
    box-sizing: border-box;
    /* Kreisefekt */
    transition: 0.5s;

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.shadow1:hover {
    box-sizing: border-box;
    /* Kreisefekt */
    transition: 0.5s;

    box-shadow: 0px 4px 4px 5px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.bg-blue {
    background: #0F51A0;
    /* border: 2px solid #0F51A0; */
    color: #fff;
}

.bg-lblue {
    background: rgb(30, 131, 255);
    /* border: 2px solid #0F51A0; */
    color: #fff;
}


.bg-white {
    background: white;
    /* border: 2px solid white; */
    color: #0F51A0;
}



section#menu {
    display: flex;
}


div#account-dummy,
#useraccount {
    display: flex;
    color: #1e50a0;
    padding: 10px 0px 10px 40px;
    bottom: 20px;
    position: absolute;
}

#account-dummy span.material-icons {
    padding: 7px;
    font-size: 2em;
}

div#alogin {
    /* padding: 7px; */
    line-height: calc(2em + 14px);
    font-weight: bold;
}

div#auserrangimg {
    height: 40px;
    width: 40px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border: 2px solid #1e50a0;
    border-radius: 50%;
}

div#ausername {
    line-height: 40px;
    padding-left: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

section#frame {
    height: 100vh;
    padding-left: 10%;
    width: 100%;
    padding-top: 1em;
    /* background-color: burlywood; */
}

#contentwindow {
    overflow-y: auto;
    height: calc(100vh - 3em - 60px - 9px);
}

#frame .headline {
    color: #fff;
    font-size: 2em;
}

.padding-left-2 {
    padding-left: 2em;
}

.padding-2 {
    padding: 2em;
}

.italic {
    font-style: italic;
}

.flex {
    display: flex;
}

.bg-container {
    background-color: rgba(0, 0, 0, 0.25);
    border: 2px solid white;
    border-radius: 10px;
    height: min-content;
    margin-bottom: 20px;

}

#nosession {
    color: white;
    padding: 40px;
    margin: 10%;
}

.white {
    color: white;
}

.margin-2 {
    margin: 2em;
}

.nopointerevent {
    pointer-events: none;
}

.flex.closemodal.cblue span {
    color: #1f51a0;
}

.flex.closemodal.cblue span:hover {
    /* text-shadow: 1px 1px 2px black; */
    font-weight: bold;
    color: red;
    transition: 0.5s;
}


.pointer {
    cursor: pointer;
}



/*  ------------------Cookies --------------*/
div#modalbackground {
    background-color: #00244eeb;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100000000;
    top: 0;
    left: 0;
    /* filter: blur(1px); */
    display: flex;
    align-items: center;
    justify-content: center;
}

div#CookieDialog {
    background-color: white;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0px 0px 12px 4px #001b3c;
    width: 500px;
    max-width: 90vw;
}


#modalbackground h2 {
    color: navy;
}



#modalbackground button {
    /* padding: 8px 22px; */
    border: none;
    font-size: 1em;
    max-width: 200px;
    float: right;
}

.cookieInfo {
    padding: 10px 0px;
}

/*-------------------*/


div#headlinewrapper {
    display: flex;
    align-items: center;
}

span#goBack {
    color: white;
    font-size: 2em;
    width: 1.3em;
    line-height: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    border: 2px solid white;
    /* background-color: #ffffff33; */
    text-align: center;
    cursor: pointer;
}

span#goBack:hover {
    background-color: #ffffff33;
}













.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #1f83ff;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #1f83ff;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


  .flex-rrow{
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex-flow: row;
  }
  .switch-label{
      color: white;
      padding: 4px;

  }

 .iziToast-opened{
     cursor: pointer;
 }


 .logo_stiftung {
    position: absolute;
    bottom: 0;
    padding-top: 4px;
    padding-left: 4px;
    width: 100%;
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.6);
}
.logo_stiftung img {
    height: 64px;
}
div#account-dummy, #useraccount {
    display: flex;
    color: #1e50a0;
    padding: 10px 0px 10px 40px;
    bottom: 90px !important;
    position: absolute;
}
