header#masthead {

  background-color: #01A69D;

  height: 76px;

}

body {

  /* overflow: auto !important; */

  overflow-y: auto !important;

    overflow-x: hidden !important;

}
/* .lms-topic-sidebar-wrapper {
    display: none;
    visibility: hidden;
} */
/* .kwf-header {

  display: flex

;

  justify-content: space-between;

  align-items: center;

  height: 76px;

  padding: 0 20px;

  margin: 0px auto;

  width: 100%;

} */

.kwf-header {

  height: 35px !important;

  padding: 0 !important; 

}

.kwf-header .kw-logo {

  width: 129px;

  height: 58px;

}

.kwf-header  .kodingschools-theme a,

.kwf-header .school-info .school-display a {

  color: #ffffff !important;

}

/* .lms-lesson-content {

justify-content: center;

} */

#lessonsContent .list-item-user{

justify-content: center;



}

/* marouane */

.lms-topic-item .bb-lms-title-wrap {

margin-bottom: 6px!important;

padding: 5px 8px;

gap: 6px !important; 

}

.bb-lms-topic-circle, .bb-lms-quiz-circle {

width: 40px !important;

height: 40px !important;

}

span.prev-link.empty-post {

display: none;

visibility: hidden;

}



.kwf-header .school-info .school-display img {

box-shadow: inherit;

background: #ffffff;

}

.kwf-header .school-info {

  flex: 1 !important;

  justify-content: space-evenly!important;

}

.bb-buddypanel.sticky-header .site-content {

  padding-top: 90px !important;

/* margin-top: 180px !important; */

}

.role-menu-items {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  gap: 0px;

}



.role-menu-items li {

  display: inline-block;

}



.role-menu-items a {

  text-decoration: none;

  padding: 8px 12px;

  color: white !important;

  border-radius: 5px;

}



.role-menu-items a:hover {

  color: rgb(186, 186, 186);

}



/* span#select2-lessonDropdown-container {

display: none;

visibility: hidden;

}

span.select2-selection.select2-selection--single span {

display: none;

visibility: hidden;

} */

/* learndash_course_lessons_list */

div#learndash_course_lessons_list {

  background-color: #DEDEDE69;

  margin-top: 5em;

  border-radius: 10px;

}



footer.entry-footer {

  display: none;

  visibility: hidden;

}

.parent {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  grid-template-rows: repeat(5, 1fr);

  gap: 8px;

}

  

.div1 {

  grid-column: span 2 / span 2;

}



.div2 {

  grid-column: span 3 / span 3;

  grid-column-start: 3;

}

nav#object-nav {

  /* display: none; */

  /* visibility: hidden; */

}

.bb-grid #course-dir-list {

  /* margin-top: 0px;

  visibility: hidden;

  display: none; */

} 



.float-icons {

position: absolute;

top: 20px;

left: 5%;

display: flex;

flex-direction: column;

gap: 10px;

z-index: 200;

}

.center-list-steps {

justify-content: center;

}

.float-icon {

width: 45px;

height: 45px;

border-radius: 25px;

background-color: #F8971D;

display: flex;

justify-content: center;

align-items: center;

cursor: pointer;

color: white;

font-size: 24px;

transition: width 0.3s ease;

overflow: hidden;

white-space: nowrap;

position: relative;

text-decoration: none;

}



.float-icon:hover {

width: 120px;

}



.icon-text {

position: absolute;

right: 15px;

font-size: 14px;

font-weight: bold;

opacity: 0;

transition: opacity 0.3s ease;

color: white;

}



.float-icon:hover .icon-text {

opacity: 1;

}



.icon-symbol {

position: absolute;

left: 12px;

color: white;

width: 22px;

height: 22px;

display: flex;

justify-content: center;

align-items: center;

}



.icon-symbol svg {

width: 100%;

height: 100%;

}  



.lms-lessions-list {

  display: block !important;

  align-items: center;

  justify-content: space-between;

  margin: 0 15px;

}

.lms-topic-sidebar-progress {

  width: 60%;

  margin: 0 auto;

}

/* marouane */

.lms-topic-sidebar-progress .course-progress-wrap {

position: relative;

z-index: 1;

margin: -10px 0px 15px !important;

padding-bottom: 0px !important;

border-bottom: none !important;

padding-left: 160px;

padding-right: 160px;



}

.ld-progress-bar {

  margin: 0;

  height: 7px;

  background: var(--bb-content-border-color);

}

.ld-progress-bar .ld-progress-bar-percentage.ld-secondary-background {

  background-color: #F8971D !important;

}

.ld-progress-bar .ld-progress-bar-percentage {

  background: var(--bb-primary-color) ;

  height: 7px;

  width: auto;

}



.prev-button {



  border-radius: 15px 0px 0px 15px;

}



.next-button {



  border-radius: 0px 15px 15px 0px;

}









.prev-button,

.next-button {

  font-size: 0;

  background-color: var(--bb-alternate-text-color);

  color: #fff !important;

  margin: 10px;



  padding: 7px 30px 8px 20px;

}

.learndash_next_prev_link a {

  width: 0px !important;

  height: 40px !important;

  

  justify-content: center !important;

  align-items: center !important;

  z-index: 70;

  color: rgb(108, 108, 108) !important;

}

.prev-link,

.next-link {

 

  border-radius: 40% !important;

  border: none !important;

  background-color: #FFE0B2 !important;

  cursor: pointer !important;

  justify-content: center !important;

  align-items: center !important;

  font-size: 20px !important;

  position: absolute!important;

  transform: translateY(-50%) !important;

  top: 14% !important;

    transform: translateY(-50%) !important;

    z-index: 99;

}



