@import "../../../utils/theme/colorVariable.scss";
.activee,
.activev2 {
  display: block !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 19px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #212845;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 0;
  bottom: 0.5px;
  background-color: #7a7faa;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #848484;
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
  background-color: #DF166A;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.auto-play {
  min-width: 133px;
  .title {
    color: #000000;
    font-size: 17px;
    margin-right: 10px;
  }
}
.popup-wrapper {
  display: flex;
  margin: 0px;
  .popup-sidebar {
    width: 40%;
    background: #fff;
    background-blend-mode: multiply;
    mix-blend-mode: normal;
    border: 1px solid #000000;
    box-sizing: border-box;
    // box-shadow: 20px 40px 60px rgba(0, 2, 19, 0.15);
    border-radius: 10px 0px 0px 10px;
    .sidebar-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px;
      border-bottom: 1px dashed #000000;
      p {
        color: #000000;
        align-items: center;
        margin: 0;
        font-size: 17px;
        position: relative;
        cursor: pointer;
        span {
          display: inline-block;
          font-size: 21px;
          &:nth-child(2) {
            position: absolute;
            top: 0;
            left: 25px;
            font-size: 14px;
          }
        }
      }
    }
    .sidebar-percentage {
      display: flex;
      padding: 20px;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #000000;
      p {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: #000000;
        display: flex;
        align-items: flex-start;
        margin: 0 20px 0 0;
        font-weight: 600;
        .ff {
          margin-left: 10px;
          color: #000000;
        }
        .colo {
          color: #e584ac;
        }
        img {
          width: 18px;
        }
      }
    }
    .expand-wrapper {
      padding: 20px 10px;
      backface-visibility: hidden;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
      height: calc(100vh - 270px);
      overflow: auto;
      ul {
        padding-left: 0;
        li {
          cursor: pointer;
          list-style: none;
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          background: transparent;
          padding: 0;
          margin: 10px 0 0;
          border-radius: 5px;
          position: relative;
          flex-direction: column;
          justify-content: space-between;
          box-sizing: border-box;
          label {
            color: #fff;
            position: relative;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
          .expand-arrow {
            width: 20px;
            height: 20px;
            border: 1.5px solid #000000;
            color: #000000;
            border-radius: 50%;
            cursor: pointer;
            transition: 0.3s all ease-in-out;
            background: #fafafa;
            transform: rotate(0deg);
            span {
              margin-top: 1px;
              margin-left: 1px;
              font-size: 18px;
            }
          }
          .roted {
            transform: rotate(90deg);
            background: #DF166A;
            border: 1.5px solid #DF166A;
            color: #fff;
          }
          .activebg {
            background: #fafafa !important;
          }
          .tab-title {
            display: flex;
            justify-content: space-between;
            width: 100%;
            padding: 10px;
            border: 1px solid #000000;
            background: #fafafa;
            border-radius: 5px;
            align-items: center;
            box-sizing: border-box;
            .color-text {
              color: #000000;
              // background: -webkit-linear-gradient(0deg, #f46eb8, #978cda);
              -webkit-background-clip: text;
              -webkit-text-fill-color: transparent;
              margin: 0 5px;
              font-weight: 600;
            }
          }
          &.active {
            .tab-title {
              .boxer {
                width: 90%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                p {
                  max-width: 300px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  margin: 0;
                  color: #000000;
                }
              }
            }
            .accordion-content {
              display: none;
              ul {
                position: static;
                width: 100%;
                background: none;
                height: 100%;
                padding-left: 40px;
                box-sizing: border-box;
                &.accordion-inner {
                  display: flex;
                  flex-direction: column;
                  padding-left: 20px;
                  box-sizing: border-box;
                  li {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 0 3px;
                    position: relative;
                    color: #fff;
                    flex-direction: row;
                    position: relative;
                    &::before {
                      position: absolute;
                      content: "";
                      height: 100%;
                      width: 1px;
                      background: #25305f;
                      left: 10px;
                      top: 17px;
                    }
                    &:last-child::before {
                      display: none;
                    }
                    p {
                      width: 75%;
                    }
                    .times {
                      span {
                        padding: 3px 5px;
                        background: #25305f;
                        border-radius: 4px;
                        font-size: 13px;
                        font-weight: 100;
                        color: #978cda;
                      }
                    }
                    .treeview {
                      padding-left: 50px !important;
                      margin-top: 16px;
                      position: relative;
                      li {
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        padding-right: 40px;
                        position: relative;
                        background: transparent;
                        cursor: pointer;
                        p {
                          color: #fff;
                          width: 80%;
                          margin: 0;
                        }
                        span {
                          color: #fff;
                        }
                        &:last-child {
                          &::after {
                            display: none;
                          }
                        }
                      }
                    }
                    .treeview2 {
                      ul {
                        li {
                          &::after {
                            height: 63%;
                          }
                        }
                      }
                    }
                    &.inner-sub {
                      flex-direction: column !important;
                      padding: 0;
                    }
                    p {
                      margin: 5px;
                    }
                  }
                }
              }
            }
            .activee {
              display: block !important;
            }
          }
        }
      }
    }
  }
  .popup-content {
    height: 100vh;
    overflow-y: scroll;
    width: 60%;
    background: #fff;
    padding: 20px;
    border: 1px solid $Black;
    box-sizing: border-box;
    .forword-backword-button {
      display: flex;
      align-items: center;
      color: #fff;
      span {
        cursor: pointer;
      }
    }


    .settings{
      display: flex;
      align-items: center;
      color: #fff;
      .active_settings{
        color: $Pink;
      }
      .settings-button{
        cursor: pointer;
        span {
          margin-top: 5px;
        }
      }
      .settings-popup{
    position: absolute;
    background: $White;
    border-radius: 5px;
    border: 1px solid $Black;
    min-width: 140px;
    right: 40px;
    z-index: 11111;
    bottom: 60px;
    width: fit-content;
    padding: 5px 10px;
      .options {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0px;
        border-bottom: 1px solid $Black;
        cursor: pointer;
        .option-name{
          display: flex;
          align-items: center;
          color: $Black;
          span{
            margin-right: 10px;
          }
          img{
            height: 24px;
            width: 24px;
            margin-right: 10px;
          }
        }
        .arrow{
          display: flex;
          align-items: center;
          color: $Black;
        }
        &:last-child{
          border-bottom: 0px solid $Black;
        }
      }
    }
    .PlaybackSettings{
      position: absolute;
      background: $White;
      border-radius: 5px;
      border: 1px solid $Black;
      min-width: 180px;
      right: 40px;
      z-index: 11111;
      bottom: 60px;
      width: fit-content;
      .playback-speed-options {
        label{
          padding: 10px 5px;
          display: flex;
          align-items: center;
          border-bottom: 1px solid $Black;
          width: 100%;
          color: $Black;
          box-sizing: border-box;
          cursor: pointer;
          .material-icons{
            color:  $Black;
          }
        }
        .playbackSpeedList{
          overflow: auto;
          max-height: 205px;
          padding: 0px 18px 0px 20px;
          div{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 0px;
            border-bottom: 1px solid $Black;
            color:  $Black;
            cursor: pointer;
            span{
              width: 23px;
              font-size: initial;
            }
            &:last-child{
              border-bottom: 0px solid $Black;
            }
          } 
          .activeSpeed{
            color: $Pink;
          }           
        }
      }
    }
    }
    .popup-content-bottom {
      .pc-tab > input,
      .pc-tab section > div {
        display: none;
      }
      #tab1:checked ~ section .tab1,
      #tab2:checked ~ section .tab2,
      #tab3:checked ~ section .tab3 {
        display: block;
      }
      #tab1:checked ~ nav .tab1,
      #tab2:checked ~ nav .tab2,
      #tab3:checked ~ nav .tab3 {
        color: red;
      }

      .pc-tab {
      max-width: 100%;
      margin: 0 auto;
      background: #fff;
      padding: 10px;
      border: 1px solid $Black;
      border-radius: 5px;
      ul {
        list-style: none;
        margin: 0;
        padding: 0;
        li {
          label {
            float: left;
            padding: 15px 15px;
            border-bottom: 0;
            background: transparent;
            color: $Black;
            &:hover {
              background: transparent;
            }
            &:active {
              background: transparent;
            }
            &.tt {
              display: flex;
              align-items: center;
              span {
                margin-right: 5px;
                line-height: 0;
                svg {
                  width: 20px;
                  height: 20px;
                  fill: $Black;
                }
              }
            }
          }
          &:not(:last-child) label {
            border-right-width: 0;
          }
        }
      }
      section {
        clear: both;
        border-top: 1px solid $Black;
        min-height: 100px;
        .tab1 {
          p {
            color: #000000;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin: 10px 0;
            font-size: 13px;
            height: calc(100vh - 498px);
            overflow: auto;
          }
          span {
            &:hover {
              cursor: pointer;
              background: #ef4d7f !important;
              color: #fff;
            }
          }
        }
        div {
          h2 {
            margin: 0;
            letter-spacing: 1px;
            color: #34495e;
          }
          p {
            margin: 0;
          }
        }
        .add {
          display: flex;
          .txt {
            border: 1px solid $Black;
            border-radius: 5px;
            padding: 10px;
            background: $White;
            width: 100%;
            box-sizing: border-box;
            color: $Black;
            margin-right: 5px;
            min-width: 290px;
            min-height: 120px;
          }
          button {
            width: 10%;
            border-radius: 5px;
            padding: 10px;
            color: #fff;
            background: linear-gradient(10deg, #ef4d7f 0%, #ee834f 100%);
            border: 0;
            cursor: pointer;
            transition: 1s;
            outline: 0;
          }
        }
        .discussion {
          border: 1px solid $Black;
          background: $White;
          border-radius: 5px;
          padding: 10px;
          margin: 10px 0;
          box-sizing: border-box;
          .message-discussion {
            display: flex;
            justify-content: space-between;
            p {
              color: $Black;
            }
            .time-right {
              i {
                color: #ffffff87;
                margin-right: 3px;
              }
            }
          }
          .image {
            display: flex;
            .userwrap {
              width: 100%;
            }
            span {
              color: #fff;
            }
          }
          &::after {
            content: "";
            clear: both;
            display: table;
          }
          img {
            width: 50px;
            height: 50px;
            margin-right: 20px;
            border-radius: 50%;
          }
          .time-right {
            font-size: 10px;
            color: #ffffff87;
          }
        }
      }
    }
      #tab1:checked ~ nav .tab1,
      #tab2:checked ~ nav .tab2,
      #tab3:checked ~ nav .tab3 {
        label {
          background: transparent;
          color: #DF166A;
          position: relative;
          &:after {
            content: "";
            display: block;
            position: absolute;
            height: 2px;
            width: 100%;
            background: #DF166A;
            left: 0;
            bottom: -1px;
          }
          span {
            svg {
              fill: #DF166A;
            }
          }
        }
      }
    }
    .title1 {
      color: #000000;
      margin-top: 10px;
    }
  }
}
.mysavenote {
  .discussion {
    .noteslist {
      padding-left: 15px !important;
    }
    li {
      list-style: circle;
    }
    font-size: 15px;
    color: #000000;
    font-weight: 500;
    width: 100%;
    max-width: 100% !important;
    p {
      font-size: 16px;
    }
  }
}

