/* ALL EPISODES PAGE */

.episode-wrap {
    background-color: #f2fcff;
}

.episode-wrap #grade {
    cursor: pointer;
    display: block;
    -webkit-appearance: none;
    background: #fff;
    border: solid 1px #2fb2e6;
    padding: 8px 18px;
    padding-right: 60px;
    font-size: 34px;
    font-family: futura-pt-bold;
    color: #ed2e70;
    border-radius: 0;
    width: 100%;
}

.grade-select-wrap {
    position: relative;
    width: 295px;
}

.grade-select-wrap img {
    position: absolute;
    top: 55%;
    right: 20px;
    transform: translateY(-50%);
}

.episode-info a {
    display: inherit;
    text-decoration: none;
    color: inherit;
}

.episode-info img {
    width: 100%;
    height: auto;
}

.episode-info img.episode-locked {
    position: absolute;
    width: 60px;
    top: 8rem;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (min-width: 380px) {
    .episode-info img.episode-locked {
        width: 60px;
        top: 11rem;
    }
}

@media only screen and (min-width: 550px) {
    .episode-info img.episode-locked {
      
        top: 15rem;
    }
}


@media only screen and (min-width: 700px) {
    .episode-info img.episode-locked {
        width: 30px;
        top: 4rem;
    }
}

@media only screen and (min-width: 768px) {
    .episode-info img.episode-locked {
        width: 60px;
        top: 6rem;
    }
}

@media only screen and (min-width: 990px) {
    .episode-info img.episode-locked {
        top: 8rem;
    }
}

@media only screen and (min-width: 1200px) {
    .episode-info img.episode-locked {
        top: 10rem;
    }
}


.episode-header-title {
    font-family: futura-pt-bold, sans-serif;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.7px;
    color: #2fb2e6;
}

/* Single Episode */
@media (min-width: 778px) {
    .single-episode .episode-video {
        flex: 0 0 100%;  /* Changed by Joe Malott at Globe Runner */
    }
    .single-episode .curriculum-guide {
        margin-left: 100%%;  /* Changed by Joe Malott at Globe Runner */
    }
}
.single-episode .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    height: 0;
    overflow: hidden;
}
.single-episode .video-wrapper .video-absolute {
    position: absolute;
    width: 100%;
}
.single-episode .video-wrapper #video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-episode .episode-video {
    background-color: none;    /* was #f2fcff */
}

.single-episode .activity-title {
    font-family: futura-pt-bold;
    letter-spacing: 0.43px;
    position: relative;
    display: block;
}
.arrow svg {
    height: 100%;
    width: 100%;
}
.single-episode .activity-title .arrow {
    position: absolute;
    right: 0;
    top: 5px;
    display: block;
    height: 12px;
    width: 20px;
}
.single-episode .activity.open .activity-title .arrow {
    transform: rotate(180deg);
    top: 20px;
}
.single-episode .activity-title img {
    position: relative;
    width: 20px;
    top: 2px;
    margin: 0 5px;
}

.single-episode a {
    cursor: pointer;
}
.single-episode .all-lessons {
      font-family: futura-pt-bold;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.35px;
      color: #2fb2e6;
      text-decoration: none;
}
.single-episode .meta .overview ul {
    margin: 0;
    list-style: none;
    padding: 0;
    font-size: 14px;
    font-family: futura-pt, sans-serif;
}
.before-you-begin {
    padding: 10px;
    background: #f2fcff;
    margin-top: 20px;
    margin-bottom: 30px;
}
.before-you-begin ul {
    font-size: 15px;
}
.activities .activity {
    border-top: 1px solid #e4eff4;
    padding: 12px 20px;
    padding-right: 30px;
}

.activities .activity .activity-content.open {
    padding: 15px 20px;
}

.activities .activity .activity-content,
.activities .activity .activity-content .activity-section-content {
    height: 0;
    overflow: auto;
    transition: .3s height ease;
    font-size: 14px;
    line-height: 1.64;
}

.activities .activity .activity-content.open,
.activities .activity .activity-content .activity-section-content.open {
    height: auto;
    overflow: visible;
}

.activities .activity .activity-content .activity-section-selector {
      font-family: futura-pt-bold;
      font-size: 12px;
      line-height: normal;
      letter-spacing: normal;
      color: #006a95;
      text-transform: uppercase;
      display: block;
      position: relative;
}
.activities .activity .activity-content .activity-section-selector .arrow {
    display: block;
    height: 9px;
    width: 15px;
    position: absolute;
    right: 0;
    top: 0;
}
.activities .activity .activity-content .activity-section-selector.open .arrow {
    transform: rotate(180deg)
}
.video-link {
    display: block;
    padding-left: 16px;
    position: relative;
    border-left: 0;
    margin-left: 0;
    background: none;
    margin-right: 0;
    padding-top: 3px;
    padding-bottom: 3px;
}
.video-link.active {
    padding-left: 60px;
    border-left: 10px solid #ed2e70;
    margin-left: -55px;
    background: rgba(239, 126, 164, .1);
    margin-right: -55px;
}
.video-link:before {
    content: '';
    display: block;
    position: absolute;
    height: 7px;
    width: 7px;
    border: 1px solid #006a95;
    border-radius: 50%;
    left: 0;
    top: 10px;
}
.video-link.active:before {
    border: 1px solid #ed2e70;
    border-radius: 50%;
    left: 43px;
}
.video-link b {
    font-family: futura-pt-bold;
}
.video-link span {
    font-family: futura-pt;
}