@font-face {
  font-family: 'brotherton';
  font-style: normal;
  font-weight: normal;
  src: url(/fonts/brotherton/brotherton.otf) format("opentype");
}

@font-face {
  font-family: 'brotherton-outline';
  font-style: normal;
  font-weight: normal;
  src: url(/fonts/brotherton/brotherton_outline.otf) format("opentype");
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

.fixed-top{
  z-index: 1049;
}

.clear{
  clear: both
}

.loading-bar {
    width: 100%;
    height: 7px;
    background: #eee;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.loading-bar section {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    background: #0097de;
}

.mascot-answer{
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 200px;
}

.main.container.preview-cards{
  width: 90%;
  max-width: 90%
}

.main.container.study-deck-view{
  width: 90%;
  max-width: 90%
}

.scribo-ui#main-content{
  width: 100%;
  margin: 0;
  padding: 0 !important;
  margin-top: -30px;
}

.scribo-ui #quiz-iframe{
  padding: 0px !important;
  margin: 0 !important;
}

.scribo-ui .public-lib{
  margin-left: 0px !important;
  margin-top: -60px;
}

.scribo-ui .filter-sidebar{
  top: 0px;
  height: 100vh;
  left: auto;
  right: 0;
  width:350px;
}

fieldset .fr-box.fr-basic .fr-element.fr-view {
  font-size: 16px;
}

.question-content .fr-box.fr-basic .fr-element.fr-view {
  font-size: 20px;
}

.cloze-answers{
  z-index: 1;
  position: relative;
  border-color: #4266f5!important;
  border-radius: 0.25rem!important;
}

.animation-area{
    position: fixed;
    top: 0;
    left: 0;
    background: #f5f6fb;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height:100vh;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #5581ff57;
    -webkit-animation: animate 25s linear infinite;
            animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 79%;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
    -webkit-animation-duration: 12s;
            animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 10%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 4s;
            animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 4%;
    width: 60px;
    height: 60px;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    -webkit-animation-duration: 18s;
            animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 90%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 95%;
    width: 110px;
    height: 110px;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
}

.circles li:nth-child(7){
    left: -1%;
    width: 150px;
    height: 150px;
    -webkit-animation-delay: 7s;
            animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 15%;
    width: 25px;
    height: 25px;
    -webkit-animation-delay: 15s;
            animation-delay: 15s;
    -webkit-animation-duration: 45s;
            animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 4%;
    width: 15px;
    height: 15px;
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
    -webkit-animation-duration: 35s;
            animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    -webkit-animation-duration: 11s;
            animation-duration: 11s;
}



@-webkit-keyframes animate {

    0%{
        -webkit-transform: translateY(0) rotate(0deg);
                transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        -webkit-transform: translateY(-1000px) rotate(720deg);
                transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

.highlight-box{
  background: white; 
   z-index: 2;
  position: absolute;
  -webkit-transform: translateY(0%);
      -ms-transform: translateY(0%);
          transform: translateY(0%);
  z-index: 200;
  padding: 0;
  -webkit-box-shadow: rgb(60 64 67 / 15%) 0px 2px 6px 2px;
          box-shadow: rgb(60 64 67 / 15%) 0px 2px 6px 2px;
  min-width: 250px;
  border-radius: 5px;
  font-size: 15px;
}

.highlight-box ul {
    margin: 0;
    padding: 0;
}

.highlight-box ul li {
    list-style: none;
    padding: 8px 20px;
    cursor: pointer;
    margin: 0 !important;
}

.highlight-box ul li:hover{
  background: #f5f5f5
}

.highlight{
  background: rgba(90, 192, 223,0.3);
}

::-moz-selection {
    background: rgba(90, 192, 223,0.3);
}

::selection {
    background: rgba(90, 192, 223,0.3);
}

@keyframes animate {

    0%{
        -webkit-transform: translateY(0) rotate(0deg);
                transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        -webkit-transform: translateY(-1000px) rotate(720deg);
                transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}s






label{
  font-weight: bold
}

body{
  background: #f5f6fb;
}

#page-container{
  font-family: "Roboto", "Helvetica Neue", "Source Sans Pro", "Helvetica", "Arial", "sans-serif";
  background: transparent !important;
  overflow-x: hidden
}

.iframed #page-container{
  background: #f5f6fb !important;
}

#global-nav-top .container-fluid{
  display: none;
}

#global-nav-top .overlay{
  top: 0;
  left: 0;
}

#logout-link{
  display: none !important; 
}

.logo{
  letter-spacing: 10px
}

.busy-message {
  display: none;
    position: fixed;
    width: 100%;
    font-size: 1.8em;
    background: transparent;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
  }

.fr-box.fr-basic{
  border-radius: 0;
}

.fr-toolbar.fr-top{
  border-radius: 0;
border: none;
border-top: 1px solid #eee;
}


.presto-text .fr-box.fr-basic.fr-top .fr-wrapper{
border: none;
min-height: 45vh;
}

.fr-box.fr-basic.fr-top .fr-wrapper{
  border-left: 0 !important;
  border-right: 0 !important;
}

.context .fr-box.fr-basic.fr-top .fr-wrapper{
  min-height: 200px !important;
}

.fr-box.fr-basic.fr-top .fr-wrapper .fr-element{
  padding-left: 0;
  padding-right: 0
}

.fr-second-toolbar{
  display: none
}

.fr-box img, .fr-box video{
  max-width: 100%
}

.busy-message.busy {
  display: block;
}

.main.busy form{
  opacity: 0.2
}

.main.preview fieldset{
  pointer-events: none
}

.main.preview button:not(.stimulus-btn){
  display: none !important
}

.preview-page #stimulus-text {
  position: relative;
  min-height: 50vh;
  display: block;
}

.preview-page #stimulus-text #page-container{
  position: relative;
}


.main.disabled{
  pointer-events: none
}

.page-item.disabled{
  pointer-events: none
}

#stimulus-text span , .compressed-html span{
  display: inline-block
}

.instruction .fa{
  width: 30px;
  height: 30px;
  line-height: 30px
}

label {
  font-weight: bold;
}

.quiz{
  position: relative;
  z-index: 2;
}


.quiz.disabled fieldset{
  pointer-events: none
}


fieldset{
  background: white;
  -webkit-box-shadow: 1px 2px 5px rgb(0 0 0 / 10%);
          box-shadow: 1px 2px 5px rgb(0 0 0 / 10%)
} 


fieldset.removed {
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none
}

fieldset.removed *:not(.bi.icon){
  opacity: 0.5;
  pointer-events: none
}

fieldset:not(.demo) li, fieldset:not(.demo) li *{
  position: relative;
  overflow: hidden;
  vertical-align: middle
}

fieldset:not(.demo) li .si-btn{
  position: absolute !important;
  overflow: visible !important;
}

fieldset:not(.demo) li .si-btn *{
  position: inherit !important;
  overflow: visible !important;
}

fieldset:not(.demo) li:hover{
  border: 1px solid #222;
  background: #fafafa;
  cursor: pointer;
}

fieldset:not(.demo) li::before{
  content: "";
  width: 100%;
  max-width: 0;
  height: 100%;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: max-width 0.6s;
  -o-transition: max-width 0.6s;
  transition: max-width 0.6s;
}

fieldset li.selected{
  color: white !important
}

fieldset:not(.demo) .fa{
  cursor: pointer;
}

fieldset:not(.demo) .fa:not(.edit-icon){
  font-size: 1em;
  margin-right: 10px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border:  1px solid #ddd;
  border-radius: 50%;
  text-align: center;
  background: white
}

fieldset .fa-check{
  color: #2d85da;
  border: none;
}

fieldset .fa-check.green{
  color: #009688;
}

fieldset:not(.q-card) .fa-check.green{
  border: 1px solid #009688;
}

fieldset .fa-times{
  line-height: 20px;
  color: tomato;
}

fieldset:not(.q-card) .fa-times{
  border: 1px solid tomato;
}

fieldset li.selected::before{
  background: -o-linear-gradient(left, rgb(43, 135, 218) 0%, rgb(131, 0, 233) 100%);
  background: -webkit-gradient(linear, left top, right top, from(rgb(43, 135, 218)), to(rgb(131, 0, 233)));
  background: linear-gradient(to right, rgb(43, 135, 218) 0%, rgb(131, 0, 233) 100%);
  max-width: 100%;
}

fieldset:not(.demo) li.correct{
  margin-left: 30px;
  background: #d5ffe2;
  border-color: #009688;
}

fieldset li.wrong{
  margin-left: 30px;
  background: #fff6f5;
  border-color: tomato !important;
}

fieldset.demo:not(.q-card) li{
  margin: 10px 0;
}

fieldset.demo li.blurred{
  opacity: 0.45;
    -webkit-filter: blur(3px);
            filter: blur(3px);
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

fieldset.demo .nav-tabs li a.active, .revisions-container .nav-tabs li a.active, .library-tabs.nav-tabs li a.active{
    background: #007bff;
    color: white;
    border-color: #007bff; 
}

fieldset.demo .nav-tabs li.reader a, .revisions-container .nav-tabs li.reader a{
    background: white;
    color: #607d8b;
    border-color: #dee2e6;
    border-bottom: none;  
}

fieldset.demo .nav-tabs li a, .revisions-container .nav-tabs li a, .library-tabs.nav-tabs li a{
  color: #555;
  height: 40px;
}

fieldset.demo .nav-tabs li a.disabled, .revisions-container .nav-tabs li a.disabled, .library-tabs.nav-tabs li a.disabled{
  color: #ccc;
    pointer-events: none;
} 

.nav-tabs .dropdown-toggle::after , .activity .dropdown-toggle::after{
  display: none;
}

fieldset .demo-options a{
  background: #f8f9fa;
  border: 1px solid #ddd;
  color: #555;
  outline: none  !important;
  -webkit-box-shadow: none  !important;
          box-shadow: none  !important;
}

fieldset .demo-options a:hover{
  border: 1px solid #ddd;
  background: #007bff!important;
  color: white
} 

fieldset .demo-options a:hover .fa{
  background: white !important;
  color: #007bff !important;
}

fieldset .answer-text-html p{
  margin:  0;
}

fieldset.add-new-question:not(.demo){
  background: rgb(255 255 255 / 50%)
}

fieldset.add-new-question:not(.demo):hover{
  background: white;
  cursor: pointer
}

fieldset.add-new-question:not(.demo) .fa-plus{
  font-size: 3em;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border: 1px dashed #6666e1;
  color: #6666e2;
  margin: 0;
  margin-bottom: 20px;
}

fieldset .sort-arrows{
  position: absolute;
  left: -20px;
  top: 20px;
}

fieldset .sort-arrows .fa{
  display: block;
  font-size: 25px;
  margin: 10px 0;
}

fieldset .sort-arrows .fa.disabled{
  color: #ddd;
  pointer-events: none;
}

.quiz button.modern-btn{
  border: none !important;
  border-top: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  background: white !important;
  padding: 0;
  font-size: 16px;
  line-height: 35px;
  border-radius: 0px !important;
  overflow: hidden;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  float: left !important;
  margin-left: -1px;
  -webkit-box-shadow: none !important;
          box-shadow: none !important
}

.navbar form .modern-btn:first-child{
  margin-left: 0px !important;
}

.quiz button.modern-btn:hover{
  background: #f5f5f5 !important;
}

.quiz .btn-success.purple{
  background: #6666e2;
  border: none;
}

.quiz .btn-success.purple:hover{
  background: #4444c0;
}

.quiz button.modern-btn span{
  vertical-align: middle;
  margin: 0 20px;
}

.quiz button.modern-btn i{
  width: 38px;
  height: 38px;
  line-height: 38px;
  vertical-align: middle;
  background: red;
  margin: 0;
}




.popover .yellow, .highlighter{
  padding: 3px 0;
  background: yellow;
}

.popover #full-text{
  color: #2196f3;
  display: block;
  padding: 10px;
  cursor: pointer;
}

.popover #full-text:hover{
  color: tomato;
}

.assignments-list th {
  font-size: 0.9em;
}
.assignments-list th, .assignments-list td {
  min-width: 60px;
  max-width: 100px;
}
.assignments-list th.title {
  min-width: 250px;
  max-width: unset;
}

.assignments-list .table-secondary.due td{
  background-color: tomato;
  color: white;
}
/* .assignments-list th.question_type {
  width: 146px;
}
.assignments-list th.year {
  width: 86px;
}
.assignments-list th.subject {
  width: 140px;
}
.assignments-list th.topic {
  width: 140px;
}
.assignments-list th.tags {
  width: 150px;
}
.assignments-list th.createdmonth {
  width: 140px;
}
.assignments-list th.assignedmonth {
  width: 140px;
} */



.assignments-list .action {
  min-width: 84px;
  width: 84px;
  max-width: 84px;
  text-align: right;
}
.assignments-list .action .status-icons i {
  margin-right: 2px;
}
.assignments-list .revision-queue-buttons i {
  line-height: 30px;
  width: 30px;
  height:30px;
  cursor: pointer;
}
.assignments-list .revision-queue-buttons i.in-queue {
}

