/*
 * Legacy compatibility styles.
 *
 * Keep selectors required by the old UI logic here. Visual changes and new
 * responsive rules belong in leselekse.css, which is loaded after this file.
 */
.solidBlackBorder{
border: solid black 1px;
border-radius: var(--button-radius);
margin: 0.5em;
}

.borderGeneral{
  border-radius: var(--frame-radius);
  border-width: 1px;
}

.buttonGeneral{
  margin-left: 1em;
  opacity: 1;
}

.centeredLogoutDiv{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.userlabel{
  color: var(--text-color);
  font-size: 1em;
  padding: 0.5em;
  border-radius: var(--frame-radius);
  }


.contDiv{
  padding: 0.5em;
  border-radius: var(--frame-radius);
  margin: 7px;
  display: grid;
  justify-content: start;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 10px;
  grid-auto-flow: column;
  box-shadow: 2px 2px 1px 1px rgb(0 0 0 / 20%);
  align-items: center;

  border-style: solid;
  border-width: 1px;
  border-color: var(--body-backgound-color);
}

.settingscontDiv{
  grid-template-columns: 1fr 1fr 1fr;
}


.prewrapwhitespace{
  white-space: pre-wrap;
}


.contDivSub{
  background-color: var(--div-sub-color);
  left:5%;
  display: grid;
  padding: 0.5em;
  border-radius: var(--frame-radius);
  justify-content: start;
  column-gap: 2%;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin-left: 2em;
  font-size: 1em;
  box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-color: var(--body-backgound-color);
  border-width: 1px;
}

.contDivSubSettingsMemberships{
  grid-template-columns: 1fr 1fr;
  width: auto;
}

/*User menu styling*/

#user_menu{

  left: -3%;
  top: 0%;
  position: absolute;
  z-index: 3;
  min-width: 1%;
  height: 2em;
  aspect-ratio: 1/1;
  background-color: transparent;
  border: 0;
  cursor: pointer;

}

#mainuserDiv{
  background-color:var(--div-main-color);
  padding: 0.5em;  
  padding-top: 1.5em;
  border-radius: var(--frame-radius);
  min-width: 20%;
  max-width: 50%;
  flex-direction: column;
  align-items: center;
  position: absolute;
  z-index: 2;
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2);
  display: none;
  top: -2%;
  left: -4%;
}

.menu_textlink{
  font-size: 0.75em;
}

#customGoogleSignin{
  
  padding: 0.5em;
  width: 98%;
  display: flex;
  border-radius: var(--button-radius);
  justify-content: center;

}


.height2em{
  height: 2em;
}

.verticalMargin{
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.horizontalMargin{
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.rightMargin{
  margin-right: 0.5em;
}

.noMargin{
  margin: 0 auto;
}

.alignCenter{
  align-items: center;
}

.userBtn{
  margin: 1%;
  margin-top: 2%;
  width: 98%;
}

.userBtn_medium{
  margin: 1%;
  margin-top: 2%;
  min-width: 75%;
  max-width: 100%;
 }


.wordWrap{
  word-wrap: break-word;
}


.userField{
  
  border-color: black;
  border-width: 1px;
  border-style: solid;
  font-size: 1em;
  border-radius: var(--frame-radius);
  padding: 0.5em;
  margin: 1%;
  margin-top: 2%;
  width: calc(98% - 1em);
}

#userDivCont{
  margin-top: 5px;
}

#noUserTypeDiv{
position: absolute;
max-width: 70%;
background-color: rosybrown;
left: 15%;
top: 50%;
z-index: 3;
border-style: ridge;
border-width: 3px;
border-radius: var(--frame-radius);
padding: 1%;
display: none;
}

#logoutBtn{
  display: none;
}

.top0{
  top: 0px;
}



#userDivBtnRow{
align-self: center;
display: grid;
grid-template-columns: 1fr;
grid-gap: 0.1em;
width: 100%;
}

#disablescreen
{
    position:fixed;
    padding:0;
    margin:0;

    top:0;
    left:0;

    width: 100%;
    height: 100%;
    background:var(--disable-screen-color);
    z-index: 2;
    display: none;
}

.spinnerDisablescreen
{
    position:fixed;
    padding:0;
    margin:0;

    top:0;
    left:0;

    width: 100%;
    height: 100%;
    background:var(--disable-screen-color);
    z-index: 10;
    
}

