/* The English Teacher - CSS file */



/* reset first */
* {
  padding: 0;
  margin: 0;
}

:root {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

body, html { 
  min-height: 100dvh; 
  /*background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); */
  /*color: white; */
}



/* @group Basic Reset
--------------------------------------------------------------*/

/*copy these rules wherever you need them*/
@media only screen and (min-width: 960px) {
  /* styles for browsers larger than 960px; */
}

@media only screen and (min-width: 1440px) {
  /* styles for browsers larger than 1440px; */
}

@media only screen and (min-width: 2000px) {
  /* for sumo sized (mac) screens */
}

@media only screen and (max-device-width: 480px) {
  /* styles for mobile browsers smaller than 480px; (iPhone) */

}

@media only screen and (device-width: 768px) {
  /* default iPad screens */
}

/* different techniques for iPad screening */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
  /* For portrait layouts only */
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
  /* For landscape layouts only */
}


/* @end Basic Reset
=============================================================*/




.btn-xl { 
  padding: 1.5rem 3rem; 
  font-size: 1.5rem; 
  border-radius: 15px; 
}

.coupon { 
  background: rgba(0,0,0,0.3); 
  padding: 2rem; 
  border-radius: 20px; 
}


/* Special styles that go first */
.form-check.off-ramp {
  position: absolute;
  left: -10000px;
}

#faq {
  margin-top: 1200px;
  padding-bottom: 100px;
}

#faq > div {
  padding-bottom: 200px;
}

section {
  /*padding: 100px 0 200px 0;*/
  padding: 20px 0;
}

@media (max-width: 576px) {
  section.promotion {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Settings  */

.setting {
  padding: 20px;
  background-color: whitesmoke;
  margin: 0 0 20px 0;
  border-radius: 6px;
}

/* Numbers */

.give-a-number {
  position: relative;
}

.number,
.number-bottom {}

figure .give-a-number span.number,
.form-group.give-a-number span.number,
.photo.give-a-number span.number {
  position: absolute;
  top: 0;
  right: 0;
}

.number-bottom {
  top: auto;
  bottom: 30px;
}

.setting>.form-check {
  padding: 5px 10px 5px 30px;
  background-color: rgba(220, 220, 220, 0.5);
  margin: 0 0 2rem 0;
}

.setting .fontShown {
  background-color: rgba(220, 220, 220, 0.5);
}

#showNumbers {
  font-size: 14px;
}

/* End Numbers */

footer,
.cookie-consent {
  position: relative;
}

/* Screen Width Box */

.screen-width {
  position: absolute;
  font-size: 45px;
  font-weight: bold;
  color: black;
  /* padding: 5px; */
  text-align: center;
  /* background-color: rgba(245, 245, 220, 0.6); */
  background-color: rgba(220, 220, 220, 0.8);
  width: auto;
  height: auto;
  bottom: 45px;
  right: 45px;
  margin: auto 25px 25px auto;
  border: 1px solid #eee;
  border-radius: 5px;
  z-index: 1000;
  display: inline-block;
}

.screen-width-breakpoint {
  font-size: 20px;
  font-size: 1rem;
}

.screen-width-in-px {}

/* The visible console */
.visible-console {
  margin: 5px;
  padding: 10px 20px;
  border: 1px solid gainsboro;
  color: slategray;
  font-size: 75%;
  border-radius: 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.flashit {
  background-color: crimson;
  color: white;
}



/* @group General classes
===================================================== */

.mh300px {
  max-height: 300px;
}

ol.how-it-works-features {
    counter-reset: section;
    list-style: none;
    padding-left: 0;
    position: relative;
}    
ol.how-it-works-features li::before {
    content: counter(section);
    counter-increment: section;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0px 10px;
    border: none;
    border-radius: 100%;
    text-align: center;
    float: left;
    background: whitesmoke;
    color: darkslateblue;
    font-size: 25px;
    font-weight: 600;
}

ol li {
    line-height: 40px;
    text-align: left;
    /* background: black; */
}

li.how-it-works-feature div.item.step {
    background: rgba(250, 250, 250, 0.1);
    padding: 3px 10px;
    border-radius: 7px;
    margin: 0px 0px 0px 70px;
    font-weight: 500;
}



/* @end General classes
===================================================== */


/* @group Backgrounds
===================================================== */

.bg-light-grey-shade-1 {
  background: rgb(248, 250, 252);
}

.bg-light-grey-shade-2 {
  background: #f1f5f9 !important;
}

.bg-light-grey-shade-3 {
  background: #e2e8f0 !important;
}

.bg-light-pink-gradient {
  background: linear-gradient(0deg, #fff 0, hsla(0, 0%, 100%, 0) 100%), linear-gradient(245deg, rgba(108, 73, 250, .41) 0, rgba(211, 38, 142, .1) 100%);
}

.bg-forestgreen {
  background-color: forestgreen;
}

.rounded-top-corners-bg-white {
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  border: 1px solid white;
  margin-top: -50px;
  background: white;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .2);
}

.rounded-top-corners-bg-light-grey {
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  border: 1px solid white;
  margin-top: -50px;
  background: rgb(248, 250, 252);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .2);
}

.rounded-top-corners-bg-aliceblue {
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  /*  border: 1px solid white;*/
  margin-top: -50px;
  background: aliceblue;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .2);
}