.div-hide,
.video-topic {
  display: none;
}

.div-hide {
  width: 97%;
}

.d-flex {
  display: flex;
  align-items: center;
  width: 90%;
  p {
    white-space: nowrap;
    width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.w-80 {
  width: 80%;
}

.video-topic {
  width: 100%;
  ul {
    margin-top: 10px;
    li {
      flex-direction: row !important;
      align-items: center;
      position: relative;

      p {
        margin: 0;
        padding: 3px 6px;
        color: #000000;
      }

      &::after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 18px;
        width: 1px;
        height: calc(100% - 7px);
        background: #766daaa6;
        z-index: -1;
      }
      &:last-child {
        &::after {
          display: none;
        }
      }
    }
  }
  .treeview {
    li {
      .list-inner {
        background: none;
        &:hover {
          background: #ef4d7f;
        }
      }
    }
  }
  .active {
    background: #fafafa !important;
  }
}
.video-topic2 {
  width: 100%;
  ul {
    margin-top: 10px;
    li {
      &::after {
        height: 63%;
      }
    }
  }
}
.video-topic2 {
  width: 100%;
  display: block;
  .treeview {
    margin: 0;
  }
  .video-divs {
    position: relative;
  }
  .list-inner {
    &:hover {
      background: #eceff7 !important;
    }
  }
  .chapt-active {
    background: #eceff7 !important;
  }
  .mt-5 {
    margin: 10px 0 0;
  }
  ul {
    li {
      margin: 0 !important;
    }
  }
}

.list-inner {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  border: 1px solid #000000;
  padding: 5px 10px;
  border-radius: 5px;
  p {
    color: #000000;
    font-size: 13px;
    width: 74%;
    font-size: 14px;
    margin: 5px;
  }
  .times {
    span {
      padding: 3px 5px;
      background: #fafafa;
      border: 1px solid #848484;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 100;
      color: #848484;
    }
  }
  .new-tabs-arrow {
    .material-icons {
      cursor: pointer;
      font-size: 22px !important;
      color: #000000 !important;
      transform: rotate(-90deg);
      transition: 0.3s all ease-in-out;
    }
  }
}
::ng-deep vg-playback-button .button {
  width: auto !important;
  border: 2px solid #a7a5bc;
  padding: 0px 5px;
  height: 26px;
  margin-top: 10px;
}
::ng-deep vg-player:hover vg-controls{
  transition: 0.5s ease-out 0s !important;
  opacity: 1 !important;
}

::ng-deep vg-player.vgControls  vg-controls {
  background: #322f6ab8 !important;
  opacity: 0 !important;
  transition: 0.5s ease-out 1.5s !important;
}

::ng-deep vg-controls{
  font-family: "mulish-light" !important;
  font-size: small !important;
}

@media (max-width: 1024px) {
  .popup-wrapper {
    .popup-sidebar {
      .sidebar-percentage {
        p {
          margin: 20px;
        }
      }
      .expand-wrapper {
        ul {
          li.active {
            .tab-title {
              .boxer {
                width: 75%;
              }
            }
          }
        }
      }
    }
    .popup-content {
      width: 100%;
      box-sizing: border-box;
    }
  }
}
.header {
  display: none;
}
@media (max-width: 767px) {
  .popup-content {
    top: 0px !important;
    .header {
      display: flex;
      justify-content: space-between;
      padding: 10px;
      border-bottom: 1px dashed #968bdb8f;
      margin-bottom: 10px;
      p {
        color: #968bdb;
        display: flex;
        align-items: center;
        cursor: pointer;
      }
    }
  }
  .mobile-popup-video {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    background: #111435 !important;
    overflow-y: scroll;
    display: none;
  }
  .video-pupup-open {
    background: #1a1f44;
    margin: 7px;
    border: 1px solid #282e58;
    border-radius: 5px;
  }
  .d-flex {
    width: 85%;
  }
  .w-80 {
    width: 70%;
  }
  .popup-wrapper {
    display: block;
    .popup-sidebar {
      width: 100%;
      .expand-wrapper {
        height: calc(100vh - 276px);
        ul {
          li.active {
            .tab-title {
              .boxer {
                width: 70%;
                p {
                  max-width: 100% !important;
                }
              }
            }
            .accordion-content {
              ul.accordion-inner {
                padding-left: 15px;
              }
              ul {
                padding-left: 30px;
              }
            }
          }
        }
      }
      .sidebar-percentage {
        p {
          margin: 0;
        }
      }
    }
  }
  .popup-wrapper {
    .popup-content {
      width: 100%;
      box-sizing: border-box;
      padding: 20px 0;
      height: calc(100vh - 83px);
      z-index: 999;
      position: fixed;
      .popup-content-top {
        margin: 7px;
      }
      .settings{
         .PlaybackSettings{
         .playback-speed-options{
         .playbackSpeedList{
              max-height: 95px;
         }}}}
      .popup-content-bottom {
        margin: 5px;
        .pc-tab {
          max-width: 100%;
          margin: 0 auto;
          background: none;
          padding: 0;
          border: none;
          border-radius: 0;
          section {
            .discussion {
              max-width: 100%;
              img {
                width: 25px;
                height: 25px;
                margin-right: 10px;
              }
              .message-discussion {
                display: block;
              }
            }
            .user2 {
              .discussion {
                img {
                  margin-left: 10px;
                  margin-right: 0;
                }
              }
            }
            .add {
              .txt {
                width: 85%;
                margin: 15px 0;
              }
              button {
                width: 25%;
              }
            }
          }
        }
      }
      .title1 {
        margin-left: 10px;
      }
    }
  }
  .title1 {
    font-size: 14px;
  }
  ::ng-deep vg-time-display {
    line-height: 30px !important;
    font-size: 10px !important;
    margin-left: 12px;
    width: 100% !important;
    justify-content: space-between !important;
  }
  ::ng-seep vg-time-display.time-display-right {
    justify-content: flex-end !important;
    margin-right: 15px;
  }
  ::ng-deep vg-fullscreen {
    width: 30px !important;
  }
  ::ng-deep vg-mute {
    width: 30px !important;
  }
  ::ng-deep vg-scrub-bar {
    position: inherit !important;
    margin: 0px 0px 0px 79px !important;
    width: calc(100% - 171px) !important;
    top: 4px;
  }
  ::ng-deep vg-playback-button {
    margin-left: auto;
  }
  ::ng-deep .vg-icon-volume_up:before {
    content: "\e033";
    font-size: 17px;
  }
  ::ng-deep vg-playback-button .button {
    width: auto !important;
    border: 1.5px solid #a7a5bc;
    padding: 0px 5px;
    height: 20px;
    margin-top: 12px;
    font-size: 10px;
  }
  ::ng-deep vg-play-pause {
    height: 30px !important;
    width: 30px !important;
  }
  ::ng-deep .vg-icon-pause:before {
    content: "\e018";
    font-size: 20px;
  }
  .popup-wrapper {
    .popup-content {
      .forword-backword-button {
        span {
          font-size: 20px;
        }
      }
      .settings-button{
        span {
          font-size: 20px;
        }
      }
    }
    .popup-sidebar {
      .sidebar-percentage {
        padding: 0px 20px;
        p {
          .ff {
            font-size: 13px;
          }
          img {
            width: 14px;
          }
        }
      }
      .sidebar-top-contant {
        background: #1a1f44;
        margin: 10px;
        border: 1px solid #282e58;
        border-radius: 5px;
      }
    }
    .expand-wrapper {
      ul {
        li {
          .tab-title {
            background: #1e254e !important;
          }
          .activebg {
            background: #2e2657 !important;
          }
        }
      }
    }
  }
  .list-inner {
    background: #1e254e;
  }

  .circle-chart {
    #total-pros2 {
      width: 60px !important;
      height: 60px !important;
      circle {
        stroke: #252c59;
      }
    }
  }
}

