html,
body {
  margin: 0;
  padding: 0;
  color: #fff;
  background-size: cover;
  overscroll-behavior: none;
  height: 100%;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  font-weight: 100;
  background-color: #111;
}

#__nuxt,
#__layout {
  height: 100%;
}

.app {
  height: 100%;
}

.card {
  border-radius: 0.5em;
  margin: 1em 0;
  background: #222;
}

.screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  justify-content: space-between;
  overflow: hidden;
}

.withFadedBG {
  background: rgb(0 0 0 / 0.4);
}

.blackBG {
  background: #0a0a0a;
}

.content {
  flex-grow: 1;
  overflow: auto;
  padding: 0 15px;
  overflow-y: auto; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
}

.content::-webkit-scrollbar {
    display: none;
  }

.content.narrow{
    padding-left: 30px;
    padding-right: 30px;
}

.content.flexed {
  display: flex;
  flex-direction: column;
}

blockquote {
  font-style: italic;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 0px 10px #111;
  z-index: 100;
}

header.noShadow {
  box-shadow: none;
}

header .content {
  overflow: hidden;
}

header .btn,
header .btn:hover {
  margin-top: 0;
  margin-bottom: 0;
  padding: 1em 1em;
}

header h5 small {
  display: block;
  font-size: 0.6em;
}

footer {
  margin: 0.5em 0;
}

footer.overlay {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 100;
  background: rgb(10 10 10 / 0.85);
}

.faded {
  opacity: 0.5;
}

.faded-20 {
  opacity: 0.2;
}

.faded-80 {
  opacity: 0.8;
}

hr {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

a {
  color: #fff;
  /* text-decoration: underline; */
  background-color: transparent;
}

/*=========================================================================== BUTTONS ===========================================================================*/

.btn,
.btn:hover {
  text-transform: uppercase;
  border-radius: 4px;
  padding: 1em 0.5em;
  margin: 0.5em 0;
  color: #fff;
}

.btn:focus,
.btn.focus {
  box-shadow: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  color: #fff;
  border-color: #fff !important;
  background-color: transparent !important;
  font-size: 1em;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  background: #444;
  border-color: #444;
}

.btn-clear,
.btn-clear:hover {
  color: #fff;
  border-color: transparent;
  background-color: transparent;
  font-size: 1em;
}

.btn-link,
.btn-link:hover {
  color: #fff;
  border-color: transparent;
  background-color: transparent;
  text-decoration: underline !important;
  text-transform: initial;
}

.btn-floating {
  position: absolute;
  z-index: 999;
  background: rgb(0 0 0 / 0.5);
  padding: 0.7em !important;
  border-radius: 50% !important;
  line-height: 1;
  margin: 0.5em !important;
  right: 0;
}

.progress-bar {
  background-color: #f5f5f5;
}

/*=========================================================================== FORMS ===========================================================================*/

.form-group {
  display: flex;
  border-bottom: 1px solid #fff;
  align-items: baseline;
  padding: 0.4em 0;
  position: relative;
}

.form-group .form-control {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
  padding-right: 0.5em;
  height: auto;
  font-size: 1.1em;
  color: #fff;
  box-shadow: none !important;
}

.form-group .help-block {
  width: 100%;
  position: absolute;
  bottom: -1.6em;
  color: #f44336;
  right: 0;
  text-align: right;
  font-size: 0.8em;
}

.form-group.pin {
  border: none;
  background-color: #222;
}

.form-group.pin .form-control {
  font-size: 4em;
  text-align: center;
  padding-right: 0;
}
.form-group.pin .help-block {
  text-align: center;
}

.form-group select.form-control {
  padding-right: 0;
  margin-right: 0.5em;
}

.form-group label {
  white-space: nowrap;
  font-size: 0.8em;
  color: #999;
  margin: 0;
}

.form-group label sup {
  color: #f44336;
}

.form-group input:focus + label,
.form-group input:active + label .form-group input.hasValue + label {
  right: 0;
}

::-webkit-calendar-picker-indicator {
  filter: invert(0.4);
}

.custom-control {
  line-height: 1.2;
}

.custom-checkbox {
  padding-left: 2rem;
}

.custom-checkbox .custom-control-label {
  width: 100%;
}

.custom-checkbox .custom-control-label::before {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  width: 1.5rem;
  height: 1.5rem;
  left: -2rem;
  margin-top: -0.5em;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #fff;
  background-color: transparent;
  color: #222;
}

.custom-control-label::after {
  box-shadow: none;
  top: 0;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  left: -1.75rem;
  background-size: 90%;
}

.custom-checkbox.list-check {
  padding: 1em 0rem 1em 0;
  border-bottom: 1px solid #444;
}

.custom-checkbox.list-check .custom-control-label::before {
  left: initial;
  right: 0em;
  top: 0.25rem;
}
.custom-checkbox.list-check
  .custom-control-input:checked
  ~ .custom-control-label::after {
  right: 0.25rem;
  left: initial;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 0px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}

/*=========================================================================== WELCOME ===========================================================================*/

#welcome {
}