.rounded-top-corners-bg-faint-grey {
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  /*  border: 1px solid white;*/
  margin-top: -50px;
  background: rgba(252,252,252,1);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .2);
}

.rounded-top-corners-bg-bluewater {
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  /*  border: 1px solid white;*/
  margin-top: -50px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, .2);
  background: rgb(36, 168, 240);
  background: -moz-linear-gradient(0deg, rgba(36, 168, 240, 1) 0%, rgba(122, 201, 245, 1) 6%, rgba(205, 233, 249, 1) 35%, rgba(255, 255, 255, 1) 69%);
  background: -webkit-linear-gradient(0deg, rgba(36, 168, 240, 1) 0%, rgba(122, 201, 245, 1) 6%, rgba(205, 233, 249, 1) 35%, rgba(255, 255, 255, 1) 69%);
  background: linear-gradient(0deg, rgba(36, 168, 240, 1) 0%, rgba(122, 201, 245, 1) 6%, rgba(205, 233, 249, 1) 35%, rgba(255, 255, 255, 1) 69%);
}

.z-index-15 {
  z-index: 15;
}

.z-index-14 {
  z-index: 14;
}

.z-index-13 {
  z-index: 13;
}

.z-index-12 {
  z-index: 12;
}

.z-index-11 {
  z-index: 11;
}

.z-index-10 {
  z-index: 10;
}

.z-index-09 {
  z-index: 9;
}

.z-index-08 {
  z-index: 8;
}

.z-index-07 {
  z-index: 7;
}

.z-index-06 {
  z-index: 6;
}

/* @end Backgrounds
===================================================== */




/* @group Text Colours
===================================================== */

.white{
  color: white;
}
.floralwhite{
  color: floralwhite;
}
.blueviolet {
  color: blueviolet;
}
.firebrick {
  color: firebrick;
}
.mediumvioletred {
  color: mediumvioletred;
}
.deepskyblue {
  color: deepskyblue;
}
.gainsboro {
  color: gainsboro;
}
.darkslategray{
  color: darkslategray;
}
.darkslateblue{
  color: darkslateblue;
}

/* @end Text Shadows
===================================================== */





/* @group Text Shadows
===================================================== */

/* for brighter backgrounds */

.text-shadow-black-down-light-01 {
  text-shadow: 1px 8px 15px rgba(0, 0, 0, 0.1);
}

.text-shadow-black-down-medium-04 {
  text-shadow: 1px 8px 15px rgba(0, 0, 0, 0.4);
}

.text-shadow-black-down-bold-08 {
  text-shadow: 1px 8px 15px rgba(0, 0, 0, 0.8);
}

.text-shadow-darkorange {
  text-shadow: 1px 1px 15px darkorange;
}

.text-shadow-black-darker-bg-defined {
  text-shadow: 1px 3px 4px rgba(0,0,0,0.5);
}

/* @end Text Shadows
===================================================== */


/* @group Common Styles
===================================================== */

.text-left {
  text-align: left;
}
.italic {
  font-style: italic;
}
.break-word{
    word-wrap: break-word;
}


/* @end Common Styles
===================================================== */





/* @group Font Sizes
===================================================== */

.font-55px {
  font-size: 55px;
  line-height: 55px;
}

.font-150 {
  font-size: 150%;
}

.font-70 {
  font-size: 70%;
}

.font-60 {
  font-size: 60%;
}


.font-01 {
  font-size: 1.1rem;
  line-height: inherit;
}

@media (max-width: 576px) {
  .font-01 {
    font-size: 1rem;
    line-height: 1.5rem;
  }  
}
/* @end Font Sizes
===================================================== */







/* @group Box Shadows
===================================================== */

.box-shadow-1-10-20-black-05,
.box-shadow-dark-on-light-bg-05 {
  box-shadow: 1px 10px 20px rgba(0,0,0,0.5);
}

.box-shadow-1-5-30-black-05 {
  box-shadow: 1px 5px 30px rgba(0,0,0,0.5);
}