.assignments-list .revision-action {
  min-width: 150px;
  width: 150px;
  max-width: 150px;
}

.assignments-list thead .sort-field {
  cursor: pointer;
}
.assignments-list tbody tr.assignment {
  position: relative;
  cursor: pointer;
}

.assignments-list tbody tr.student-to-do td:first-child, .assignments-list tbody tr.student-complete td:first-child{
    padding-left: 20px;
    vertical-align: middle;
}

.assignments-list tbody tr.assignment span {
  display: inline-block;
  max-width: 100%;
}
.assignments-list .action .item-menu>.btn {
  border-radius: 12px;
  width: 24px;
  height: 24px;
}
.assignments-list .action .item-menu>.btn.dropdown-toggle::before {
  display: none;
}
.assignments-list .action .item-menu .dropdown-item {
  color: #35393d;
}
.assignments-list .action .item-menu .dropdown-item i {
  margin-right: 4px;
}
.assignments-list .badge {
  margin: 1px;
  max-width: 100px !important;
}
.assignments-list td.tags>div{
  max-height: 40px;
  overflow: hidden;
}
.assignments-list td.tags{
  position: relative;
  padding: 4px !important;
}
.assignments-list td.tags:hover>div, .assignments-list td.tags.hover>div{
  position: absolute;
  max-height: 300px;
  overflow: auto;
  z-index: 1;
  background: white;
  padding: 8px 10px;
  -webkit-box-shadow: 1px 1px 4px rgb(0 0 0 / 40%);
          box-shadow: 1px 1px 4px rgb(0 0 0 / 40%);
  border-radius: 5px;
}

.assignments-list td.tags:hover>div span, .assignments-list td.tags.hover>div span{
  max-width: 100% !important;
}

/* .assignments-list tbody tr.assignment.student-to-do::after{
  content: "";
  width: 10px;
  height: 10px;
  background: #03a9f4;
  position: absolute;
  border-radius: 50%;
  transform: translateY(-50%);
  left: 3px;
  top: 50%;
}

.assignments-list tbody tr.assignment.student-complete::after{
  content: "";
  width: 10px;
  height: 10px;
  background: #4caf50;
  position: absolute;
  border-radius: 50%;
  transform: translateY(-50%);
  left: 3px;
  top: 50%;
} */


.q-progress{
  overflow: visible;
  -webkit-box-shadow: 4px 3px 5px rgb(0 0 0 / 30%);
          box-shadow: 4px 3px 5px rgb(0 0 0 / 30%);
}

.q-progress section{
  display: inline-block;
  height: 1px;
  background: #ddd;
  position: relative
}

.q-progress section .question-circle{
  position: absolute;
    top: 50%;
    left: 0%;
    font-size: 0.9em;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    background: #ddd;
    color: white;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s
}

.q-progress section .question-circle:hover{
  -webkit-transform: scale(1.1) translate(-50%, -50%);
      -ms-transform: scale(1.1) translate(-50%, -50%);
          transform: scale(1.1) translate(-50%, -50%);
  background: #bbb;
}

.q-progress section:last-child {
  width: 0px !important
}

.q-progress section.selected, .q-progress section.selected .question-circle{
  background: -o-linear-gradient(bottom, rgb(43, 135, 218) 0%, rgb(131, 0, 233) 100%);
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(43, 135, 218)), to(rgb(131, 0, 233)));
  background: linear-gradient(to top, rgb(43, 135, 218) 0%, rgb(131, 0, 233) 100%);
}

.q-progress section.correct{
  background: #009688;
  background: #009688;
}

.q-progress section.correct .question-circle{
    background: #fff;
  color: #059688;
  border: 1px solid #059688;
}

.q-progress section.wrong{
  background: #f44336;
  background: #f44336;
}

.q-progress section.wrong .question-circle{
  background: #fff;
  color: #f44336;
  border: 1px solid #f44336;
}

.q-progress section.no-idea{
  background: #ff9800;
}


.q-progress section.no-idea .question-circle{
  background: #fff;
  color: #ff9800;
  border: 1px solid #ff9800;
}

.q-progress .prog-bar{
  overflow: hidden;
  border-radius: 10px;
}

.q-progress .prog-bar div{
  height: 50px;
  display: inline-block;
  text-align: center;
  overflow: hidden;
  color: white;
  line-height: 50px;
  float: left;
}

.q-progress .prog-bar .green{
  background: #009688;
}

.q-progress .prog-bar .orange{
  background: #ff9800;
}

.q-progress .prog-bar .red{
  background: #f44336;
}

canvas{
  display: block;
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.stimulus{
  max-height: 220px;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s
}

.stimulus.expand{
  max-height: 3000px;
}

.sidebar-button svg{
    position: fixed;
    -webkit-transform: rotate(-90deg) translateY(-70%);
        -ms-transform: rotate(-90deg) translateY(-70%);
            transform: rotate(-90deg) translateY(-70%);
    left: 0px;
    top: 45%;
    z-index: 1000;
    color: white;
    width: 100px;
    fill: #6666e3;
    cursor: pointer;
    stroke: #6666e3;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.sidebar-button.open svg{
  fill:  tomato;
  stroke: tomato;
}

.sidebar-button .fa, .sidebar-button .fas{
  color: #fff;
  position: fixed;
  top: calc(45% + 20px);
  left: 5px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 1001;
  font-size: 1.5em;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

.sidebar-button:hover .fa, .sidebar-button:hover .fas{
  color: #fff;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s
}

.stimulus-modal{
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    height: 100vh;
    z-index: 100;
    overflow: auto;
}

.stimulus-modal .fa-times{
  position: absolute;
  right: 30px;
  top: 10px;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 9;
}

.modal .img-container{
  position: relative
}

.modal .img-container .corner{
  position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid #03a9f4;
}

.modal .img-container .corner:nth-child(1){
  top: 0;
  left: 0;
  border-bottom: 0px;
  border-right: 0px;
}

.modal .img-container .corner:nth-child(2){
  top: 0;
  right: 0;
  border-bottom: 0px;
  border-left: 0px;
}

.modal .img-container .corner:nth-child(3){
  bottom: 0;
  right: 0;
  border-top: 0px;
  border-left: 0px;
}

.modal .img-container .corner:nth-child(4){
  bottom: 0;
  left: 0;
  border-top: 0px;
  border-right: 0px;
}

.modal-socials li {
  font-size: 24px;
  vertical-align: top;
}
#gc-share-container {
  width: 24px;
  height: 24px;
  background: #eee;
  display: inline-block;
  margin: 0 .25rem!important;
}

.stimulus-modal img, .stimulus-modal video{
  max-width: 100%
}

#quiz-iframe {
  border: 0;
  min-height: 830px
}

.stimulus-doc-frame {
  border: 0;
  height: 600px;
  width: 100%;
}

#stimulus-text img {
  max-width: 99%;
}


/* PRESTO CODE */

.guest-login input{
  background: rgba(255,255,255,0.05) !important;
}

.guest-login .presto-code input{
  font-size: 3em;
    color: #46eeff;
    text-transform: uppercase;
    max-width: 75px;
    background: rgba(255,255,255,0.05);
    border: none;
}

.guest-login .presto-code input:disabled{
  opacity: 0.4;
    border: 1px solid #aaa;
}

.guest-login .presto-code input:focus{
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 2px solid #46eeff;
}

.guest-login .presto-code.success input{
  border-color: #86ffcd;
    color: #86ffcd;
    pointer-events: none;
} 

.guest-login .presto-code.error input{
  background: transparent;
    color: #f44336;
} 

.guest-login .btn-check{
  background: #46eeff !important;
    color: #4f5181 !important;
    border: 1px solid #46eeff !important;
}

.guest-login .reset{
  position: absolute;
    top: 35px;
    right: -30px;
    width: 20px;
    height: 20px;
    /* border: 1px solid #ddd; */
    border-radius: 50%;
    line-height: 18px;
    font-size: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s
}

.presto-code .reset:hover{
  -webkit-transform: scale(1.2);
      -ms-transform: scale(1.2);
          transform: scale(1.2);
  color: tomato
}

.preview-modal{
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    z-index: 1000;
    background: #f5f6fb;
    padding: 0px 0px;
    -webkit-box-shadow: 12px 12px 15px 5px rgb(0 0 0 / 15%);
            box-shadow: 12px 12px 15px 5px rgb(0 0 0 / 15%);
}

.main.preview .preview-modal{
    padding: 25px 0px;

}

.preview-modal .fa-times{
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
}

.preview-modal iframe{
    height: auto;
    width: 60vw;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    height: 395px;
}  

.preview-modal.full iframe{
    width: 90vw;
    height: 90vh;
}

.busy-message .loading-container{
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.busy-message .icons-container{
  position: relative
}

.busy-message .icons-container .icon{
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 1.3em;
}

.busy-message .icons-container .icon.bi-book{
  color: #ff9800;
}

.busy-message .icons-container .icon.bi-chat-dots, .busy-message .icons-container .icon.bi-hourglass-split{
  color: #03a9f4;
}

.busy-message .icons-container .icon.bi-exclamation-triangle-fill{
  color: tomato;
}


.busy-message .icons-container .icon.bi-ui-checks-grid{
  color: #e91e63;
}

.busy-message .icons-container .bi-check-circle{
  color: #009688;
}


.busy-message .icons-container svg{
  opacity: 0.4;
  fill: #607d8b
}


.file-drop-area {
  min-height: 400px;
}
.file-drop-area.active {
  background-color: #fff8e1;
}

#sparkles > path {
  -webkit-animation: sparklyBits 1000ms infinite;
          animation: sparklyBits 1000ms infinite;
  position: absolute;
}

#message {
  margin-top: 20px;
  text-align: center;
}

#sparkles > path:nth-child(1) {
  -webkit-animation-delay: 35ms;
          animation-delay: 35ms;
}

#sparkles > path:nth-child(2) {
  -webkit-animation-delay: 70ms;
          animation-delay: 70ms;
}

#sparkles > path:nth-child(3) {
  -webkit-animation-delay: 105ms;
          animation-delay: 105ms;
}

#sparkles > path:nth-child(4) {
  -webkit-animation-delay: 140ms;
          animation-delay: 140ms;
}

#sparkles > path:nth-child(5) {
  -webkit-animation-delay: 175ms;
          animation-delay: 175ms;
}

#sparkles > path:nth-child(6) {
  -webkit-animation-delay: 210ms;
          animation-delay: 210ms;
}

#sparkles > path:nth-child(7) {
  -webkit-animation-delay: 245ms;
          animation-delay: 245ms;
}

#sparkles > path:nth-child(8) {
  -webkit-animation-delay: 280ms;
          animation-delay: 280ms;
}

#sparkles > path:nth-child(9) {
  -webkit-animation-delay: 315ms;
          animation-delay: 315ms;
}

#sparkles > path:nth-child(10) {
  -webkit-animation-delay: 350ms;
          animation-delay: 350ms;
}

#sparkles > path:nth-child(11) {
  -webkit-animation-delay: 385ms;
          animation-delay: 385ms;
}

#sparkles > path:nth-child(12) {
  -webkit-animation-delay: 420ms;
          animation-delay: 420ms;
}

#sparkles > path:nth-child(13) {
  -webkit-animation-delay: 455ms;
          animation-delay: 455ms;
}

#sparkles > path:nth-child(14) {
  -webkit-animation-delay: 490ms;
          animation-delay: 490ms;
}

#sparkles > path:nth-child(15) {
  -webkit-animation-delay: 525ms;
          animation-delay: 525ms;
}

#sparkles > path:nth-child(16) {
  -webkit-animation-delay: 560ms;
          animation-delay: 560ms;
}

#sparkles > path:nth-child(17) {
  -webkit-animation-delay: 595ms;
          animation-delay: 595ms;
}

#sparkles > path:nth-child(18) {
  -webkit-animation-delay: 630ms;
          animation-delay: 630ms;
}

#sparkles > path:nth-child(19) {
  -webkit-animation-delay: 665ms;
          animation-delay: 665ms;
}

#sparkles > path:nth-child(20) {
  -webkit-animation-delay: 700ms;
          animation-delay: 700ms;
}

#sparkles > path:nth-child(21) {
  -webkit-animation-delay: 735ms;
          animation-delay: 735ms;
}

#sparkles > path:nth-child(22) {
  -webkit-animation-delay: 770ms;
          animation-delay: 770ms;
}

#sparkles > path:nth-child(23) {
  -webkit-animation-delay: 805ms;
          animation-delay: 805ms;
}

#sparkles > path:nth-child(24) {
  -webkit-animation-delay: 840ms;
          animation-delay: 840ms;
}

#sparkles > path:nth-child(25) {
  -webkit-animation-delay: 875ms;
          animation-delay: 875ms;
}

#sparkles > path:nth-child(26) {
  -webkit-animation-delay: 910ms;
          animation-delay: 910ms;
}