.prev-link {

  left: 12% !important; /* Distance par rapport au bord gauche */

   top: 95px ! important;

}



.next-link {

  right: 12% !important;

   top: 95px ! important;

}



#learndash-page-content .sfwd-course-nav .learndash_next_prev_link a {

  font-size: 0 !important;

}

.course-nav-wrapper {

position: absolute !important;

left: 100px !important;

top: 18px !important;

}

.lms-topic-sidebar-course-navigation {

display: none;

visibility: hidden;

}

.learndash_next_prev_link a .meta-nav {

  font-size: 20px !important;

  font-weight: bold !important;



}

.learndash-content-body {

  max-width: 1800px;

  min-height: 300px;

  width: 85%;

  margin: 0 auto;

  background-color: white;

  border-radius: 10px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  padding: 20px;

  /* margin-bottom: 80px;

  margin-top: -15px;

  margin-top: 17px; */

  margin: 30px auto;

}

.lms-topic-sidebar-data {

  overflow: unset !important;

  margin-bottom: -55px;

}  

.lms-topic-sidebar-progress .ld-progress-steps {

  visibility: hidden;

  display: none;

}

div.bb-lms-header .sfwd-course-position {

  margin: 0 auto !important;

}

.sfwd-course-position .bb-pages {

  font-size: 16px;

  font-weight: 600;

}

.wpProQuiz_content .wpProQuiz_reviewLegend {

  margin-bottom: 0px !important;

  padding: 5px;

  margin: 10px auto;

  display: table;

}

div.bb-lms-header .bb-position {

  margin-bottom: 0px !important;

}

/*course resoursecs*/



@keyframes hover {

  50% {

    transform: translateX(10px);

  }

}

.offcanvas-menu > label {

  top: 115px;

  right: 30px;

  position: fixed;

  width: 40px;

  height: 40px;

  cursor: pointer;

  transition: 0.3s ease;

  display: flex;

  align-items: center;

  z-index: 9999;

}

.offcanvas-menu label span,

.offcanvas-menu label span::before,

.offcanvas-menu label span::after {

  transition: background 0.3s, transform 0.3s;

}

.offcanvas-menu label span,

.offcanvas-menu label span::before,

.offcanvas-menu label span::after {

  content: "";

  position: absolute;

  height: 4px;

  width: 40px;

  background: #b3b3b3;

}

.offcanvas-menu label span::before {

  transform: translateY(-12px);

}

.offcanvas-menu label span::after {

  transform: translateY(12px);

}

.offcanvas-menu .resources {

  position: fixed;

  height: 100%;

  width: 350px;

  right: -350px;

  overflow: hidden;

  background: #bdddff;

  transition: 0.3s ease;

  padding: 40px 30px;

  z-index: 999;

}

.offcanvas-menu .resources > div {

  display: flex;

  justify-content: space-between;

  align-items: center;

}