.ng-star-inserted {
  width: 100%;
}

.check-round {
  background: #262d5f00;
  border: 1px solid #000000;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
  &.roundActive {
    width: 17px !important;
    height: 17px !important;
    background: linear-gradient(#DF166A, #DF166A) !important;
    position: inherit;
    margin-left: 0;
    border: none;
    &::before {
      position: relative;
      content: "✔" !important;
      width: 12px;
      height: 12px;
      background: none;
      top: -3px;
      left: 5px;
      border-radius: 100%;
      transition: all 0.2s ease;
      font-family: "Material Icons";
      color: #fff !important;
      font-size: 10px;
    }
  }
  &::before {
    position: relative;
    content: "";

    background: url(../../../assets/images/svg/Check-White-I.svg);
    width: 12px;
    height: 12px;
    background: none;
    top: -4px;
    left: 4px;
    border-radius: 100%;
    transition: all 0.2s ease;
    font-family: "Material Icons";
    color: #545184 !important;
    font-size: 10px;
  }
  &.progress {
    width: 17px !important;
    height: 17px !important;
    background: none !important;
    border: 1px solid #DF166A !important;
    position: relative;
    margin-left: 0;
    border: none;
    &::before {
      position: absolute;
      content: "❚❚" !important;
      width: 12px;
      height: 12px;
      background: none;
      top: -3px;
      left: 4px;
      border-radius: 100%;
      transition: all 0.2s ease;
      font-family: "Material Icons";
      color: #DF166A !important;
      font-size: 10px;
    }
  }
}

.main-round {
  border-color: #000000;
}
span.check-round.main-round::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  background: none;
  top: 11px;
  left: 15px;
  border-radius: 100%;
  transition: all 0.2s ease;
  font-family: "Material Icons";
  color: #545184;
  font-size: 10px;
}
.nodata-center {
  margin: 5% 0;
  text-align: center;
  width: 100%;
  color: #000000;
  span {
    color: #000000;
  }
}
.transcript {
  font-size: 15px;
  color: #000000;
  font-weight: 500;
}

.circle-chart {
  position: relative;
  span {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    color: #000000;
    font-weight: 600;
  }
  #total-pros2 {
    width: 80px;
    height: 80px;
    circle {
      r: 15.9;
      cx: 20;
      cy: 20;
      fill: transparent;
      stroke: #1b224a;
      stroke-width: 1.5;
      stroke-dashoffset: 25;
      stroke-linecap: round;
      &:last-child {
        stroke: #c9459f !important;
        z-index: -1;
      }
    }
  }
}

.no-video {
  color: #fff;
  font-size: 15px;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  display: flex;
  justify-content: center;
  font-family: "mulish-light";
}