#sparkles > path:nth-child(27) {
  -webkit-animation-delay: 945ms;
          animation-delay: 945ms;
}

#sparkles > path:nth-child(28) {
  -webkit-animation-delay: 980ms;
          animation-delay: 980ms;
}

#sparkles > path:nth-child(29) {
  -webkit-animation-delay: 1015ms;
          animation-delay: 1015ms;
}


.keywords .keyword {
  cursor: pointer;
  background-color: #ccc;
  color: #999;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.3em;
  opacity: 0.3;
  background: white;
  color: #222;
  border: 1px solid #222;
  max-width: 100%
}
.keywords .keyword.selected {
  background-color: #007bff;
  color: #fff;
  opacity: 1;
  border: none !important
}

.stimulus-keywords {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.stimulus-keywords .keyword {
  cursor: pointer;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.3em;
  background: white;
  color: #007BFF;
  border: 1px solid #007BFF;
  max-width: 100%;
}

.stimulus-keywords .keyword.btn-primary{
  background: #007BFF;
  color: white !important;
}

.stimulus-keywords .keyword.selected {
  background-color: #007bff;
  color: #fff;
}

.stimulus-keywords .keyword .fa-minus-circle{
  display: none
}

.stimulus-keywords .keyword:hover .fa-minus-circle{
  display: inline-block
}

.stimulus-keywords .keyword.selected .fa{
  color: white !important;
}

.stimulus-keywords .keyword.badge-success:not(.edit):hover{
  background: #28a745;
  color: white !important;
}

.stimulus-keywords .keyword.badge-success input{
  outline: none !important
}

.pretty.p-icon.p-jelly{
  float: left; 
  margin-top: 5px; 
  margin-bottom: 5px; 
  height: 16px
}

.pretty input:checked~.state.p-primary label:after, .pretty.p-toggle .state.p-primary label:after {
    background-color: #03a9f4!important;
}

#immersive-reader{
  position: fixed;
  width: 80vw !important;
  height: 80vh !important;
  border-width: 0px;
  -webkit-perspective: 1px;
          perspective: 1px;
  z-index: 1000;
  background: white;
  overflow: hidden;
  -webkit-box-shadow: 1px 4px 8px rgba(0,0,0,0.3) !important;
          box-shadow: 1px 4px 8px rgba(0,0,0,0.3) !important;;
  -webkit-transform: translate(-50%,-50%);;
      -ms-transform: translate(-50%,-50%);;
          transform: translate(-50%,-50%);
  top: 50% !important;;
  left: 50% !important;
}

#immersive-reader iframe{
  width: 100% !important;;
  height: 100% !important;;
} 


#page-sidebar{
    position: fixed;
    top: 0px;
    left: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(43, 135, 218)), to(rgb(131, 0, 233)));
    height: calc(100vh);
    padding: 20px 0; 
    padding-top: 80px;
    width: 70px;
    color: white;
    text-align: center;
    z-index: 10;
    -webkit-transition: left 0.3s;
    -o-transition: left 0.3s;
    transition: left 0.3s;
}

#page-sidebar ul{
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.4em
}

#page-sidebar ul li:not(.user){
  margin: 25px 10px;
    height: 50px;
    line-height: 50px !important;
    cursor: pointer;
    border-radius: 5px
}

#page-sidebar ul li:not(.user):hover{
  background: rgba(0,0,0,0.15)
}

#page-sidebar ul li:not(.user).active{
  background: rgba(0,0,0,0.3)
}

#page-sidebar ul li:not(.user).disabled{
  opacity: 0.5;
  pointer-events: none
}

#page-sidebar ul li.help-section{
    color: #6ffff8;
    bottom: 50px;
    position: absolute;
    margin: 0 auto;
    left: 9px;
    width: 50px;
    height: 50px;
}

#page-sidebar hr{
  background: #ffffff59;
}

#page-sidebar ul li.user{
    background: white;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    color: #800be8;
    margin: 0 auto;
    border-radius: 50%;
    font-weight: bold;
    /* padding: 10px; */
    font-size: 1em;
}

#page-sidebar.mobile{
  position: relative;
  width: 100%;
  height: auto;
  padding: 5px 10px;
  z-index: 1048;
}

#page-sidebar.mobile ul hr, #page-sidebar.mobile ul .user{
  display: none;
}


#page-sidebar.mobile ul{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#page-sidebar.mobile ul li{
  display: inline-block;
  margin: 0 ;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#page-sidebar ul div .side-menu{
  position: absolute;
  top: 0;
  left: calc(100% + 5px);
  background: #4b2aa0;
  border-radius: 5px;
  font-size: 25px;
  padding: 10px 8px;
}

#page-sidebar ul div .side-menu i{
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: rgb(255 255 255 / 5%);
  background: #6a40e3;
  color: white;
  /* opacity: 0.8; */
  margin: 10px 0;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer
}

#page-sidebar ul div .side-menu i:hover{
  background: #fff;
  color: #4b2a9f;
}

#page-sidebar .bi-file-ppt::before{
  line-height: 40px;
}

#page-sidebar.mobile ul div .side-menu{
  top: 50px;
  left: 0;
  padding: 7px;
}

#page-sidebar.mobile ul div .side-menu i{
  margin: 0 7px;
}

.study-deck textarea{
  width: 100%;
  border: 1px solid #ddd;
  background: #fafafa;
  height: 100px;
}

.study-deck .excel-line{
  position: relative;
}

.study-deck .excel-line.error{
  border: 1px solid #f4521d !important;
}

.study-deck .excel-line.first-line{
  margin-bottom: -14px;
  background: white !important
}

.study-deck .excel-line input{
  pointer-events: none
}

.study-deck .excel-line:hover{
  cursor: pointer !important;
  background: #f5f6fb;
}

.study-deck .excel-lines-container{
  position: relative;
  width: calc(100% + 140px) !important;
  max-width: 100000px;
  margin-left: -70px !important;
  background: #f5f6fb;
  padding: 20px 8px;
}

.study-deck .excel-line{
  position: relative;
  background: white !important;
  padding: 10px 0 10px 0 !important;
  border-radius: 5px;
  margin: 20px 0;
}

.study-deck .excel-lines-container:not(.bg-white)::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 50px;
  background: #f5f6fb;
  top: 100%;
  left: 0;
}

.study-deck .excel-line textarea{
    font-size: 16px;
    color: #000;
}

.study-deck .excel-line input{ 
  pointer-events: visible
}

.study-deck .excel-line .index{
  position: absolute;
  left: -50px;
  top: 50% !important;
  color: #aaa;
  font-size: 16px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.study-deck .excel-line{
  font-size: 1.5em;
  padding: 8px;
  color: #444;
}

.study-deck .form-input{
  vertical-align: middle;
  margin: 10px 0;
}

.study-deck .form-input label{
  font-size: 16px;
  color: #222;
  display: block;
  font-weight: bold;
}

.study-deck .form-input label span{
  color: #444;
  font-weight: normal;
  font-size: 15px;
}

.study-deck.form-input label b{
  color: red;
}

.study-deck .form-input .number {
  position: absolute;
  left: 0
}

.study-deck .form-input input{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 2px 0px;
  font-size: 14px;
  -webkit-box-shadow: none;
          box-shadow: none;
  display: block;
}

.study-deck .form-input textarea{
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0px !important;
  outline: none !important;
  background: white;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 2px 0px;
  border-bottom: 2px solid #aaa;
  overflow: hidden
}

.study-deck .form-input textarea:focus{
  border-bottom: 2px solid #2196f3;
}

.study-deck .excel-line label{
  color: #999 !important;
  font-size: 13px;
  font-weight: normal !important
}

.study-deck .form-input input:focus{
  border-bottom: 1px solid #716eff;
}

.study-deck .form-input .remove-existing{
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 50%;
  border: 1px solid #f4511e;
  text-align: center;
  color: #f4511e;
  vertical-align: middle;
  cursor: pointer;
}

.study-deck .form-input .remove-existing:hover{
  background: #f4511e;
  color: white;
}


.study-deck .form-input .color-circle, .flash-card .color-circle, .horizontal-dropdown .color-circle{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  border: 5px solid #ffffffb5;
  cursor: pointer;
  position: relative;
  line-height: 28px;
  font-weight: bold;
}

.study-deck .form-input .color-circle.random, .flash-card .color-circle.random, .horizontal-dropdown .color-circle.random{
  background: -o-linear-gradient(135deg, #603aae 50%, #f50158 50%);
  background: linear-gradient(-45deg, #603aae 50%, #f50158 50%);
  text-shadow: 0px 0.5px 0px rgb(0 0 0 / 50%);
  border: 3px solid #ffffffb5 !important;
  line-height: 24px;
}

.horizontal-dropdown .color-circle.active{
  border: 5px solid #ffffff00 !important
}


.study-deck .form-input .color-circle .dropdown, .flash-card .dropdown, .horizontal-dropdown, .flag-container .dropdown{
  position: absolute;
  bottom: 30px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  left: -12px;
  padding: 0;
  background: white;
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
          box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  z-index: 9999;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin: 0;
}

.flash-card .dropdown{
  vertical-align: middle;
  position: absolute;
  left: calc(100% + 50px);
  bottom: 55px;
}

.horizontal-dropdown{
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  position: relative;
  /* left: calc(100% + 50px); */
  /* bottom: 55px; */
  width: 60%;
  margin: 0 auto -20px;
  display: block;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: none;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  z-index: 123;
}


.study-deck .form-input .color-circle .dropdown .color:hover, .flash-card .dropdown .color:hover, .horizontal-dropdown .color:hover{
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

.study-deck .form-input .color-circle .dropdown li, .flash-card .dropdown li, .horizontal-dropdown li{
  text-align: left;
  padding: 3px 5px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  display: inline-block;
}

.study-deck .sticky-top{
  width: calc(100% + 126px);
  margin-left: -63px;
  -webkit-box-shadow: 1px 2px 5px rgb(0 0 0 / 10%);
          box-shadow: 1px 2px 5px rgb(0 0 0 / 10%)
}

.flag-container{
  background: white;
  text-align: left;
  cursor: pointer;
  margin-bottom: 4px;
  display: inline-block;
  vertical-align: middle;
  margin-left: auto;
  margin-right: 50px;
  margin-top: 15px;
  position: relative
}

.flag-container .dropdown{
  top: 30px;
  left: -7px;
  padding: 5px 7px;
  list-style: none;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.flag-container .flag{
  background: url(https://cdn.weglot.com/images/circular_flag.png) #444;
  background-size: auto 24px;
  border-radius: 0;
  width: 24px;
  height: 24px;
  margin-right: -1px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  border-radius: 50%;
  -webkit-transition:all 0.1s;
  -o-transition:all 0.1s;
  transition:all 0.1s;
  z-index: 123;
}


.flag-container .flag.en{
  background-position: -2520px 0;
}

.flag-container .flag.pt{
  background-position: 2328px 0;
}

.flag-container .flag.vi{
  background-position: 2448px 0;
}

.flag-container .flag.zh{
  background-position: -3240px 0;
}

.flag-container .flag.es{
  background-position: -3576px 0
}

.flag-container .flag.sr{
  background-position: -3312px 0;
}

.flag-container .flag.ar{
  background-position: -3336px 0;
}

.flag-container .flag.tl{
  background-position: 600px 0;
}

.flag-container .flag.th {
    background-position: 984px 0;
}

.flag-container .flag.id {
    background-position: 840px 0;
}

.flag-container .flag.ur {
    background-position: -1992px 0;
}

.flag-container .flag.mi {
    background-position: -2112px 0
}





.timeline section:nth-child(even) .week-container ul li ul li{
  padding-right: 0px !important;
  padding-left: 15px !important;
}

#page-sidebar.mobile ul li i{
  line-height: 50px;
  font-size: 0.8em;
}


#main-content{
  margin-left: 70px;
  width: calc(100% - 70px);
}

#main-content.mobile{
  margin: 0;
  width: 100%;
  height: 100%;
  height: calc(100% - 130px);
}


.pre-save-modal{
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  z-index: 9999;
}

.pre-save-modal fieldset{
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 60%
}


fieldset[disabled] {
  background-color: #f5f5f5;
  color: #999;
}

@-webkit-keyframes sparklyBits {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes sparklyBits {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.question-text{
  font-size: 1.3em
}


/* FLASHCARDS */

#cards-container:not(.revision){
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: visible;
}

#cards-container .before{
  position: absolute;
  top: 0;
  left: -100%;
  -webkit-transition: all 0s;
  -o-transition: all 0s;
  transition: all 0s;
  margin-left: -20%;
  margin-right: 10%;
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8);
}

#cards-container .after{
  position: absolute;
  top: 0;
  right: -100%;
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8);
  margin-left: 10%
}


#cards-container .flash-card{
  height: calc(38vh);
  -webkit-perspective: 1400px;
          perspective: 1400px;
  margin: 20px 20px 40px;
  display: inline-block;
  -webkit-transition: margin 0.15s;
  -o-transition: margin 0.15s;
  transition: margin 0.15s;
  visibility: hidden
}

