* {
  border: 0;
  font-size: 100%;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  background-color: white;
}
.category-title, .blog-more-heading {
  font-size: 27px;
  font-weight: bold;
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.category-title::after, .blog-more-heading::after {
  content: "";
  border-top: 1px solid #b0b0b0;
  background-color: initial;
  padding: 2px;
  border-bottom: 1px solid #b0b0b0;
  height: 2px;
  }
span.heading {
  display: flex;
  flex-shrink: 0;
}
.category-title::after, .blog-more-heading::after {
    width: 100%;
    margin-left: 15px;
  }
h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 20px 0;
}
a {
  text-decoration: none;
}
p, th, td {
  font-family: lora, sans-serif, Georgia;
  font-size: 22px;
  line-height: 1.625;
  margin: 0 0 30px;
}
ul, ol {
  font-family: lora, sans-serif, Georgia;
  font-size: 22px;
  line-height: 1.625;
  margin-bottom: 25px;
  margin-top: -20px;
  padding-left: 40px;
}
ol > li > ul, ul > li > ul, ul > li > ol, ol > li > ul > li > ul, ul > li > ul > li > ul {
  margin-top: 0;
  margin-bottom: 0;
}
li {
  margin-bottom: 5px;
}
strong {
  font-weight: bold;
}
body.dark strong {
  color: #fb8268;
}
em {
  font-style: italic;
}
.basic-img-css {
  margin: 0 0 30px;
}
.red {
  color: red;
}
.black {
  color: #000;
}
.green {
  color: #01a316;
}
body.dark .green {
  color: #82ed90;
}
.violet {
  color: #F868FB;
}
.l-gray {
  color:#ccc;
}

.blu-bkgd {
  background-color: #307eca;
  color: #FFF;
  padding: 5px 15px;
}
.yel-bg {
  background-color: #fff444;
}
.blu-bg {
  background-color: #00FEFE;
}
.grn-bg {
  background-color: #00FF00;
}
.pnk-bg {
  background-color: #FFC5FF;
}
/* start home page cards */
.page-title {
  margin-top: 30px;
  font-size: 50px;
  font-weight: bold;
  letter-spacing: -0.5px;
  text-align: center;
  color: #136bf4;
}
.page-desc {
  text-align: center;
  font-size: 40px;
  color: #000;
  font-weight: bold;
  margin-bottom: 20px;
}
@media screen and (max-width: 850px) {
  .page-title {
    font-size: 30px;
    line-height: 35px;
  }
  .page-desc {
    font-size: 27px;
    line-height: 32px;
  }
}
.cards-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}
.page-link-div {
  margin-bottom: 30px;
}
.card {
  width: 350px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  text-align: center;
  background-color: #fff;
  min-height: 344px;
}
body.dark .card {
  border-color: #975f5f;
}
.card-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-unit-number {
  font-size: 60px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  margin-top: -50px;
}
.card-unit-link {
  display: block;
  padding: 12px;
  background-color: #F00606;
  width: 200px;
  /*text-decoration: none;*/
  color: #FFF;
  font-weight: bold;
  margin: 0 auto;
}
.card-img {
  margin: 20px auto;
}
.card-icon {
  height: 140px;
}
.card-title {
  font-size: 25px;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: -0.9px;
  padding: 10px;
}
.card-desc {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 24px;
}
.page-link-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}
.page-link-unit {
  display: block;
  width: 300px;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #0f8eff;
  color: #FFF;
  /*text-decoration: none;*/
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
}
.page-link-unit:hover {
  background-color: #000;
}
/* end home page cards */
.under-construction {
  display: block;
  margin: 0 auto;
}
.unit-container {
  display: flex;
  font-size: 20px;
  gap: 40px;
  height: 547px;
  align-items: center;
}
.unit-container-2 {
  font-size: 20px;
}
/*.unit-wrapper-inner {
 *  display: flex;
 *  flex-direction: column;
 *  align-items: stretch;
 *  gap: 20px;
 * }*/
.unit-wrapper {
  display: flex;
  flex-direction: column;
  overflow: auto;
  width: 50%;
}
.unit-title {
  height: auto;
  width: auto;
  background-color: #605757;
  padding: 10px 15px;
  font-weight: bold;
}
.section-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
  margin: auto;
}
.unit-wrapper-2 {
  display: flex;
  width: 50%;
  margin: 20px auto;
}
.unit-wrapper-2 > div:nth-child(1) {
  /* styles for the second child div */
  padding-right: 20px;
}
.unit-wrapper-2 > div:nth-child(2) {
  /* styles for the second child div */
  border-left: 1px solid #5c4b4b;
  padding-left: 50px;
}
.section-list-2 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px 0;
  width: 50%;
}

@media screen and (max-width: 750px) {
  .unit-container {
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: unset;
  }
  .unit-wrapper {
    width: 100%;
    margin-top: 40px;
    font-weight: bold;
  }
  .unit-wrapper-2 {
    flex-direction: column;
    width: 100%;
  }
  .section-list-2 {
    margin: auto;
    }
  .unit-wrapper-2 > div:nth-child(1) {
    padding-right: 0;
  }
  .unit-wrapper-2 > div:nth-child(2) {
    border-left: unset;
    padding-left: 0;
  }
}
@media screen and (max-width: 450px) {
  .unit-wrapper-2 > div:nth-child(1) {
    width: 100%;
    padding: 0 10px;
  }
  .unit-wrapper-2 > div:nth-child(2) {
    width: 100%;
    padding: 15px 10px 0;
  }
}
/* start lessons page styles */

/* end lessons page styles */

