.card-transition {
  transition: transform .2s ease-in-out;
}

.card-transition:hover, .card-transition:focus, .card-transition:active {
  -webkit-transform: translateY(-0.1875rem) !important;
  transform: translateY(-0.1875rem) !important;
}




/*------------------------------------
  Induction / Lesson
------------------------------------*/
:root {
  --plyr-color-main: #f80;
}

#lesson__questions {
  display: none;
}

.lesson {
  border-radius: 8px;
  width: 100%;
  margin: 0 auto;
}
.lesson__resource {
  border-radius: 8px;
  background: #2a3038;
  box-shadow: 0 14px 34px rgba(44, 44, 44, 0.25);
  margin: 0 auto 2rem auto;
  display: block;
  position: relative;
  z-index: 2;
  min-height: 240px;
  overflow: hidden;
}

.lesson__resource video {
  width: 100%;
}

.lesson__resource .plyr {
  border-radius: 12px;
  width: 100%;
}

.lesson__questions {
      display: flex;
      flex-direction: column;
      margin: 1.5rem auto 2rem auto;
  }

  .lesson__question {
      background: #fff;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
      text-decoration: none;
      border-radius: 8px;
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      padding: 0.8rem;
      width: 100%;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
  }
  .lesson__question-wrapper {
      height: 0;
      opacity: 0;
      visibility: hidden;
      overflow: hidden;
      transition: opacity .5s, transform .5s;
      -webkit-transition: opacity .5s, transform .5s;
      -ms-transition: opacity .5s, transform .5s;
      -webkit-transform: translateY(30px);
      -ms-transform: translateY(30px);
      transform: translateY(30px);
  }

.lesson__question--show {
    height: auto;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none
}

.lesson__question--right {
    flex-direction: row-reverse;
}
.lesson__question--right .lesson__question--text {
    margin: 0 10px 0 0;
}

.lesson__question--right div {
    width: 100%;
}

.lesson__question:before {
    content: "";
    width: 23px;
    height: 23px;
    border: 1px solid #d5d5d5;
    background: #fff;
    border-radius: 23px;
    display: inline-block;
    flex: 0 0 23px;
}

.lesson__question input {
    display: none;
}

.lesson__question--progress {
    text-transform:uppercase;
    font-weight:bold;
    letter-spacing:1.5px;
    font-size:13px;
}

.lesson__question--text {
    font-size: 15px;
    margin-left: 10px;
    color: #333;
}

h3 {
    font-size: 17px;
}

.lesson__question:hover, .lesson__question:active {
    background: #eee;
    transform: scale(1.015);
}

/* select answer */
.lesson__question--selected, .lesson__question-list--selected {
    background: #cae4e8;
    transform: scale(1.015);
}
.lesson__question--selected:before {
    transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
    background-color: #1a97c2;
    border-color: #1a97c2;
    background-image: url('../../images/icons/check.svg');
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
}
.lesson__question--selected:hover {
    background: #cae4e8;
    transform: scale(1.015);
}

/* correct answer */
.lesson__question--correct, .lesson__question-list--correct {
  background: #cae8ca;
  transform: scale(1.015);
}
.lesson__question--correct:before {
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
  background-color: #1ac266;
  border-color: #1ac266;
  background-image: url('../../images/icons/check.svg');
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
}
.lesson__question--correct:hover {
  background: #cae8ca;
  transform: scale(1.015);
}

/* incorrect answer */
.lesson__question--incorrect, .lesson__question-list--incorrect {
  background: #ecd1d1;
  transform: scale(1.015);
}
.lesson__question--incorrect:before {
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
  background-color: #cc3333;
  border-color: #cc3333;
  background-image: url('../../images/icons/cancel-white.svg');
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
}
.lesson__question--incorrect:hover {
  background: #ecd1d1;
  transform: scale(1.015);
}

.lesson__question-list--selected {
    background: #fff;
}
.lesson__question-list--selected .badge {
    margin-right: 10px;
}

.lesson__question-list--selected:hover {
    background: #fff;
}

.pristine-error {
    display: none !important;
}

.lesson__footer {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 7px rgba(59, 59, 59, 0.10), 0 14px 24px rgba(44, 44, 44, 0.15);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.lesson__previous, .lesson__next {
    border: none;
    -webkit-appearance: none;
    padding: 0.9rem;
    height: 60px;
    text-decoration: none;
    color: #fff;
    background: #3a3f46;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    cursor: pointer;
}

.lesson__previous svg, .lesson__next svg {
    fill: #fff;
    width: 15px;
    height: 15px;
}

.lesson__previous.hide, .lesson__next.hide {
    opacity: 0;
    pointer-events: none;
}

.lesson__previous.disable, .lesson__next.disable {
    opacity: 0.4;
    pointer-events: none;
}

.lesson__previous .lesson-btn--text {
    margin-left: 5px;
    display: none;
}

.lesson__next {
    background: #1ac266;
    flex: 0 0 100%;
    margin-left: auto;
}
.lesson__next .lesson-btn--text {
    margin-right: 10px;
}

.lesson__next:hover, .lesson__next:active {
    background: #18ad5b;
}

.lesson__progress {
    font-size: 14px;
    /* font-family: map-get($fonts, body-semibold); */
    opacity: 0.9;
    text-align: left;
    line-height: 1.7;
    padding: 0 10px;
    position: relative;
    top: 2px;
}
.lesson__progress small {
    opacity: 0.7;
    font-size: 14px;
    /* font-family: map-get($fonts, brand-body); */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    line-height: 1.3;
}

@media (min-width: 992px) {

  .lesson__container {
    padding: 0 0 3rem 0;
  }
  
  .lesson__container:before {
      height: 625px;
  }

  .lesson__resource {
    margin: 0 auto 2.5rem auto;
    min-height: 370px;
  }

  .lesson__previous, .lesson__next {
    height: auto;
    padding: 1.3rem 1.5rem;
    font-size: 17px;
    flex: 0 0 100%;
  }
  .lesson__previous svg, .lesson__next svg {
      width: 18px;
      height: 18px;
  }

  .lesson__previous .lesson-btn--text {
    display: block;
    margin-left: 10px;
  }

  .lesson__progress {
    font-size: 15px;
  }
}

.flex-wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 1.5rem 0 1.5rem 0;
}

.single-chart {
  position: relative;
  width: 100%;
  justify-content: space-around;
}

.circular-chart {
  display: block;
  margin: 10px auto;
  max-width: 80%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: #3f454d;
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  animation: progress 1.5s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}


.percentage {
  position: absolute;
  top: 52%;
  left: 50.5%;
  transform: translate(-50%, -50%);
  color: #1ac266;
  opacity: 0.9;
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 0.05rem;
  text-anchor: middle;
}

.percentage .symbol {
  font-size: 50%;
  margin-left: 5px;
  position: relative;
  top: -22px
}


.passed .lesson__status {
    color: #1ac266;
}
  
.passed .circular-chart .circle {
  stroke: #1ac266;
}

.passed .percentage {
  color: #1ac266;
}

.failed .lesson__status {
  color: #e4312d;
}
  
.failed .circular-chart .circle {
  stroke: #e4312d;
}

.failed .percentage {
  color: #e4312d;
}