#welcome blockquote {
  font-weight: 100;
  font-size: 1.25em;
}

#welcome .logo {
  align-self: flex-start;
  max-width: 500px;
}

#welcome blockquote small {
  display: block;
  font-size: 0.6em;
  margin-top: 1em;
}

#welcome footer {
  text-transform: uppercase;
  font-size: 0.6em;
}

/*=========================================================================== SIGN UP FOR FRIEND ===========================================================================*/

#forFriend {
}

#forFriend .courseList {
}

#forFriend .courseList .list-check label {
  font-weight: bold;
  width: 100%;
}
#forFriend .courseList .list-check label small {
  display: block;
}

/*=========================================================================== PROFILE ===========================================================================*/

#profile {
}

.coinProgress.largeProgress .coinImg {
  width: 100%;
  margin-bottom: 1em;
}

.coinProgress h5 small {
  font-size: 0.6em;
}

.sponsoreItem {
  border: 1px solid #4c4c4c;
  border-radius: 4px;
  padding: 0.8em 0.5em 0.8em 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sponsoreItem h1 {
  font-size: 1em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0 0.5em 0 0;
}

.sponsoreItem h1 small {
  display: block;
  font-size: 0.7em;
}

.sponsoreItem .remindInvite {
  flex-basis: 100%;
}

.sponsoreItem .coinProgress {
  /* text-align: right; */ /* white-space: nowrap; */
  flex-grow: 1;
}
.sponsoreItem .coinProgress .coinImg {
  width: 90%;
  margin-right: 2%;
}

/*=========================================================================== HOME ===========================================================================*/

#home .resendInvite {
}

.welcome,
.sponsor,
.sponsor-course,
.sponsor-complete {
  background-image: url("https://images.unsplash.com/photo-1506409536714-1ec8c4536202?ixlib=rb-1.2.1&auto=format&fit=crop&w=564&q=30");
  background-size: cover;
  background-position: center;
}

.courses-id,
.courses-id-videoid {
  background-size: cover;
  background-position: center;
}

/*=========================================================================== PAYGATE ===========================================================================*/

#sponsorCourse,
#sponsorComplete {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

/*=========================================================================== PAYGATE ===========================================================================*/

.courseCard {
  font-size: 1em;
  margin: 0.5em 0 1em 0;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: bottom;
}

.courseCard .courseInfo {
  padding: 5em 1.5em 1.5em;
  background: rgb(0 0 0 / 0.5);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, -0.1) 60%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-bottom: -1px;
}

.courseCard .courseInfo h4 {
  font-size: 0.9em;
  font-weight: 100;
  margin: 0;
  width: 100%;
}

.courseCard .courseInfo h4 b {
  text-transform: uppercase;
}

.courseCard .courseInfo h4 small {
  display: block;
  line-height: 1.4;
  margin-top: 0.5em;
}

.courseCard .courseInfo h5 {
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 1px;
  padding: 0.5em 1em;
  font-weight: 100;
  text-shadow: 1px 1px 2px black;
  background: #111;
  border-radius: 4px;
}

.courseCard .progress {
  background-color: rgba(255, 255, 255, 0.9);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

#viewCourse {
  background: rgb(0 0 0 / 0.7);
}

#viewCourse header {
  box-shadow: none;
  justify-content: flex-start;
}

#viewCourse header .btn {
  text-transform: initial;
  padding-right: 0.5em;
}

#viewCourse .content.narrow {
  padding: 0 2.5em;
}

#viewCourse .videoItem {
  border-top: 1px solid rgb(255 255 255 / 0.3);
  padding: 1em 0 1.3em;
  margin-top: -1px;
}

#viewCourse .videoItem .videoTitle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#viewCourse .videoItem p {
  font-size: 0.8em;
  margin-top: 0.6em;
}