/*  start Lessons cat page styles */
.lesson-item-title {
  font-size: 27px;
  font-weight: bold;
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.lesson-item-title::after {
  content: "";
  display: inline-block;
  border-top: 1px solid #b0b0b0;
  position: relative;
  vertical-align: middle;
  width: calc(100% - 143px);
  background-color: initial;
  padding: 2px;
  border-bottom: 1px solid #b0b0b0;
  height: 2px;
  margin-left: auto;
}
.lesson-item-title a {
  color: #000 !important;
}
body.dark .lesson-item-title a {
  color: white !important;
}
.lesson-div-container {
  display: flex;
  flex-direction: column;
}
.lesson-article-container {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.article-item-wrapper {
  flex-basis: calc(33.39% - 14px);
  display: flex;
  flex-direction: column;
}
.article-item-heading {
  display: block;
  z-index: 20;
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: #FFF;
  font-weight: bold;
  text-shadow: 3px 3px 9px black;
  background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
  font-size: 23px;
  width: 100%;
}

/*  end Lessons cat page styles */

/*  start Lessons template child_3 cat page styles */
.row-1-container, .row-2-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.lesson-items-container {
  display: flex;
}
.item-main-item{
  flex-basis: 50%;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
}
.lesson-items-heading {
  display: block;
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: #FFF;
  font-weight: bold;
  text-shadow: 3px 3px 9px black;
  background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
  font-size: 24px;
  width: 100%;
}
.item-main-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 61%; /* Adjust this value to control the aspect ratio of the image */
  background-color: #fbfbfb;
  border: 1px solid #CCC;
}
.item-main-img:hover {
  border-color: #000;
}
body.dark .item-main-img {
  background-color: #484040;
  border: 1px solid #975f5f;
}
body.dark .item-main-img:hover {
  border-color: #f60;
}
.items-extra-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding-bottom: 61%;
  background-color: #fbfbfb;
}


.item-extras-container {
  display: flex;
  flex-basis: calc(50% - 20px);
  flex-wrap: wrap;
  gap: 20px;
}
.item-extras-item {
  flex-basis: calc(50% - 10px);
  border: 1px solid #CCC;
  position: relative;
  overflow: hidden;
}
.item-extras-item:hover {
  border-color: #000;
}
body.dark .item-extras-item:hover {
  border-color: #f60;
}
body.dark .item-extras-item {
  border: 1px solid #975f5f
}
.lesson-items-container-2 {
  display: flex;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}
.item-extras-item-2 {
  flex-basis: calc(25% - 15px);
  background-color: #eaeaea;
  border: 1px solid #b3b3b3;
}
.item-extras-item-2:hover {
  border-color: #000;
}
body.dark .item-extras-item-2 {
  background-color: #4a4242;
  border: 1px solid #975f5f;
}
body.dark .item-extras-item-2:hover {
  border-color: #f60;
}
.extras-title-2 {
  padding: 20px;
  color: #000;
  font-weight: bold;
  font-size: 23px;
  width: 100%;
}
body.dark .extras-title-2 {
  color: #FFF;
}
.items-extras-img-2 {
  display: flex;
}
.row-3-title, .row-4-title {
  font-size: 27px;
  font-weight: bold;
  padding: 20px 0;
  display: flex;
  align-items: center;
  color: #000;
}
body.dark .row-3-title, body.dark .row-4-title {
  color: #FFF;
}
.row-3-title::after, .row-4-title::after {
  content: "";
  display: inline-block;
  border-top: 1px solid #b0b0b0;
  position: relative;
  vertical-align: middle;
  width: calc(100% - 206px);
  background-color: initial;
  padding: 2px;
  border-bottom: 1px solid #b0b0b0;
  height: 2px;
  margin-left: auto;
}
.row-3-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.lesson-items-container-3 {
  display: flex;
  flex-direction: column;
  flex-basis: calc(25% - 15px);
  background-color: #eaeaea;
  padding: 10px;
  border: 1px solid #b3b3b3;
}
body.dark .lesson-items-container-3 {
  background-color: #4a4242;
  border: 1px solid #975f5f;
}
.lesson-items-container-3 a {
  color: #000;
}
body.dark .lesson-items-container-3 a {
  color: #FFF;
}
h3.lesson-item-title-3, .lesson-item-title-4 {
  font-weight: bold;
  font-size: 23px;
  margin-bottom: 20px;
}
.lesson-items-3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
}

@media screen and (max-width: 950px) {
  .item-extras-item-2 {
    flex-basis: calc(50% - 10px);
  }
  a.second-row-link {
    position: relative;
    display: flex;
  }
  .items-extas-heading-2 {
    position: absolute;
    bottom: 0;
    z-index: 100;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
  }
  .extras-title-2 {
    font-size: 23px;
    color: #FFF;
    text-shadow: 3px 3px 9px black;
  }
  h3.lesson-item-title-3 {
    writing-mode: sideways-lr;
    writing-mode: vertical-lr;
  }
}
@media screen and (max-width: 1020px) {
  .lesson-items-container {
    flex-direction: column;
    flex-wrap: unset;
    width: 100%;
    gap: 20px;
  }
  .item-main-item {
    width: 100%;
  }
  .extras-title-2 {
    font-size: 20px;
  }
  .row-3-container {
    flex-wrap: wrap;
  }
  .lesson-items-container-3 {
    flex-direction: revert;
    flex-basis: 48%;
    gap: 20px;
  }
  h3.lesson-item-title-3 {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #ccc;
    padding-right: 15px;
  }
  .lesson-items-3 {
    gap: unset;
  }
  .item-extras-item-3 {
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
  }
  .lesson-items-3 :last-child {
    border: none;
  }

}
@media screen and (max-width: 600px) {
  .item-extras-container {
    flex-direction: column;
    flex-wrap: unset;
    width: 100%;
    gap: unset;
  }
  .item-extras-container :last-child, body.dark .item-extras-container :last-child {
    border-bottom: none;
  }
  .item-extras-item, body.dark .item-extras-item {
    border-top: none;
    border-left: none;
    border-right: none;
  }
  .items-extra-img {
    padding-bottom: 0;
    background-color: unset;

  }
  .items-extra-img .blog-article-img {
    display: none;
  }
  .items-extra-img .lesson-items-heading {
    position: unset;
    text-shadow: none;
    background-image: none;
    color: #000;
  }
  body.dark .items-extra-img .lesson-items-heading {
    color: #FFF;
  }
  /*
   *     section 2
   */
  .lesson-items-container-2 {
    flex-direction: column;
    gap: unset;
  }
  .lesson-items-container-2 :last-child, body.dark .lesson-items-container-2 :last-child {
    border-bottom: none;
  }
  .item-extras-item-2, body.dark .item-extras-item-2 {
    width: 100%;
    background-color: unset;
    border-top: none;
    border-right: none;
    border-left: none;
  }
  .items-extras-img-2 {
    display: none;
  }
  .items-extas-heading-2 {
    position: unset;
    background-image: none;
  }
  .extras-title-2 {
    color: #000;
    text-shadow: unset;
  }


  .lesson-items-container-3 {
    flex-basis: 100% !important;
  }
}
/*  end Lessons template child_3 cat page styles */