.box-shadow-1-5-25-black-02 {
  box-shadow: 1px 5px 25px rgba(0,0,0,0.2);
}

/* @end Box Shadows
===================================================== */



/* @group Navigation
===================================================== */

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar {
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* @end Navigation
===================================================== */


/* @group Header - Hero - Section
===================================================== */
#header {

  max-height: 750px;
  overflow: hidden;
  padding: 0;
}

section.header {
  /*  margin: 0 0 200px 0;*/
  margin: 0;
  padding: 0 0 200px 0;
  background: rgb(19, 15, 98);
  background: -moz-linear-gradient(36deg, rgba(19, 15, 98, 1) 2%, rgba(0, 0, 0, 1) 92%, rgba(1, 6, 115, 1) 100%);
  background: -webkit-linear-gradient(36deg, rgba(19, 15, 98, 1) 2%, rgba(0, 0, 0, 1) 92%, rgba(1, 6, 115, 1) 100%);
  background: linear-gradient(36deg, rgba(19, 15, 98, 1) 2%, rgba(0, 0, 0, 1) 92%, rgba(1, 6, 115, 1) 100%);
  /* to offset it - testing */
  /*  background-position: 0px 365px;*/
  /*  background-repeat: no-repeat;*/
}



/* English Page */
@media (max-width: 576px) {
  body.english #header {
    /*    min-height: 1100px;*/
    min-height: 1150px;
    max-height: 1250px;
    margin: 0;
  }
}

@media (min-width: 768px) {
  body.english div.slogan {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  body.english {}
}

@media (min-width: 1200px) {
  body.english {}
}

/* French Page */
@media (max-width: 576px) {
  body.french #header {
    min-height: 1100px;
    max-height: 1250px;
    margin: 0;
  }
}

@media (min-width: 768px) {
  body.french div.slogan {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  body.french {}
}

@media (min-width: 1200px) {
  body.french {}
}


/* Canto Page */
@media (max-width: 576px) {
  body.cantonese #header {
    /*    min-height: 1100px;*/
    /*    min-height: 1190px;*/
    max-height: 1250px;
    margin: 0;
  }
}

@media (min-width: 768px) {
  body.cantonese div.slogan {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  body.cantonese {}
}

@media (min-width: 1200px) {
  body.cantonese {}
}

/* Japanese Page */
body.japanese #header {
  max-width: initial;
  margin-top: initial;
}

@media (max-width: 576px) {
  body.japanese #header {
    min-height: 1375px;
    max-height: 1500px;
  }

  body.japanese .ytShort-wrapper {
    height: 400px;
  }

  body.japanese div.slogan {
    max-height: initial;
  }
}

@media (min-width: 768px) {
  body.japanese div.slogan {
    margin-top: initial;
    max-height: initial;
  }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}




/*

- rotating gradient background with CSS -
  Should be added to the section.header
  But we won't do this because it takes up too much resources from the browser.
- end - 

background-size: 400% 100%;
  -webkit-animation: gradientBG 10s ease infinite;
  animation: gradientBG 10s ease infinite;*/

/*@-webkit-keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}*/

.ytShort-wrapper {
  height: auto;
}

.ytShort-wrapper .imageWrapper {
  top: 50px;
}

.ytShort-wrapper {
  flex: 1;
  /*  border: 1px solid crimson;*/
}

div.slogan {
  flex: 2;
  /*  border: 1px solid crimson;*/
  /*  max-height: 600px;*/
  /*  margin-top: 0%;*/
}

.ytShort {
  overflow: hidden;
  height: 700px;
  width: 400px;
  margin: 0 0 0 -250px;
}

@media (max-width: 576px) {
  .ytShort {
    margin: 0 auto;
  }

  #header {
    max-height: 1100px;
    margin: 0;
  }

}

.ja-slogan {
  height: 550px;

}

@media (min-width: 992px) {
  .ytShort {
    margin: 0;
  }

  .display-1 {
    font-size: calc(1.625rem + 3.5vw);
  }
}

@media (min-width: 1200px) {
  .display-1 {
    /*    font-size: initial;*/
  }
}

.iPhoneFrame,
.imgCarousel {
  width: 350px;
}

.iPhoneFrame {
  top: 0;
  margin-left: auto;
  margin-right: auto;

}

.ytShort-button {}

.ytShort-button .youtube.video-btn {
  display: block;
  width: 50%;
  margin: 0 auto;
}

.imgCarousel {
  top: 10%;
}

.imgCarousel img.davido-photo {
  display: block;
  width: 85%;
  margin: 0 auto;
}