.offcanvas-menu .resources > div a {

  font-size: 2.5rem;

  font-weight: 500;

  display: flex;

  align-items: center;

  font-family: "Monoton", cursive;

  background: linear-gradient(-90deg, #49a4ed 30%, #3d00a9 110%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}

.offcanvas-menu .resources > div a i {

  font-size: 4rem;

  background: linear-gradient(120deg, #49a4ed 30%, #3d00a9 110%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}

.offcanvas-menu .resources > div label {

  width: 30px;

  height: 30px;

  display: flex !important;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition: 0.3s ease;

}

.offcanvas-menu .resources > div label span,

.offcanvas-menu .resources > div label span:before,

.offcanvas-menu .resources > div label span:after {

  background: #4d4d4d;

}

.offcanvas-menu .resources > ul {

  margin-top: 30px;

  counter-reset: nav-link-count;

}

.offcanvas-menu .resources > ul li {

  cursor: pointer;

  padding: 10px 0;

  transform: translateX(-30px);

  opacity: 0;

  transition: 0.4s ease;

  counter-increment: nav-link-count;

}

.offcanvas-menu .resources > ul li a {

  font-size: 2.5rem;

  line-height: 1.5;

  font-weight: 400;

  color: #333333;

  display: block;

}

.offcanvas-menu .resources > ul li a::after {

  content: " : " counter(nav-link-count);

}

.offcanvas-menu .resources > ul li:hover {

  animation: hover 0.5s;

}

.offcanvas-menu input[type=checkbox] {

  display: none;

}

.offcanvas-menu input[type=checkbox]:checked ~ label {

  opacity: 0;

  pointer-events: none;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav {

  right: 0;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav label span {

  background: transparent;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav label span:before {

  transform: rotate(-45deg);

}

.offcanvas-menu input[type=checkbox]:checked ~ nav label span:after {

  transform: rotate(45deg);

}

.offcanvas-menu input[type=checkbox]:checked ~ nav label span:before,

.offcanvas-menu input[type=checkbox]:checked ~ nav label span:after {

  transition-delay: 0.2s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li {

  opacity: 1;

  transform: translateX(0px);

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(1) {

  transition-delay: 0.1s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(2) {

  transition-delay: 0.2s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(3) {

  transition-delay: 0.3s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(4) {

  transition-delay: 0.4s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(5) {

  transition-delay: 0.5s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(6) {

  transition-delay: 0.6s;

}

.offcanvas-menu input[type=checkbox]:checked ~ nav ul li:nth-child(7) {

  transition-delay: 0.7s;

}



/*

span.lesson_title {

  font-size: 15px;

  line-height: 18px;

  margin-bottom: -5px;

}

.lms-lessions-list {

  display: flex;

  align-items: center !important;

  justify-content: center !important;



}

.lms-lessions-list .select2-container{

  display: none;

  visibility: hidden;

}

.bb-lms-topic-circle, .bb-lms-quiz-circle {

  width: 33px !important;

  height: 33px !important;

  color: aliceblue;

  background-color: #00a79d !important;

  position: relative !important;

  display: flex;

  justify-content: center !important;

  align-items: center !important;

  border-radius: 4px !important;

  border: none !important; 

  border-color: none !important;

  cursor: pointer;

}

h2.course-entry-title-entry {

  text-align: center;

  font-size: 32px;

  margin-top: 15px;

  margin-bottom: -15px;

}*/



.course-nav-wrapper {

position: fixed;

left: 20px;

display: flex;

flex-direction: column;

gap: 12px;

z-index: 82;

}



.course-nav-button {

width: 120px; /* S'élargit au survol pour montrer le texte */

padding-left: 42px; /* Réajuste pour l'affichage du texte */  height: 35px;

border-radius: 12px;

background-color: #F8971D;

box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

display: flex;

justify-content: flex-start;

align-items: center;

cursor: pointer;

color: white;

font-size: 15px;

font-weight: 600;

position: relative;

text-decoration: none;

transition: all 0.25s ease;

border: none;

outline: none;

overflow: hidden; /* Cache le texte qui dépasse */

 z-index: 80;

}







.course-nav-text {

white-space: nowrap;

color: white;

opacity: 0; /* Caché par défaut */

transition: opacity 0.25s ease;

margin-left: 5px;

font-size: 15px;

font-weight: 600;

}



.course-nav-button .course-nav-text {

opacity: 1;

}



.course-nav-icon {

position: absolute;

left: 14px;

width: 20px;

height: 20px;

color: white;

display: flex;

justify-content: center;

align-items: center;

}



.course-nav-icon svg {

width: 100%;

height: 100%;

}



.course-nav-toggle {

display: none;

flex-direction: column;

gap: 10px;

}



.course-nav-toggle.active {

display: flex;

}



 /* Styles CSS intégraux */

 .icons-container {

  position: fixed;

  top: 160px;

  right: 20px;

  display: flex;

  flex-direction: column;

  gap: 30px;

  z-index: 100;



}



.sidebar-icon {

  width: 50px;

  height: 50px;

  background-color: #00A79D;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition: all 0.3s ease;

  position: relative;

  overflow: visible;

  opacity: 1;

  transform: translateX(2px);

  order: 0;

}





.sidebar-icon svg {

  width: 26px;

  height: 26px;

  fill: white;

  min-width: 20px;

}



.icon-text {

  position: absolute;

  right: 120%;

  top: 50%;

  transform: translateY(-50%) translateX(0px);

  background-color: #00A79D;

  color: white;

  padding: 5px 10px;

  border-radius: 6px;

  white-space: nowrap;

  opacity: 1;

  transition: all 0.3s ease;

  font-size: 14px;

  font-weight: 500;

  pointer-events: none;

}



/* .sidebar-icon:hover .icon-text {

  opacity: 1;

  transform: translateY(-50%) translateX(0);

} */



.icons-container.expanded .sidebar-icon {

  animation: slideInLeft 0.3s forwards;

}



.icons-container.expanded .sidebar-icon:nth-child(1) { animation-delay: 0.1s; }

.icons-container.expanded .sidebar-icon:nth-child(2) { animation-delay: 0.2s; }

.icons-container.expanded .sidebar-icon:nth-child(3) { animation-delay: 0.3s; }

.icons-container.expanded .sidebar-icon:nth-child(4) { animation-delay: 0.4s; }

.icons-container.expanded .sidebar-icon:nth-child(5) { animation-delay: 0.5s; }

.icons-container.expanded .sidebar-icon:nth-child(6) { animation-delay: 0.6s; }



@keyframes slideInLeft {

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



.overlay-box {

  position: fixed;

  top: 0; left: 0;

  width: 100%; height: 100%;

  background-color: rgba(0, 0, 0, 0.4);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  z-index: 90;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;

}



.overlay-box.active {

  opacity: 1;

  pointer-events: auto;

}



.iframe-box {

  position: fixed;

  width: 500px;

  height: 400px;

  background-color: white;

  border-radius: 15px;

  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  z-index: 100;

  opacity: 0;

  transform: scale(0.5);

  transform-origin: top right;

  transition: top 0.3s ease, left 0.3s ease, transform 0.3s ease, opacity 0.3s ease;

  pointer-events: none;

}



.iframe-box.active {

  opacity: 1;

  transform: scale(1);

  pointer-events: auto;

  z-index: 9999;

}



.control-bar {

  position: absolute;

  top: 8px;

  left: 15px;

  display: flex;

  gap: 5px;

  z-index: 10;

}



.control-icon {

  background: rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(6px);

  border: none;

  border-radius: 50%;

  cursor: pointer;

  padding: 6px;

  display: flex;

  align-items: center;

  justify-content: center;

}



.control-icon:hover {

  background: rgba(255, 255, 255, 0.6);

}



.control-icon svg {

  width: 14px;

  height: 14px;

  fill: #00A79D;

}



.content-iframe {

  width: 100%;

  height: 100%;

  border: none;

}



.iframe-box.fullscreen {

  top: 60% !important;

  left: 50% !important;

  transform: translate(-50%, -50%) scale(1) !important;

  width: 80% !important;

  height: 70% !important;

  max-width: 1000px;

  background-color: white !important;

  z-index: 110;

}



.loader-box {

  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(8px);

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 20;

}







@keyframes spin {

  0% { transform: rotate(0deg); }

  100% { transform: rotate(360deg); }

}

.toggle-icons {

  display: none;

}

.toggle-icons .icon-text {

  background-color: #F8971D !important;

}



@media screen and (max-width: 768px) {

  .sidebar-icon:hover .icon-text {

  opacity: 1;

  transform: translateY(-50%) translateX(0);

}



  .icons-container {

    flex-direction: column; /* même que desktop */

    top: 90px;

    right: 15px;

    gap: 20px; /* plus de spacing entre les icônes */

  }

  .ld-breadcrumbs.after {

    display: none;

    visibility: hidden;

}

  .sidebar-icon {

    /* opacity: 0; */

    width: 50px;

    height: 50px;

    position: relative;

  }



  .sidebar-icon .icon-text {

    top: 50%;

    right: 120%;

    left: auto;

    transform: translateY(-50%);

    font-size: 12px;

    padding: 4px 8px;

    background-color: #00A79D;

    border-radius: 6px;

    white-space: nowrap;

    z-index: 999;

    opacity: 0;

    pointer-events: none;

  }



  .sidebar-icon:hover .icon-text {

    opacity: 1;

  }

  .course-nav-button {

    width: 50px; /* Réduit pour n'afficher que l'icône par défaut */

    height: 35px;

    border-radius: 12px;

    background-color: #F8971D;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    display: flex;

    justify-content: flex-start;

    align-items: center;

    cursor: pointer;

    color: white;

    font-size: 15px;

    font-weight: 600;

    padding-left: 15px;

    padding-right: 15px;

    position: relative;

    text-decoration: none;

    transition: all 0.25s ease;

    border: none;

    outline: none;

    overflow: hidden; /* Cache le texte qui dépasse */

  }

  

  .course-nav-button:hover {

    width: 150px; /* S'élargit au survol pour montrer le texte */

    background-color: #e08112;

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);

    padding-left: 42px;

  }

  

  .course-nav-text {

    white-space: nowrap;

    color: white;

    transition: opacity 0.25s ease;

    margin-left: 5px;

  }

  

  .course-nav-button .course-nav-text {

    opacity: 0; 

  }

  .course-nav-button:hover .course-nav-text {

    opacity: 1; 

  }

  .course-nav-wrapper {

    left: 18px !important;

  }

  .prev-link,

  .next-link {

   top: 185px ! important;

   z-index: 99;

  }

  .prev-link{

    left: 0px !important;

  }

  .next-link {

    right: 0px !important;

  }

  .lms-topic-sidebar-progress .course-progress-wrap {

    padding-left: 100px;

    padding-right: 100px;

  }



  .toggle-icons {

    display: flex !important;

    background-color: #e08112;

  }



  /* Cacher les autres icônes par défaut */

  .sidebar-icon:not(.toggle-icons) {

    display: none;

  }



  .sidebar-icon.show-on-mobile {

    display: flex !important;

  }



  

  body.bp-user.my-courses #course-dir-list .bb-course-item-wrap .bb-card-course-details{

    width: calc(100% - 0px);

    flex-direction: column;

    padding: 0 0 0;

  }

  .bb-course-items.list-view .bb-course-cover {

    display: none;

    visibility: hidden;

}

body.bp-user.my-courses #course-dir-list .bb-course-item-wrap .bb-cover-list-item .course-progress-wrap .ld-progress-percentage{

  margin-left: -145px;

    margin-top: 0px;

    width: 100%;

    font-size: 13px;

}



}





.control-icon#fullscreenBtn {

background: white !important;

backdrop-filter: none !important;

}

.iframe-tabs {

display: flex;

flex-direction: column;

height: 100%;

}



.tab-buttons {

display: flex;

justify-content: flex-end;

gap: 10px;

padding: 10px;

background: #f7f7f7;

border-bottom: 1px solid #ddd;

overflow-x: auto;

}



.tab-btn {

flex-shrink: 0;

padding: 8px 16px;

background: white;

border: 1px solid #00A79D;

border-radius: 20px;

color: #00A79D;

font-weight: 600;

cursor: pointer;

transition: all 0.3s ease;

white-space: nowrap;

}



.tab-btn.active {

background: #00A79D;

color: white;

}



.tab-iframe {

flex: 1;

width: 100%;

border: none;

}

.lms-topic-sidebar-wrapper {

  width: 370px !important;

  padding-top: 0px;

  z-index: 82 !important;

  /* position: absolute !important; */

  position: fixed !important;

  top: 70px;

  min-height: calc(75vh - 76px) !important;

}

.lms-topic-sidebar-wrapper::-webkit-scrollbar {

  width: 5px;

}

/* .toggle-sidebar {

 left: 377px;

 display: none !important;

} */

.lms-topic-sidebar-wrapper.lms-topic-sidebar-close {

/* margin-left: -379px; */

margin-left: -40% !important;

}

.lms-topic-sidebar-wrapper::-webkit-scrollbar-thumb {

  background-color: #ccc;

  border-radius: 4px;

}



.lms-topic-sidebar-wrapper::-webkit-scrollbar-track {

  background-color: #f5f5f5;

}



.lms-topic-sidebar-wrapper .bb-lesson-title {

  font-size: 12px !important;

}

.lms-topic-sidebar-wrapper .bb-lms-title {

  font-size: 11px !important;

}

@media (max-width: 768px) {

  .lms-topic-sidebar-wrapper {

      max-height: 100vh! important;

  }

.lms-lesson-item, .lms-quiz-item {

  margin-bottom: 10px;

  width: 100%;

}

}

.h5peditor .ui-dialog .h5p-joubelui-button, .h5peditor .h5p-joubelui-button, .h5p-joubelui-button {

background: #f7941d !important;



}

.h5p-joubelui-button:hover, .h5p-joubelui-button:focus {

background: #00a79d !important;



}

.lesson-progression-h3{

 margin-bottom:7px;

}

.ld-progress-stats {

    text-align: end;

    margin-top: -43px;

}

.wpProQuiz_reviewQuestion li {

width: 30px !important;

height: 30px !important;

font-size: 12px !important;

line-height: 27px !important;

margin: 4px !important;

padding: 0 !important;

}

.learndash_content_wrap {

/* margin-top: -50px!important; */

}

.wpProQuiz_content .wpProQuiz_reviewDiv .wpProQuiz_reviewQuestion {

margin-bottom: -12px!important;

}

.wpProQuiz_content .wpProQuiz_reviewDiv {

border-bottom: 0px !important;

}

/* .progress-bar {

height: 100%! important;

background: linear-gradient(90deg, #00A79D, #F8971D) ! important;

border-radius: 10px! important;

transition: width 0.5s ease! important;

position: relative! important;

} */



.wpProQuiz_content {

    margin-top: -80px !important;

}



.learndash-wrapper .wpProQuiz_reviewDiv {

    margin-bottom: -2em !important;

}



@media screen and (max-width: 1024px) {

  .lesson-progression-h3 {

    font-size: 16px; 

  }

.lms-topic-sidebar-progress .course-progress-wrap {

    padding-left: 60px;

    padding-right: 60px;

}

}



@media screen and (max-width: 768px) {

  .lesson-progression-h3 {

    font-size: 14px; 

  }

.lms-topic-sidebar-progress .course-progress-wrap {

    padding-left: 0px;

    padding-right: 0px;

}

.learndash-wrapper .ld-tabs .ld-tabs-content .ld-tab-content.ld-visible {

  height: 30vh;

}

.lms-topic-sidebar-progress {

  width: 80%;

  margin: 0 auto;

}

}

.h5p-iframe-wrapper {

    width: 100% !important;

    height: auto !important;

}



.classroom_curriculum{

/* display: inline-flex;  */

gap: 15px; 

align-items: center;

}

/*By Adil 12/04/025 */



span.select2-selection.select2-selection--single.school-select {

  border-radius: 2px;

  background: #00a79d;

  border: 1px solid #fff;

  padding: 0px;

  border-radius: 30px;

  margin-left: 10px;

}

.kwf-header .school-info .school-dropdown .select2-container #select2-school-select-container {

  min-width: 160px;

  font-size: 16px;

  font-weight: bold;

  color: #eef0f3;

  text-align: left;



}

  .kwf-header .school-info .school-dropdown .select2-container .select2-selection__arrow {

  background-color: #f5f5f5;

  border-radius: 50%;

  width: 30px;

  position: absolute;

  right: 3px  !important;

  top: 2px  !important;

  }

  .kwf-header .school-info .school-dropdown {

  margin-left: -118px !important;

  position: relative;

  }



  .kwf-header .school-info #selected-school-avatar {

  height: 60px  !important;

  width: 60px  !important;

  border-radius: 50%;

  border: 1px solid #d5d4d4;

  box-shadow: inherit  !important;

  background: #ffffff;

  }

  /* learndash_course_lessons_list */

  div#learndash_course_lessons_list {

    background-color: #DEDEDE69;

    margin-top: 5em;

    border-radius: 10px;

  }

  .learndash-wrapper .ld-tabs .ld-tabs-content .ld-tab-content.ld-visible {

    /* display: flex ; */

    justify-content: center;

}



.learndash-wrapper .ld-tabs .ld-tabs-content .ld-tab-content.ld-visible {

    display: flex !important;

    justify-content: center !important;

    align-items: center;

    flex-direction: column;

}

.action .profile {

  position: relative;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  overflow: hidden;

  cursor: pointer;

}



.action .profile img {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.action .menu {

  position: absolute;

  top: 120px;

  right: 50px;

  padding: 10px 20px;

  background: #fbfbfb;

  width: auto;

  box-sizing: 0 5px 25px rgba(0, 0, 0, 0.1);

  border-radius: 10px;

  transition: 0.5s;

  visibility: hidden;

  opacity: 0;

}

.action .menu.active ul{

  margin: 0px;

}

.action .menu.active {

  top: 75px;

  visibility: visible;

  opacity: 1;

}



.action .menu::before {

  content: "";

  position: absolute;

  top: -5px;

  right: 1px;

  width: 20px;

  height: 20px;

  background: #fbfbfb;

  transform: rotate(45deg);

}



.action .menu span {

  width: 100%;

  text-align: center;

  font-size: 18px;

  padding: 20px 0;

  font-weight: 500;

  color: #555;

  line-height: 1.5em;

}



.action .menu span span {

  font-size: 14px;

  color: #cecece;

  font-weight: 300;

}



.action .menu ul li {

  list-style: none;

  padding: 16px 0;

  border-top: 1px solid rgba(0, 0, 0, 0.05);

  display: flex;

  align-items: center;

}



.action .menu ul li img {

  max-width: 20px;

  margin-right: 10px;

  opacity: 0.5;

  transition: 0.5s;

}



.action .menu ul li:hover img {

  opacity: 1;

}



.action .menu ul li a {

  display: inline-block;

  text-decoration: none;

  color: #555;

  font-weight: 500;

  transition: 0.5s;

}



.action .menu ul li:hover a {

  color: #01a69d;

}

button.button.reset-password-button {

  padding: 4px 10px !important;

  border-radius: 3px !important;

}



.menu-item i._mi {

  display: none;

}

li.menu-item.logout-last {

  display: none;

  visibility: hidden;

}

.bb-vw-container.bb-learndash-banner {

  margin-top: -30px;

}



/* ========== RESPONSIVE CSS FOR TABLET & MOBILE ========== */



/* === GENERAL HEADER RESPONSIVE === */

@media screen and (max-width: 1024px) {

  .kwf-header {

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    padding: 16px;

    text-align: center;

}

.bb-sfwd-aside .header-aside {

  margin-left: auto;

  display: none;

  visibility: hidden;

}

  .kw-logo {

    margin-right: 5px;

  }



  .school-info,

  .menu-role,

  .user-info {

    width: 100% !important;

    /* margin-bottom: 15px; */

  }



  .user-info .action {

    display: flex;

    flex-direction: column;

    align-items: center;

  }



  .user-info .menu {

    /* margin-top: 10px; */

    font-size: 14px;

  }



  .school-display a {

    font-size: 15px;

  }



  .bb-dash__avatar img {

    width: 80px;

    height: 80px;

  }

  div#selected-school-info {

    width: 75px;

    /* height: 61px; */

}

.site-header .site-title {

  display: none;

}

.kwf-header .school-info .school-dropdown {

margin-left: 10% !important;

} 

.kwf-header .school-info #selected-school-avatar {

  height: 52px !important;

}

}



/* === MOBILE STYLES (UNDER 768px) === */

@media screen and (max-width: 768px) {

  .kwf-header {

    /* padding: 10px; */

  }

  .site-header .site-title {

    display: none;

}

#members-list.item-list:not(.grid) .list-wrap .list-wrap-inner {

  -webkit-box-align: start;

  -ms-flex-align: start;

  align-items: self-start;

  width: 100%;

  padding: 15px;

}

body.groups.teachers .manage-teachers-header div {

  font-size: 16px;

  font-weight: 500;

  border-right: 1px solid var(--bb-content-border-color);

  text-align: center;

  vertical-align: middle;

  display: flex;

  align-items: center;

  justify-content: unset;

  padding: 6px;

}

body.groups.teachers .manage-teachers-header {

  display: flow;

  padding: 15px 20px;

  text-align: left;

}

.my-account-link {

  display: none;

  visibility: hidden;

}

body.groups.teachers .teachers-table .list-wrap-inner .teacher_classrooms_count,

body.groups.teachers .teachers-table .list-wrap-inner .teacher_avatar{

  width: 15%;

}

body.groups.teachers .teachers-table .list-wrap-inner .teacher_name,

body.groups.teachers .teachers-table .list-wrap-inner .teacher_email,

body.groups.teachers .teachers-table .list-wrap-inner .teacher_login,

body.groups.teachers .teachers-table .list-wrap-inner .teacher_actions{

  width: 100%;

}



.kwf-header .school-info #selected-school-avatar {

  height: 52px !important;

}

.kwf-header .school-info .school-dropdown {

  margin-left: 10% !important;

}

div#selected-school-info {

  width: 75px;

  /* height: 61px; */

}

  .bb-sfwd-aside .header-aside {

    margin-left: auto;

    display: none;

    visibility: hidden;

}

  .kw-logo img,

  .school-display img,

  .bb-dash__avatar img {

    max-width: 100px;

    height: auto;

  }



  .user-info .menu span {

    text-align: center;

    display: block;

    font-size: 13px;

  }

  .learndash-content-body {

    width: 100% !important;

    padding: 0px;

    margin: 100px auto;

  }

}



/* ========== MENU-ROLE (NAVIGATION) ========== */



/* Desktop: horizontal layout remains unchanged */

.menu-role {

  position: relative;

}



/* Mobile/tablet: show toggle button */

.menu-toggle {

  display: none;

  background: #333;

  color: #fff;

  padding: 10px 15px;

  border: none;

  font-size: 16px;

  cursor: pointer;

  /* margin-bottom: 10px; */

  width: 100%;

  text-align: left;

}



/* Base nav menu */

.role-menu-items {

  display: flex;

  gap: 15px;

  list-style: none;

  padding: 0;

  margin: 0;

}



.role-menu-items li a {

  display: flex;

  align-items: center;

  gap: 8px;

  color: #333;

  text-decoration: none;

}



/* Hover effect */

.role-menu-items li a:hover {

  color: #fdb560 !important;

}

.user-info .action {

  margin-right: 10px;

}

.site-header i, .site-header .notification-dropdown i, .site-header .header-aside .notification-dropdown i, .site-header .header-search-wrap i {

  color: #ffffff;

  font-size: 24px;

  line-height: 1;

  display: inline-block;

}

/* === Tablet & Mobile Nav Behavior === */

@media screen and (max-width: 1024px) {

  .menu-toggle {

    display: block;

  }



  .role-menu-items {

    display: none;

    flex-direction: column;

    background: #f9f9f9;

    border: 1px solid #ddd;

    width: 100%;

    z-index: 1000;

    padding: 10px 0;

  }



  .role-menu-items.show {

    display: flex;

  }



  .role-menu-items li {

    padding: 10px 15px;

    border-bottom: 1px solid #eaeaea;

    text-align: left;

  }



  .role-menu-items li:last-child {

    border-bottom: none;

  }



  .role-menu-items li a {

    font-size: 15px;

  }

  .kwf-header .school-info .school-display a {

    width: 139px;

    margin-left: -35px;

  line-height: 20px;



}



.kwf-header .user-info {

  display: none;

}

}

@media (max-width: 799px) {

  .site-header .bb-left-panel-mobile>i {

      color: #ffffff;

      font-size: 35px;

      margin-right: -20px;

  }

  .lms-header-title h1 {

    color: #181818 !important;

    font-size: 22px !important;

    font-weight: 600 !important;

    height: 60px;

}

}

.sticky-header .site-header {

  padding-top: 8px;

  z-index: 999 !important;

}

.single #learndash-course-header,

.learndash_content_wrap .ld-progress {

  display: none;

  visibility: hidden;

}

.lms-header-title h1{

  color: #181818 !important;

  font-size: 30px;

  font-weight: 600 !important;

  margin-top: 10px !important;

}

.single-headers .classroom_manage_header_left .classroom_name {

  font-size: 22px !important;

  width: 35%;

  word-break: break-word;

  max-width: 200px;

  white-space: normal;

}

.ose-wrapper {

  display: none !important;

  visibility: hidden !important;

}

input.learndash-reset-button {

  font-size: 13px !important;

  background-color: #be1e2d !important;

  height: 100%;

  border: 0px;

  border-radius: 22px;

  display: block;

  letter-spacing: .5px;

  line-height: 1.1;

  text-align: center;

  text-transform: uppercase;

  margin: 0px auto;

}

form.learndash-reset-form {

  padding-top: 10px;

}

/* #kodingschools-preloader #nprogress .spinner {

  display: none !important;

  visibility: hidden !important;

} */

input.wpProQuiz_button.wpProQuiz_QuestionButton[name="check"],

input.wpProQuiz_button.wpProQuiz_QuestionButton[name="Vérifier"],

input.wpProQuiz_button.wpProQuiz_QuestionButton[name="Finish Quiz"]

 {

  display: block !important;



}

pre.wp-block-code, pre.wp-block-preformatted, pre.wp-block-verse {

  line-height: 3;

}

.learndash-wrapper .ld-tabs .learndash_next_prev_link,

.learndash-wrapper .ld-tabs .course-nav-wrapper,

.lms-topic-sidebar-data .lesson-progression-h3,

.lms-lessions-list span.select2-selection.select2-selection--single,

.lms-lesson-content .dropdown-trigger

 {

  display: none !important;

  visibility: hidden !important;

}



.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {

  border-bottom-left-radius: 30px;

  border-bottom-right-radius: 30px;

}

/* .fieldset-body .kwf-preloader {

  display: none;

  visibility: hidden;

} */

.school-classroom-table tbody td.classroom_action {

  display: flex;

  justify-content: center;

  align-items: center;

  height: 100%;

}

body.groups.students .students-table .list-wrap-inner .student_password .password-toggle>.picture-password {

  margin-left: 62px;

}

body.groups.teachers .teachers-table .list-wrap-inner .teacher_actions a.manage-teacher-classrooms-btn span {

  color: #e2e2e2 !important;



}

.reset-password-button {



padding: 0px !important;

}

.reset-password-button svg {

  width: 24px;

  height: 24px;

  fill: #817d7d;

}

button.reset-password-button:hover {

  background-color: inherit !important;

}





.reset-password-button {

  color: inherit !important;

  border-color: inherit !important;

  background-color:inherit !important;

  border:  inherit !important;

  border-radius:  0 !important;

  padding: 0px !important;

  line-height: 0 !important;

  border-width: 0px !important;



}



button.reset-password-button:hover {

  text-decoration: none;

  background-color: inherit !important;

  color: var(--bb-primary-button-text-hover);

  border-color: var(--bb-primary-button-border-hover);

  /* fill: aliceblue; */

}



.reset-password-button svg:hover {

  color: aliceblue !important;

}

a#edit-teacher-details, a#delete-teacher, a#manage-teacher-classrooms {

  font-size: 24px;

  color: #7c7979;

}

.learndash-wrapper .ld-lesson-status {

  display: none;

}

.kwf-header .school-info .school-dropdown .select2-container.select2-container--open .select2-selection--single .select2-selection__rendered {

  display: flex;

  align-items: center;

  justify-content: left;

}



.single-headers .classroom_manage_header_left .classroom_level {

  width: 200px;

}

.single-headers .classroom_manage_header_left .classroom_curriculum span.group-type {

  padding: 2px 15px;

  border-radius: 8px;

}

body.groups #groups-dir-list .item-entry .list-wrap .item-block .classroom_teacher {

  width: -moz-max-content;

  width: max-content;

}

.bb-lms-topic-circle:hover .bb-lms-topic-tooltip, .bb-lms-quiz-circle:hover .bb-lms-quiz-tooltip {

  z-index: 999;

}

.lms-topic-sidebar-progress .course-completion-rate {

  margin-top: 50px;

}

body.groups #groups-dir-list .item-entry .list-wrap .item-block .view-all-teachers {

  width: 70%;

  margin-top: -14px;

}

/* Cacher les onglets Diapositives, Script, Vidéo, Ressources et Quiz */

.ld-tabs-navigation {

    display: none !important;

}



.edit-teacher-details {

  max-width: 600px !important;

  margin: auto !important;

  padding: 25px !important;

  font-family: inherit !important;

}



.edit-teacher-details-content-title {

  font-size: 18px !important;

  font-weight: bold !important;

  display: flex !important;

  align-items: center !important;

  gap: 8px !important;

  margin-bottom: 20px !important;

}



.edit-teacher-details-content-body form {

  display: flex !important;

  flex-direction: column !important;

  gap: 20px !important;

}



.teacher-first-name,

.teacher-last-name {

  display: flex !important;

  flex-direction: column !important;

}



.teacher-first-name label,

.teacher-last-name label {

  font-weight: 600 !important;

  margin-bottom: 6px !important;

}



.teacher-first-name input,

.teacher-last-name input {

  padding: 10px 12px !important;

  font-size: 14px !important;

}



.teacher-first-name input:focus,

.teacher-last-name input:focus {

  outline: none !important;

}



.edit-teacher-details-content-footer {

  display: flex !important;

  justify-content: flex-end !important;

  gap: 12px !important;

  margin-top: 25px !important;

}



.edit-teacher-details-content-footer button {

  padding: 10px 20px !important;

  font-weight: 600 !important;

  font-size: 14px !important;

  cursor: pointer !important;

}



#buddypress .password-toggle>input, body .password-toggle>input {

  text-transform: lowercase !important;

}