/* start images in content */
img.wow-img {
  border: 1px solid #CCC;
  margin-bottom: 30px;
}
/* end images in content */

/* start fancy h2 styles */
.heading-fancy {
  text-align: center;
  margin: 60px 0 30px 0;
  font-size: 28px;
}
.heading-fancy::before, .heading-fancy::after {
  content: "";
  display: inline-block;
  border-top: 1px solid #b0b0b0;
  position: relative;
  vertical-align: middle;
  width: 20%;
  background-color: initial;
  padding: 2px;
  border-bottom: 1px solid #b0b0b0;
  height: 2px;
}
.heading-fancy::before {
  right: 15px;
}
.heading-fancy::after {
  left: 15px;
}
@media screen and (max-width: 580px) {
  .heading-fancy::before, .heading-fancy::after {
    width: 8%;
  }
}
/* end fancy h2 styles */

.article-info {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 5px;
  line-height: normal;
  padding: 9px 0 15px 0;
  color: #596B7D;
}
.article-info span {
  margin-right: 15px;
}

/* start category blog page styles */
.blog-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}
.blog-section .blog-card-container, .unit-section .blog-card-container {
  flex-direction: column;
}
.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  /*height: 248px;*/
  padding: 20px;
  border: 1px solid #c8c8c8;
  background-color: #FFF;
  border-radius: 4px;
}
body.dark .blog-card {
  border-color: #975f5f;
}
.blog-section .blog-card, .unit-section .blog-card {
  flex-direction: row;
  width: 100%;
  gap: 20px;
}
.blog-card-2 {
  border: 1px solid #ccc;
  background-color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 30px;
  border-radius: 4px;
}
.blog-card-number {
  height: auto;
  display: flex;
  font-size: 63px;
  font-style: italic;
  font-weight: 900;
  color: #ff6600;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.number-shadow {
  width: 96px;
  height: 6px;
  background-color: black;
  border-radius: 50%;
  opacity: .3;
}
.thumbnail-div {
  flex-shrink: 0;
}
.blog-card-desc {
  flex-shrink: 2;
}
@media screen and (max-width: 559px) {
  .blog-card {
    flex-direction: row;
    width: 350px;
    height: 160px;
    justify-content: space-evenly;
  }
  .blog-card-2 .thumbnail-div {
    display: none;
  }
  .blog-section-img {
    display: none;
  }
  .thumbnail-div {
    width: 50%;
  }
  .blog-card-2 .blog-card-desc {
    width: 100%;
  }
  .blog-card-desc {
    width: 100%;
  }
  h2.blog-card-title {
    font-size: 1.4em;
  }
}
.thumbnail-img {
  height: 100px;
}
/* https://cssdeck.com/labs/different-css3-box-shadows-effects */
.effect3
{
  position: relative;
}
.effect3:before
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.blog-card-2 .blog-card-title {
  text-align: left;
}
.blog-card-title {
  text-align: center;
  margin: 15px 0;
  color: black;
}
.blog-vocabulary .blog-card-title {
  text-align: center;
}
.blog-card-title:hover {
  color: #10aff9;
}
.blog-card-title a:hover {
  color: #74b1ff;
}
a.blog-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* end category blog page styles */

/* START NEW LESSON STYLE */
.section-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  gap: 30px;
}
.section-wrapper {
  flex-basis: calc(33.33% - 20px); /* Adjust the width based on desired spacing */
  background-color: white;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  padding: 20px;
}
body.dark .section-wrapper {
  border-color: #975f5f;
  background-color: #484040;
}
.section-wrapper:hover .title-circle-2, body.dark .section-wrapper:hover .title-circle-2 {
  background-color: #ff6600;
  color: #FFF;
}
.section-wrapper:hover {
  border-color: #000;
}
body.dark .section-wrapper:hover {
  /*border-color: #ff6600;*/
  border-color: #c97137;
}
.section-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lesson-list {
  list-style-type: none;
  counter-reset: custom-counter;
  padding-left: 0;
  }
.lesson-list li {
  display: flex;
  gap: 10px;
  font-size: 20px;
}
.lesson-list a {
  color: #555555;
}
body.dark .lesson-list a {
  color: #edece6;
}
.lesson-list a:visited {
  color: inherit;
}
.lesson-list a:hover {
  color: #248bf9;
}
body.dark .lesson-list a:hover {
  color: #f5a6a6;
}
.lesson-list li div::before {
  content: counter(custom-counter);
  counter-increment: custom-counter;
  margin-right: 9px;
  color: #464646;
  font-weight: bold;
}
body.dark .lesson-list li div::before {
  color: #d79e9e;
}
.section-title-1 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title-text-1 {
  margin-right: -10px;
  z-index: 20;
}
.title-circle-1 {
  width: 50px;
  height: 50px;
  background-color: #CCC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
}
body.dark .title-circle-1 {
  background-color: #975f5f;
}
.section-title-2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.title-circle-2 {
  width: 50px;
  height: 50px;
  background-color: #CCC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
}
body.dark .title-circle-2 {
  background-color: #975f5f;
}
@media screen and (max-width: 900px) {
  .section-wrapper {
    flex-basis: calc(50.33% - 20px);
  }
}
@media screen and (max-width: 500px) {
  .section-wrapper {
    flex-basis: 100%;
  }
}
/* END NEW LESSON STYLE */