.bigInfoDiv{
  margin-top: 7%;
  width: 60%;
  height: 90%;
  transform: translate(+40%);
  margin-bottom: 10%;
}


#playBarContainer{
  height: 10%;
  border-radius: 1em;
  border-color: white;
  background-color: rgba(255, 255, 255, 0.2);
  visibility:hidden;
  width: 100%;
}


#waveform{
  position: absolute;
  width: 100%;
  max-width: 100%;
  opacity: 2.0;
  top:0%
}


#viz_main{
  width: 50vw;
  display:flex;
  justify-content:center;
  align-items:center;
  height: 50%;
  position: absolute;
  background-color: #ffffff41;
  border-radius: 999px;
}


#length{
  height: 100%;
  background-color: transparent;
  color: white;
  text-shadow: 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000, -2px 0 0 #000;
  font-weight: bolder;
  font-size: 1.5em;
  text-align: center;
  display: flex;
  align-items: center;
}

#lengthContainer{
  padding: 0.5em;
  border-radius: 1em;
  border-color: white;
  width: fit-content;
  align-self: center;
  z-index: 2;
 
}


.flexColumn{
  flex-direction: column;
}

.spaceBetween{
  display: flex;
  justify-content: space-between;
}




.audioBtn_small{
  background-color: transparent;
  border: none;
  box-shadow: none;
  height: 2em;
  width: 2em;
  background-size:70% 70%;
  background-repeat: no-repeat;
  background-position: center center;   
  }

.audioBtn_small:hover{
  background-size:100% 100%;
  background-color: transparent;
}


  .audioBtn_medium{
    background-color: transparent;
    border: none;
    box-shadow: none;
    height: 3em;
    width: 3em;
    background-size:85% 85%;
    background-repeat: no-repeat;
    background-position: center center;   
    }
  
  .audioBtn_medium:hover{
    background-size:100% 100%;
    background-color: transparent;
    }


.audioBtn{
  background-color: transparent;
  border: none;
  box-shadow: none;
  height: 100%;
  min-height: 17vh;
  aspect-ratio: 1/1;
  background-size:90% 90%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  }

.audioBtn:hover{
  background-size:100% 100%;
  background-color: transparent;
}

.recordBtn{
  background-image: url('../img/mic.svg');
  opacity: 1;
}

.stopBtn{
  background-image: url('../img/stop.svg');
}

.playBtn{
  background-image: url('../img/play.svg');
 }

 .pauseBtn{
  background-image: url('../img/pause.svg');
 }

 .getBtn{
  background-image: url('../img/get.svg');
 }
 
.playBtn_small{
  background-image: url("../img/play_small.svg");
}

.deleteBtn_small{
  background-image: url("../img/trash.svg");
}

.pauseBtn_small{
  background-image: url('../img/pause_small.svg');
 }

.getHDBtn{
  background-image: url("../img/upload.svg");
}

.fontsizeBtn{
  background-image: url("../img/Aa.svg");
}
.vBtn{
  background-image: url("../img/v.svg");
}

.dropdown{
  background-image: url("../img/dropdown.svg");
}

.dropdownup{
  background-image: url("../img/dropdownup.svg");
}

.prevplay{
  position: absolute;
}

.menuBtnImg{
  background-image: url("../img/menu.svg");
}


#optDiv{
  border-color: var(--button-border-color);
  font-size: 1em;
  border-radius: var(--frame-radius);
  border-width: 1px;
  border-style: solid;
  }

.imgButtonDiv{
  display: flex;
  align-items: center;
}

.both100pst{
  width: 100%;
  height: 100%;
  min-width: 50px;
  min-height: 50px;
  padding: 5px;
  border-width: 0px;
}

.audioPrevImgDiv{
  background-color: #00000081;
  border-radius: var(--button-radius);
}


.handinbtn{
  min-width: 70%;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.inline{
display:inline;
}

.nodisplay{
  display: none;
}

.autoWidth{
  width: auto;
}

.boldtext{
  font-weight: bold;
}


.inlineBlock{
  display: inline-block;
}

.noselect {
  cursor: default;
  -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 */
}

.noselect:focus {
  outline: none;
}



.myAudioControls{
display: flex;
border: 2px solid #000000;
border: none;
vertical-align: middle;
justify-content: space-evenly;
width: 50%;
min-height: 15vh;
height: 100%;
}

#audioCtrl{
  display: none;
}


