/**
 * Structure *
 *
 * @format
 */

body {
  background: #f6fafe;
}

.grid {
  display: grid;
}

.grid-50-50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.grid-33-66 {
  grid-template-columns: 1fr 2fr;
}

.x-section {
  margin: 0;
  z-index: 1;
  width: 98%;
}

.x-section.active-member .x-container {
  width: 100%;
  padding: 0 30px;
  max-width: unset;
}

.x-col {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.bs {
  box-shadow: 3px 3px 29px rgba(0, 0, 0, 0.04);
}

p:last-of-type {
  margin-bottom: 0;
}

.page-title {
  display: none;
}
/** Buttons **/
.ys-btn,
input[type="submit"].ys-btn {
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 15px;
    margin-right: 20px;
    max-width: 235px;
    width: 100%;
    display: block;
    text-align: center;
    transition: 0.3s ease;
    text-shadow: none;
    line-height: 1;
}

.ys-btn:hover {
  opacity: 0.7;
  text-shadow: none;
}

.ys-btn.orange-btn {
  background: #f27265;
  color: #fff;
}

.ys-btn.blue-btn {
  background: #009ab2;
  color: #fff;
  border-radius: 21px !important;
}

.simplefavorite-button.preset {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #009ab2;
  max-width: 235px;
  width: 100%;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  padding: 18px;
  line-height: 1;
}

.simplefavorite-button.preset:hover {
  background: #009ab2;
  opacity: 0.7;
}

.simplefavorite-button.preset i {
  position: unset;
  left: unset;
  margin-right: 10px;
}

/** Hero Section **/
#hero.x-section {
  background: #fff;
  margin-top: 25px;
  border-radius: 25px 25px 0 0;
  padding: 60px 40px;
}

#hero .gradient {
  background-image: linear-gradient(
    90deg,
    rgba(0, 87, 111, 1),
    rgba(0, 87, 111, 0.85),
    rgba(0, 87, 111, 0.49)
  );
}

h1 {
  color: #324945;
  font-size: 45px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.lesson-meta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.difficulty {
  color: #f27265;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin-right: 60px;
}

.duration {
  color: #657d80;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  line-height: 1;
}

.duration img {
  margin-right: 5px;
  max-width: 22%;
}

.excerpt {
  font-size: 20px;
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
  color: #657d80;
  max-width: 890px;
  margin: 20px auto 0;
}

/** The Lesson Section **/
#the-lesson.x-section {
  background: #fff;
  padding: 0;
}

#the-lesson .grid-50-50 {
  grid-gap: 50px;
}

h2 {
  color: #324945;
  font-size: 32px;
  font-weight: 600;
  margin: 40px 0 15px;
}

.course-progress {
}

.lesson-content {
  color: #657d80;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.63;
  padding-bottom: 10px;
}

.lesson-heading {
    font-weight: 500;
    color: black;
    font-size: 25px;
}

.lesson-content-img {
  margin-top: 40px;
}

.lesson-content-img img {
  width: 80%;
  border-radius: 6px;
  box-shadow: 3px 3px 30px 0 rgba(0, 0, 0, 0.12);
}

#the-lesson .ld-video,
#the-lesson .signup-cta {
  border-radius: 25px;
  margin-bottom: 40px;
}

.class-progressor {
  display: flex;
  justify-content: center;
  align-items: center;
}

.class-progressor a {
  font-size: 16px;
  color: #009ab2;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s ease;
}

.class-progressor a:hover {
  opacity: 0.7;
}

.class-progressor .prev-class {
  margin-right: 40px;
}

.class-progressor .prev-class img {
  transform: rotate(180deg);
  margin-right: 7px;
}

.class-actions {
  margin-top: 40px;
}

/** Next Up Section **/
#next-up.x-section {
  background: #fff;
}

#next-up h2 {
  font-size: 45px;
  text-align: center;
  font-weight: 500;
}

/** Comments section **/
/** Comments Section **/
#comments {
  background: #fff;
}

#comments h2 {
  font-size: 45px;
  margin: 0 0 40px;
}

#comments .x-comment-img .avatar-wrap:before {
  box-shadow: none;
}

#comments .x-comment-img .avatar-wrap .avatar {
  border-radius: 100em;
}

#comments .h-comments-title small {
  text-shadow: none;
  font-weight: 700;
  font-family: "Work Sans";
  box-shadow: none;
}

#comments .comment-reply-link {
  font-size: 18px;
  color: #009ab2;
  margin-top: 18px;
  display: block;
}

#entry-comment-submit {
  text-shadow: none;
  padding: 12px 25px;
  line-height: 1;
  border: none;
}

/** Logged Out Styles **/
#hero.x-section.logged-out {
  padding: 100px 0;
  border-radius: 0;
  margin-top: 0;
  width: 100%;
}

#hero.logged-out h1,
#hero.logged-out p {
  color: #fff;
}

#hero.logged-out .ys-btn {
  margin: 30px auto 0;
}

#the-lesson.logged-out {
  padding-top: 120px;
}

#the-lesson.logged-out .lesson-content h2:first-of-type {
  margin-top: 0;
}

@media screen and (max-width: 1200px) {
  .grid-50-50 {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 979px) {
  .alm-reveal,
  .course-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .tile-container {
    padding: 0;
    background: transparent;
  }

  h1 {
    font-size: 40px;
  }
}