/* START LESSON AUDIO/PHRASE STYLES  */
.lesson-phrase-wrapper {
  display: flex;
  gap: 20px;
  align-items: baseline;
}
/* END LESSON AUDIO/PHRASE STYLES  */

/* start instruction accordion styles */
.accordion-container {
  margin-bottom: 30px;
}
.accordion {
  align-items: center;
  background-color: initial;
  border: none;
  color: #444;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: bold;
  outline: none;
  padding: 0 0 20px 0;
  transition: 0.4s;
}

.active-panel, .accordion:hover {
  /* background-color: #ccc; */
}

.accordion:after {
  content: '\002B';
  color: #FFF;
  font-weight: bold;
  margin-left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #1eb31e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.active-panel:after {
  content: "\2212";
  color: #FFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* red */
  background-color: #ff3f3f;
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.active-panel + .panel {
  padding: 10px 10px 0 10px;
}
.panel-card {
  /* border: 1px solid #ccc; */
  padding: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.panel-card-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a73e8;
  color: #FFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  font-weight: bold;
}
.panel-card-desc {
  margin-left: 20px;
  width: 80%;
  font-size: 18px;
  align-self: center;
}
/*
 * @media screen and (max-width: 550px) {
 *  .panel-card-desc {
 *  width: 72%;
 *  }
 * }
 */
img.open-icon {
  vertical-align: middle;
}
.panel-card-icon {
  display: flex;
  width: 30px;
  align-items: center;
  margin-left: 20px;
  margin-right: -10px;
}
/* start instruction accordion styles */

/* start more info accordion styles */
.panel-card-info {
  padding: 20px;
  background: #f2f2f2;
}
/* end more info accordion styles */

/* start bottom page pagination */
.pager {
  list-style: none;
  text-align: center;
  padding-left: 0;
  margin-top: 0;
}
.pager li {
  display: inline;
}
.next a {
  float: right;
  /*text-decoration: none;*/
  color: white;
  background-color: #49b049;
  padding: 5px 20px;
  margin: 100px 20px 50px 0;
}
.previous a {
  float: left;
  /*text-decoration: none;*/
  color: white;
  background-color: #49b049;
  padding: 5px 20px;
  margin: 100px 0 50px 20px;
}
@media screen and (max-width: 420px) {
  .next a {
    margin-right: 0;
  }
  .previous a {
    margin-left: 0;
  }
}
.prev-next {
  font-weight: 700;
  font-size: 24px;
}
/* end bottom page pagination */

/* start latest news module (blog section) */
.moduletable.wow-module {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 20px;
}
.wow-module h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
  border-bottom: 2px solid blue;
  padding-bottom: 11px;
}
.wow-module .latestnews {
  list-style: none;
  padding: initial;
  margin: initial;
  font-size: 20px;
}
.wow-module .latestnews li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: 420;
}
.wow-module .latestnews a {
  /*text-decoration: none;*/
  color: #000;
}
.wow-module .latestnews a:hover {
  color: #16c1f9;
}
.latest-link-container {
  display: flex;
}
.latest-link-number {
  align-items: center;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  margin-right: 20px;
  color: #0168f0;
  position: relative;
  line-height: 0;
  font-style: italic;
  font-weight: bold;
  font-size: 26px;
}
body.dark .latest-link-number {
  color: #fb7f59;
}
.latest-link-counter {
  text-align: center;
  width: 100%;
}
/* end latest news module (blog section) */

/* start phrase styles */
.phrase-div {
  text-align: center;
  margin-bottom: 20px;
}
.phrase-span {
  font-size: 20px;
  font-weight: bold;
  color: black;
  background-color: #f7f727;
  padding: 5px 15px;
}
/* end phrase styles */

/* start flashcard styles */
.translate-icon-container {
  position: relative;
  width: 35px;
  margin: 0 auto 0 auto;
}
#translate {
position: absolute;
z-index: 400;
top: 10px;
}
.shuffle-cards, .flashcards-container {
  width: 100%;
  height: 252px;
}
.cards {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}

.slide {
  visibility: hidden;
  background-color: white;
  width: 400px;
  max-width: 100%;
  height: 250px;
  text-align: center;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
  padding: 0 20px;
  overflow: auto;
}
body.dark .slide {
  border: 1px solid #975f5f;
}
.slide:first-child {
  display: block;
}
.slide-heading-1 {
  display: block;
  padding-top: 50px;
  color: #000;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -0.9px;
}
.slide-heading-2 {
  display: block;
  padding-top: 50px;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.9px;
}
span.slide-heading-1.top-20 {
  padding-top: 20px;
}
span.translation.top-10 {
  margin-top: 10px;
}
.flashcard-img {
  height: 150px;
  margin: 30px auto 10px auto;
  display: block;
  width: auto;
}
.translation {
  display: none;
  font-size: 20px;
  color: #848484;
  margin-top: 15px;
}
span.ipa-phonetic-spelling.translation {
  color: #5ca9ed;
  margin-top: 5px;
}
.translation-show {
  display: block;
  color: #606060;
}
.cycle-caption {
  position: absolute;
  left: 0;
}
.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}
.buttons-player {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  background-color: #393939;
  border-radius: 30px;
  padding: 4px;
  gap: 20px;
}
.prev-card {
  height: 22px;
  cursor: pointer;
}
.timer-div {
  text-align: center;
}
.timer {
  margin-bottom: 10px;
}
.playStopDiv {
  position: relative;
  width: 30px;
  height: 30px;
  overflow: hidden;
}
.pauseToggle {
  position: absolute;
    cursor: pointer;
}
.next-card {
  height: 22px;
  cursor: pointer;
}
.reset-button-div {
  text-align: center;
}
.translate-button {
  height: 30px;
  position: absolute;
  right: 57px;
  background-image: url('/images/shuffle-cards/translate-icon-black.png');
  width: 55px;
  background-repeat: no-repeat;
  background-size: 31px;
  background-position: center;
  border: 1px solid #9f9f9f;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background-color: #d2d2d2;
  background-color: initial;
}
.shuffle-button {
  height: 30px;
  position: absolute;
  right: 0;
  background-image: url('/images/shuffle-cards/shuffle.png');
  width: 45px;
  background-repeat: no-repeat;
  background-size: 31px;
  background-position: center;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background-color: initial;
}
/* end flashcard styles */

