body {background-color: #f6f6f6;}


/* ######### Added by M child revamp 2022 ######### */
.ctopic{background: linear-gradient(to bottom, #E3E3E3 100px, #f6f6f6 100px, #f6f6f6);}
.ctopic .wrapleftright{
  margin: 70px 0 20px 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.ctopic .sidefilter{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0px;
  background: #038CD1;
  color: #fff;
  margin-right: -8px;
  min-height: 750px;
}
.ctopic.math .sidefilter{background: #038CD1;}
.ctopic.eng .sidefilter{background: #ce1f49;}
.ctopic.sci .sidefilter{background: #4b9242;}
.ctopic.chi .sidefilter{background: #be8e2d;}

.ctopic .sidefilter a{color: #fff;}
.ctopic .sidefilter .wraptopics{
  /*border: 1px solid yellow;*/
  position: fixed;
  width: inherit;
  max-width: 292px;
  z-index: 1;
  margin: 0 0 0 8px;

}
.ctopic .sidefilter .wraptopics .topinfo{
  margin: -30px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 5px;
  text-align: center;
}
.ctopic .sidefilter .wraptopics .topinfo h3{color: #fff;margin: 10px 0 3px 0;font-size: 18px;padding: 0 8px;} /* Edited by M 22072022 */
.ctopic .sidefilter .wraptopics .topinfo p{font-size: 12px;}
.ctopic .sidefilter .wraptopics .topinfo img{width: 80px;}
.ctopic .sidefilter .wraptopics .topics{margin: 30px 0 0 0;}
.ctopic .sidefilter .wraptopics .topics ul{list-style: none;padding-inline-start: 20px;}
.ctopic .sidefilter .wraptopics .topics li{margin: 0;}
.ctopic .sidefilter .wraptopics .topics li.active{position: relative;padding: 0px 0px 4px 0px;}
.ctopic .sidefilter .wraptopics .topics li.active div{
  display: block;
  width: 8px;
  height:4px;
  position: absolute;
  bottom: 0;
  right:0;
  background: url(../images/child-lesson-active-back.png) #056494;
}
.ctopic .sidefilter .wraptopics .topics li a{
  padding: 8px 30px 8px 12px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  text-decoration: none;
}
.ctopic .sidefilter .wraptopics .topics li.active a{
  padding: 10px 20px 10px 12px;
  background: #0773AA;
  font-weight: bold;
  text-decoration: none;
}
.ctopic .sidefilter .wraptopics .topics li.active a:hover{color: #fff;}
.ctopic .sidefilter .wraptopics .topics li a:hover{color: #9cdeff;}

.ctopic.math .sidefilter .wraptopics .topics li.active div     {background: url(../images/child-lesson-active-back.png) #055076;}
.ctopic.math .sidefilter .wraptopics .topics li.active a       {background: #0773aa;}
.ctopic.math .sidefilter .wraptopics .topics li.active a:hover {color: #fff;}
.ctopic.math .sidefilter .wraptopics .topics li a:hover        {color: #9cdeff;}

.ctopic.eng .sidefilter .wraptopics .topics li.active div     {background: url(../images/child-lesson-active-back.png) #7c122c;}
.ctopic.eng .sidefilter .wraptopics .topics li.active a       {background: #a9193c;}
.ctopic.eng .sidefilter .wraptopics .topics li.active a:hover{color: #fff;}
.ctopic.eng .sidefilter .wraptopics .topics li a:hover{color: #ffafc2;}

.ctopic.sci .sidefilter .wraptopics .topics li.active div     {background: url(../images/child-lesson-active-back.png) #30592b;}
.ctopic.sci .sidefilter .wraptopics .topics li.active a       {background: #3e7437;}
.ctopic.sci .sidefilter .wraptopics .topics li.active a:hover {color: #fff;}
.ctopic.sci .sidefilter .wraptopics .topics li a:hover        {color: #97e68d;}

.ctopic.chi .sidefilter .wraptopics .topics li.active div     {background: url(../images/child-lesson-active-back.png) #584724;}
.ctopic.chi .sidefilter .wraptopics .topics li.active a       {background: #816835;}
.ctopic.chi .sidefilter .wraptopics .topics li.active a:hover{color: #fff;}
.ctopic.chi .sidefilter .wraptopics .topics li a:hover{color: #fff4bc;}

.ctopic .maincontent{
  background: #fff;
}
.ctopic .header-title-mob {margin: 20px 0 0 0;}
.ctopic .header-title-mob a{color: #fff;}
.ctopic .header-title-mob img{width: 45px;}
.ctopic .header-title-mob .topic-title{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 0 0 0;
}
.ctopic .header-title-mob .topic-title .textarea{width: 80%;padding: 0 0 0 10px;}
.ctopic .header-title-mob .topic-title .textarea h3, 
.ctopic .header-title-mob .topic-title .textarea p{
  margin: 0;
  color: #fff;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  
}
.ctopic .header-title-mob .topic-title .textarea h3{font-size: 22px;margin: 0 0 3px 0;}

/* Features tab */
.ftab{
  display: flex;
  flex-direction: row;
  margin: 15px 0 0 0;
}
.ftab div{flex:1;text-align: center;padding: 0;border: 1px solid #C2A75A;font-weight: bold;}
.ftab div a{display: block;width: 100%;color: #C2A75A;padding: 8px 10px;text-decoration: none;font-size: 16px;}
.ftab div.active, .ftab div.active a:hover{background:#C2A75A;}
.ftab div.active a{color: #fff;}
.ftab div a:hover{font-weight: bold;background: #f5ecd2;}
.ftab div.disabled{border: 1px solid #e0d2ab;}
.ftab div.disabled a{color:#e0d2ab;cursor:not-allowed; }
.ftab div.disabled a:hover{background: none;}

/* Progress status bar */
.question-progress-stat{
  background: #F6F6F6;
  box-shadow: none;
  display: block;
  /*display:flex;
  justify-content: center;*/
}
.question-progress-stat .sect_prog{padding:25px 80px;} 

.question-progress-stat .sect_prog [class*="col-"] {padding:0;}
.question-progress-stat .prog .progress{
  border-radius: 0px;
  height:10px;
  margin-bottom:10px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #d9e3ea;
  margin-left:-1px;
  margin-right:-1px;
}
.question-progress-stat .prog .progress-bar{background-color:#126a9c;}
/* progress bar with diff color in diff stages */
.question-progress-stat .prog.stage1 .progress-bar,
.question-progress-stat .prog.stage1 .statlabel .ind.active{
  background-color:#126a9c;}
.question-progress-stat .prog.stage2 .progress-bar,
.question-progress-stat .prog.stage2 .statlabel .ind.active{
  background-color:#53b355;}
.question-progress-stat .prog.stage3 .progress-bar, 
.question-progress-stat .prog.stage3 .statlabel .ind.active{
  background-color:#d06262;}
.question-progress-stat .prog.stage4 .progress-bar, 
.question-progress-stat .prog.stage4 .statlabel .ind.active{
  background-color:#f99746;}

.question-progress-stat .statend{display:flex;justify-content: space-between;}
.question-progress-stat .statlabel{
  width:30%;
  margin-left:-15%;
  display:flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  color:#126a9c;
}
.question-progress-stat .statlabel.pro{margin-right:-15%;}
.question-progress-stat .ind{width:2px;height:10px;background-color: #d9e3ea;}
.question-progress-stat .ind.active{background-color: #126a9c;}
.question-progress-stat .sect_img{display:none;}

/* difference in Master */

.master .question-progress-stat .sect_prog .top_info img{margin-right: 5px;}
.master .question-progress-stat .sect_prog .top_info.noattempt img{opacity: 0.5;}
.master .question-progress-stat .sect_prog .top_info.noattempt span{color: #999;}
.master .question-progress-stat .statlabel{display: none;}
.master .sect_info span:nth-child(2){margin: 0 20px 0 0;}
.master .sect_info span.info{color: #126A9C;}
.master .sect_info span.number{
  background:#126A9C;
  color:#fff;
  padding:3px 6px;
  border-radius:50px;
  margin: 0 10px 0 0;
  font-size: 12px;
  font-weight: bold;
  }


/* Promptings */
/*.promptcontent{padding: 80px 10px 10px 10px;}*/
.promptcontent .prm1 img{margin: 0 auto 20px auto;}
.promptcontent .prm1 .btn{padding: 10px 30px;font-size: 16px;margin: 0 3px;}

.promptcontent .prm2 h3{margin-bottom:20px;} /* Added M 17072025*/
.promptcontent .prm2 .encaseopt{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.promptcontent .prm2 .encaseopt .opt{
  width: 200px;
  margin: 0 8px;
  position: relative;
}
.promptcontent .prm2 .encaseopt .opt img{margin: 0 auto;}
.promptcontent .prm2 .encaseopt .opt a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}
.promptcontent .prm2 .encaseopt .txtarea{
  border: 2px solid #C2A75A;
  padding: 20px;
  color: #C2A75A;
}
.promptcontent .prm2 .encaseopt .txtarea h4{color: #C2A75A;margin-top: 0;margin-bottom: 0;}
.promptcontent .prm2 .encaseopt .txtarea h4.combi{font-size: 16px;line-height:22px} /* Added M 17072025 */
.promptcontent .prm2 .encaseopt .txtarea p{margin: 10px 0 0 0;}

.promptcontent .prm2 .encaseopt .opt:nth-child(1){
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.promptcontent .prm2 .encaseopt .opt:nth-child(2){
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
}
.promptcontent .prm2 .encaseopt .opt:nth-child(3){
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
}

/**
 * ----------------------------------------
 * animation fade-in-bottom
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

.practise .hlink{margin: 20px 0 0 0;padding: 0px 15px;text-align: right;}
.practise .hlink a{
  text-decoration: none;
  border: 1px solid #18a2e3;
  padding: 6px 20px;
  border-radius: 50px;
}
.practise .hlink a:hover{ border: 1px solid #157ab5;}
.practise .hlink.bck a{border: none;}

.practise .outer_assessment{text-align: center;color: #333;padding: 10px 20px 30px 20px;}
.practise .outer_assessment img{margin: 0 auto;}
.practise .outer_assessment h3{font-size: 20px;margin: 20px 0 5px 0;color: #333;}
.practise .outer_assessment.noattempt h3{margin: 20px 0 20px 0;}
.practise .outer_assessment a{padding: 8px 50px;margin: 10px 0 0 0;}

.practise .hist_assessment .recentq{margin-top: 0px;padding-bottom: 30px;}
.practise .hist_assessment h2{color: #333;font-weight: 300;margin: 10px 0 5px 10px;}
.practise .hist_assessment p.text-info{margin: 10px 0 20px 10px;}

.quiz_stat_fail{color:#de363c;}
.quiz_stat_pass{color:#36c75a;}

.compete .aiwrapper{}
.compete .aiwrapper .headdesc{
  display: flex;
  align-items: flex-start;
  padding: 20px 15px;
  color: #0d7b01;
  background: #F2F9F1;
}
.compete .aiwrapper .headdesc p{margin: 0;}
.compete .aiwrapper .headdesc img{margin:0 15px 0 0;}

/*** taken from videopage css mobile nav **/
/*Mobile dropdown*/
#subject_ddl_mob.affix {
  display: block !important;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 10px;
  margin-top: 0;
  background: #f9f9f9;
  border-top: 5px #f9f9f9 solid;
}

#subject_ddl_mob {
  z-index: 10;
  border-radius: 3px;
  padding-bottom: 7px;
}

/*End of mobile dropdown*/

/**** Overwrites videopage css for child revamp 2022 ****/

.master .title-header-container{justify-content: flex-end;} /* Added by M 16052025 */
.master .title-header-wrapper{display: none;} /* Edited by M 16052025 */
.master .main-content-wrapper{padding-top: 30px;margin-bottom: 15px;}
.master .panel{box-shadow: none;}
.master .flipper{cursor: default;text-align:right;}
.master .accordion{padding: 0;}
#btt{opacity: 0;transition: opacity 0.2s ease-out;} /* Added by M 03062022 */
#btt.show{opacity: 1;} /* Added by M 03062022 */
.master .bttbut{
  text-align: center;
  color: #18A2E3;
  cursor: pointer;
  /* margin: 20px 0 -50px 0; */ /* Edited 16052025 */
  font-size: 12px;
  /* Added 16052025 */
  position:absolute;
  bottom:-45px;
  left:47%;
}
.master .bttbut i{display: block;font-size: 26px;}
#subject_ddl_mob{padding:15px;background: #fff;width: 100%;}
#subject_ddl_mob .dropdown-menu li a{padding: 10px 20px 3px 20px;}
.bootstrap-select.btn-group .dropdown-menu li a span.text{
 overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 95%;
}
.dropdown-menu.open, .master .dropdown-menu.inner.selectpicker{width: inherit;}
.master .viewed .lesson-icon{color: #60B88F;}
.master .viewed .lesson-icon .fa-play-circle:before{content: "\f058";}
.master .lastviewed .lesson-icon .fa-play-circle:before{
  display:block;
  content: "";
  background-image: url('../images/icon_circle_star.svg');
  background-size: 15px 16px;
  width: 15px;
  height: 16px; 
}
.master .lastviewed .lesson-icon .fa-play-circle:before{
  	-webkit-animation: rotate-center 1.5s infinite cubic-bezier(0.8,0.5,0.2,1.0) both;
  			animation: rotate-center 1.5s infinite cubic-bezier(0.8,0.5,0.2,1.0) both;
}

@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.practise .main-assessment{margin: 0;}
.practise .question-container{box-shadow: none;padding: 30px 50px 30px 50px}
.practise .sect_info{color: #126A9C;}


/*  ######### end of Added by M child revamp 2022 ######### */

/* to hide the prompts - DO NOT need for actual*/
#prm2div, 
.practise #ans1, .practise #qn2, .practise #ans2{
  display: none;
}


/* Added Search feature M 12072023 */

.search_head{margin-top: 15px;}
.search_head .cont{
  background:#F6F6F6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.search_head .cont .img{
  padding:0 15px;
}

.search_head .cont .img img{width:100px;}

.search_head .cont .txt{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:15px 20px 20px 20px;
}
.search_head .cont .txt h3{margin:0;font-size:20px;}
.search_head .cont .txt p{margin:8px 0 0 0;}
.search_head .cont .txt span{font-style:italic;font-weight: bold;font-size:16px;}
.search_head .cont .txt .tip{color:#999;padding:15px 0 0 0;}

.search_results{padding:25px 20px;}

.search_results .lesson-wrapper{
  margin-bottom:1px;
  padding:25px 20px;
}
.search_results .lesson-wrapper:nth-child(even){background:#f9f9f9;}

.search_results .lesson-index {text-align: left;}
.search_results .lesson-index .lnk-index{
  color:#18a2e3;
  text-decoration: none;
  cursor: pointer;
}
.search_results .lesson-index .lnk-index i{color:#157ab5;margin-right:10px;}
.search_results .lesson-index .lnk-index:hover{
  color:#157ab5;
}

.search_results .lesson-index a.inactive, .search_results .lesson-name a.inactive{
 color: #BABEC2;
 cursor:not-allowed;
}
.search_results .lesson-index a.inactive:hover{
  color:#BABEC2;
}
.search_results .lesson-index a.inactive i{color:#BABEC2;}

.search_results .lesson-index img{
  width:20px;
  margin:0 10px 0 0;
}

.search_foot div{
  text-align: center;
  border-top:1px solid #ddd;
  padding:20px 0 30px 0;
}
.search_foot div p{margin:0 0 20px 0;}
.search_foot div a{
  border:1px solid #ccc;
  border-radius:4px;
  padding:6px 15px;
  margin:0 3px;
  font-size:18px;
}

.search_results .noresult{
  padding:35px 10px;
  line-height:25px;
  color:#999;
}

.search_foot div.chosen a{
  opacity: 0.5;
  pointer-events: none;
  border:1px solid #fff;
  background:#efefef;
  color:#666;   
}

span.keyw{font-weight:bold;font-style:italic;color:#333;}

.search_results .srtopic{ /* Added by M 24062024 */
  font-size:12px;
  padding:5px 10px;
  background-color: #999;
  border-radius:100px;
  color:#fff;
  display:inline-block;
  line-height: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width:100%;
  margin-bottom:5px;
}

/* Added Search feature within topic 16052025 */
.enctopicandsearch{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:flex-end;
}
.searchandlastviewed, .searcharea{
  display:flex;
  flex-direction: row;
  align-items: center;
}
.searcharea{flex-wrap: wrap;}
.searcharea .btn{
    border-top-left-radius: 0;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 0;
    padding: 6px 15px 6px 10px;
}
.searcharea .btn i{line-height: inherit;}
.searcharea .multi-search-filter{
    border:1px solid #DDD;
    padding:3px 5px 3px 8px;
    max-height: 33px;
    background:#fff;
    width:200px;
    overflow-y:auto;
    border-top-left-radius: 100px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 100px;
    text-align: left;
}
.searcharea .multi-search-filter::-webkit-scrollbar {
    width: 5px;
}
.searcharea .multi-search-filter::-webkit-scrollbar-track {
    background:#ddd;
    border-radius: 10px;
}
.searcharea .multi-search-filter::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background:#999;
}
.searcharea .multi-search-filter > input {
    border: 0px;
    outline: 0;
    font-size: 14px;
    margin-top:2px;
}
.searcharea .multi-search-filter ::placeholder{color:#ccc;opacity: 1;font-size: 13px;}
.searcharea .multi-search-item {
    margin: 2px 2px;
    padding: 2px 24px 2px 8px;
    float: left;
    display: flex;
    background-color:#666666;
    color:#fff;
    border-radius: 100px;
    position: relative;
    font-size:12px;
}
.searcharea .multi-search-item > span {
    line-height: 18px;
}
.searcharea .multi-search-item > .fa {
    font-size: 12px;
    line-height: 18px;
    margin-left: 8px;
    position: absolute;
    right: 8px;
    top: 2px;
    cursor:pointer;
}
.searcharea .errmsg{
  margin:5px 0 0 5px;
  display: block;
  font-size:13px;
  font-weight: 500;
}

/* Added by M 24042025 */
.ldmore{
  text-align: center;
  margin:20px 0;
}
.ldmore .btn{
  letter-spacing: 3px;
  padding:10px 60px;
  font-size:12px;
}
.ldmore .fa.fa-arrow-down {
	-webkit-animation: bounce-top 0.8s infinite both;
	        animation: bounce-top 0.8s infinite both;
}
@keyframes bounce-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
}

.search_results_wtopic{
  padding:10px 20px;
  text-align: center;
}
.search_results_wtopic span {
  font-style: italic;
  font-weight: bold;
}
.sort_head{
  padding:10px 20px 0px 20px;
  display:flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
.sort_head img{
  width:15px;
  filter: invert(32%) sepia(0%) saturate(399%) hue-rotate(162deg) brightness(96%) contrast(85%);
}
.sort_head .selectDiv select{
  border:1px solid transparent;
  border-radius:100px;
  padding:5px 3px 5px 5px;
  outline:none;
  color:#555555;
  cursor:pointer;
}

/* --- within topic page 16052025 --- */
.search_results_wtopic{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding:10px 15px 10px 15px;
}
.search_results_wtopic .result_txt{
  width:100%;
  padding:10px 0;
}
.search_results_wtopic .sort_head{
  padding:0;
  display:flex;
  flex-direction: row;
  width:100%;
}
.search_results_wtopic span {
  font-style: italic;
  font-weight: bold;
  font-size: 16px;
}
.srchresults.lesson-container{
  padding-left:0 !important;
  padding-right:0 !important;
  border-top-color:none;
}
.srchresults .lesson-wrapper {
  padding:25px 10px;
  margin:0;
}
.srchresults .lesson-wrapper.colored{
  background-color:#f9f9f9;
}
.srchresults .lesson-icon {
  width:22%;
}
.srchresults .lesson-icon i {
  color: #157ab5;
  margin-right: 10px;
}
.srchresults .lesson-index-num{
  font-size:13px;
  letter-spacing: 1px;
  text-decoration: none;
  cursor:pointer;
  margin-left:5px;
}
.srchresults .lesson-index-num.inactive{
 color: #BABEC2;
 cursor:not-allowed;
}
.search_results .lesson-index-num.inactive:hover{
  color:#BABEC2;
}
.search_results .lesson-index-num.inactive i{color:#BABEC2;}

.srchresults .lesson-index-num:hover{
  text-decoration: none;
}
.srchresults .subtopic{
  font-size: 12px;
  padding: 5px 10px;
  background-color: #999;
  border-radius: 100px;
  color: #fff;
  display: inline-block;
  line-height: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom:5px;
}
/* end of Search feature */


/* ------- Recommended clips feature ------- */
.rencase img{width:250px;}

.rclips{
  text-align: center;
  padding:5px 15px 10px 15px;
}

.rclips span{
  display: block;
  width:20%;
  height:5px;
  background:#dee6ed;
  margin:10px auto 10px auto;
}

.rclips .enc_capsules{
  padding:10px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.rclips .enc_capsules .capsule{
  border-radius:10px;
  background:#fff;
  margin:5px;
  padding:10px 12px;
  width:120px;
  border:1px solid #18a2e3;
  position: relative;
}

.rclips .enc_capsules .capsule a{
  display: block;
  width:100%;
  height:100%;
  position: absolute;
  top:0;left:0;
  margin-top:0;
  text-align: center;
}

.rclips .enc_capsules .capsule:hover{
  background:#87d4f9;
  border:1px solid #87d4f9;
}

.rclips .enc_capsules .capsule i{
  font-size:50px;
  opacity:0;
  position: absolute;
  top:27%;
  left:35%;
}

.rclips .enc_capsules .capsule:hover i{
  opacity: 1.0;
  color:#fff;
  cursor: pointer;
}

.rclips .enc_capsules .capsule .title{
  font-weight:normal;
  font-size:14px;
  margin:6px 0;
  line-height:20px;
  height:60px; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color:#18a2e3;
}

.rclips .enc_capsules .capsule .index{
  font-size:16px;
  margin:6px 0 0 0;
  font-weight: bold;
  color:#18a2e3;
}

.rclips .enc_capsules .capsule.disabled{
  cursor: not-allowed;
  opacity: 0.5;
  background: #fff;
  border: 1px solid #ddd;
}

@media (min-width: 280px){
  .ctopic.math{background: linear-gradient(to bottom, #038CD1 150px, #f6f6f6 150px, #f6f6f6);}
  .ctopic.eng{background: linear-gradient(to bottom, #ce1f49 150px, #f6f6f6 150px, #f6f6f6);}
  .ctopic.sci{background: linear-gradient(to bottom, #4b9242 150px, #f6f6f6 150px, #f6f6f6);}
  .ctopic.chi{background: linear-gradient(to bottom, #be8e2d 150px, #f6f6f6 150px, #f6f6f6);}  
  .ctopic .wrapleftright{margin: 20px 0 20px 0;}
  .ftab div a span{display: none;}
  .master .top_info img{display: none;}
  .master .sect_info span{display: none;}
  .master .question-progress-stat .sect_prog{padding: 15px 10px 10px 10px;}
  .master .question-progress-stat .sect_prog .top_info span{display: inline-block;margin-bottom: 8px;}
  .question-progress-stat .prog:not(.current){display:none;}
  .question-progress-stat .prog.current .statlabel.web{display:none;}

  #subject_ddl_mob.affix {
    padding-top: 5px;
    padding-bottom: 10px; /**** Overwrites for child revamp 2022 ****/
    padding-left: 15px; /**** Overwrites for child revamp 2022 ****/
  }

  .promptcontent{padding: 40px 10px;}
  .promptcontent .prm2 .encaseopt .opt{width: 140px;margin: 0 5px;}
  .promptcontent .prm2 .encaseopt .opt .txtarea p{display: none;}
  .promptcontent .prm2 .encaseopt .txtarea h4{margin-bottom: 0;}

  .practise .question-container{padding: 30px;}

  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules .capsule{width:80px;}
  .rclips .enc_capsules .capsule i{left:25%;}
}

@media screen and (min-width: 320px) {
  /* Assessment 1.2 - Added by M 26012021 */
  .head_quiztitle{padding:10px 0px 10px 0px;}
  .img-header-banner.row.web{display:none;}
  .row.tab.web{display:none;}
  .question-progress-stat .sect_info span{display:none;}
  .question-progress-stat .sect_prog{padding:20px 50px;}
  .question-progress-stat .prog:not(.current){display:none;}
  .result_stat .stat-badge .web{display:none;}
  .result_stat .stat-badge .smmob{display:inline-block;}
  .question-progress-stat .prog.current .statlabel.web{display:none;}
  /*.activ_but .but_mentor{display:none;}*/
  .activ_but .but_mentor span, .activ_but .but_report span{display:none;}
  .exp_panel .panel-body{flex-direction: column;align-items: flex-start;}
  .exp_panel .panel-body [class*="col-"] {width:auto;}
  .cont_assess #quiz_result.quiz_stat_result{background-size:120%};
  /* End of Assessment 1.2 */


    #subject_ddl_mob.affix {
    top: 60px;
    left: 0;
    width: 100%;
    padding-top: 5px;
    margin-top: 0;
    background: #f9f9f9;
    border-top: 5px #f9f9f9 solid;
  }
  
  .master .title-header-wrapper{display: none;} /* Edited by M 16052025 */
  .master .videolist .main-content-wrapper{padding-top: 20px;}

  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules .capsule{width:100px;}
  .rclips .enc_capsules .capsule i{left:30%;}
}

@media (min-width: 320px){  

}

/* Added by M 16052025 */
@media (max-width:320px){
  .srchresults .lesson-icon{width:25%;}
  .searcharea .multi-search-filter{width:180px;}
}

@media (min-width: 375px){
  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules .capsule{width:120px;}
  .rclips .enc_capsules .capsule i{left:35%;}
  
}

@media (min-width: 390px){
  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules .capsule{width:130px;}
  
}

@media (min-width: 414px){
  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules .capsule{width:140px;}
}

@media only screen and (max-width: 767px) and (min-width: 320px){ /*This is the size before tablet*/
  

  
}
@media (min-width: 767px) {
  .ftab div a span{display: inline-block;}

}

@media (min-width: 768px){
  /* Assessment 1.2 - Added by M 26012021 */
  .question-progress-stat .statend.mob{display:none;}
  .question-progress-stat .sect_info span{display:inline-block;}
  .question-progress-stat .prog:not(.current) {display:block;}
  .question-progress-stat .prog.current .statlabel.web{display:inline-flex;}
  .question-progress-stat .sect_prog {padding: 20px 60px 20px 60px;}
  .question-progress-stat .sect_img{padding:0;display:flex;align-items: flex-end;}
  .activ_but .but_mentor span, .activ_but .but_report span{display:inline;}
  .exp_panel .panel-body{flex-direction:column;align-items: center;} /* Edited by M 22072025 */
  .exp_panel .panel-body .sect_exp {width:100%}
  .exp_panel .panel-body .sect_analytics {width:25%}
  .exp_panel .stat-badge{margin: 8px 0 10px 0;}

  .master .question-progress-stat{padding-bottom: 20px;}
  .master .question-progress-stat .prog.current .statlabel.web{display:none;}
  .master .question-progress-stat .sect_prog {padding: 15px 40px 20px 40px;}
  .master .question-progress-stat .sect_info span{display:inline-block;}
  .master .top_info img{display: inline-block;}
  .master .main-content-wrapper{padding-top: 20px;}
  /* End of Assessment 1.2 */

  .promptcontent .prm2 .encaseopt .opt{width: 200px;margin: 0 8px;}
  .promptcontent .prm2 .encaseopt .opt .txtarea p{display: block;}

  .practise .question-container{padding: 30px 50px;}

  .practise .hist_assessment h2{margin: 10px 0 5px 30px;}
  .practise .hist_assessment p.text-info{margin: 10px 0 20px 30px;}

  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules{padding:10px;}
  .rclips .enc_capsules .capsule{width:150px;}

  .search_results .srtopic{width:initial;} /* added by M 24062024 */

  /* Added by M 16052025 */
  .srchresults .lesson-index-num{font-size:16px;} 
  .srchresults .subtopic{margin-top:0; margin-bottom:0;} 
  .srchresults .lesson-icon{width:16%;}
  .search_results_wtopic{padding:20px 15px 10px 15px;}
  .search_results_wtopic .result_txt{width:70%;text-align: left;padding:0;}
  .search_results_wtopic .sort_head{width:30%;}
}

@media screen and (min-height: 636px) and (orientation: landscape){
  #subject_ddl_mob, #subject_ddl_mob.affix {display:block !important;}

}

@media screen and (min-device-width: 720px) and (orientation: landscape){
  .promptcontent .prm2 .encaseopt .opt{width: 200px;margin: 0 8px;}
  .promptcontent .prm2 .encaseopt .opt .txtarea p{display: block;}
}

@media screen and (max-device-width: 768px) and (orientation: landscape){
  /* Assessment 1.2 - Added by M 26012021 */
  .question-progress-stat .sect_prog {padding: 25px 60px;width:100%;}
  .exp_panel .panel-body{flex-direction:row;align-items: center;}
  .exp_panel .panel-body .sect_exp {width:100%}
  .exp_panel .panel-body .sect_analytics {width:25%}
  .exp_panel .stat-badge{margin: 8px 0 10px 0;}

  .achvmt .modal-content{max-height: calc(130vh - 150px);}
  .achvmt .modal-body .pic{margin-top:20px;/*width:50%;*/} /* Edited by M 24052021*/
  .achvmt .modal-body h2{font-size:20px;}
  .achvmt .modal-body p{padding:0;}
  .achvmt .maintxt, .achvmt .retain .maintxt{font-size:14px;padding-bottom: 0;} /* Edited by M 24052021 */
  .achvmt .subtxt{padding:0;}
  .achvmt .modal-footer{padding:0px 0px 20px 0px;}
  /* End of Assessment 1.2 */

  /* ------- Recommended clips feature ------- */
  .rclips .enc_capsules{padding:10px;}
  .rclips .enc_capsules .capsule{width:120px;}  
}

@media (max-width: 767px){
  .promptcontent .prm2 h3{font-size:21px;} /* Added M 17072025 */
  .promptcontent .prm2 .encaseopt .txtarea h4.combi{font-size:14px;} /* Added M 17072025 */
}

@media only screen and (max-width: 895px) and (min-width: 768px) {
  
}

@media only screen and (max-width: 895px) and (min-width: 320px){
  
}

@media (min-width: 896px){  /*Full navigation will be shown in this size*/
  .ctopic .header-title-mob{margin: 30px 0 0 0;}

  #subject_ddl_mob.affix { top: 80px; }
}

@media (max-width: 896px){ /* Added by M 03062022 */
  #btt.show{opacity: 0;}
}

/*Desktop and laptop size*/
@media (min-width: 992px){
  .ctopic .wrapleftright{margin: 70px 0 50px 0;}
  .exp_panel .panel-body .sect_exp {width:100%}
}

@media screen and (max-height: 635px) and (orientation:landscape) {
   #subject_ddl_mob, #subject_ddl_mob.affix { display: block !important; }
 }

/* @media screen and (min-height: 636px) and (orientation:landscape) {
   #subject_ddl_mob, #subject_ddl_mob.affix { display: none !important; }
 }*/

 @media screen and (orientation: portrait) {
  #subject_ddl_mob, #subject_ddl_mob.affix {
    display: block !important;
    top: 60px;
    left: 0;
    width: 100%;
    padding-top: 5px;
    margin-top: 0;
  }
  #subject_ddl_mob{padding-top:15px;}
}

@media screen and (max-width: 991px) and (min-width: 320px) and (orientation:landscape) {
  #subject_ddl_mob, #subject_ddl_mob.affix { display: block !important; }
}

@media (min-width: 1024px){
  .ctopic .header-title-mob{margin: 40px 0 0 0;}
  .ctopic .wrapleftright{margin: 30px 0 50px 0;}
  .ctopic.math{background: linear-gradient(to bottom, #038CD1 180px, #f6f6f6 180px, #f6f6f6);}
  .ctopic.eng{background: linear-gradient(to bottom, #ce1f49 180px, #f6f6f6 180px, #f6f6f6);}
  .ctopic.sci{background: linear-gradient(to bottom, #4b9242 180px, #f6f6f6 180px, #f6f6f6);}
  .ctopic.chi{background: linear-gradient(to bottom, #be8e2d 180px, #f6f6f6 180px, #f6f6f6);}
  .master .question-progress-stat{padding-bottom: 0px;}
  .promptcontent{padding: 50px 10px;}
}

@media (min-width: 1200px){
  .ctopic .wrapleftright{margin: 70px 0 50px 0;}
  .ctopic .sidefilter{display: flex !important;}
  .ctopic, .ctopic.math, .ctopic.eng, .ctopic.sci, .ctopic.chi{background: linear-gradient(to bottom, #E3E3E3 100px, #f6f6f6 100px, #f6f6f6);}
  .ctopic .maincontent {border-top-right-radius: 4px;border-bottom-right-radius: 4px;}
  .ctopic .sidefilter{border-top-left-radius: 4px;border-bottom-left-radius: 4px;}
  .master .title-header-container{display: flex;}
  .master .title-header-wrapper{display: inline-block;} /* Edited by M 16052025 */
  .master .videolist .main-content-wrapper{padding-top: 50px;}
  .master .main-content-wrapper{padding-top: 30px;margin-top: 30px;margin-bottom: 15px;}
  #subject_ddl_mob, #subject_ddl_mob.affix {display:none !important;}
  .promptcontent{padding: 80px 10px;}

  .ctopic .sidefilter .wraptopics .topics li a{padding:6px 30px 6px 12px;} /* Added by M 22072022 */
  .ctopic .sidefilter .wraptopics .topinfo img{width:65px;} /* Added by M 22072022 */

  
}

@media (min-width: 1300px){ /* Added by M 22072022 */
  .ctopic .sidefilter .wraptopics .topics li a{padding:8px 30px 8px 12px;}
  .ctopic .sidefilter .wraptopics .topinfo img{width:80px;} 
}

/*@media (min-width: 1920px){
  .practise .container{width: 1300px;}
  .ctopic .sidefilter .wraptopics{max-width: 320px;}
}*/
/*Landscape*/
@media screen and (max-device-width: 768px) and (orientation: landscape) { /*Ipad mini*/
  
}
/*End of Landscape*/

/* iPad Pro 10.5" */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 1112px)
  and (-webkit-min-device-pixel-ratio: 2) {
  
  .courses-side-bar { display: none !important; }
  
}
/* End of iPad Pro 10.5" */

/* Fix for iPhone 5 */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

  
}

/* End of iPhone 5 */


/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 767px)
  and (orientation: landscape) {
    .ftab div a span{display: inline-block;}
  }

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (max-device-width: 667px) 
  and (min-device-width: 375px) 
  and (orientation: landscape) { 

  
}
/* End of iPhone 6+, 7+ and 8+ */

/* Ipad and Ipad mini landscape only - Fix alignment of resume lesson in ipad landscape mode */
@media screen and (width: 1024px) and (orientation : landscape) {  
  
}


@media screen and (max-device-width: 768px) and (orientation: portrait) { /*Ipad mini*/
  
}

/* Fix for iPhone 5 */
@media only screen 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (max-device-width: 568px) 
  and (min-device-width: 320px) 
  and (orientation: portrait) {
  
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 

  
}

/* iPad Pro 10.5" */
/* Portrait and Landscape */
@media only screen 
  and (min-width: 834px) /* ipad 11" layout fix 24012025 */
  and (max-width: 1112px) /* ipad 11" layout fix 24012025 - remove device */
  and (-webkit-min-device-pixel-ratio: 2) {
  #subject_ddl_mob, #subject_ddl_mob.affix {
    display: block !important;
    top: 80px;
  }
}

@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 895px) {
  #subject_ddl_mob, #subject_ddl_mob.affix {
    display: block;
    top: 60px;
  }
}