.school-classroom-table .classrooms-list table.school-classroom-table th.classroom_action>.toggle-btn {

  margin-left: 0px !important;

}

body.groups.teachers .edit-teacher-details-content-body form {

  width: 300px;

}

.single-item.groups nav#object-nav {

  justify-content: end ;

}

button.h5p-joubelui-button {

  background-color: #f7941d !important;

  color: #ffffff !important;

  border: 1px solid #f7941d !important;

}

button.h5p-joubelui-button:hover {

  background-color: #00a79d !important;

}



.ld-tab-content.ld-visible > *:first-child {

  min-width: 80% !important;

}



.ld-tab-content.ld-visible > div.ose-google-docs.ose-embedpress-responsive {

  margin-left: 140px !important;

}

.manage-teachers-header .teacher_avatar {

  visibility: hidden;  /* garde l’espace occupé */

  width: 0px;         /* adapter à la taille */

}



body.groups.teachers .manage-teachers-header {

  display: flex;

  /* on retire space-between */

  justify-content: initial !important;

  gap: 20px; /* espacement par défaut entre tous les éléments */

  background-color: #f5f5f5;

  border-radius: var(--bb-block-radius);

  padding: 15px 20px;

  margin-bottom: 20px;

}



/* définir la largeur de chaque « cellule » */