.padding5px{
  padding: 5px;
}

.innerframe{
  transform: translate(+2%, +0%);
  width: 96%;
  background-color: var(--innerpanel-color);
  z-index: 2;
  padding: 1%;
  margin-bottom: 1em;
  border-radius: var(--frame-radius);
  border-color: #fe8c00;
  border-width: 1px;
  border-style: solid;
  max-height: 80vh;
  overflow-y: scroll;
}


.jfself_end{
  justify-self: end;
}

.justifyContCenter{
  display: flex;
  justify-content: center;
}


/* Student panel*/

.logolarge{
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 632px;
  height: fit-content;
}

#sp_main{
display: none;
height: auto;
box-shadow: 0 0 5px -1px rgba(0,0,0,0.5);
border-radius: var(--frame-radius);
border-width: 1px;
background-color: var(--div-main-color);
z-index: 1;
padding: 3px;
width: 70%;
min-width: 60vw;
align-self: flex-start;
max-height: 200%;
max-width: 70%;
margin-bottom: 5vh;
}

.taskbar{
  width: calc(100% - 6px);
  background-color: var(--div-sub-color);
  text-align: center;
  font-size: 1.5em;
  padding: 2px;
}

.taskbar:hover{
  background-color: var(--div-main-color);
  cursor: pointer;
}

.sp_taskDiv{
  margin-bottom: 5px;
  margin-bottom: 5px;
  box-shadow: 0 0 5px #0000005d;
  border-radius: var(--frame-radius);
  padding: 3px;
}

.innerTaskDiv{
  background-color: var(--div-main-color);
  display: flex;
}

.innerTaskDiv:hover{
  background-color: var(--div-main-color);
  z-index: 3;
  cursor: pointer;
}

.taskTitle:hover{
  background-color: var(--hovercolor);
  cursor: pointer;
}

#avgReadSpeedDiv{
  padding: 0.5em;
}

.taskTitle{
  padding: 2px;
  text-align: center;
}

.innerTaskTextAreaWrapper{
  max-height: 60vh;
  min-width: 70%;
  font-size: 1em;
  border-style: solid;
  border-width: 1px;
  border-color: white;
  border-radius: var(--frame-radius);
  background-color: var(--div-sub-color);
  flex-grow: 2;
  display: flex;
  flex-direction: column;
}

.taskUrl{
  
  padding-left: 1em;
  flex-grow: 1;
  
}


.innerTaskTextArea{
  max-height: 60vh;
  min-width: 70%;
  font-size: 1em;
  flex-grow: 3;
  overflow-y: scroll;
  overflow-wrap: break-word;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
  flex-grow: 10;
}

.innerTaskBtnsDiv{
  margin-left: 3px;
  border-style: solid;
  border-width: 1px;
  border-color: white;
  border-radius: var(--frame-radius);
  top: 0px;
  padding: 10px;
  }


  #topbuttons{
    display: flex;
    justify-content: center;
  }


  .closeBtn{
    position: absolute;
    top: 4px;
    right: 4px;
    border-radius: var(--frame-radius);
  }


  /*User settings*/

  .settingsUserInput{
    display: none;
    width: 70%;
    
  }
  

.menuTitles{
  width: 50%;
  margin: 0 auto;
  text-align: center;
  padding: 0.7em;
  font-weight: bolder;
  }


.outerFrame{
  width: 90%;
  position: absolute;
  background-color: var(--body-backgound-color);
  z-index: 2;
  display: none;
  top: 50%;
  transform: translate(5%,-50%);
  box-shadow: 0px 4px 15px rgb(0 0 0 / 20%);
  padding: 1%;
  border-radius: var(--frame-radius);
  border-color: #fe8c00;
  border-width: 1px;
  border-style: solid;
}



  .custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
  }
  .custom-file-input::before {
    display: inline-block;
    outline: none;
    cursor: pointer;

  }
  .custom-file-input:hover::before {
    border-color: black;
  }
  .custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
  }




  /* Drive stuff*/

#driveAccessBtn{
  display: none;
  z-index: 1;
}


/* media folder */

.hidden{
  display: none;
}



.profileImage{
  border-radius: 50%;
  border-width: 2px;
  border-color: var(--button-border-color);
  border-style: solid;
  max-width: 50px;
  width: 2em;
  margin-right: 5px;
}




