/** Slider Settings [ys-course-lessons] **/
.course-lessons-container .lesson-tile-inner {
  box-shadow: 3px 3px 30px rgb(0 0 0 / 10%);
  border-radius: 15px;
  padding: 50px;
}

.course-lessons-container .lesson-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.course-lessons-container .lesson-difficulty {
  color: #009ab2;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.7px;
  padding-right: 20px;
}

.course-lessons-container .lesson-link {
  display: flex;
  align-items: center;
}

.course-lessons-container .lesson-link .completed {
  color: #f27265;
  font-size: 14px;
  font-weight: 600;
  margin-right: 20px;
  text-transform: uppercase;
}

.course-lessons-container .lesson-link a {
  background: #f27265;
  color: #fff;
  padding: 6px 20px;
  border-radius: 15px;
  transition: 0.3s ease;
  display: block;
}

.course-lessons-container .lesson-link a:hover {
  opacity: 0.7;
}

.course-lessons-container h3 {
  font-size: 32px;
  font-weight: 600;
  color: #324945;
}

.lesson-duration {
  margin: 18px 0;
  font-size: 16px;
  line-height: 1;
  color: #657d80;
}

.lesson-duration-tile img {
  max-width: 22%;
}

.lesson-duration-tile {
  margin: 18px 0;
  font-size: 14px;
  line-height: 1;
  color: #657d80;
}

.course-lessons-container p.lesson-data-title {
  font-size: 20px;
  margin: 0;
  color: #324945;
}

.course-lessons-container .lesson-data-content {
  color: #657d80;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.course-lesson-slider-wrapper {
  width: calc(100% + 50px);
  padding: 25px;
  margin-left: -25px;
  overflow: hidden;
}

.slider-controls {
  text-align: right;
  margin-top: 5px;
}

.slider-controls .prev:hover,
.slider-controls .next:hover {
  cursor: pointer;
  opacity: 0.7;
}

.slider-controls .prev {
  background: url('/wp-content/uploads/2021/06/arrow-left.svg');
  width: 70px;
  height: 30px;
  display: inline-block;
  margin-right: 30px;
}

.slider-controls .next {
  background: url('/wp-content/uploads/2021/06/arrow-right.svg');
  width: 70px;
  height: 30px;
  display: inline-block;
}

/** Course view **/
.course-view #tns1-iw {
  margin: 0 25% 0 0;
}

.course-view #tns1-mw {
  overflow: visible;
}

/** Lesson View **/
.lesson-view #tns1-mw {
  overflow: visible;
}

.lesson-view .course-lessons-container {
  display: flex;
}

.lesson-view .course-lessons-container .lesson-tile-top {
  margin-bottom: 0;
}

.lesson-view .course-lessons-container .lesson-tile.tns-item {
  display: flex;
  flex-direction: column;
}

.lesson-view .lesson-tile .lesson-tile-inner,
.course-practice .lesson-tile-inner,
.lesson-practice .lesson-tile-inner {
  position: relative;
  margin-right: 25px;
  padding: 0;
  overflow: hidden;
  height: 100%;
  opacity: 0.7;
  transition: 0.3s ease;
}

.lesson-view .lesson-tile .lesson-tile-inner:hover {
  opacity: 1;
}

.lesson-view .lesson-tile .lesson-link,
.course-practice .lesson-link,
.lesson-practice .lesson-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
}

.lesson-view .lesson-tile .diff-dura-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lesson-view .lesson-duration {
  margin: 0;
}

.lesson-view .lesson-tile .lesson-tile-bottom {
  padding: 15px;
}

.lesson-view .lesson-tile h3 {
  color: #505d68;
  font-size: 16px;
  font-weight: 500;
  font-family: "Work Sans", sans-serif;
  line-height: 1.88;
}

.lesson-view .lesson-number-container {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  margin-left: -25px;
}

.lesson-view .lesson-number-container .before-line,
.lesson-view .lesson-number-container .after-line {
  background: #d6dee6;
  width: 100%;
  height: 2px;
}

.lesson-view .lesson-number-container.first .before-line {
  background: transparent;
}

.lesson-view .lesson-number {
  color: #009ab2;
  font-size: 55px;
  font-family: 'Crimson Text';
  line-height: 1;
  text-align: center;
  margin: 0 10px;
}

/** Shortcode Styles [ys-course-lessons-slider template="" difficulty=""] **/
.course-practice .lesson-tile-top,
.lesson-practice .lesson-tile-top {
  display: block;
  align-items: unset;
  justify-content: unset;
  margin-bottom: 0;
}

.course-practice .lesson-tile-top img,
.lesson-practice .lesson-tile-top img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 15px;
}

.course-practice h3,
.lesson-practice h3 {
  color: #f27265;
  font-size: 25px;
  margin: 20px 0 10px;
  font-weight: 600;
}

.course-practice p,
.lesson-practice p {
  color: #657d80;
  font-size: 18px;
  margin: 0;
  border-top: 1px solid #ddd;
}

.course-practice .lesson-tile-inner,
.lesson-practice .lesson-tile-inner {
  box-shadow: none;
  border-radius: 0;
  opacity: 1;
}


.lesson-tile .lesson-tile-inner .lesson-tile-top .hover-button {
  position: relative;
}

.lesson-tile .lesson-tile-inner:hover .lesson-tile-top .hover-button .view-course-hover {
  opacity: 1;
}

.lesson-tile .lesson-tile-inner .lesson-tile-top .hover-button img {
  transition: all 400ms ease;
}

.lesson-tile .lesson-tile-inner:hover .lesson-tile-top .hover-button img {
  opacity: 0.5;
}

.lesson-tile .lesson-tile-inner .lesson-tile-top .hover-button .view-course-hover {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f27265;
  width: 175px;
  height: 40px;
  border-radius: 10px;
  color: white;
  border: none;
  font-weight: 600;
  font-size: smaller;
  opacity: 0;
  position: absolute;
  left: calc(50% - 87px);
  top: calc(50% - 20px);
  transition: all 400ms ease;
}

@media screen and (max-width: 768px) {
  .course-lesson-slider-wrapper.lesson-view {
    width: calc(100% + -270px);
    padding: 25px;
    margin-left: -25px;
    overflow: visible;
  }
}

@media screen and (max-width: 600px) {
  .course-lesson-slider-wrapper.lesson-view {
    width: calc(100% + -100px);
    padding: 25px;
    margin-left: -25px;
    overflow: visible;
  }
}

@media screen and (max-width: 550px) {
  .course-lessons-container h3 {
    font-size: 28px;
  }
  .course-lessons-container .lesson-tile-top {
    flex-direction: column;
    row-gap: 20px;
    align-items: flex-start;
  }
  .course-lessons-container .lesson-link {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .course-lesson-slider-wrapper.lesson-view {
    width: calc(100% + 1400px);
    padding: 25px;
    margin-left: -25px;
    overflow: visible;
  }
  .course-lessons-container .lesson-tile-inner {
    padding: 20px;
  }
}

@media screen and (max-width: 450px) {
  .course-lessons-container h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 350px) {
  .course-lessons-container h3 {
    font-size: 20px;
  }
}