body.groups.teachers .manage-teachers-header .teacher_avatar {

  flex: 0 0 60px;    

}



body.groups.teachers .manage-teachers-header .teacher_name {

  flex: 0 0 243px;  

}



body.groups.teachers .manage-teachers-header .teacher_email {

  flex: 0 0 286px;  

}



body.groups.teachers .manage-teachers-header .teacher_login {

  flex: 0 0 89px;  

}



body.groups.teachers .manage-teachers-header .teacher_classrroms_count {

  flex: 0 0 248px !important;   

}



body.groups.teachers .manage-teachers-header .teacher_actions {

  flex: 0 0 69px;  

}

body.groups.teachers .manage-teachers-header div {

  border-right: 0px;

}



.ld-item-list.ld-lesson-list.ld-course-content-59928 h2,

.ld-item-list.ld-lesson-list.ld-course-content-84954 h2,

.ld-item-list.ld-lesson-list.ld-course-content-63542 h2,

.ld-item-list.ld-lesson-list.ld-course-content-59928 h2

 {

  display: none;

}

#multistepsform .select2-container--default .select2-selection--single .select2-selection__rendered {

  min-width: 280px;

}

body .select2-container .select2-dropdown .select2-results__option {

  text-align: center;

}

body.groups.students .manage_students_header {

  justify-content: flex-end;

}

