/* Khmer */
@import url('../vendor/nokora/400.css');
@import url('../vendor/nokora/700.css');

@font-face {
  font-family: 'Content';
  font-style: normal;
  font-weight: 400;
  src: local('LAFASFS'), url(../fonts/content-web-v3.7.woff) format('woff');
  unicode-range:   U+1780-17FF, U+200C, U+25CC;
}
@font-face {
  font-family: 'Content';
  font-style: normal;
  font-weight: 700;
  src: local('LAFZSFS'), url(../fonts/Content-Bold-2.ttf) format('truetype');
  unicode-range:   U+1780-17FF, U+200C, U+25CC;
}
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?3413821');
  src: url('../fonts/fontello.eot?3413821#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff?3413821') format('woff'),
       url('../fonts/fontello.ttf?3413821') format('truetype'),
       url('../fonts/fontello.svg?3413821#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
.hide{display:none !important}
input#anothercontact {display:none !important}
.is-hidden {
  display: none !important;
}
.self-pay-message-div,
.sponsorship-message-div,
.js-answer-adult,
.js-answer-child {
  display: none;
}
.order-form .invalid-order-field {
  border-color: red;
  color: red;
}
.order-form select, .order-form input, .order-form textarea, .order-form .ui-selectmenu-button {height: 50px; font-size:1.5rem;}
/* The original markup left the submit button outside .order-form, so the rule above never sized it. */
.order-form #submit-order {height: auto; font-size: 1.7rem;}
.btn-lg {
  padding: 10px 16px;
  font-size: 1.7rem;
  line-height: 1.7;
  border-radius: 6px;
}
textarea {
  height: 150px !important;
}
/* General */
html {
  font-size: 62.5%;
}
body {
  background: #FFF;
  color: #514D47;
  font: normal 400 1.6rem / 2.4rem Arial, Content, sans-serif;
  line-height: 3.5rem;
}
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: 4.0rem;
}
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 {
  font: normal 400 1.6rem / 2.4rem Arial, Nokora, sans-serif;
  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: 0.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: 0.6rem;
  margin-right: 0.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: 0.4rem 0 0 0.4rem;
}
input[type="checkbox"]:checked + label:before {
  content: " ";
  border: solid #555555;
  width: 0.9rem;
  height: 0.4rem;
  display: block;
  transform: rotate(-45deg);
  border-width: 0 0 0.2rem 0.2rem;
  margin: 0.6rem 0 0 0.4rem;
}
input[type="radio"] + label {
  border-radius: 2.5rem;
}
.button {
  background: #F7653C;
  border-radius: 0.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: 1.5rem 3rem 1.6rem;
}
header .logo {
  display: inline-block;
  height: 3.5rem;
}
header .mobile-menu-icon {
  color: #FFF;
  display: none;
  font-size: 2rem;
  margin-top: 0.6rem;
}
header nav {
  float: right;
  margin-top: 0.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%, 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;
}
DIV.question-audio
{
	display: inline-flex;
	float: right;
	align-items: center;
}
.play {
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}
.play.part1 {
  border-left: 12px solid #F7653C;
}
.play.part2 {
  border-left: 12px solid #3477C5;
}
.play.part3 {
  border-left: 12px solid #22A374;
}
.pause {
  width: 4px;
  height: 16px;
  margin-left: 0.9rem;
}
.pause.part1 {
  border-right: 4px solid #F7653C;
  border-left: 4px solid #F7653C;
}
.pause.part2 {
  border-right: 4px solid #3477C5;
  border-left: 4px solid #3477C5;
}
.pause.part3 {
  border-right: 4px solid #22A374;
  border-left: 4px solid #22A374;
}
.question-body .question-button {
  margin-right: 1rem;
}
.question-audio-button
{
	font-family: "fontello";
}
.answer-audio-button {
  font-family: "fontello";
}
.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: 0.8rem;
}
.question-header .part-number:before,
.question-header .part-number:after {
  color: #000;
}
.question-header .part1.active .part-number:before {
  content: "ផ្នែកទី ១";
}
.question-header .part2.active .part-number:before {
  content: "ផ្នែកទី ២";
}
.question-header .part3.active .part-number:before {
  content: "ផ្នែកទី ៣";
}
.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: 1.1rem;
  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: 0.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;
}
.order-form-result {
  margin: 1rem;
  color: green;
  padding: 1rem;
  font-weight: 600;
  border-color: green;
  border-style: solid;
  display: none;
}
input#submit-order {
  margin-bottom: 10rem;
}
.btn-primary-sending {
  color: #fff;
  background-color: green;
  border-color: green;
}
.btn-primary-error {
  color: #fff;
  background-color: red;
  border-color: red;
}
/* .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 .mobile-menu-icon {
    display: block;
  }
  header nav {
    display: none;
    float: none;
    text-align: center;
  }
  header nav.open {
    display: block;
  }
  header nav li {
    margin-left: 0;
    display: block;
    padding-bottom: 1rem;
  }
  HEADER {
	height: auto;
	position: relative;
	z-index: 1;
	padding-bottom: 0.3rem;
	padding-top: 1.5rem;
  }

}
@media all and (max-width: 830px) {
  .curriculum-buttons,
  .curriculum-buttons .button {
    display: block;
  }
}
@media all and (max-width: 799px) {
  .hidden-mobile
{
	display: none;
}
  FOOTER
{
	line-height: 1;
}
.alt-header
{
	border-left: 1px solid #000;
	box-sizing: border-box;
	height: 0rem;
	padding: 1.7rem 1.7rem 3.5rem 1.7rem;
	position: absolute;
	background: #F5F5F5;
	right: 0;
	width: 35%;
	margin-bottom: -9px;
}
  HEADER
{
	height: auto;
	position: relative;
	z-index: 1;
	padding-bottom: 0.3rem;
	padding-top: 1.5rem;
}
.question-header
{
	height: 5.6rem;
}
.question-nav
{
  top: 5.6rem;
  bottom: -0.9rem;

}
  .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%;
  }
}