#viewCourse .videoItem.completed {
  opacity: 0.7;
  color: #999;
}

#viewCourse .videoItem small {
  display: block;
  font-weight: 100;
}

#viewCourse .videoItem h5 {
  font-size: 0.9em;
  line-height: 1.3em;
  margin-bottom: 0;
  font-weight: 100;
  padding: 0;
}

#viewCourse .freeTag,
.courseCard .freeTag {
  background: #fff;
  color: #333;
  display: block;
  padding: 0 0.3em;
  text-align: center;
  font-weight: bold;
  width: fit-content;
}

.courseCard .freeTag {
  display: inline-block;
  margin-left: 1em;
}

#viewCourse footer {
  display: flex;
  padding: 1em;
  justify-content: space-between;
  align-items: flex-end;
}

#viewCourse footer .progress {
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0;
}
#courseComplete {
  z-index: 1000002;
  position: relative;
  background: #111;
}

#courseComplete .coin,
#courseComplete:hover .coin {
  -webkit-animation: rotate3d 600s cubic-bezier(0, 0.5, 0, 0.56) infinite;
  animation: rotate3d 600s cubic-bezier(0, 0.5, 0, 0.56) infinite;
}

/*=========================================================================== VIEW COURSE ===========================================================================*/

#courseView {
}

#courseView .videoWrapper {
  width: 100%;
  height: 100%;
}

#courseView .videoWrapper .plyr--video {
  background: rgb(0 0 0 / 80%);
}

#courseView .videoWrapper .plyr__video-wrapper {
  background: transparent;
}

#courseView .videoWrapper .plyr--full-ui.plyr--video .plyr__control--overlaid {
  background: #000;
}

#courseView .videoWrapper .plyr--full-ui input[type="range"] {
  color: #fff;
  border-radius: 0;
  height: 5px;
}

#courseView .videoWrapper .plyr--video .plyr__control.plyr__tab-focus,
#courseView .videoWrapper .plyr--video .plyr__control:hover,
#courseView .videoWrapper .plyr--video .plyr__control[aria-expanded="true"] {
  background: #000;
}

#courseView .videoWrapper .plyr__volume {
  display: none;
}

/*=========================================================================== PAYMENT GATE ===========================================================================*/

#payGate {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(17 17 17 / 80%);
  z-index: 200;
  backdrop-filter: blur(10px);
}

/*=========================================================================== MAKE PAYMENT ===========================================================================*/

#makePayment {
  background: #fafafa;
  color: #333;
}

/*=========================================================================== ALERTIFY ===========================================================================*/

.alertify {
}

.alertify .ajs-dialog,
.alertify .ajs-footer {
  background: #222 !important;
  border-radius: 0.5em !important;
  border: none !important;
}

.alertify .ajs-footer {
  padding: 0.4em 1em !important;
}

.alertify .ajs-footer .ajs-button {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.5em;
  color: #fff !important;
  opacity: 0.6;
  font-weight: normal !important;
}

.alertify .ajs-footer .ajs-button.ajs-ok {
  opacity: 1;
}

.alertify .ajs-content {
  padding: 0.5em 0em 0.5em !important;
  color: #fff;
  text-align: center;
}

.alertify .ajs-content .ajs-input {
  background: rgba(0, 0, 0, 0.3);
  border: none !important;
  color: #fff;
  font-size: 1.4em;
  margin: 0.3em 0 0 !important;
  padding: 0.5em 1em !important;
  border-radius: 0.3em !important;
  outline: none;
}

.alertify .ajs-content .ajs-input:focus {
  border: none !important;
}

.alertify .ajs-header {
  display: none;
}

.alertify-notifier.ajs-center {
  left: 0 !important;
  top: 0px !important;
  width: 100%;
}

.alertify-notifier.ajs-center .ajs-message {
  width: 100%;
  padding: 0.5em 0 !important;
  margin-top: 0 !important;
}

.alertify-notifier .ajs-message.ajs-error {
  background: #c62828 !important;
  text-shadow: none !important;
  border: none;
  margin-bottom: 10px !important;
  box-shadow: 0 10px 30px 10px rgba(0, 0, 0, 1);
}

.alertify-notifier .ajs-message.ajs-success {
  background: #09f !important;
  text-shadow: none !important;
  border: none;
  border-radius: 3em;
  box-shadow: 0 10px 30px 10px rgba(0, 0, 0, 1);
}

.alertify .ajs-commands {
  display: none;
}
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300&display=swap");