.iPhoneFrame {
  margin: 0 auto;
  z-index: 3;
}

.iPhoneFrame img.iPhoneFrame-img {}

.imageCarousel {}

.imgCarousel-inner .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /*  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);*/
}

.imgCarousel-inner .carousel-item.active {
  opacity: 1;
  /*  transition: opacity 1s ease;*/
}

/* Style for the toggle button */
.carousel-control-toggle {
  width: 50px;
  height: 50px;
  z-index: 5;
  /* Above carousel and frame */
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: opacity 0.3s ease;
}

.carousel-control-toggle:hover {
  opacity: 1;
}

.carousel-control-toggle .play-icon,
.carousel-control-toggle .pause-icon {
  line-height: 1;
}

.iPhoneVideo {
  z-index: 4;
  overflow: hidden;
}

.iPhoneVideo .video-wrapper {
  /*width: 28.6%;
padding-bottom: 50.72%;
height: 0;*/
  /*border: 0;
  height: 100%;
  min-height: 600px;
  margin: 5px 25px 0px 15px;
  width: 95%;
  transform: scale(0.95);
  transform-origin: center;
  border-radius: 35px;*/
}

.iPhoneVideo iframe {
  /*top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;*/

  border: 0;
  height: 100%;
  min-height: 600px;
  margin: 5px 25px 0px 15px;
  width: 95%;
  transform: scale(0.95);
  transform-origin: center;
  border-radius: 35px;
}