/* start timer */
.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}
.timer-counter {
  font-size: 29px;
}
.timer-buttons {
  margin-bottom: 5px;
}
.timer-start, .timer-stop, .timer-reset {
  color: #FFF;
  width: 54px;
  text-align: center;
  border-radius: 2px;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 8px 5px;
  cursor: default;
}
.timer-start {
  background-color: #1a73e8;
  display: inline-block;
}
.timer-stop {
  background-color: #f42929;
  display: none;
}
.timer-reset {
  background-color: #393434;
  display: inline-block;
}
body.dark .timer-reset {
  background-color: #5a5151;
}
/* end timer */

/* start timeout-container */
.timeout-select-container {
  text-align: center;
  padding: 0 0 20px;
}
select.timeout-select {
  padding: 8px 18px;
  font-size: 15px;
  background-color: #584444;
  color: white;
  outline: none;
  border-radius: 2px;
  border: 1px solid #625555;
}
/* end timeout-container */

/* start vocab cards */
.vocab-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.vocab-card {
  border: 1px solid #CCC;
  padding: 20px;
  width: 230px;
  max-width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: #FFF;
}
.vocab-card-1 {
  border: 1px solid #CCC;
  padding: 12px;
  width: 350px;
  max-width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: #FFF;
  display: flex;
  min-height: 215px;
  align-items: center;
  flex-direction: column;
}
.vocab-card-2 {
  border: 1px solid #CCC;
  padding: 12px;
  width: 350px;
  max-width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: #FFF;
  display: flex;
  height: 215px;
  align-items: center;
}
body.dark .vocab-card-1, body.dark .vocab-card-2 {
  border-color: #975f5f;
}
.vocab-image {
  align-self: center;
  margin: 0 auto;
  width: 50%;
}
.vocab-card-1 .vocab-image {
  display: flex;
}
.vocab-img {
  height: 110px;
}
.vocab-card-1 .vocab-img {
  height: 95px;
}
.vocab-card-1 .vocab-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  border-left: none;
  padding-top: 12px;
  padding-left: 0;
  justify-content: center;
}
.vocab-text {
  width: 50%;
  padding-left: 12px;
}
.vocab-text-wrapper-1 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vocab-audio-wrapper {
  position: absolute;
  bottom: 15px;
}
.vocab-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}
.vocab-card-1 .vocab-title {
  margin-bottom: 0;
}
.vocab-desc {
  font-size: 18px;
  font-weight: bold;
  color: #3391f4;
  margin-bottom: 5px;
}
.vocab-phone {
  margin-bottom: 5px;
  font-size: 16px;
  letter-spacing: 1px;
}
.vocab-card-1 .vocab-desc {
  margin-bottom: 0;
}
.vocab-card-1 .vocab-audio {
  position: absolute;
  left: 12px;
}
.vocab-audio-button {
  background-image: url('/images/audio-player/audio.png');
  background-color: #06bb06;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  border: none;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  cursor: pointer;
}
.slide-audio-button {
  background-image: url('/images/audio-player/audio.png');
  background-color: #06bb06;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px;
  border: none;
  border-radius: 50%;
  height: 70px;
  width: 70px;
  cursor: pointer;
}
.slide-audio-button-2 {
  background-image: url('/images/audio-player/audio.png');
  background-color: #06bb06;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 35px;
  border: none;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
}
.play, .pause {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  border: none;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  cursor: pointer;
}
.vocab-audio-button:hover, .slide-audio-button:hover {
  background-color: #f47315;
  /* box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0
   *  rgba(0, 0, 0, 0.19); */
  box-shadow: 2px 2px 5px #777;
}
.vocab-audio-button:focus, .slide-audio-button:focus {
  outline: none;
}
.play {
  background-color: #35c835;
  background-image: url('/images/audio-player/audio.png');
  background-position: center;
}

.pause {
  background-color: #f94545;
  background-image: url('/images/audio-player/audio.png') !important;
}
.play:focus {
  outline: none;
}
.pause:focus {
  outline: none;
}
/* end vocab cards */

/* start phrase cards */
.phrase-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  padding-top: 12px;
  padding-left: 0;
  justify-content: center;
}
.phrase-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 35px;
  margin-bottom: 5px;
  margin-top: 30px;
}
.phrase-phone {
  margin-bottom: 5px;
  font-size: 20px;
  letter-spacing: 1px;
}
/* end phrase cards */

/* start IPA symbol cards */
.phone-card-1 {
  display: flex;
  flex-direction: column;
  border: 1px solid #CCC;
  padding: 12px;
  width: 350px;
  max-width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: #FFF;
  gap: 5px;
  min-height: 215px;
  align-items: center;
  justify-content: center;
}
body.dark .phone-card-1 {
  border-color: #975f5f;
}
.phone-text {
  width: 100%;
}
.phone-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.phone-ipa {
  margin-bottom: 5px;
  font-size: 20px;
  letter-spacing: 1px;
}
.phone-desc {
  font-size: 18px;
  font-weight: bold;
  color: #3391f4;
  margin-bottom: 5px;
}
/* end IPA symbol cards */