#cards-container.revision .flash-card{
  height: 400px;
  -webkit-perspective: 1400px;
  perspective: 1400px;
  margin: 20px 20px 60px;
  display: inline-block;
  -webkit-transition: margin 0.15s;
  -o-transition: margin 0.15s;
  transition: margin 0.15s;
  visibility: hidden;
  zoom: 0.6;
  width: 22%;
  margin: 1.5%;
}


#cards-container .flash-card img{
  max-height: 100px;
}

#cards-container .flash-card.preview{
  height:50vh;
  zoom:0.8;
  margin: 0 auto !important;
}

#cards-container .flash-card.active{
/*   -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1); */
  position: relative;
  visibility: visible;
  margin-left: 1vw;

}

#cards-container .flash-card.prev ,#cards-container .flash-card.next{
/*   -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8); */
}


#cards-container .flash-card.prev p, #cards-container .flash-card.prev span, #cards-container .flash-card.prev a, #cards-container .flash-card.prev img, #cards-container .flash-card.next p, #cards-container .flash-card.next span, #cards-container .flash-card.next a, #cards-container .flash-card.next img,#cards-container .flash-card.prev button, #cards-container .flash-card.next button, #cards-container .flash-card.prev .edit-mode, #cards-container .flash-card.next .edit-mode, #cards-container .flash-card.prev textarea, #cards-container .flash-card.next textarea, .flash-card.prev .front-image, .flash-card.next .front-image, .flash-card.next .front h1,  .flash-card.next .back h1{
  visibility: hidden
}

.flash-card.focus-card {
    position: fixed !important;
    top: 0;
    height: 45vh !important;
    width: 100vw !important;
    max-width: 100vw;
    left: 0;
    visibility: visible !important;
    z-index: 9999999999999;
    -webkit-transform: none !important;
        -ms-transform: none !important;
            transform: none !important;
    overflow: hidden;
    margin: 0 auto !important
  }

#cards-container .flash-card.prev{
  margin-left: -20%;
  margin-right: 10%;
  visibility: visible
}

#cards-container .flash-card.next{
  margin-left: 10%;
  visibility: visible
} 

.flash-card-controls{
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  top: calc(100% - 20px) ;
  margin-top: -35px;
  left: 50%;
  -webkit-box-shadow: 3px 3px 8px rgb(0 0 0 / 10%);
          box-shadow: 3px 3px 8px rgb(0 0 0 / 10%);
   -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */ /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; 
  display: -webkit-box !important; 
  display: -ms-flexbox !important; 
  display: flex !important;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  z-index:  200;

}

.flash-card-controls .fas, .flash-card-controls .fa{
  vertical-align: middle;
  font-size: 1.2em;
  cursor: pointer;
  color: #444;
}

.flash-card-controls .fas.main-button, .flash-card-controls .fa.main-button{
  font-size: 1.5em;
}

.flash-card-controls .fas.disabled, .flash-card-controls .fa.disabled{
  opacity: 0.5;
  pointer-events: none
}

.flash-card-controls .fas:hover, .flash-card-controls .fa:hover, .flash-card-controls .fas.active, .flash-card-controls .fa.active{
  color: #007bff
}

.flash-card .card, .flash-card .front, .flash-card .back {
  width: 100%;
  height: 100%;
  z-index: 1;
  font-weight: normal
}

.card {
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  -o-transition: transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  cursor: pointer;
  border: none;
  background: transparent;
}

.flash-card.active:hover .card{
  -webkit-transform: rotateY(-10deg);
          transform: rotateY(-10deg);
}

.flash-card.active.flip .card{
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.front, .back {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-box-shadow: 5px 5px 10px rgb(0 0 0 / 30%);
          box-shadow: 5px 5px 10px rgb(0 0 0 / 30%);
  background: #4770dd;
  border-radius: 20px;
}

.back {
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.front::after, .back::after{
  content: "";
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border-radius: 20px;
  border: 1px solid;
}


.flash-card .flash-content{
  width: 55%;
  font-size: 2.3vw;
  text-align: center;
  position: relative;
  max-height: 75%;
  overflow: auto;
  outline: none;
  z-index: 1;
}

.flash-card .flash-content::-webkit-scrollbar, .back-text::-webkit-scrollbar, .context-container.show::-webkit-scrollbar, .video-container.show::-webkit-scrollbar, .flash-card textarea::-webkit-scrollbar{
  -webkit-appearance: none;
  width: 4px;
}


@media not all and (-webkit-min-device-pixel-ratio:0), not all and (-o-min-device-pixel-ratio:0/1), not all and (min-resolution:.001dpcm) { @media {

    .flash-card .front p{ 
      white-space: initial !important;
    }
}}

.flash-card .flash-content::-webkit-scrollbar-thumb, .back-text::-webkit-scrollbar-thumb, .context-container.show::-webkit-scrollbar-thumb, .video-container.show::-webkit-scrollbar-thumb, .flash-card textarea::-webkit-scrollbar-thumb{
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .1) !important;
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
          box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.flash-card .back-text {
  max-height: 100%;
  overflow: auto;
  width: 80%;
  margin: 0px auto 0 !important;
  margin-bottom: -10px !important;
  padding-left: 5px;
}


.flash-card .si-wrapper{
  display: none;
  width: 80%;
  /* margin-top: 35px; */
  height: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-height: 71%;
  overflow: hidden;
}

.flash-card .back .si-wrapper{
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.flash-card.edit-card .si-wrapper:empty{
  display: none
}

.flash-card.edit-card .si-wrapper{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.flash-card .back .si-wrapper{
  width: 100%;
  max-height: 100%;
}

.flash-card .context-container .si-wrapper{
  height: 100%;
}


.flash-card .si-wrapper .si-btn{
  display: none;
  cursor: pointer;
  width: 25px;
  height: 25px;
  background: white;
  z-index: 123;
  top: 85% !important;
  left: 93%;
  position: fixed;
}

.flash-card.edit-card .si-wrapper .si-btn{
  display: block;
}

#main-content.mobile .flash-card.edit-card .si-wrapper .si-btn{
  display: none !important;
}

.flash-card textarea{
  width: 100%;
  z-index: 1;
  text-align: center;
  border: 0;
  outline: none;
  padding-right: 0px !important;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  height: 100%;
  padding: 5px 10px;
  min-height: 100%;
}

.flash-card .front p, .flash-card .back p{
  margin-bottom: 0px;
}

.flash-card .front textarea{
  background: rgba(0,0,0,0.05) !important;
}

.flash-card .back textarea{
  background: #fafafa;
}




.flash-card .flash-content::after{
  content: "";
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  top: -20px;
  width: 70px;
  height: 100%;
  border-top: 3px solid
}


/* FRONT STYLES */

.front {
}

#cards-container .flash-card.nth-child1 .front, #cards-container .flash-card.nth-child1 .front textarea{
  background: #009688;
  color: white;
}

#cards-container .flash-card.nth-child1 .front p::after, #cards-container .flash-card.nth-child2 .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.nth-child2 .front, #cards-container .flash-card.nth-child2 .front textarea{
  background: #f50158;
  color: white;
}

#cards-container .flash-card.nth-child2 .front p::after, #cards-container .flash-card.nth-child2 .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.nth-child3 .front, #cards-container .flash-card.nth-child3 .front textarea{
  background: #ffec07;
  color: #222;
}

#cards-container .flash-card.nth-child3 .front p::after, #cards-container .flash-card.nth-child3 .front::after{
  background: transparent;
  color: #222
}

#cards-container .flash-card.nth-child4 .front, #cards-container .flash-card.nth-child4 .front textarea{
  background: #68dff9;
  color: #222;
}

#cards-container .flash-card.nth-child4 .front p::after, #cards-container .flash-card.nth-child4 .front::after{
  background: transparent;
  color: #222;
}

#cards-container .flash-card.nth-child5 .front, #cards-container .flash-card.nth-child5 .front textarea{
  background: #6039ae;
  color: white;
}

#cards-container .flash-card.nth-child5 .front p::after, #cards-container .flash-card.nth-child5 .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.nth-child6 .front, #cards-container .flash-card.nth-child6 .front textarea{
  background: #fff6f6;
  color: #e91e63;
}

#cards-container .flash-card.nth-child6 .front p::after, #cards-container .flash-card.nth-child6 .front::after{
  background: transparent;
  color: #e91e63
}


#cards-container .flash-card.green .front, #cards-container .flash-card.green .front textarea{
  background: #009688;
  color: white;
}

#cards-container .flash-card.green .front p::after, #cards-container .flash-card.green .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.pink .front, #cards-container .flash-card.pink .front textarea{
  background: #f50158;
  color: white;
}

#cards-container .flash-card.pink .front p::after, #cards-container .flash-card.pink .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.yellow .front, #cards-container .flash-card.yellow .front textarea{
  background: #ffec07;
  color: #222;
}

#cards-container .flash-card.yellow .front p::after, #cards-container .flash-card.yellow .front::after{
  background: transparent;
  color: #222
}

#cards-container .flash-card.blue .front, #cards-container .flash-card.blue .front textarea{
  background: #68dff9;
  color: #222;
}

#cards-container .flash-card.blue .front p::after, #cards-container .flash-card.blue .front::after{
  background: transparent;
  color: #222;
}

#cards-container .flash-card.purple .front, #cards-container .flash-card.purple .front textarea{
  background: #6039ae;
  color: white;
}

#cards-container .flash-card.purple .front p::after, #cards-container .flash-card.purple .front::after{
  background: transparent;
  color: white
}

#cards-container .flash-card.light-pink .front, #cards-container .flash-card.light-pink .front textarea{
  background: #fff6f6;
  color: #e91e63;
}

#cards-container .flash-card.light-pink .front p::after, #cards-container .flash-card.light-pink .front::after{
  background: transparent;
  color: #e91e63
}


#cards-container .flash-card textarea::-webkit-input-placeholder{
  color: #444;
  opacity: 0.5;
  font-size: 30px;
}


#cards-container .flash-card textarea::-moz-placeholder{
  color: #444;
  opacity: 0.5;
  font-size: 30px;
}


#cards-container .flash-card textarea:-ms-input-placeholder{
  color: #444;
  opacity: 0.5;
  font-size: 30px;
}


#cards-container .flash-card textarea::-ms-input-placeholder{
  color: #444;
  opacity: 0.5;
  font-size: 30px;
}


#cards-container .flash-card textarea::placeholder{
  color: #444;
  opacity: 0.5;
  font-size: 30px;
}

/* #cards-container .flash-card:nth-child(6n + 1) .front textarea::placeholder, #cards-container .flash-card:nth-child(6n + 2) .front textarea::placeholder, #cards-container .flash-card:nth-child(6n + 5) .front textarea::placeholder,
 */#cards-container .flash-card.green .front textarea::-webkit-input-placeholder, #cards-container .flash-card.pink .front textarea::-webkit-input-placeholder, #cards-container .flash-card.purple .front textarea::-webkit-input-placeholder{
  color: #fff !important;
  opacity: 0.7 !important 
}#cards-container .flash-card.green .front textarea::-moz-placeholder, #cards-container .flash-card.pink .front textarea::-moz-placeholder, #cards-container .flash-card.purple .front textarea::-moz-placeholder{
  color: #fff !important;
  opacity: 0.7 !important 
}#cards-container .flash-card.green .front textarea:-ms-input-placeholder, #cards-container .flash-card.pink .front textarea:-ms-input-placeholder, #cards-container .flash-card.purple .front textarea:-ms-input-placeholder{
  color: #fff !important;
  opacity: 0.7 !important 
}#cards-container .flash-card.green .front textarea::-ms-input-placeholder, #cards-container .flash-card.pink .front textarea::-ms-input-placeholder, #cards-container .flash-card.purple .front textarea::-ms-input-placeholder{
  color: #fff !important;
  opacity: 0.7 !important 
}#cards-container .flash-card.green .front textarea::placeholder, #cards-container .flash-card.pink .front textarea::placeholder, #cards-container .flash-card.purple .front textarea::placeholder{
  color: #fff !important;
  opacity: 0.7 !important 
}




.flash-card .front h1{
  position: absolute;
  top: 10px;
  right: 25px;
  line-height: 0.8;
  font-size: 13vw;
  opacity: 0.05;
}

.flash-card.nth-child2 .front h1{
  opacity: 0.1;
}

.flash-card.nth-child6 .front h1{
  color: #e91e63;
  opacity: 0.1;
}

.flash-card .front a{
  position: absolute;
  bottom: 20px;
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%
}

/* BACK STYLES */

.back {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  position: relative;
  background-color: white;
  background-image: url(https://www.transparenttextures.com/patterns/inspiration-geometry.png);
  background-size: 40%;
  z-index: 2;
}


#cards-container .flash-card.nth-child1 .back, #cards-container .flash-card.nth-child1 .back p::after, #cards-container .flash-card.flip.nth-child1 .back::after, #cards-container .flash-card.nth-child1 .back textarea{
  color: #009688;
}