/* body.groups.students .students-management-header .print_students_credentials {

  margin-bottom: -145px;

} */

 /* Si .manage-students existe dans .students-management-header */

.students-management-header:has(.manage-students) .print_students_credentials {

  margin-bottom: -145px;

}



/* Sinon (fallback) */

.students-management-header:not(:has(.manage-students)) .print_students_credentials {

  margin-bottom: -100px;

}

/* Container tooltip */

.learndash_next_prev_link p.prev1-class{

  position: relative;

  cursor: pointer;

  display: inline-block;

  margin-right: 16px;

}

.learndash_next_prev_link p.next1-class {

  position: relative;

  cursor: pointer;

  display: inline-block;



}





/* Le texte de la bulle */

.learndash_next_prev_link p.prev1-class:after,

.learndash_next_prev_link p.next1-class:after {

  opacity: 0;

  pointer-events: none;

  transition: all .18s ease-out;

  background: rgba(17, 17, 17, 0.9);

  border-radius: 4px;

  color: #fff;

  content: attr(data-balloon);

  font-size: 12px;

  padding: .5em 1em;

  position: absolute;

  white-space: nowrap;

  z-index: 10;

  bottom: 100%;

  left: 50%;

  margin-bottom: 11px;

  transform: translate(-50%, 10px);

  transform-origin: top;

}