.iPhoneBackground {
  /* z-index: -2; */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  min-height: 600px;
  border-radius: 15px;
  border: 1px solid transparent;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: 10px 20px;
  /* UI Gradients - Digital Water   */
  background: #74ebd5;
  background: -webkit-linear-gradient(to bottom, #ACB6E5, #74ebd5);
  background: linear-gradient(-35deg, #ACB6E5, #74ebd5);
}


/* Twinkling Stars */

.stars-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

.star-1 {
  width: 1px;
  height: 1px;
  background-color: #ffffff;
  opacity: 0.2;
}

.star-2 {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #f0f0f5;
  opacity: 0.3;
}

/* Twinkle Animation */
@keyframes twinkle {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.3;
  }
}


.slogan {}

h1.slogan {
  text-shadow: 1px 8px 8px rgba(0, 0, 0, 0.5);
  color: white;
}

h1.slogan>span.english-flag-text {}

.slogan .lead {
  color: white;
  font-weight: 400;
}

/* vertical text for Japanese */
body.japanese h1.slogan,
body.japanese .lead {
  /*  writing-mode: vertical-rl;*/
}

.japanese section.promotion .title-block {
  max-height: 300px;
}

.vertical-rtl {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rtl {
  /*  writing-mode: sideways-rl;*/
  direction: rtl;
}

.slogan .lead.lead-1 {}

.slogan .lead.lead-2 {}

.hero-video-link {
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  border: 0;
}

/* @end Header - Hero - Section
===================================================== */




/* @group FAQ section
===================================================== */

.accordion-item:first-of-type>.accordion-header .accordion-button {
  /* https://grabient.com/HQdgLAbANKkwnPAzFAtABmAJnQRhruumpocRsGDiZVtBZGDOgKwsw4g1ZVA?angle=45 */
  /*background: linear-gradient(45deg, #8ec5fc 0.000%, #8dd3ff 25.000%, #a1d8ff 50.000%, #c1d2ff 75.000%, #e0c3ff 100.000%);*/
  
  /* https://grabient.com/HQBgLCA0wKwgnNAHANkcATPD0wGYloMQcBGYUpGIsU6ENSMYAdhkI1BZ2ZbCSA?angle=15 */
  /*background: linear-gradient(15deg, #0ee6dd 0.000%, #43dddf 11.111%, #54d0e2 22.222%, #35c2e4 33.333%, #00b2e7 44.444%, #00a0e9 55.556%, #008eec 66.667%, #007bee 77.778%, #2669f0 88.889%, #5057f3 100.000%);*/
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  color: aliceblue;
}



/* @end FAQ section
===================================================== */




/* @group Courses
===================================================== */


/* @end Courses
===================================================== */



/* Video cards */

.video-card {
  /*    border: 1px solid #ccc;*/
  border-radius: 10px;
  overflow: hidden;
  /* Ensures that the enlarged thumbnail stays within the card */
  transition: transform 0.3s;
  flex: 1 1 calc(100% - 1rem);
  /* Adjusts the width of the card */
  max-width: calc(100% - 1rem);
  /* Ensures equal height */
  /*    box-shadow: 1px 1px 10px rgba(0,0,0,0.2);*/
  box-shadow: 0 0 10px rgba(46, 59, 125, 0.23);
  transition: all 0.3s;
  /* Smooth transition for the thumbnail */
  /*    transform: scale(.9); */
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
  /* Smooth transition for the thumbnail */
}

.video-card:hover {
  transform: scale(1.05);
  /* Scale the thumbnail on hover */
}

a.overlay-button {
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
  position: absolute;
  z-index: 100;
  /*    to test the size */
  /*    background-color: aqua;*/
}

.play-overlay {
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  height: auto;
  opacity: 0.8;
  left: 50%;
  top: 50%;
}

.card-body {
  padding: 15px;
}

.card-title {
  white-space: nowrap;
}

.card-title:hover {
  /*text-decoration: underline;*/
}

.title-text {
  display: inline-block;
  /* Allows the element to respect width constraints */
  max-width: 85%;
  /* Ensures it doesn't overflow its container */
  white-space: nowrap;
  /* Prevents the text from wrapping to the next line */
  overflow: hidden;
  /* Hides any text that overflows the container */
}

.ellipsisBtn {
  vertical-align: sub;
  vertical-align: -webkit-sub;
  text-decoration: none;
  font-size: 2rem;
  color: gainsboro;
}

.ellipsisBtn:hover {
  cursor: pointer;
  text-decoration: none;
}

.ellipsisBtn.show-less {
  position: absolute;
  right: 0;
  text-decoration: none;
}

.ellipsisBtn.show-less:hover {
  text-decoration: none;
}

/* For small screens */
@media (max-width: 576px) {
  .title-text {
    max-width: 95%;
    white-space: initial;
    overflow: visible;
  }

  h5.card-title {
    padding: 5px 5px 20px 5px;
  }
}

/* For small screens */
@media (min-width: 576px) {
  .video-card {
    flex: 1 1 calc(50% - 1rem);
    /* Adjusts the width of the card */
    max-width: calc(50% - 1rem);
    /* Ensures equal height */
  }

  h5 .title-text {
    font-size: 15px;
  }
}

/* For medium screens */
@media (min-width: 768px) {
  .video-card {
    flex: 1 1 calc(33.333% - 1rem);
    /* Adjusts the width of the card */
    max-width: calc(33.333% - 1rem);
    /* Ensures equal height */
  }

  h5 .title-text {
    font-size: 15px;
  }
}

/* For large screens */
@media (min-width: 992px) {
  .video-card {
    flex: 1 1 calc(25% - 1rem);
    /* Adjusts the width of the card */
    max-width: calc(25% - 1rem);
    /* Ensures equal height */
  }

  h5 .title-text {
    font-size: 15px;
  }
}

/* For larger screens */
@media (min-width: 1200px) {
  .video-card {
    flex: 1 1 calc(20% - 1rem);
    /* Adjusts the width of the card */
    max-width: calc(20% - 1rem);
    /* Ensures equal height */
  }

  h5 .title-text {
    font-size: 70%;
    font-weight: 400;
  }
}

.btn.course-tag,
.btn.course-tags,
.btn.video-tag,
.btn.video-tags {
  padding: 2px 5px;
  margin: 3px;
  font-size: 0.8rem;
}

/* Video Gallery */
/* Course Gallery */
.course-gallery ul.controls,
.video-gallery ul.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.course-gallery ul.controls li,
.video-gallery ul.controls li {
  color: #000;
}

.course-gallery ul.controls li.active,
.video-gallery ul.controls li.active {
  /*    color: #fff;*/
}


/* @group Video Modal
--------------------------------------------------------------*/

.modal-dialog {
  width: 100%;
  margin: 25px auto;
  padding: 0;
}

.modal-content {
  border-radius: 7px;
  padding: 5px;
}

.modal-header {
  padding: 5px;
  margin: 0;
}

.modal-content button.close {
  position: absolute;
  font-size: 60px;
  font-weight: 300;
  line-height: 50px;
  top: 0;
  right: 0;
  padding: 0 5px;
}

.modal-body {
  padding: 10px;
}

.modal-footer {
  padding: 0px 41px 15px;
}

iframe#videoiFrame {
  width: 100%;
  /*        height: calc(100vh * 0.56);*/
  height: calc(100vh * 0.75);
  background-color: #000;
  margin: auto;
}


@media screen and (max-width: 768px) {

  /*For mobile devices*/
  .modal-dialog {
    width: 100%;
  }

  .modal-header button.close {
    position: relative;
  }

  .modal-body {
    margin: 0;
  }

  .modal-footer {
    padding: 15px;
  }

  iframe {
    width: 100vw;
    /* height: 50.625vw; */
  }
}

/* @end Video Modal
===================================================== */



/* @group Slick Ad Carousel
===================================================== */


.adCarousel {}

.adCarousel-inner {}

.slick-track {
  /*    margin-bottom: 50px;*/
}

/* @end Slick Ad Carousel
===================================================== */



/* @group Language Selector
===================================================== */

.language-selector {}

.flag-list {
  position: fixed;
  /*bottom: 0;*/
  top: calc(100vh - 95%);
  /*bottom: inherit;*/
  left: -1px;
  z-index: 100;
  padding: 5px;
  margin: 0;
  width: 50px;
  background-color: #0dcaf0;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

@media (max-width: 576px) {
  .flag-list {
    /*bottom: calc(100vh - 80%);*/
    /*top: inherit;*/
    position: absolute;
  }
}

.lang-link-item {
  padding: 0;
  margin: 0;
  width: 50px;
  transition: transform 0.3s ease-in-out;
  /* Smooth transition for the thumbnail */
  transform: scale(0.75);
  /* Scale the thumbnail on hover */
}

.lang-link-item.active{
  transform: translate(5px, 0px);
  margin-left: 5px;
  
}
.lang-link-item.active:first-child{
  margin-top: 5px;
}

.lang-link-item:hover {
  /*  transform: translate(50px, 0px);*/
  transform: translate(5px, 0px);
  /*  transform: scale(1.5);*/
  /* Scale the thumbnail on hover */
  z-index: 100;
  margin-left: 25px;
}

.language-selector img.language-flag {}

.language-selector img.language-flag:hover {}

a.language-link {
  width: 50px;
}

img.language-flag {
  width: 100%;
  height: 35px;
  display: block;
  object-fit: cover;
}



a.language-link,
a.language-link>.lang {
  text-decoration: none;
  color: black;
}

/* @end Language Selector
===================================================== */



/* @group Coupon Code
===================================================== */


.pill-btn {
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 50rem;
  /*  padding: 0.25rem 0.75rem;*/
  padding: 2px 10px 2px 2px;
  color: darkslategray;
}

.pill-btn:hover {
  background-color: #f8f9fa;
  border-color: #dadcde;
  color: darkslategray;
}

.pill-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.course-link-word {
  font-weight: bolder;
}

button#couponCode {}

button#couponCodeCopied {
  position: absolute;
  top: 0;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.6);
}