#cards-container .flash-card.nth-child2 .back, #cards-container .flash-card.nth-child2 .back p::after, #cards-container .flash-card.flip.nth-child2 .back::after, #cards-container .flash-card.nth-child2 .back textarea{
  color: #f50158;
}

#cards-container .flash-card.nth-child3 .back, #cards-container .flash-card.nth-child3 .back p::after, #cards-container .flash-card.flip.nth-child3 .back::after, #cards-container .flash-card.nth-child3 .back textarea{
  color: #444;
}

#cards-container .flash-card.nth-child4 .back, #cards-container .flash-card.nth-child4 .back p::after, #cards-container .flash-card.flip.nth-child4 .back::after, #cards-container .flash-card.nth-child4 .back textarea{
  color: #04aacf;
}

#cards-container .flash-card.nth-child5 .back, #cards-container .flash-card.nth-child5 .back p::after, #cards-container .flash-card.flip.nth-child5 .back::after, #cards-container .flash-card.nth-child5.back textarea{
  color: #6039ae;
}

#cards-container .flash-card.nth-child6 .back, #cards-container .flash-card.nth-child6 .back p::after, #cards-container .flash-card.flip.nth-child6 .back::after, #cards-container .flash-card.nth-child6 .back textarea{
  color: #e91e63;
}

#cards-container .flash-card.green .back, #cards-container .flash-card.green .back p::after, #cards-container .flash-card.flip.green .back::after, #cards-container .flash-card.green .back textarea{
  color: #009688;
}

#cards-container .flash-card.pink .back, #cards-container .flash-card.pink .back p::after, #cards-container .flash-card.flip.pink .back::after, #cards-container .flash-card.pink .back textarea{
  color: #f50158;
}

#cards-container .flash-card.yellow .back, #cards-container .flash-card.yellow .back p::after, #cards-container .flash-card.flip.yellow .back::after, #cards-container .flash-card.yellow .back textarea{
  color: #444;
}

#cards-container .flash-card.blue .back, #cards-container .flash-card.blue .back p::after, #cards-container .flash-card.flip.blue .back::after, #cards-container .flash-card.blue .back textarea{
  color: #04aacf;
}

#cards-container .flash-card.purple .back, #cards-container .flash-card.purple .back p::after, #cards-container .flash-card.flip.purple .back::after, #cards-container .flash-card.purple .back textarea{
  color: #6039ae;
}

#cards-container .flash-card.light-pink .back, #cards-container .flash-card.light-pink .back p::after, #cards-container .flash-card.flip.light-pink .back::after, #cards-container .flash-card.light-pink .back textarea{
  color: #e91e63;
}




#cards-container .flash-card.nth-child1 .edit-mode, #cards-container .flash-card.nth-child2 .edit-mode, #cards-container .flash-card.nth-child5 .edit-mode{
  color: #fff;
}

#cards-container .flash-card.nth-child3 .edit-mode, #cards-container .flash-card.nth-child4 .edit-mode{
  color: #222;
}

#cards-container .flash-card.nth-child6 .edit-mode{
  color: #e91e63;
}

#cards-container .flash-card.nth-child1 .back .edit-mode{
  color: #009688;
}

#cards-container .flash-card.nth-child2 .back .edit-mode{
  color: #f50158;
}

#cards-container .flash-card.nth-child3 .back .edit-mode{
  color: #f4b901;
}

#cards-container .flash-card.nth-child4 .back .edit-mode{
  color: #03a9f4; 
}

#cards-container .flash-card.nth-child5 .back .edit-mode{
  color: #6039ae;
}

#cards-container .flash-card.nth-child6 .back .edit-mode{
  color: #f50158;
}



#cards-container .flash-card.green .edit-mode, #cards-container .flash-card.pink .edit-mode, #cards-container .flash-card.purple .edit-mode{
  color: #fff;
}

#cards-container .flash-card.yellow .edit-mode, #cards-container .flash-card.blue .edit-mode{
  color: #222;
}

#cards-container .flash-card.light-pink .edit-mode{
  color: #e91e63;
}

#cards-container .flash-card.green .back .edit-mode{
  color: #009688;
}

#cards-container .flash-card.pink .back .edit-mode{
  color: #f50158;
}

#cards-container .flash-card.yellow .back .edit-mode{
  color: #f4b901;
}

#cards-container .flash-card.blue .back .edit-mode{
  color: #03a9f4; 
}

#cards-container .flash-card.purple .back .edit-mode{
  color: #6039ae;
}

#cards-container .flash-card.light-pink .back .edit-mode{
  color: #f50158;
}



.flash-card .back{
  overflow: hidden
}

.flash-card .back > p::after{
  border-top: none;
  border-bottom: 3px solid;
  top: 20px
}

.flash-card .back > p.study-deck-card{
  zoom: 0.8;
}


back-card .icon, .flash-card .front .icon.audio-card{
  position: relative;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 38px;
  border: 1px solid;
  margin: 20px;
  font-size: 1.2em;
  border-radius: 50%;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  z-index: 2
}

.audio-long-text{
  zoom: 0.85;
  padding-right: 60px !important;
  padding-left: 10px !important;
}

.flash-card .back .icon:hover, .flash-card .front .icon.audio-card:hover{
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

.flash-card .back .icon.fa-thumbs-up{
  color: #4ac380
}

.flash-card .back .icon.fa-thumbs-up.active{
  background: #4ac380;
  color: white
}

.flash-card .back .icon.fa-thumbs-down{
  color: tomato
}

.flash-card .back .icon.fa-thumbs-down.active{
  background: tomato;
  color: white
}

.flash-card .back .icon.fa-question{
    border-color: #ff9800;
    color: #ff9800;
}

.flash-card .back .icon.fa-question.active{
  background: #ff9800;
  color: #fff;
}

.flash-card .back > p{
  width: 80%;
  font-size: 2.8em;
}

.flash-card .back .context-container, .flash-card .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 0px;
  -webkit-transition: max-height 0.3s;
  -o-transition: max-height 0.3s;
  transition: max-height 0.3s;
  background: white;
  z-index: 4;
  overflow: auto;
  text-align: center
}

.flash-card .back .context-container *{
  visibility: hidden
}

.flash-card .back .context-container.show, .flash-card .video-container.show{
  max-height: 500px;
}

.flash-card .back .context-container.show *{
  visibility: visible
}

.flash-card .back .context-container img{
  width: 60%;
  max-width: 60%;
  -o-object-fit: contain;
     object-fit: contain; 
  margin: 0 auto;
}


.flash-card .back .fa-times, .flash-card .video-container .fa-times{
  position: fixed;
  top: 15px;
  right: 20px;
  color: #444;
  font-size: 16px;
  cursor: pointer;
  border: none;
  z-index: 5;
}

 .flash-card .video-container .embed-responsive .fa-times{
  color: white;
 }


.flash-card .video-container{
  background: #f5f6fb;
}

.flash-card .video-container .media{
  display: block;
  /* height: 150px; */
  /* width: 80%; */
  color: white;
  position: relative;
  margin: 15px 30px 15px 15px;
  vertical-align: top;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  background: #fdfdfd;
  -webkit-transition:  all 0.3s;
  -o-transition:  all 0.3s;
  transition:  all 0.3s;
  -webkit-box-shadow: 2px 2px 2px rgb(0 0 0 / 15%);
          box-shadow: 2px 2px 2px rgb(0 0 0 / 15%)
}

.flash-card .video-container .media:last-child{
  margin-bottom: 30px !important
}

.flash-card .video-container .media:hover{
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}


.flash-card .video-container .media .media-body{
  display: inline-block;
  width: calc(100% - 90px);
  vertical-align: middle;
  text-align: left;
}

.flash-card .video-container .media .media-body h5{
  color: #222;
  font-size: 15px;
  text-align: left;
  display: inline-block;
  max-width: 100%;
  margin: 0 !important;
  padding-bottom: 5px;
  line-height: 1.5;
  width: 90%;
}

.flash-card .video-container .media .media-body .fa-youtube{
  float: right;
  margin: 0 10px;
  font-size: 30px;
  position: absolute;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  right: 20px;
}

.flash-card .video-container .media .media-body p{
  margin: 0;
  font-size: 12px;
  color: #aaa;
  width: 70%;
  display: inline-block;
}

.flash-card .video-container .media img{
  objecft-fit: cover;
  width: 60px;
  height: 35px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 5px;
}


.flash-card .video-container iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.flash-card .back .fa-info{
  position: absolute;
  top: 30px;
  right: 20px;
  background: #03a9f4;
  color: white;
  margin: 0;
}

span.pronunciation-word{
  position: relative;
  display: inline-block;
  white-space: break-spaces;
  margin-top: 20px;
}

span.pronunciation-word::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 95%;
  font-size: 10px;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
  line-height: 1;
  height: 7px;
}

span.pronunciation-word::before {
  content: attr(data-score);
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 95%;
  text-align: center;
  font-size: 10px;
  line-height: 1;
}

.score-box{
  background: #f6f9fd;
  width: 100px;
}

.flash-card .back .show-videos, .flash-card .front .audio-card{
  position: absolute !important;
  bottom: 46px;
  right: 20px;
  margin: 0;
}

.flash-card .front .audio-card{
  bottom: 0px;
}

.flash-card .back .back-image, .flash-card .front .front-image{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  position: absolute;
  top: 30px;
  left: 20px;
  background: #03a9f4;
  color: white;
  margin: 0;
  z-index: 2;
  text-align: center;
  margin: 10px 0;
}

.flash-card .back .back-image i, .flash-card .front .front-image i{
  line-height: 50px;
  text-align: center;
  font-size: 1.5em;
  color: #444;
}

.flash-card .back .back-image.full-size, .flash-card .front .front-image.full-size{
  background: transparent;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  margin: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 10px;
  -webkit-box-shadow: none;
          box-shadow: none
}


.flash-card .back .back-image.full-size img, .flash-card .front .front-image.full-size img{
  max-height: -webkit-fit-content !important;
  max-height: -moz-fit-content !important;
  max-height: fit-content !important;
  -o-object-fit: cover;
     object-fit: cover;
}



.flash-card .edit-mode{
  width: 200px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: absolute;
  top: 11px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 2px 10px;
  color: white;
  margin: 0;
  font-weight: normal;
  z-index: 2;
  text-align: center;
  border: 1px solid;
  border-top: 0px;
}


.flash-card .edit-mode{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  cursor: pointer;
  position: absolute;
  top: auto;
  bottom: 30px;
  left: 30px;
  color: white;
  margin: 0;
  font-weight: normal;
  z-index: 2;
  text-align: center;
  border: 1px solid;
  font-size: 0px;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}

.flash-card .edit-mode i{
  font-size: 15px;
  font-size: 20px;
  line-height: 43px; 
}


.flash-card .back .back-image img, .flash-card .front .front-image img{
  width: 100%;
  height: 100%;
} 

.flash-card section.disabled-buttons{
  opacity: 0.6;
  pointer-events: none
}



.study_notes li{
  margin: 0
}

.study_notes li input{
  width: 90% !important;
  display: inline-block;
  min-width: 200px
}

.study_notes li > span{
  display: inline-block;
  padding: 0px 5px 12px 5px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid white;
  border-radius: 4px;
  vertical-align: text-top;
  width: 100%;
}

.study_notes li:hover > span, .study_notes li.edit > span{
  background: #eff8ff;
  border: 1px solid #9bd7ff;  
}

.study_notes li .fas{
  opacity: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
}

.study_notes li .fas:hover{
  color: #007bff
}

.study_notes li:hover .fas, .study_notes li.edit .fas, .study_notes li:nth-child(1) .fas{
  opacity: 1
}

.study_notes li:hover .fas.remove-note, .study_notes li.edit .fas.remove-note, .study_notes li:nth-child(1) .fas.remove-note{
  opacity: 0.2;
}

.study_notes li:hover .fas.remove-note:hover{
  opacity: 1; 
  color: tomato
}

.add-revision{
  position: absolute;
  top: 150px;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
   -webkit-box-shadow: 1px 1px 7px rgb(0 0 0 / 40%);
          box-shadow: 1px 1px 7px rgb(0 0 0 / 40%);
  width: 580px;
  background: white;
}

/* WELCOME MESSAGE */

.welcome-overlay{
  position: fixed;
  background: rgba(0,0,0,0.8);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 19;
}

.welcome-message{
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  -webkit-box-shadow: 1px 2px 5px rgb(0 0 0 / 10%);
          box-shadow: 1px 2px 5px rgb(0 0 0 / 10%);
  width: 700px;
  background: white;
  z-index: 20;
}

.welcome-message .btn{
  background: #6ed8a5 
}

.welcome-message .btn:hover{
  background: #4eb885 
}

.welcome-message .fa-times{
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 15px; 
}

.welcome-message .logo{
  background-color: #fff;
  background-image: url('https://www.transparenttextures.com/patterns/inspiration-geometry.png');
  background-size: 120%;
}

.quiz h2 span{
  font-family: 'brotherton';
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #6666e2;
  font-size: 1.7em !important;
}