/* start audio flashcards */
.slide-audio-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.slide-audio {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.slide-answers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* end audio flashcards */

/* start ipa symbol page */
.ipa-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.ipa-div {
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
}
/* end ipa symbol page */

/* start ipa symbol page */
.ipa-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}
.ipa-div {
  display: flex;
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  line-height: 60px;
}
body.dark .ipa-div {
  border-color: #975f5f;
}
.bracket-L, .bracket-R {
  color: #AAA;
}
body.dark .bracket-L, body.dark .bracket-R {
  color: #8e7b7b;
}
.ipa-div:hover {
  border-color: #000;
  background-color: #fcfcfc;
}
body.dark .ipa-div:hover {
  border-color: #c17979;
  background-color: #403939;
}
.ipa-div:hover .ipa-char {
  color: #000;
}
body.dark .ipa-div:hover .ipa-char {
  color: #fff;
}
.ipa-div:hover .bracket-L, .ipa-div:hover .bracket-R  {
  color: #009fff;
}
body.dark .ipa-div:hover .bracket-L, body.dark .ipa-div:hover .bracket-R  {
  color: #f60;
}
@media screen and (max-width: 384px) {
  .ipa-div {
    width: 90px;
    height: 90px;
  }
}
.ipa-link {
  /*text-decoration: none;*/
  color: #555;
}
.ipa-link:visited {
  color: inherit;
}
.symbol-div {
  width: 100px;
  height: 100px;
  display: flex;
  border: 1px solid #ccc;
  font-size: 70px;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}
.symbol-container {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
}
.ipa-span {
  border: 1px solid #ccc;
  font-size: 70px;
  padding: 10px 20px 20px 20px;
}

/* end ipa symbol page */

/* start word blocks */
.word-block {
  border: 1px solid #a29f9b;
  padding: 0 10px;
}
/* end word blocks */

/* start written exercises styles */
.exercise-item-1 {
  margin-bottom: 20px;
}
.exercise-item-2 {
  color: #f868fb;
}
.toggle-hide {
  /*display:none;*/
}
button.randomize-btn, button.toggle-btn {
  border: 1px solid #282828;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #cdcdcd;
  color: #282828;
  font-weight: 500;
  font-size: 18px;
}
body.dark button.toggle-btn, body.dark button.randomize-btn {
  border-color: #c8e4c8;
  background-color: #707570;
  color: #0a0a0a;
}
/* end written exercises styles */

/* start table styles */
.table-div {
  overflow-x: auto;
}
.table-1 {
  border-collapse: collapse;
  margin-bottom: 30px;
}
.table-1 th, .table-1 td {
  padding: 10px 30px;
  border: 1px solid #c3c3c3;
}
body.dark .table-1 th, body.dark .table-1 td {
  border-color: #5a5a5a;
}
.table-1 th {
  /* background-color: #e7e6e6; */
  font-weight: bold;
}
body.dark .table-1 th {
  font-weight: bold;
}
.table-1 tr:nth-child(even) {
  background-color: #f1f1f1;
}
body.dark .table-1 tr:nth-child(even) {
  background-color: #4c4444;
}
.table-container {
  display:flex;
  gap: 30px;
  overflow-x: auto;
  width: 100%;
  justify-content: center;
}
@media screen and (max-width: 860px) {
  .table-container {
    flex-direction: column;
    gap: unset;
  }
}
/* end table styles */

.footer {
  background-color: #484040;
  flex-shrink: 0;
  padding: 20px 0 30px 0;
  width: 100%;
}
.footer-inner {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 10px;
}
.copyR {
  color: #fff;
  display: block;
  font-size: 16px;
  text-align: center;
}
.footer-links {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}
.footer-link {
  color: #00abff;
  padding: 0 5px;
  /*text-decoration: none;*/
}
/*.footer-link:visited {
 *  color: #00abff;
 * }*/
.mid-dot {
  color: #00abff;
  font-weight: bold;
}

/* start light/dark theme style */
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-bottom: 13px;
  color: white;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #878585;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* end light/dark theme style */

/* start lesson intro dialog style */
.dialog-wrapper {
  display: flex;
  width: 100%;
}
ol.dialog-list > li {
  padding-bottom: 10px;
}
.phrase-wrapper {
  display: flex;
  align-items: baseline;
}
.phrase-toggle-button {
  color: white;
  font-weight: bold;
  width: 25px;
  height: 25px;
  background-color: #1eb31e;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
}
.phrase-toggle-button.clicked {
  background-color: red;
}
.phrase-toggle-button.clicked::after {
  content: '-';
  margin-top: -2px;
}
.phrase-toggle-button::after {
  content: '+';
}
.phrase-sub-list {
  display: none;
  padding-left: 65px !important;
}
.open-list {
  display: block;
  padding-left: 35px;
}
.item-ipa-1 {
  color: #000;
}
body.dark .item-ipa-1 {
  color: #fb8268;
}
.item-ipa-2 {
  color: #F868FB;
}
body.dark .item-ipa-2 {
  color: #888388;
}
body.dark .item-phrase-1 {
  color: #888388;
}

.dialog-list {
  counter-reset: custom-counter;
  list-style: none;
  padding-left: 20px;
  margin-top: 0;
}
/* end lesson intro dialog style */


/* end new dialog/lesson exercise */
.audio-track-wrapper {
  display: flex;
  position: relative;
}
.audio-track-wrapper button {
  position: absolute;
  top: 2px;
  width: 30px !important;
  height: 30px !important;
  background-size: 20px !important;
}
.button-phrase-wrapper {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 24px;
}
.toggle-button {
  color: white;
  font-weight: bold;
  width: 25px;
  height: 25px;
  background-color: #1eb31e;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.toggle-button.clicked {
  background-color: red;
}
.toggle-button.clicked::after {
  content: '-';
  margin-top: -2px;
}
.toggle-button::after {
  content: '+';
}
.sub-list {
  display: none;
}
.open-list {
  display: block;
  padding-left: 108px;
}
.item-ipa-1 {
  color: #000;
}
body.dark .item-ipa-1 {
  color: #fb8268;
}
.item-ipa-2 {
  color: #F868FB;
}
body.dark .item-ipa-2 {
  color: #888388;
}
body.dark .item-phrase-1 {
  color: #888388;
}

.lesson-phrase-list {
  counter-reset: custom-counter;
  list-style: none;
  padding-left: 20px;
}