.mybutton-01-light-on-dark {
  font-size: 20px;
  background-color: black;
  color: ghostwhite;
}

.mybutton-01-dark-on-light {
  font-size: 20px;
  background-color: ghostwhite;
  color: black;
}


.instructions {
  font-size: 0.8rem;
}

.small-print {
  font-size: 0.7rem;
}

.bouncing-arrow {
  z-index: 100;
  animation: bounce 0.5s;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);
  animation-iteration-count: infinite;
  top: 20px;
  left: 0;
  right: 0;
}

.japanese .bouncing-arrow {
  top: 60px;
}

.bouncing-arrow i.bi-hand-index-fill {
  color: whitesmoke;

}

.bouncing-arrow i.bi-hand-index {
  color: crimson;

}

.bouncing-arrow i.bi-arrow-up-square-fill {
  color: deeppink;

}

.bouncing-arrow .bi-arrow-up-circle-fill {
  color: deepskyblue;

}

@keyframes bounce {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 30px, 0);
  }
}

/* Prefix Support */
bouncing-arrow {
  -webkit-animation-name: bounce;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);
  -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
  }
}



/* @end Coupon Code
===================================================== */




/* @group Scroll Stuff
===================================================== */

/* Scroll to top */
.scroll-top {
  position: fixed;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: deepskyblue;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.3s;
}

.scroll-top i {
  font-size: 24px;
  /* color: var(--contrast-color); */
  color: aliceblue;
  line-height: 0;
}

.scroll-top:hover {
  cursor: pointer;
  background-color: orange;
}

.scroll-top.show {
  opacity: 0.7;
  visibility: visible;
  transition: all 1s;
}


/* @end Scroll Stuff
===================================================== */


/* @group Scrollbars
===================================================== */

/* Style the scrollbar for WebKit browsers */
.scrollbar::-webkit-scrollbar {
  width: 12px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* scrollbar style for Firefox */
.scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}


/* @end Scrollbars
===================================================== */


/* @group Course Cards
===================================================== */

.pricing {
  width: 100%;
  margin: 0 auto 3em;
}