/* La flèche */

.learndash_next_prev_link p.prev1-class:before,

.learndash_next_prev_link p.next1-class:before {

  content: "";

  width: 0;

  height: 0;

  opacity: 0;

  pointer-events: none;

  transition: all .18s ease-out;

  position: absolute;

  z-index: 10;

  bottom: 100%;

  left: 50%;

  margin-bottom: 5px;

  transform: translate(-50%, 10px);

  border-left: 5px solid transparent;

  border-right: 5px solid transparent;

  border-top: 5px solid rgba(17, 17, 17, 0.9);

}



/* Affichage au hover */

.learndash_next_prev_link p.prev1-class:hover:after,

.learndash_next_prev_link p.next1-class:hover:after,

.learndash_next_prev_link p.prev1-class:hover:before,

.learndash_next_prev_link p.next1-class:hover:before {

  opacity: 1;

  pointer-events: auto;

  transform: translate(-50%, 0);

}



.learndash_next_prev_link a.prev-link:before, .learndash_next_prev_link span.prev-link:before {

  content: ""!important;

}

.learndash_next_prev_link a.next-link:after, .learndash_next_prev_link span.next-link:after {

  content: ""!important;

}


ul.subnav #my-courses-personal-li,
ul.subnav #certificates-personal-li {
  display: none !important;
}
#group-type-filters {
  display: none !important;
}


.single-headers .classroom_manage_header_left .classroom_curriculum {
    min-width: 30%;
}