.lesson-phrase-list > li {
  counter-increment: custom-counter;
  padding-bottom: 10px;
}

.lesson-phrase-list > li::before {
  content: counter(custom-counter) '.';
  display: inline-block;
  width: 20px;
  text-align: right;
  margin-right: 15px;
  float: left;
}

/* start new dialog/lesson exercise */

.bottom-margin-0 {
  margin-bottom: 0;
}
.bottom-margin-5 {
  margin-bottom: 5px;
}
.bottom-margin-10 {
  margin-bottom: 10px;
}
.bottom-margin-15 {
  margin-bottom: 15px;
}
.bottom-margin-20 {
  margin-bottom: 20px;
}
.bottom-margin-25 {
  margin-bottom: 25px;
}
.bottom-margin-30 {
  margin-bottom: 30px;
}
.bottom-margin-35 {
  margin-bottom: 35px;
}
.bottom-margin-40 {
  margin-bottom: 40px;
}
.bottom-margin-45 {
  margin-bottom: 45px;
}
.bottom-margin-50 {
  margin-bottom: 50px;
}
.bottom-margin-55 {
  margin-bottom: 55px;
}
.bottom-margin-60 {
  margin-bottom: 60px;
}
.top-margin-0 {
  margin-top: 0;
}
.top-margin-5 {
  margin-top: 5px;
}
.top-margin-10 {
  margin-top: 10px;
}
.top-margin-15 {
  margin-top: 15px;
}
.top-margin-20 {
  margin-top: 20px;
}
.top-margin-25 {
  margin-top: 25px;
}
.top-margin-30 {
  margin-top: 30px;
}
.top-margin-35 {
  margin-top: 35px;
}
.top-margin-40 {
  margin-top: 40px;
}
.top-margin-45 {
  margin-top: 45px;
}
.top-margin-50 {
  margin-top: 50px;
}
.top-margin-60 {
  margin-top: 60px;
}
.top-margin-55 {
  margin-top: 60px;
}
.top-padding-0 {
  padding-top: 0;
}
.top-padding-5 {
  padding-top: 5px;
}
.top-padding-10 {
  padding-top: 10px;
}
.top-padding-15 {
  padding-top: 15px;
}
.top-padding-20 {
  padding-top: 20px;
}
.top-padding-25 {
  padding-top: 25px;
}
.top-padding-30 {
  padding-top: 30px;
}
.top-padding-35 {
  padding-top: 35px;
}
.top-padding-40 {
  padding-top: 40px;
}
.top-padding-45 {
  padding-top: 45px;
}
.top-padding-50 {
  padding-top: 50px;
}
.font-size-15 {
  font-size: 15px;
}
.font-size-16 {
  font-size: 16px;
}
.font-size-17 {
  font-size: 17px;
}
.font-size-18 {
  font-size: 18px;
}
.font-size-19 {
  font-size: 19px;
}
.font-size-20 {
  font-size: 20px;
}
.font-size-21 {
  font-size: 21px;
}
.font-size-22 {
  font-size: 22px;
}
.font-size-23 {
  font-size: 23px;
}
.font-size-24 {
  font-size: 24px;
}
.font-size-25 {
  font-size: 25px;
}
.font-size-30 {
  font-size: 30px;
}
.font-size-35 {
  font-size: 35px;
}
.font-size-40 {
  font-size: 40px;
}
.flex-dir-row {
  flex-direction: row;
}
.flex-dir-col {
  flex-direction: column;
}
.list-none li, .list-none {
  list-style-type: none;
}
.flex-gap-0 {
  gap: 0;
}
.flex-gap-5 {
  gap: 5px;
}
.flex-gap-10 {
  gap: 10px;
}
.flex-gap-15 {
  gap: 15px;
}
.flex-gap-20 {
  gap: 20px;
}
.flex-gap-25 {
  gap: 25px;
}
.width-30 {
  width: 30px !important;
  background-size: 20px !important;
}
.width-25 {
  width: 25px;
}
.width-20 {
  width: 20px;
}
.width-15 {
  width: 15px;
}
.height-30 {
  height: 30px !important;
}
.height-25 {
  height: 25px;
}
.height-20 {
  height: 20px;
}
.height-15 {
  height: 15px;
}
.height-47 {
  height: 47.99%;
}
/* start "blog" category page styles */
.blog-cat-container {
  display: flex;
  flex-direction: column;
  /*gap: 20px;*/
}
.blog-post-container-1, .category-blog-items   {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}
.blog-post-main, .lesson-item-main-container {
  flex-basis: 50%;
  border: 1px solid #CCC;
  margin-right: 20px;
  background-color: white;
}
.blog-post-main .blog-post-item, .lesson-item-main-wrapper {
  position: relative;
}
body.dark .blog-post-main {
  background-color: #484040;
  border-color: #975f5f;
}
body.dark .blog-post-item, body.dark .lesson-item-main-container, body.dark .lesson-item-extra, body.dark .lesson-item-3rd {
  background-color: #484040;
  border-color: #975f5f;
}
.blog-post-main .blog-post-heading, .main-content-heading-wrapper {
  position: absolute;
  bottom: 0px;
  color: white;
  font-weight: bold;
  text-shadow: 3px 3px 9px black;
  background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
  font-size: 24px;
  line-height: normal;
  padding: 15px 20px 40px;
  width: 100%;
}
.blog-post-secondary, .lesson-item-extra-container {
  display: flex;
  flex-basis: calc(50% - 20px);
  flex-wrap: wrap;
  gap: 20px;

}
.blog-post-secondary .blog-post-item, .lesson-item-extra {
  flex-basis: calc(50% - 10px);
  border: 1px solid #CCC;
  position: relative;
}
.blog-post-main:hover, .lesson-item-main-container:hover, body.dark .lesson-item-extra:hover, body.dark .lesson-item-3rd:hover {
  border-color: #000;
}
body.dark .blog-post-item:hover, body.dark .lesson-item-main-container:hover, body.dark .lesson-item-extra:hover, body.dark .lesson-item-3rd:hover {
  border-color: #f60;
}
.blog-post-img, .main-content-img-wrapper, .extra-content-img-wrapper, ._3rd-content-img-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 61%; /* Adjust this value to control the aspect ratio of the image */
  background-color: #fbfbfb;
}
body.dark .blog-post-img, body.dark .main-content-img-wrapper, body.dark .extra-content-img-wrapper, body.dark ._3rd-content-img-wrapper {
  background-color: #484040;
}
.blog-article-img, .main-content-img, .extra-content-img, ._3rd-content-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/ /* Preserve aspect ratio and fill the available space */
}
.blog-post-heading, .extra-content-heading-wrapper, ._3rd-content-heading-wrapper {
  padding: 10px;
}
.blog-post-secondary .blog-post-heading, .extra-content-heading-wrapper {
  position: absolute;
  bottom: 0px;
  color: white;
  font-weight: bold;
  text-shadow: 3px 3px 9px black;
  background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
  font-size: 17px;
  line-height: normal;
  padding-top: 10px;
  width: 100%;
}
.blog-post-container-2, .lesson-item-3rd-container, .blog-post-container-3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}
.lesson-item-3rd-container {
  gap: 20px;
}
.blog-post-extras {
  display: flex;
  flex-basis: calc(75% - 20px);
  flex-wrap: wrap;
  gap: 20px;
}
.blog-post-aside {
  flex-basis: 25%;
  margin-right: 20px;
  background-color: #00000012;
}
body.dark .blog-post-aside {
  background-color: #ffffff08;
}
.lesson-item-3rd {
  flex-basis: calc(33.39% - 14px);
  border: 1px solid #CCC;
  position: relative;
}
.blog-post-extras .blog-post-item {
  flex-basis: calc(33.39% - 14px);
  border: 1px solid #CCC;
  position: relative;
}
.lesson-item-3rd {
  flex-basis: calc(25.39% - 14px);
  border: 1px solid #CCC;
  position: relative;
}
@media screen and (max-width: 1193px) {
  .blog-post-extras .blog-post-item {
    flex-basis: calc(32.8% - 10px);
    border: 1px solid #CCC;
    position: relative;
  }
}
.blog-post-item:hover {
  border-color: #000;
}
.blog-post-extras .blog-post-heading, ._3rd-content-heading-wrapper, .link-item-wrapper {
  font-size: 18px;
  font-weight: bold;
  color: black;
}
.blog-post-extras .blog-post-img {
  background-color: #eaeaea;
}
body.dark .blog-post-extras .blog-post-img {
  background-color: #3a3333;
}
body.dark .blog-post-extras .blog-post-heading, body.dark ._3rd-content-heading-wrapper, body.dark .link-item-wrapper a {
  color: #fff;
  text-shadow: 3px 3px 9px #3a3333;
}
.blog-post-extras .blog-post-heading a {
  color: #000;
}
body.dark .blog-post-extras .blog-post-heading a {
  color: white;
}
@media screen and (max-width: 1020px) {
  .blog-post-container-1, .category-blog-items  {
    flex-direction: column;
    flex-wrap: unset;
    width: 100%;
    gap: 20px;
  }
  .blog-post-main, .lesson-item-main-container {
    width: 100%;
  }
  .blog-post-extras .blog-post-item {
    flex-basis: calc(32.7% - 10px);
  }
  .lesson-item-3rd {
    flex-basis: calc(50% - 10px);
  }
  ._3rd-content-heading-wrapper {
    position: absolute;
    bottom: 0px;
    color: white;
    font-weight: bold;
    text-shadow: 3px 3px 9px black;
    background-image: linear-gradient(rgba(0,0,0,0),rgb(0 0 0 / 94%));
    font-size: 17px;
    line-height: normal;
    padding-top: 10px;
    width: 100%;
  }
}

