/* General */
html {
  font-size: 62.5%;
}
body {
  background: #fff;
  color: #514d47;
  font: normal 400 1.6rem/2.4rem Helvetica, Arial, sans-serif;
  letter-spacing: .025rem;
}
a {
  color: #72abbf;
  text-decoration: none;
}
u {
  text-decoration: none;
}
img {
  border: none;
}
hr {
  background: #f2f2f2;
  border: 0;
  height: 1px;
  margin: 2rem 0;
}
small {
  font-size: smaller;
}
strong,
h1,
h2,
h3,
th {
  font-weight: 700;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 2.3rem;
  line-height: 3.2rem;
}
h3 {
  color: #555;
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
}
h4 {
  font-size: 1.5rem;
  margin: 1rem 0;
}
ol {
  list-style-type: decimal;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
nav li {
  display: inline-block;
}
table {
  width: 100%;
}
th,
td {
  padding: 1.5rem 0;
  text-align: left;
  vertical-align: top;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  box-sizing: border-box;
  font-size: 1.2rem;
  line-height: 1.5rem;
  min-height: 4rem;
  outline: none;
  padding: 0 1.5rem;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
select {
  line-height: 1.2rem;
  padding: 0 3rem 0 1.5rem;
}
.select-wrapper {
  display: inline-block;
}
.select-wrapper:after {
  border-bottom: 1px solid #72abbf;
  border-right: 1px solid #72abbf;
  content: " ";
  display: inline-block;
  height: 5px;
  margin-bottom: .2rem;
  margin-left: -2rem;
  pointer-events: none;
  width: 5px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
input:focus,
select:focus,
textarea:focus,
.note-editor:focus,
.answer-editor:focus {
  border-color: #72abbf;
}
input[type="checkbox"] + label,
input[type="radio"] + label,
select {
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  display: none;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
  border: 1px solid #000;
  width: 2rem;
  height: 2rem;
  min-height: 2rem;
  display: inline-block;
  padding: 0;
  position: relative;
  top: .6rem;
  margin-right: .5rem;
}
input[type="radio"]:checked + label:before {
  content: " ";
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  background: radial-gradient(ellipse at center, #555555 48%,#fff 52%);
  background: -webkit-radial-gradient(center, ellipse cover, #555555 48%,#fff 52%);
  margin: .4rem 0 0 .4rem;
}
input[type="checkbox"]:checked + label:before {
  content: " ";
  border: solid #555555;
  width: .9rem;
  height: .4rem;
  display: block;
  transform: rotate(-45deg);
  border-width: 0 0 .2rem .2rem;
  margin: .6rem 0 0 .4rem;
}
input[type="radio"] + label {
  border-radius: 2.5rem;
}
.button {
  background: #f7653c;
  border-radius: .5rem;
  color: #fff;
  font-weight: 500;
  min-height: 5rem;
  min-width: 20rem;
  padding: 0 1.5rem;
}
a.button {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 5rem;
  text-align: center;
}
.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}
.fill {
  overflow: hidden;
  height: 0;
}
.small-caps {
  font-variant: small-caps;
}

/* Layout */
.container {
  box-sizing: border-box;
  min-height: calc(100vh - 30.7rem);
  margin: 0 auto;
  width: 100%;
}
header {
  background: #000;
  box-sizing: border-box;
  height: 8rem;
  padding: 2.2rem 3rem 1.6rem;
}
header .logo {
  display: inline-block;
  height: 3.5rem;
}
header .mobile-menu-icon {
  color: #fff;
  display: none;
  font-size: 2rem;
  margin-top: .6rem;
}
header nav {
  float: right;
  margin-top: .7rem;
}
header nav li {
  margin-left: 2rem;
}
header nav a {
  color: #fff;
}
footer {
  background: #000;
  color: #ccc;
  padding: 5rem;
  text-align: center;
}
footer img {
  margin: 0 2rem;
  width: 4rem;
}
footer a {
  color: #ccc;
}

/* Shared */
.products {
  display: flex;
  justify-content: space-between;
  padding: 5rem 10%;
}
.products .copy {
  margin-left: 3rem;
  max-width: 65rem;
}
.covers img {
  border: 1px solid #e5e5e5;
}
.products h2 {
  margin-top: 0;
}
.fluid-width-video-wrapper {
  padding: 54.2% 0 0 0;
  width: 100%;
  position: relative;
}
.fluid-width-video-wrapper iframe {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Landing Page */
.landing .video {
  box-sizing: border-box;
  height: calc((9/16)*100vw);
  max-height: calc(100vh - 20rem);
  overflow: hidden;
  position: relative;
}
.landing .video video {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -100;
}
.landing .video-button {
  bottom: 0;
  left: 0;
  position: absolute;
  width: 100%;
  top: 0;
  background: hsla(0, 0%, 0%, .2);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
}
.landing .tagline {
  background: #f6f6f6;
  text-align: center;
  padding: 5rem 10%;
}
.landing .mobile {
  background: #3477c5;
  color: #fff;
  flex-direction: row-reverse;
}
.landing .mobile div img {
  margin-right: 5rem;
  width: 6rem;
}
.landing .mobile .copy {
  margin: 0 3rem 0 0;
}

/* Single Page */
.single-page {
  max-width: 90rem;
  padding: 3rem;
}
.single-page-wide .mobile div img {
  margin-right: 5rem;
  width: 15rem;
}
.flex-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flex-3 div {
  width: 30%;
}
.flex-3 img {
  width: 100%;
}
.flex-3 p {
  border-top: 2px solid #000;
  padding-top: 2rem;
}

.curriculum-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.curriculum-buttons .button {
  margin: 2rem 0;
}

/* Web App Page */
.webapp {
  bottom: 5.7rem;
  position: absolute;
  top: 8rem;
}
.webapp + footer {
  bottom: 0;
  left: 0;
  padding: 0 2rem;
  position: absolute;
  right: 0;
}
.question-column,
.alt-column {
  box-sizing: border-box;
  height: 100%;
  overflow: auto
}
.question-column {
  width: 65%;
}
.question-header {
  align-items: center;
  background: #ccc;
  box-sizing: border-box;
  color: #000;
  display: flex;
  height: 8rem;
  justify-content: space-between;
  left: 0;
  padding: 0 3rem;
  position: absolute;
  width: 65%;
}
.question-body {
  margin: 0 auto;
  max-width: 70rem;
  padding: 11rem 3rem 12rem;
}
.alt-header {
  border-left: 1px solid #000;
  box-sizing: border-box ;
  height: 8rem;
  padding: 3rem;
  position: absolute;
  background: #f5f5f5;
  right: 0;
  width: 35%;
}
.alt-column {
  border-left: 1px solid #000;
  width: 35%;
}
.alt-body {
  padding: 13rem 5rem 3rem;
}

.question-header .part {
  display: none;
}
.question-header .part.active {
  display: block;
}
.question-header.part1,
.alt-header.part1,
.question-nav .part1 {
  background: #f7653c;
}
.question-header.part2,
.alt-header.part2,
.question-nav .part2 {
  background: #3477c5;
}
.question-header.part3,
.alt-header.part3,
.question-nav .part3 {
  background: #22a374;
}
.question-body .question-icon {
  height: 8.5rem;
  margin-top: 2rem;
  width: 8.5rem;
}
.question-body .question-button {
  margin-right: 1rem;
}
.question-body .part-button {
  display: inline-block;
  padding: 1rem 2.5rem;
}
.question-body .part-button.part1 {
  border: 2px solid #f7653c;
  color: #f7653c;
}
.question-body .part-button.part2 {
  border: 2px solid #3477c5;
  color: #3477c5;
}
.question-body .part-button.part3 {
  border: 2px solid #22a374;
  color: #22a374;
}

.question-header .part1 .part-icon {
  background: url("../img/part-1.svg") no-repeat;
  background-size: 65px 65px;
}
.question-header .part2 .part-icon {
  background: url("../img/part-2.svg") no-repeat;
  background-size: 65px 65px;
}
.question-header .part3 .part-icon {
  background: url("../img/part-3.svg") no-repeat;
  background-size: 65px 65px;
}
.question-header .part p {
  margin: .8rem
}
.question-header .part-number:before,
.question-header .part-number:after {
  color: #000;
}
.question-header .part1.active .part-number:before {
  content: "Parte 1";
}
.question-header .part2.active .part-number:before {
  content: "Parte 2";
}
.question-header .part3.active .part-number:before {
  content: "Parte 3";
}
.question-header .active .part-number:after {
  content: " ▽";
  font-size: smaller;
}
.question-body h2 {
  border-bottom: 1px solid #000;
  margin-top: 0;
  padding-bottom: 1rem;
  margin-bottom: 3.5rem;
}
.question-body .question-icon {
  margin-bottom: 2rem;
}
.pager {
  align-items: center;
  display: flex;
}
.pager-prev,
.pager-next {
  border-left: 1.5px solid #000;
  border-top: 1.5px solid #000;
  cursor: pointer;
  height: 10px;
  width: 10px;
}
.pager-prev {
  margin-right: 1rem;
  transform: rotate(-45deg);
}
.pager-next {
  transform: rotate(135deg);
}
.ShareLink {
  margin-left: 5rem;
}
.ShareLink img {
  width: 2rem;
}

.alt-header ul {
  display: flex;
  justify-content: space-around;
}
.alt-header li:focus {
  outline: none;
}
.alt-header li span {
  cursor: pointer;
}
.alt-header li[data-panel="scripture"] span {
  background: url("../img/scripture-inactive.svg") no-repeat;
  background-size: 22px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.2rem;
}
.alt-header li.active[data-panel="scripture"] span {
  background: url("../img/scripture-active.svg") no-repeat;
  background-size: 22px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.2rem;
}
.alt-header li[data-panel="commentary"] span {
  background: url("../img/commentary-inactive.svg") no-repeat;
  background-size: 21px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.1rem;
}
.alt-header li.active[data-panel="commentary"] span {
  background: url("../img/commentary-active.svg") no-repeat;
  background-size: 21px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.1rem;
}
.alt-header li[data-panel="prayer"] span {
  background: url("../img/prayer-inactive.svg") no-repeat;
  background-size: 25px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.5rem;
}
.alt-header li.active[data-panel="prayer"] span {
  background: url("../img/prayer-active.svg") no-repeat;
  background-size: 25px 23px;
  display: inline-block;
  height: 2.3rem;
  width: 2.5rem;
}
.alt-body p {
  text-indent: 2rem;
  margin: 0;
}
.alt-body p + h3 {
  margin-top: 1.5rem;
}
.alt-body div p:first-of-type:not(.poetry),
.alt-body h3 + p:not(.poetry),
.alt-body h4 + p:not(.poetry),
.alt-body .no-text-indent {
  text-indent: 0;
}
.alt-body h3 {
  margin-top: 0;
}
.alt-body h4 {
  margin-bottom: 0;
}
.alt-body .poetry {
  margin: 0;
  padding-left: 6rem;
  text-indent: -4rem;
}
.alt-body .poetry.indent {
  padding-left: 6rem;
  text-indent: -2rem;
}
.alt-body .no-text-indent,
.alt-body .poetry.first {
  margin-top: 1.5rem;
}
.alt-body .quote {
  padding-left: 2rem;
}
.alt-body .quote.first {
  margin-top: 1.5rem;
  text-indent: 0;
}

.progress {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.progress-content {
  background: #fff;
  padding: 3rem;
}
.progress-content h2 {
  text-align: center;
}
.progress-content a:first-of-type {
  margin-right: 2rem;
}

.question-nav {
  background: #fff;
  border-top: 1px solid #000;
  bottom: 0;
  box-sizing: border-box;
  display: none;
  left: 0;
  overflow: auto;
  position: absolute;
  top: 7.9rem;
  width: 65%;
  z-index: 1;
}
.question-nav li {
  display: block;
  padding: 2.5rem;
}
.question-nav h3 {
  color: #fff;
  margin: 0;
}
.question-nav a {
  color: #000;
}
.question-nav .question {
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}
.question-nav li:nth-of-type(21),
.question-nav li:nth-of-type(37),
.question-nav li:last-of-type {
  border-bottom: none;
}

.settings-icon {
  background: url("../img/settings-icon.svg") no-repeat;
  background-size: 26px 6px;
  cursor: pointer;
  height: .6rem;
  width: 2.6rem;
}
.settings-menu {
  display: none;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  overflow: auto;
  padding: 2rem;
  position: absolute;
  top: 7.9rem;
  width: 20rem;
  z-index: 1;
}
.settings-menu div {
  align-items: center;
  display: flex;
}
.settings-menu div div:first-of-type {
  margin-bottom: 1.5rem;
  margin-right: 1rem;
}

/* Videos Page */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.VideoEmbed__video {
  height: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  padding-bottom: 55.6%;
  position: relative;
}
.VideoEmbed__video iframe {
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}
.Video__card {
  align-items: center;
  background-color: #000;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 15rem;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 5%;
  width: 25rem;
}
/* .Video__card:nth-of-type(3), */
/* .Video__card:nth-of-type(6) { */
/*   margin-left: 3rem; */
/*   margin-right: 3rem; */
/* } */
.Video__card--active {
  background-color: #F5F5F5;
  color: #000;
}

/* Responsive */
@media all and (max-width: 1010px) {
  header {
    height: auto;
    position: relative;
    z-index: 1;
  }
  header .mobile-menu-icon {
    display: block;
  }
  header nav {
    display: none;
    float: none;
    text-align: center;
  }
  header nav.open {
    display: block;
  }
  header nav li {
    display: block;
    margin-left: 0;
  }
}
@media all and (max-width: 830px) {
  .curriculum-buttons,
  .curriculum-buttons .button {
    display: block;
  }
}
@media all and (max-width: 799px) {
  .products,
  .landing .mobile {
    align-items: center;
    flex-direction: column;
  }
  .products .copy,
  .landing .mobile .copy {
    margin: 0;
  }
  .products h2 {
    margin-top: 2rem;
  }

  .question-column,
  .question-header,
  .alt-column,
  .alt-header,
  .question-nav {
    width: 100%;
  }
  .alt-column {
    height: 0;
  }
  .alt-column,
  .alt-header {
    border-left: none;
  }
  .alt-header {
    bottom: 0;
  }
  .alt-body {
    display: none;
    padding: 5rem 5rem 13rem;
  }

  .alt-column-active .question-column {
    display: none;
  }
  .alt-column-active .alt-column {
    height: 100%;
  }
  .alt-column-active .alt-body {
    display: block;
  }

  .progress-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .progress-content a:first-of-type {
    margin: 0 0 2rem 0;
  }
}
@media all and (max-width: 599px) {
  .video-grid, .flex-3 {
    align-items: center;
    flex-direction: column;
  }
  .flex-3 div {
    width: 100%;
  }
  .mobile-hide {
    display: none;
  }
}