/* Question-Answer layout */
.question-block .question-num {
  display: inline-block;
  vertical-align: top;
  width: 50px;
  font-weight: bold;
  font-size: 8em !important;
  position: absolute;
  /* left: auto; */
  top: 10px;
  opacity: 0.04;
  right: 15%;
  line-height: 0.9;
  font-family: 'brotherton';
  text-transform: uppercase;
  font-weight: 100;
}

.pattern{
  position: fixed;
  right: 0;
  height: 100vh;
  bottom: 0;
  width: 23%;  
}

.pattern.pattern1{
  background: url("/assets/images/patterns/1.svg");
  background-size: 600px;
}

.pattern.pattern2{
  background: url("/assets/images/patterns/2.svg");
  background-size: 600px;
}


.pattern.pattern3{
  background: url("/assets/images/patterns/3.svg");
  background-size: 800px;
}


.pattern.pattern4{
  background: url("/assets/images/patterns/4.svg");
  background-size: 800px;
}


.pattern.pattern5{
  background: url("/assets/images/patterns/5.svg");
  background-size: 1000px;
}


.pattern.pattern6{
  background: url("/assets/images/patterns/6.svg");
  background-size: 1300px;
}

.pattern.pattern7{
  background: url("/assets/images/patterns/7.svg");
  background-size: 1000px;
}





.question-block .question-content {
  display: inline;
  vertical-align: top;
  width: calc(100% - 70px);
}
.question-block .question-content .question-text {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 1.5em;
  color: #222;
}


.question-block input{
  background: #fbfbfb;
  border: 1px solid #624de2a8 !important;
}

.question-block .question-content .froala-editor {
  display: inline-block;
  width: calc(100% - 200px);
}

.question-block .question-content .froala-editor .fr-wrapper {
  border: 1px solid #f5f5f5;
  border-top: 0;
  min-height: auto;
}

.answers-block{
  font-size: 1.5em;
}

.answers-block .answer-side {
  display: inline-block;
  vertical-align: top;
  width: 50px;
  font-weight: bold;
}
.answers-block .answer-content {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 50px);
}

.answers-block .show-empty-error.ng-empty{
  border-color:  tomato !important;
}

/* Library Browse */
.browse-tree .node-name {
  color: #333;
  cursor: pointer;
}

.browse-tree ul{
  list-style: none;
  padding-left: 20px;
}

.browse-tree ul li{
  margin: 3px 0;
}

.browse-tree ul li .results:hover{
  border-color: #037bfe !important;
  color: #037bfe !important;
}

.browse-tree ul li.active > .results{
  color: #28a744 !important;
  border-color: #28a744 !important;
}

.browse-tree ul li .node-name:hover{
  color: #037bfe !important;
}


.browse-tree ul li.expanded{
  position: relative
}

.browse-tree ul li.expanded::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 4px;
  /* width: 10px; */
  height: calc(100% - 18px);
  /* background: red; */
  border-right: 1px dashed #ddd;
}

.browse-tree .no-matches {
  display: none;
}
.browse-tree .no-matches .node-name {
  color: #999;
}

.category .option:hover{
  color: #222;
  cursor: pointer
}

.filter-sidebar{
  position: fixed;
  top: 60px;
  left: 70px;
  height: calc(100% - 60px);
  -webkit-box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
          box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
  overflow: auto;
  z-index: 2
}

.filter-sidebar.mobile{
  top: 110px;
  position: absolute;
  width: 100%;
  left: 0;
  height: calc(100% - 110px);
  -webkit-box-shadow: none;
          box-shadow: none;
  z-index: 1;
}

.upload-modal{
  z-index: 9999999 !important;
}

.upload-btn{
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.upload-btn:hover{
  cursor: pointer;
  color: #007bff!important
}

.demo-popup{
  border: 1px solid #5e53e1 !important;
}

.demo-popup h3{
  color: #6646e2 !important;
}

#info-popup button{
  background-color: #6646e2 !important;
  border: solid 1px #6646e2 !important;
}

#info-popup button.cancel{
  background-color: #fff !important;
  border: solid 1px #999 !important;
  color: #222
}

#info-popup button.option{
  background-color: #007bff !important;
  border: solid 1px #007bff !important;
}

#info-popup.welcome-popup{
  right: 1000px !important;
  bottom: 1000px !important;
  display: none
}

#info-popup.welcome-popup.visible{
  right: 50px !important;
  left: auto !important;
  top:  auto !important;
  bottom: 5vh !important;
  width: 40vw;
  height: 80vh;
  display: inherit;
}

#info-popup.welcome-popup .content{
  height: calc(100% - 70px);
  overflow: auto;
}

.no-data img{
  max-height: 300px;
  display: inherit;
  margin: 0 auto;
}

.no-data .timeline{
  pointer-events: none; 
  opacity:0.6;
}

.literatu-dialog-window .modal-dialog{
  -webkit-box-shadow: 1px 1px 7px rgb(0 0 0 / 20%);
  box-shadow: 1px 1px 7px rgb(0 0 0 / 20%);
}

.literatu-dialog-window .clouds{
  top: calc(100% - 30px);
  width: calc(100% + 30px);
  left: 0;
  height: 50px;
  background-image: url(/assets/images/icons/clouds.svg);
  background-size: cover;
  background-position: center top;
  height: 40px !important;
  z-index: 0;
  color: white;
  z-index: 9999;
  position: relative;
  opacity: 1;
  margin-bottom: -20px;
  margin-top: 40px;
  -webkit-filter: drop-shadow(0px -2px 1px rgba(0,0,0,0.2));
          filter: drop-shadow(0px -2px 1px rgba(0,0,0,0.2));
  margin-left: -15px;
}

.literatu-dialog-window .fa-exclamation-triangle{
  color: tomato;
  position: fixed;
  top: 25px;
  right: 25px;
  font-size: 20px;
}

.literatu-dialog-window.purple-dialog, .literatu-dialog-window.purple-dialog div, .literatu-dialog-window.purple-dialog p {
  font-size: 16px;
}
.literatu-dialog-window.purple-dialog .modal-footer .btn {
  font-size: 16px;
}

.literatu-dialog-window.purple-dialog .modal-body{
  background: #f3f4ff;
}

.literatu-dialog-window.thank-you .modal-dialog{
  width: 750px;
}

.literatu-dialog-window.thank-you .btn.cancel{
  display: none
}

.literatu-dialog-window.thank-you .pic{
  width: 250px;
  display: inline-block;
  float: left;
  margin-right: 30px;
}

.literatu-dialog-window.thank-you .arrow{
  width: 300px;
  /* position: absolute; */
  /* transform: skew(180deg, 180deg); */
  -webkit-transform: scaleX(-1) rotate(-20deg);
  -ms-transform: scaleX(-1) rotate(-20deg);
      transform: scaleX(-1) rotate(-20deg);
  -ms-filter: fliph;
  -webkit-filter: fliph;
          filter: fliph;
  /* float: left; */
  position: absolute;
  top: 80px;
  left: 250px;
}

.literatu-dialog-window.thank-you .text{
  padding-bottom: 60px;
}

.literatu-dialog-window .modal-dialog{
  -webkit-box-shadow: 1px 1px 7px rgb(0 0 0 / 20%);
  box-shadow: 1px 1px 7px rgb(0 0 0 / 20%);
}

.literatu-dialog-window .modal-footer {
    padding: 5px;
    background: #fafafa;
}

.literatu-dialog-window .modal-footer .btn.cancel{
  border:  1px solid #ccc;
}

.literatu-dialog-window {
  padding-left: 10px;
}

.literatu-dialog-window .lit-options{
  border-left: 3px solid;
  padding-left: 10px;
}

.literatu-dialog-window.confirm .lit-options{
  border-color: #037bfe;
}

.literatu-dialog-window.confirm h5{
  color: #037bfe !important;
}

.literatu-dialog-window.remove .lit-options{
  border-color: #f44336;
}

.literatu-dialog-window.remove h5{
  color: #f44336 !important;
}

.literatu-dialog-window.remove .btn-primary{
  background-color: #dc3545;
  border-color: #dc3545;
}

.literatu-dialog-window.remove .btn-primary:hover{
  background-color: #c82333;
  border-color: #bd2130;
}

.literatu-dialog-window.add .lit-options{
  border-color: #28a745;
}

.literatu-dialog-window.add h5{
  color: #28a745 !important;
}

.literatu-dialog-window.add .btn-primary{
  background-color: #28a745;
  border-color: #28a745;
}

.literatu-dialog-window.add .btn-primary:hover{
  background-color: #218838;
  border-color: #1e7e34;
}


mark {
  padding: 0;
}
mark.summary-highlight {
  background: yellow;
  color: black;
  display: inline;
  padding: 0 2px;
}
mark.profanity {
  background: #ffafa9;
  color: black;
  display: inline-block;
  padding: 0 2px;
}
mark.keyword-highlight {
  background: yellow;
  color: black;
}

/* videos */
img.launch-video {
  cursor: pointer;
}

/* LTI Assign Start */
body.lti-assign .assignments-list .action {
  min-width: 100px;
  width: 100px;
  max-width: 100px;
}
/* LTI Assign End */

.fixed-button{
  bottom: 0;
  left: 0;
  outline: none;
  width: 100%;
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none
}

.fixed-button.disabled{
  pointer-events: none;
  background: #d5d8db;
  border: 1px solid #d5d8db;
}

.fixed-button.disabled span{
  color: #999;
}

.fixed-button span{
  font-size: 25px;
  position: absolute;
  right: 0;
  background: white;
  height: 100%;
  top: 0;
  color: #28a744;
  text-align: center;
  line-height: 1.4;
  padding: 0 10px;
}

.fixed-button span small{
  display: block;
  font-size: 10px;
  margin-top: -5px;
}

.timeline {
  min-width: 900px;
  position: relative;
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.timeline::after {
  content: "";
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  height: calc(100% + 50px);
  width: 1px;
  background: #ccc;
  top: -50px;
}

.timeline section {
  position:relative;
  border: none;
  margin: 30px 10px;
}

.timeline section .week-container{
  width: calc(50% - 10px);
  /* background: red; */
  border-radius: 10px;
  background: white;
  -webkit-box-shadow: 3px 3px 8px rgb(0 0 0 / 10%);
          box-shadow: 3px 3px 8px rgb(0 0 0 / 10%);
}

.timeline section .week-container.overdue {
  float: none !important;
  width: 100%;
  z-index: 3;
  border-color: #ef9a9a !important;
}

.timeline section .week-container.overdue .grouping{
  -webkit-box-flex: 0 !important;
      -ms-flex: 0 0 50% !important;
          flex: 0 0 50% !important;
  max-width: 50% !important;
}


.timeline section::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid white;
  background: tomato;
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  -webkit-box-shadow: -1px 5px 5px rgb(0 0 0 / 10%);
          box-shadow: -1px 5px 5px rgb(0 0 0 / 10%);
  z-index: 2;
  top: 20px;
}


.timeline section .week-container .big-play{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #037bfe;
  line-height: 37px;
  color: #037bfe;
  text-align: center;
  padding-left: 3px;
  margin-top: 10px;
  cursor: pointer
}

.timeline section .week-container .big-play:hover, .timeline section .week-container .big-play.active{
  background: #037bfe;
  color: white;
}

.timeline section:nth-child(4n + 1)::after{
  background: #54c8eb;
}
.timeline section:nth-child(4n + 2)::after{
  background: #fdb300;
}
.timeline section:nth-child(4n + 3)::after{
  background: #98698c;
}
.timeline section:nth-child(4n + 4)::after{
  background: #869a91;
}


.timeline section .week-container .date {
  display: inline-block;
  width: 80px;
  float: left;
}

.timeline section .week-container .desc {
  display: inline-block;
  width: calc(100% - 101px);
}

.timeline section .week-container ul li:hover{
  background: #f9f9f9
}