.pricing.the-english-teacher .pricing-item {
  font-family: 'Open Sans', sans-serif;
  cursor: default;
  /*            color: #84697c;*/
  background: #fff;
  box-shadow: 0 0 10px rgba(46, 59, 125, 0.23);
  border-radius: 20px 20px 10px 10px;
  /*            margin: 1em;*/
  width: 330px;
  margin: 1em -0.5em;
}

@media screen and (min-width: 66.25em) {
  .pricing.the-english-teacher .pricing-item {
    margin: 1em -0.5em;
  }

  .pricing.the-english-teacher .pricing-item.prime {
    margin: 0;
    z-index: 10;
    box-shadow: 0 0 20px rgba(46, 59, 125, 0.23);
  }
}

.pricing.the-english-teacher .pricing-item {
  /*            -webkit-flex: 0 1 330px;*/
  /*            flex: 0 1 330px;*/
}

@media (max-width: 768px) {
  .pricing-item {
    -webkit-flex: 0 1 100%;
    flex: 0 1 100%;
  }
}

/*
        @media (max-width: 576px){
            .pricing-item {
            -webkit-flex: 0 1 100%;
            flex: 0 1 100%;
            }   
        }*/
.pricing-item .pricing-deco {
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  color: aqua;
}

.pricing-item.prime .pricing-deco {
  background: linear-gradient(135deg, #a93bfe, #584efd);
  color: darkviolet;
}

/* @group Course Card template
        ===================================================== */
.pricing-item.the-one .pricing-deco {
  /*            Uigradients "shifter" */
  background: #bc4e9c;
  /* fallback for old browsers */
  /*            background: -webkit-linear-gradient(to right, #f80759, #bc4e9c);  /* Chrome 10-25, Safari 5.1-6 */
  /*            background: linear-gradient(to right, #f80759, #bc4e9c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(135deg, #bc4e9c, #f80759);
  color: #bc4e9c;
}

.the-one .course-type {
  color: white;
}

.the-one .show-more-features,
.pricing.the-english-teacher .the-one .bi.bi-check2,
.pricing.the-english-teacher .the-one ul.pricing-feature-list {
  color: deeppink;
}

.pricing.the-english-teacher .the-one .pricing-action,
.the-one.pricing-item .youtube-link {
  background: linear-gradient(135deg, #bc4e9c, #f80759);
}

.the-one .show-more-features {
  border-color: deeppink;
}

/* @end Course Card template
        ===================================================== */


.pricing-action {
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.pricing-action:focus {
  outline: none;
}

.pricing.the-english-teacher .pricing-deco {
  border-radius: 10px 10px 0 0;
  /*background: linear-gradient(135deg,#4097f9,#0af0c7);*/
  padding: 4em 0 160px 0;
  /*            padding-bottom: 160px;*/
}

.pricing.the-english-teacher .pricing-deco-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
}

.pricing.the-english-teacher .pricing-price,
.pricing.the-english-teacher .pricing-price-conversion {
  font-size: 5em;
  font-weight: bold;
  padding: 0;
  color: #fff;
  margin: 0 0 0.25em 0;
  line-height: 0.75;
}

.pricing.the-english-teacher .pricing-price-conversion {
  font-size: 1em;
  margin: 0 0 1em 0;
}

.pricing.the-english-teacher .pricing-currency {
  font-size: 0.15em;
  vertical-align: top;
}

.pricing.the-english-teacher .pricing-currency-conversion {
  /*  font-size: 0.15em;*/
  font-size: 1em;
  vertical-align: top;
}

.pricing.the-english-teacher .pricing-period {
  font-size: 0.15em;
  padding: 0 0 0 0.5em;
  font-style: italic;
}

.pricing.the-english-teacher .pricing-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #fff;
}

.japanese .pricing.the-english-teacher .pricing-title {
  max-height: 200px;
}

.pricing.the-english-teacher .deco-layer {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

.pricing.the-english-teacher .pricing-item:hover .deco-layer--1 {
  -webkit-transform: translate3d(15px, 0, 0);
  transform: translate3d(15px, 0, 0);
}

.pricing.the-english-teacher .pricing-item:hover .deco-layer--2 {
  -webkit-transform: translate3d(-15px, 0, 0);
  transform: translate3d(-15px, 0, 0);
}

.pricing.the-english-teacher .icon {
  font-size: 2.5em;
}


.pricing.the-english-teacher ul.pricing-feature-list {
  margin: 0;
  padding: 0.25em 0 2.5em;
  list-style: none;
  /*            text-align: center;*/
  /*            height: 300px;*/
  /*            overflow-y: scroll;*/
  color: darkturquoise;
}

.pricing.the-english-teacher .prime ul.pricing-feature-list {
  color: darkorchid;
}

/* Buttons */
.show-more-features {
  font-size: 0.7rem;
  border: 1px solid rgb(13, 202, 240);
  color: rgb(13, 202, 240);
  background: none;
  border-radius: 7px;
}

.prime .show-more-features {
  color: darkviolet;
  border: 1px solid darkviolet;
}

.pricing.the-english-teacher li.pricing-feature {}

.pricing-item .youtube-link {
  text-decoration: none;
  color: white;
  cursor: pointer;
  /*            border: 1px solid transparent;*/
  padding: 8px 15px;
  border-radius: 15px;
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  margin-left: -10px;
  font-weight: bold;
}

.prime.pricing-item .youtube-link {
  background: linear-gradient(135deg, #a93bfe, #584efd);
}

.pricing.the-english-teacher .pricing-action {
  font-weight: bold;
  margin: 1rem 3em 3em 3em;
  padding: 1em 2em;
  color: #fff;
  border-radius: 30px;
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  -webkit-transition: background 1s;
  transition: background 1s;
}

.pricing-item.prime .pricing-action {
  background: linear-gradient(135deg, #a93bfe, #584efd);
}

.pricing-item .pricing-action:hover,
.pricing-item .pricing-action:focus {
  background: linear-gradient(135deg, #fd7d57, #f55d59);
}

.pricing-item.prime .pricing-deco {
  padding: 4em 0 160px 0;
}

.course-type {
  color: darkcyan;
  font-weight: bold;
}

.prime .course-type {
  color: aliceblue;
}

.pricing.the-english-teacher .video-btn.youtube {
  width: 25px;
  /*            vertical-align: text-bottom;*/
}

.pricing.the-english-teacher .bi.bi-check2 {
  font-weight: bold;
  color: limegreen;
  font-size: 1.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
  /* width: 50px; */
  line-height: 1.5rem;
  vertical-align: middle;
  display: block;
  float: left;
}

.pricing.the-english-teacher .prime .bi.bi-check2 {
  color: darkviolet;
}

/*.pricing.the-english-teacher .bi.bi-check2 {
            font-weight: bold;
            color: limegreen;
            font-size: 1.5rem;
            text-shadow: 2px 2px 5px rgba(0,0,0,.2);
        }*/

/* @end Course Cards
===================================================== */

.video-gallery .items-found,
.course-gallery .items-found {
  color: deepskyblue;
}




#cookieConsent .toast-header {
  background: linear-gradient(135deg, #4097f9, #0af0c7);
  color: white;
}


#affiliated {
  padding: 100px 0 150px 0;
  margin-top: -200px;
}

/* @group Contact
===================================================== */

.gMaps-4-old-browsers {
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

a.gMaps-4-old-browsers-link {
  /*    height: 600px;*/
  width: 2229px;
  overflow-x: auto;
}

a.gMaps-4-old-browsers-link>img.gMap-image {
  /*position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;*/
}

.scrollable {
  /* to make the GMaps image scroll */
  /* overflow: scroll;*/
  /* max-width: 100vw; */
  /* max-height: 600px;*/
}

#contact {}



/* @end Contact
===================================================== */

/* @group Footer
===================================================== */
.dark-border-on-dark-bg {
  border: 1px solid rgba(248, 249, 250, 0.25);
  border-radius: 7px;
}

a#webdev,
a#showOffCanvas1 {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #333;
  /* background-color: aqua; */
}

a#webdev:hover,
a#showOffCanvas1:hover {
  color: #fff;
  border: 2px solid transparent;
  background-color: deepskyblue;
}

.tou-link {
  padding: 0px;
  margin: 0 10px;
  color: rgba(248, 249, 250, 0.25);
  text-decoration: none;
}

ul.quicklinks,
ul.social-buttons {
  /*    width: 300px;*/
  height: 100px;
  list-style: none;
  padding: 0;
}

@media (max-width: 576px) {
  .social-buttons {
    width: 100%;
  }
}

.social-link {
  color: white;
  text-decoration: none;
}

/*.social-buttons a.social-link i{
    transform: scale(1);
    transition: all .3s;
}
.social-buttons a.social-link i:hover {
    transform: scale(1.5);
}*/
footer .address {}

.hsbc-logo {
  height: 35px;
  padding: 0px 5px;
}

/* @end Footer
===================================================== */




/* @group max-width 576px
===================================================== */

@media (max-width: 576px) {
  li.how-it-works-feature div.item.step{
      margin: 0px 0px 0px 50px;
  }
  ol.how-it-works-features li::before{
    margin: 0px;
  }
  #faq{
    
  }
  .faq {
    
  }
  #affiliated {
    
  }
}

/* @end max-width 576px
===================================================== */