.filecontDiv{
  padding: 0.5em;
  display: inline-grid;
  border-radius: var(--frame-radius);
  margin: 7px;
  width: 94%;
  grid-auto-flow: column;
  }

.hoverglow{
  background-color: var(--hovercolor);
}

.floatRight{
  float: right;
}


/*CENTER MAIN*/
#center_main{

  width: 90%; /*This should be dynamic based on the device*/
  min-height: 90vh;
  position: absolute;
  top: 0px;
  left: 0px;
  transform: translate(+5%, 5vh);
  }

.center_main_inner{
  border-width: 0px;
  min-height: 25vh;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  
}
.center_main_inner_top{
  min-height: 40vh;
}

.center_main_inner_mid{
  border-width: 0px;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  height: none;
  
}

.center_main_inner_audiocontrols{
  min-height: 15vh;
  justify-content: center;
}

#audioInfoDiv{
  justify-content:start;

}

.center_main{
  z-index: 0;
}



/*Spinner*/
.spinnerCanvas{
  height: 50px;
  width: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-25px, -50px);
  position: absolute;
}



/*Notifications*/

.notifications{
  z-index: 5;
  bottom: 5px;
  position: fixed;
  border: 1px solid;
  margin: 1.5em 0px;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
  width:98vw;
  color: #000000;
  font-weight: bold;
}

.info{
  color: black;
  background-color: lightgreen;
}

.error{
  color: #D63301;
  background-color: #FFCCBA;
}

/* random style generator*/

#cssrnd{
  position: fixed;
  top: 10px;
  right: 10px;
}

.overflowScroll {
  overflow: scroll;
}

#privacyPolicyTextArea{
  height: 50vh;
  background-color: var(--innerpanel-color);
  overflow-x: auto;
  padding: 5px;
  border-radius: var(--frame-radius);
  display: none;
  resize: both;
}




#micCanvas{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 80%;
  transform: translateX(+5%);
  height: 100%;
}

wave{
  border-radius: 2px;
  

}





@media screen and (orientation:portrait) {
  #mainuserDiv{
    width: 50%;
    min-width: 100%;
    margin: 0;
    display: none;
    left: auto;
    position: relative;
  }

.userBtn{
  font-size: xxx-large;
}



/* footer mobile*/
#footer{
  max-height:none;
  padding: 1px;
  padding-left: 1%;
}

#footerInner{
  display: flex;
  width: 70%;
  height: 100%;
  justify-content: space-around;
  flex-direction: column;
  align-items: flex-start;
  font-size: large;
}







.settingscontDiv{
  grid-template-columns: 1fr 2fr 1fr;
}

  .myAudioControls{
    width: 100%;
    min-height: 15vh;
    height: 100%;
    }

  #center_main{
    width: 100%; /*This should be dynamic based on the device*/
    position: relative;
    transform: translate(+0%, +0%);
  }

  .center_main_inner{
    border-width: 0px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    
  }

  #sp_main{
    width: 95%;
    min-width: 60vw;
    position: relative;
    margin-top: 1em;
  }

  .center_main_inner_mid{
    border-width: 0px;
    flex-direction: row-reverse;
    flex-wrap: wrap;
  }

  .center_main_inner_top{
  
    flex-direction:column;
   
  }


  #userDivCont{
    justify-content: center;
    margin-top: 5px;
  }

  #customGoogleSignin{
    justify-content: center;
  }
  
  .userBtn_medium{
    width: auto;
    right: 0px;
   }

  .audioBtn{
    width:19vw;
    aspect-ratio: 1/1;
  }

    .logolarge{
      width: 90%;
      max-width: none;
      margin: 5%;
      height: fit-content;
    }

    #user_menu{
      left: 0px;
      top: 0px;
      height: 10vw;
      margin-left: 1vw;
    }

    body{
      font-size: x-large;
    }

    .notifications{
      position: fixed;
      display: block;
      padding: 3%;
      max-height:  25%;
    }

    #viz_main{
     width: 90vw;
    }

      
  .bigInfoDiv{
    margin-top: 7%;
    width: 90%;
    height: 90%;
    transform: translate(+10%);
    margin-bottom: 10%;
  }



}

/* Leselekse user menu integrated with the shared Glupus header. */
#mainuserDiv[data-open="false"] {
  display: none;
}

#mainuserDiv[data-open="true"] {
  display: flex;
}