.timeline section .week-container ul li ul li button{
  opacity:  0;
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

.timeline section .week-container ul li:hover ul li:hover button{
  opacity: 1;
}

.timeline section .week-container ul li{
  border-right: none ;
  border-left: 2px solid ;
}

.timeline section:nth-child(even) .week-container{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.timeline section:nth-child(even) .week-container ul li{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  text-align: right
}

.timeline section:nth-child(even) .week-container ul li button{ 
  margin-right: auto
}

.timeline section:nth-child(even) .week-container ul li{
  border-right: 2px solid ;
  border-left: none
}

.timeline section:nth-child(even) .week-container ul li ul li{
  padding-left: 0px !important
}


.timeline section:nth-child(odd) .week-container{
  float: right;
}

.timeline section:nth-child(odd) .week-container ul li button{
  margin-left: auto
}

.timeline section:nth-child(odd) .week-container ul li{
  border-left: 2px solid;
}

.timeline section:nth-child(odd) .week-container ul li ul li{
  padding-right: 0px
}

.timeline .tooltip {
  pointer-events: none;
}


.timeline.mobile{
  min-width: 80%;
  width: 80%;
  margin: 0 auto;
}

.timeline.mobile::after {
  left: 0%;
}

.timeline.mobile section{
  margin: 40px 0px
}

.timeline.mobile section::after {
  left: 0%;
}

.timeline.mobile section .week-container{
  width: calc(100% - 50px);
  float: left;
  margin-left: 50px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.timeline.mobile section .week-container ul li{
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
  text-align: left !important;
}

.timeline.mobile section .week-container ul li button{
  margin-left: auto !important;
  margin-right:  initial;
}

.timeline.mobile section .week-container{
  border-right: 1px solid #ccc !important;
  border-left:  none;
}


#zoom-pic{
  position: fixed; 
  background: white; 
  width: auto !important;
  height: 50vh !important; 
  top: 10px;
  padding: 20px;
  left: 70px; 
  z-index: 99999999; 
  -webkit-box-shadow: 0px 1px 11px rgba(0,0,0,0.5); 
          box-shadow: 0px 1px 11px rgba(0,0,0,0.5); 
  overflow: auto; 
  z-index:999999999;
  padding-top: 40px;
}

#zoom-pic.expand{
  width: calc(100vw - 100px) !important;
  height: auto !important;;
  max-width: 100%;
  max-height: 100%
}

#zoom-pic .fa{
  position: absolute;
  right: 43px;
  font-size: 16px;
  top: 10px;
  cursor: pointer;
  color: #444;
}

#zoom-pic .fa-times{
  right: 23px;
  color: tomato;
}

#zoom-pic img{
  max-height: 100%;
} 

#zoom-pic.expand img{
  max-width: 100%;
  max-height: 100%
} 

.form-validation-colors .ng-touched.ng-valid {
  border-color: green !important;
}

.form-validation-colors .ng-touched.ng-invalid {
  border-color: red !important;
}

.report-button {
  border-color: transparent;
  font-size: 12px !important;
  color: #607d8a;
}

.ratings-tally {
  font-size: 12px;
  display: inline-block;
  position: absolute;
  left: 12px;
  top: 12px;
}
.ratings-tally .count {
  display: block !important;
}
.ratings-tally .rate-icon {
  display: block !important;
  color: #fbc02d !important;
}
.rating-container {
  display: inline-block;
  width: 24px;
  text-align: center;
  margin-left: -4px;
}
.rating-container .rate-icon {
  color: #ccc;
}
.rating-container:hover .rate-icon,
.rating-container .rate-icon.rated {
  color: #fbc02d;
}

.public-profile-popover {
  width: 250px;
  text-align: center;
}
.public-profile-popover .public-name {
  font-size: 30px;
  margin:  5px;
}
.public-profile-popover .logo img {
  max-width: 60px;
  max-height: 60px;
  border-radius: 30px;
  -o-object-fit: contain;
     object-fit: contain;
  border: 1px solid #eee;
}
.public-profile-popover .company {
  color:  #666;
  margin:  5px;
}
.public-profile-popover .website {
  margin:  5px;
}
.public-profile-popover .bio {
  margin:  5px;
}

.country-select .dropdown-menu li:hover {
  border: 0 !important;
}
.country-select .dropdown-menu li a {
  margin-left: 5px;
}
.country-select .dropdown-menu li a * {
  vertical-align: initial !important;
}

.dropdown-menu.dropdown-menu-right{
  z-index: 9999;
}

/* Public Library Search UI */
.filter-sidebar .fields {
  font-size: 0.9em;
}
.filter-sidebar .fields .field.searchable .options-list {
  max-height: 140px;
  overflow: auto;
}
.filter-sidebar .fields .option-label {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  max-width: 250px;
  vertical-align: text-bottom;
}
.filter-sidebar .fields .option-count {
  vertical-align: text-top;
}
.filters-applied .filter-value {
  display: inline-block;
}
.filters-applied .filter {
  background-color: #e0e0e0;
}
.filters-applied .remove-filter-value {
  float: none;
  display: inline-block;
  font-size: 1em;
  vertical-align: text-bottom;
}


#presto-toolbar {
  position: fixed;
  z-index: 1055;
  top: 60px;
  right: 0;
  padding: 10px;
}

.back-to-activities{
  background: white !important;
}

.back-to-activities:hover{
  background: #dc3545 !important 
}

/* CARD UI */

/* .act-container .study_deck{
  background: #607d8b !important;
  color: white;
}

.act-container .study_deck .fa-trash, .act-container .study_deck .fa-ellipsis-v{
  color: white !important;
} */

.act-container .activity.selectedForPack {
  border-color: blue !important;
}


.act-container:nth-child(8n + 1) button.action{
  background: #58b95d;
}
.act-container:nth-child(8n + 2) button.action{
  background: #fb8355
}
.act-container:nth-child(8n + 3) button.action{
  background: #2fabd3;
}
.act-container:nth-child(8n + 4) button.action{
  background: #e79b00;
}
.act-container:nth-child(8n + 5) button.action{
  background: #828ac9;
}
.act-container:nth-child(8n + 6) button.action{
  background: #e35055;
}
.act-container:nth-child(8n + 7) button.action{
  background: #4ebbb4;
}
.act-container:nth-child(8n + 8) button.action{
  background: #2b79ad;
}




.act-container:nth-child(8n + 1) button.second{
  color: #58b95d;
  border-color:  #58b95d;
}

.act-container:nth-child(8n + 2) button.second{
  color: #fb8355;
  border-color:  #fb8355;
}

.act-container:nth-child(8n + 3) button.second{
  color: #2fabd3;
  border-color:  #2fabd3;
}

.act-container:nth-child(8n + 4) button.second{
  color: #e79b00;
  border-color:  #e79b00;
}

.act-container:nth-child(8n + 5) button.second{
  color: #828ac9;
  border-color:  #828ac9;
}

.act-container:nth-child(8n + 6) button.second{
  color: #e35055;
  border-color:  #e35055;
}

.act-container:nth-child(8n + 7) button.second{
  color: #4ebbb4;
  border-color:  #4ebbb4;
}

.act-container:nth-child(8n + 8) button.second{
  color: #2b79ad;
  border-color:  #2b79ad;
}



.act-container:nth-child(8n + 1) .fa-star{
  color: #58b95d;
}

.act-container:nth-child(8n + 2) .fa-star{
  color: #fb8355
}

.act-container:nth-child(8n + 3) .fa-star{
  color: #2fabd3;
}

.act-container:nth-child(8n + 4) .fa-star{
  color: #e79b00;
}

.act-container:nth-child(8n + 5) .fa-star{
  color: #828ac9;
}

.act-container:nth-child(8n + 6) .fa-star{
  color: #e35055;
}

.act-container:nth-child(8n + 7) .fa-star{
  color: #4ebbb4;
}

.act-container:nth-child(8n + 8) .fa-star{
  color: #2b79ad;
}

.act-container .value-block {
    display: inline-block;
    border-radius: 20px;
    padding: 2px 15px 1px 2px;
    vertical-align: middle;
    text-align: center;
}

.act-container .value-block .fa {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
}

.act-container .value-block .value {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    text-align: left;
    padding: 0 0 0 5px;
    height: 25px;
    vertical-align: top;
    margin-top: 0;
    line-height: 1.8;
    margin-top: 1px;
}

.act-container .value-block.positive {
    background: rgba(25, 217, 180, 0.2);
}

.value-block.positive .fa {
    background: #4ac380;
}

.act-container .value-block.negative {
    background: rgba(244, 67, 54, 0.2)
}

.value-block.negative .fa {
    background: tomato
}

.act-container .value-block.unknown {
    background: rgba(255, 152, 0 , 0.2)
}

.value-block.unknown .fa {
    background: #ff9800
}



.switch-view {
  display: inline-block;
  background: #fff;
  border-top: 0px;
  margin-right: 1px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
  float: right;
  right: 50px;
  position: absolute;
  top: 37px;
  z-index: 1;
  -webkit-box-shadow: 1px 1px 4px rgb(0 0 0 / 30%);
  box-shadow: 1px 1px 4px rgb(0 0 0 / 30%);
}

.switch-view .fa {
    padding: 10px 15px;
    color: #444;
    cursor: pointer;
    float: left;
    border-right: 1px solid #ddd;
}

.switch-view .fa.active {
    background: #716eff;
    color: white;
    border-right-color: #716eff;
}

.act-container button.action{
  color: white;
}

tr.intro_deck td,
.act-container .activity.intro_deck {
  background-color: rgba(131, 0, 233, 0.3) !important;
}

tr.assigned_to_me td,
.act-container .activity.assigned_to_me {
  background-color: rgba(33, 150, 243, 0.3) !important;
}

.reports-container .card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}
@media (min-width: 800px) {
  .reports-container .card-columns {
      -webkit-column-count: 2;
      -moz-column-count: 2;
      column-count: 2;
  }
}
@media (min-width: 1200px) {
  .reports-container .card-columns {
      -webkit-column-count: 3;
      -moz-column-count: 3;
      column-count: 3;
  }
}

.reports-container .card-columns .card {
  border: 1px solid #ccc;
  cursor: default;
}

.reports-container .card-columns .card .col-8 .progress {
  height: 1.5rem;
}
.reports-container .card-columns .card .progress-bar {
  background-color: rgba(0, 123, 255, 0.8) !important;
}
.reports-container .card-columns .card .progress-bar.bg-success {
  background-color: rgba(25, 217, 180, 0.8) !important;
}
.reports-container .card-columns .card .progress-bar.bg-warning {
  background-color: rgba(255, 152, 0 , 0.8) !important;
}
.reports-container .card-columns .card .progress-bar.bg-danger {
  background-color: rgba(244, 67, 54, 0.8) !important;
}


.reports-container .card-columns .card .highcharts-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

.reports-container .card-columns .card .card-body.title-only {
  background: #7e57c2;
  color: #fefefe;
}
.reports-container .card-columns .card .card-title {
  text-transform: capitalize;
}
.reports-container .card-columns .card .card-title:only-child {
  margin-bottom: 0;
}

.reports-container .card-columns .card[ng-click], .reports-container .card-columns .card *[ng-click] {
  cursor: pointer;
}

@media (max-width: 1300px) {

  .flash-card-controls{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
  }

  .public-lib.col-xl-9{
    padding-right: 1.5em !important;
  }

  #zoom-pic{
    width: 90% !important;
    left: 5%;
    height: auto !important;
  }

  #zoom-pic img{
    max-height: -webkit-fit-content;
    max-height: -moz-fit-content;
    max-height: fit-content;
    max-width: 100%;
  }

  #main-content.mobile .flash-card .front > textarea{
    width: 80%;
    margin-top: 35px;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-height: 71%;
    min-height: 70%;
    overflow: hidden;
    vertical-align: top;
    margin: 0 auto;
  }

  .quiz .flash-card.focus-card {
    top: 100px;
  }

  .flash-card .front{
    z-index: 10;
  }

  .flash-card.flip .back{
    z-index: 11;
  }

}

@media (max-width: 991px) {

  #main-content.mobile .quiz{
    overflow-x: hidden;
    z-index: 1047 !important;
    position: relative;
  }

  #main-content.mobile .main.container{
    width: 100% !important;
    max-width: 100% !important;
  }

  .study_notes ul{
    padding: 0;
    list-style: none;
  }


  #main-content.mobile .main{
    max-width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 0  !important;
    padding-right: 0  !important;
  }


  #main-content.mobile form{
    padding-bottom: 0 !important;
    font-size: 0.9em;
    height: 100%;
    margin: 0
  }

  #main-content.mobile form.form-deck{
    height: auto;
  }

  #main-content.mobile .sidebar-button svg{
    width: 85px;
  }

  #main-content.mobile  .sidebar-button .fa, #main-content.mobile  .sidebar-button .fas{
    top: calc(45% + 16px);
  }

  #page-header .navbar-header img {
    height: 25px;
  }


  .title-flash-cards{
    font-size: 1.25em
  }
  
  .title-flash-cards{
    font-size: 1.25em
  }
  
  .quiz fieldset .stimulus-keywords .keyword{
    margin: 4px 1px !important;
  }

  fieldset .study_notes li > span{
    padding: 8px 5px;
  }

  .quiz .q-progress section .question-circle{
    width: 25px;
    height: 25px;
    line-height: 23px;
    font-size: 0.8em;
  }

  .question-block .question-num{
    font-size: 1.2em !important;
    width: 100%;
    vertical-align: top;
    vertical-align: middle;
  }

  .question-block .question-content{
    width: 100%;
    font-size: 0.9em
  }


  #main-content.mobile  .sidebar-button .fa, #main-content.mobile  .sidebar-button .fas{
    font-size: 1.1em
  }

  #main-content.mobile .main h4{
    font-size: 1.5em;
  }

  #main-content.mobile .main input{
    font-size: 14px;
  }

  .input-group-text{
    font-size: 14px
  }

  #main-content.mobile .btn{
    font-size: 0.9em;
  }

  #page-header button span{
    font-size: 1em;
  }

  .quiz fieldset .stimulus-keywords{
    font-size: 0.9em;
  }

  fieldset{
    font-size: 1em
  }

  .quiz h2{
    font-size: 1.8em;
  }

  .quiz h1{
    font-size: 2em;
  }

  .filter-sidebar.mobile{
    font-size: 0.95em;
  }

  .text-info{
    font-size: 0.9em;
  }

  #quiz-iframe{
    padding: 0
  }

  fieldset:not(.demo) .fa:not(.edit-icon){
    margin-right: 0 !important
  }

  .pre-save-modal fieldset{
    width: 95%
  }

  .highlight-modal .modal-dialog{
    width: 95vw;
    max-width: 95vw;
    margin-left: 2.5vw;
  }

  .highlight-modal .modal-content{
    height: 95vh !important;
  }

  .highlight-modal .modal-content .modal-body{
    padding: 25px;
  }

  .qr-code{
    width: 200px !important;
    height: 200px !important
  }


  .flash-card section span{
    font-size: 0.9em;
    zoom:1 !important;
  }

  .flash-card section span.result{
    font-size: 1.1em
  }

  fieldset li.wrong{
    margin-left: 0px
  }

  fieldset li.correct{
    margin-left: 0px
  }

  .welcome-message .logo{
    background-image: none;
  }

  .welcome-message{
    width: 80%;
    font-size: 0.9em
  }

  .navbar-user-menu{
    padding-left: 3em !important;
    width: 100%;
    margin-top: 10px;
  }

  .navbar-nav li{
    margin-top: 6px !important;
  }

  .navbar-user-menu, .social-links{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .navbar-user-menu #social{
     margin-right: 0px;
  }

  .navbar-user-menu .dropdown{
    display: none;
  }

  #logout-link{
    display: inline-block !important;
  }

  .pagination{
    zoom: 0.8;
  }