@media screen and (max-width: 1020px) {
  .blog-post-container-2 {
    flex-direction: column;
  }
  .blog-post-aside {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .blog-post-secondary, .lesson-item-extra-container {
    flex-direction: column;
    flex-wrap: unset;
    gap: unset;
  }
  .blog-post-secondary .blog-post-item, .lesson-item-extra, .lesson-item-3rd {
    border-top: unset;
    border-left: unset;
    border-right: unset;
  }
  body.dark .blog-post-item, body.dark .lesson-item-extra, body.dark .lesson-item-3rd {
    background-color: unset;
    width: 100%;
    background-color: unset;
    border-top: none;
    border-right: none;
    border-left: none;
  }
  .blog-post-secondary :last-child, body.dark .blog-post-secondary :last-child, .blog-post-extras :last-child, body.dark .blog-post-extras :last-child, .lesson-item-extra:last-child, .lesson-item-3rd-container :last-child, body.dark .lesson-item-3rd-container :last-child {
    border-bottom: none;
  }

  .blog-post-secondary .blog-post-img, .extra-content-img-wrapper, ._3rd-content-img-wrapper {
    display: none;
  }
  .blog-post-main .blog-post-heading, .main-content-heading-wrapper, h3.extra-heading, .blog-post-title, ._3rd-heading {
    padding: 20px;
  }
  .blog-post-secondary .blog-post-heading, .extra-content-heading-wrapper, ._3rd-content-heading-wrapper {
    position: unset;
    bottom: unset;
    color: #000;
    text-shadow: unset;
    background-image: unset;
  }
  body.dark .blog-post-secondary .blog-post-heading, body.dark .extra-heading {
    color: #FFF;
  }
  .blog-post-extras, .lesson-item-3rd-container {
    flex-direction: column;
    gap: unset;
  }
  .blog-post-extras .blog-post-img {
    display: none;
  }
  .item-extras-item .lesson-items-heading {
    font-size: 17px;
  }
}

@media screen and (max-width: 500px) {
  .blog-post-main .blog-post-heading {
    font-size: 20px;
  }
}
@media screen and (max-width: 400px) {
  .blog-post-main .blog-post-heading {
    font-size: 17px;
  }
}
/* end "blog" category page styles */