/*   #pf1, #pf2, #pf3,#pf4, #pf5, #pf6,#pf7, #pf8, #pf9,#pf10, #pf11, #pf12, #pf13,#pf14, #pf15, #pf16,#pf17, #pf18, #pf19,#pf20{
    0.7;
  } */


  .no-data h2{
    font-size: 1.3em
  }

  .no-data p{
    font-size: 1em
  }

  .add-revision{
    width: 90%;
    top: 200px;
    font-size: 0.9em
  }

  .add-revision button{
    font-size: 0.9em;
  }

  .flash-card .back .fa-info, .flash-card .back .show-videos{
    right: 1em
  }

  .q-progress .prog-bar div{
    height: 40px;
    line-height: 40px
  }

  fieldset.add-new-question:not(.demo) .fa-plus{
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2em;
  }

  fieldset.add-new-question{

  }

  .flash-card .back .back-image, .flash-card .front .front-image{
    width: 40px;
    height: 40px;
  }

  .flash-card .back .back-image i, .flash-card .front .front-image i{
    line-height: 40px;
  }


  #zoom-pic{
    width: 100vw !important;
    left: 0%;
    top: 0;
    height: 100vh !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #zoom-pic img{
    max-width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }

  #zoom-pic .fa-expand{
    display: none
  }

  .timeline-controls{
    max-width: 80%;
    border-radius: 0px !important;
    left: -1px;  
  }

  .timeline section .week-container.overdue .grouping{
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 100% !important;
            flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .study-deck .sticky-top{
    margin: 0 auto !important;
    padding: 0 0vw !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    /* display: flex; */
    /* width: 100%; */
    padding-top: 30vh !important;
    background: rgba(0,0,0,0.5) !important;
  }

  .study-deck .sticky-top .close-preview{
    border:  none;
    position: absolute;
    font-size: 2em;
    color: white;
    top: 10px;
    right: 10px;
  }

  .study-deck .sticky-top #cards-container:not(.revision){
    padding: 0px !important;
  }

  .flash-card.active:hover .card{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  } 

  .flash-card.active.flip .card{
    -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  }

  #pdf-frame{
    width: 97%;
  }

  .imp-btn{
    font-size: 1.2em !important;
    min-width: 100px
  }

  fieldset.demo .nav-tabs li a, .revisions-container .nav-tabs li a, .library-tabs.nav-tabs li a{
    padding: 8px 10px;
  }

  fieldset.demo .nav-tabs li a.active, .revisions-container .nav-tabs li a.active, .library-tabs.nav-tabs li a.active{
    padding: 8px;
  }

  #immersive-reader{
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    top: 0 !important;
    -webkit-transform: none !important;
        -ms-transform: none !important;
            transform: none !important;
    left: 0 !important;
  }

  .rating-container{
    display: none !important;
  }

  .pl-dropdown, .pl-dropdown *{
    font-size: 16px;
  }

  .pl-dropdown *{
    text-align: right
  }

  .pretty.p-icon.p-jelly{
    height: 14px;
  }

  .expand-title.text-truncate{
    max-width: 85%;
    white-space: pre-line;
    padding: 0;
    margin-top: -20px;
    margin-bottom: -20px;
  }

}

@media (max-width: 768px) {

  #cards-container .flash-card.active{
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    margin-left: 5.5vw;
  }

  #cards-container .flash-card.prev, #cards-container .flash-card.next{
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
  }



  .highlight-modal .modal-content .modal-body{
    padding: 20px;
  }

  .quiz h2 {
    font-size: 1.3em;
  }

  .question-block .question-content .question-text{
    font-size: 1.3em
  }

  .answers-block {
    font-size: 1em;
}

}


@media (max-width: 600px) {

  .quiz h2 {
    font-size: 0.9em !important;
  }


  .fact-card-q{
    font-size: max(2.3vw, 25px) !important
  }


  .flash-card .back .icon,  .flash-card .back .icon{
    height: 30px;
    line-height: 28px;
    width: 30px;
    margin: 10px;
  }

  .flash-card .back .back-image, .flash-card .front .front-image{
    width: 30px;
    height: 30px;
  }

  .flash-card .back .back-image i, .flash-card .front .front-image i{
    line-height: 30px;
  }

  .flash-card .back .show-videos{
    bottom: 23px
  }

  .flash-card .video-container .media .media-body .fa-youtube{
    font-size: 20px;
    right: 10px;
  }

  .literatu-dialog-window {
    zoom: 0.9;
  }


  .logo img{
    width: 35px;
    height: 35px;
  }

  .logo h4{
    font-size: 1.1em;
  }

  .q-progress.mm section .question-circle{
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 0.6em
  }

  .q-progress.mm{
    padding: 10px 4px 15px !important;
  }

  .q-progress.mm .q{
    display: none
  }

  .guest-login .presto-code input{
    border-radius: 0;
    font-size: 2em;
    padding: 0
  }

  .guest-login h1{
    font-size: 1.8em
  }

  .nav-tabs li a{
    height: 100%
  }

  .nav-tabs:not(.yotito-tabs) li a:not(.active) span{
    visibility: hidden;
    font-size: 0
  }

  fieldset.question-area p{
    font-size: 0.85em
  }

  table.assignments-list, .nav-item.dropdown .dropdown-menu-right{
    zoom: 0.8 !important; 
  }


  #page-header .navbar-header img {
    height: 20px;
  }

  #page-header button span{
    font-size: 0.8em;
    margin-right: 10px
  }

  #main-content.mobile .sidebar-button svg{
    width: 70px;
  }

  #main-content.mobile  .sidebar-button .fa, #main-content.mobile  .sidebar-button .fas{
    top: calc(45% + 16px);
    font-size: 0.9em
  }


   #main-content.mobile  .sidebar-button .fa, #main-content.mobile  .sidebar-button .fas{
    font-size: 0.9em
  }

  #main-content.mobile .main h4{
    font-size: 1.3em;
  }

  #main-content.mobile .main input{
    font-size: 13px;
  }

  .input-group-text{
    font-size: 14px
  }

  #page-header button span{
    font-size: 0.9em;
  }

  .quiz fieldset .stimulus-keywords{
    font-size: 0.85em;
  }

  fieldset{
    font-size: 0.9em
  }

  .library-tabs{
    font-size: 0.9em
  }

  .quiz h2{
    font-size: 1.6em;
  }

  .quiz h1{
    font-size: 1.6em;
  }

  .filter-sidebar.mobile{
    font-size: 0.85em;
  }

  .text-info{
    font-size: 0.85em;
  }

  #message, .busy-message{
    font-size: 1.2em !important
  }

  #cards-container .flash-card{
    height: 350px
  }

  .welcome-message{
    background-color: #fff;
    background-image: url('https://www.transparenttextures.com/patterns/inspiration-geometry.png');
    background-size: 50%;
    width: 95%
  }

  .welcome-message a{
    font-size: 15px
  }

  .highlight-modal .modal-content .modal-body{
    font-size: 0.9em
  }

  .timeline.mobile{
    min-width: 100%;
    width: 100%;
    zoom: 0.9;
    padding-bottom: 200px
  }

  .timeline.mobile section .week-container ul li button{
    zoom: 1.1;
    -webkit-transform:  scale(0.9);
        -ms-transform:  scale(0.9);
            transform:  scale(0.9);
  }

  .timeline.mobile section .week-container{
    width: calc(100% - 30px);
    margin-left: 30px;
  }

  .timeline.mobile section{
    margin: 20px 0;
  }

  .flash-card-controls{
    position: fixed;
    top: inherit !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: -65px;
    -webkit-transform: none !important;
        -ms-transform: none !important;
            transform: none !important;
    left: 0;
    margin-top: 0 !important;
    font-size: 1em;
    padding: ;
  }

  .flash-card-controls .fas, .flash-card-controls .fa{
    margin: 0 5px;
  }

  .flash-card .back section .card-desc{
    font-size: 0.65em
  }

  .flash-card .back section label{
    margin: 0 10px;
  }

  .no-data h2{
    font-size: 1.3em
  }

  .no-data p{
    font-size: 0.8em
  }

  .no-data img{
    height: 200px
  }

  .add-revision {
    font-size: 0.8em;
  }

  .add-revision button{
    font-size: 0.8em;
  }

  #cards-container .flash-card textarea::-webkit-input-placeholder{
    font-size: 18px;
  }

  #cards-container .flash-card textarea::-moz-placeholder{
    font-size: 18px;
  }

  #cards-container .flash-card textarea:-ms-input-placeholder{
    font-size: 18px;
  }

  #cards-container .flash-card textarea::-ms-input-placeholder{
    font-size: 18px;
  }

  #cards-container .flash-card textarea::placeholder{
    font-size: 18px;
  }

  .timeline-controls{
    max-width: 100%
  }

  .study-deck .excel-lines-container {
    width: calc(100% + 70px) !important;
    margin-left: -35px !important;
  }


  .flash-card .flash-content{
    width: 80%
  }

}


@media (max-width: 500px) {

  #main-content.mobile .quiz-area .btn{
    font-size: 0px !important
  }

  .quiz button.modern-btn{
    border: none !important;
  }

  .quiz button.modern-btn span{
    display: none
  }

  .mobile-persist{
    font-size: 12px !important;
    margin-left: 5px;
    visibility: visible !important
  }

  .mobile-remove{
    font-size: 0px;
  }

  #main-content.mobile .quiz-area .btn i{
    font-size: 12px
  }


  #cards-container .flash-card{
    height: 330px
  }

  .timeline.mobile section .week-container{
    width: calc(100% - 15px);
    float: left;
    margin-left: 15px;
  }


}





/* PRINT */

@media print {

  body {
    -webkit-print-color-adjust: exact !important;
  }

  .sidebar-button, .busy-message, .q-progress, .fa-pencil, button, .logo h4, a, .print-btn, h2 small, h2 span:not(.title), .settings-btn, .print-blank fieldset .short-answer .fa, .print-blank fieldset .long-answer .fa, .print-blank fieldset .short-answer p, .print-blank fieldset .long-answer p, small.text-danger{
    display: none !important;
  }

  .print-blank fieldset .short-answer input, .print-blank fieldset .long-answer input, .print-blank fieldset .long-answer textarea{
    font-size: 0;
    min-height: 42px;
  }

  .pagebreak { 
    page-break-before: always !important; 
    height: 0 !important;
      display: block !important;  
      clear: both !important;  
  } 

  .print-blank fieldset li.correct, .print-blank fieldset li.wrong, .print-blank fieldset li.selected{
    background: transparent !important;
    margin: 0 !important;
    border:  1px solid #ddd !important ;
    color: black !important;
  }

  .print-blank fieldset li.selected::before{
    background: white !important
  }

  .print-blank fieldset li.correct .fa-check, .print-blank fieldset li.wrong .fa-times, .print-blank fieldset li.selected .fa-check{
    font-size: 0px !important;
    border:  1px solid #ddd !important ;
  }

  canvas{
    display: none !important
  }

  .stimulus-print{
    display: block !important;
  }

  .stimulus-print img{
    max-width: 100%
  }


  .form-check{
    display: none !important
  }

  form{
    display: none !important
  }

  .print-blank .context{
    display: none !important
  }

  .print-blank p.instructions,  p.instructions{
    display: none !important
  }

}
/* END PRINT */