/*
Theme Name: MonEcoleEnLigne
Author: Arnaud Browet
Author URI: 
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: MonEcoleEnLigne
*/
/* FONTS */
/* MATH FUNCTION */
/* COLOR*/
/* FLEX */
.vertical-flex,
.active-text {
  display: -webkit-box !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.horizontal-flex {
  display: -webkit-box !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}

.vertical-center {
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: center;
  justify-content: center;
}

.flex-start {
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.flex-center {
  -webkit-justify-content: center;
  justify-content: center;
}

.flex-end {
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

.align-center {
  -webkit-align-items: center;
  align-items: center;
}

.align-start {
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.align-end {
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.align-stretch {
  -webkit-align-items: stretch;
  align-items: stretch;
}

/* FLEX END*/
/* 5 columns bootstrap*/
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-5ths {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-5ths {
    width: 20%;
    float: left;
  }
}
@media (min-width: 992px) {
  .col-md-5ths {
    width: 20%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-5ths {
    width: 20%;
    float: left;
  }
}
/* BUTTONS */
.full-page-container {
  width: 100vw;
  height: 100vh;
}

.flip-horizontal,
.caracter-container .bubble,
.caracter-container .bubble p {
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: 'FlipH';
}

.caracter-container .bubble.secondary,
.caracter-container .bubble.secondary p {
  /* -webkit-transform:  scaleY(-1);
  -moz-transform:   scaleY(-1);
  -o-transform:   scaleY(-1);
  transform:   scaleY(-1);
  filter: FlipV;
  -ms-filter: 'FlipV'; */

  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
  filter: none;
  -ms-filter: none;
}

.caracter-container {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 100;
}
.caracter-container .bubble {
  cursor: pointer;
  /* margin-right: 15vh; */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* width: 60vw;
  height: 50vw;
  max-width: 250px;
  max-height: 250px; */
  width: auto;
  height: auto;
  padding: 30px 10px 50px 10px;
  text-align: center;
  /* margin-left: 15vh; */
  position: relative;
  right: calc(-0.15 * 50vh);
  /* bottom: 15vh; */
  bottom: 40vh;
}
.caracter-container .bubble.secondary {
  left: calc(-0.15 * 50vh);
  /* top: 15vh; */
  /* bottom: 12vh; */
  bottom: 40vh;
}
.caracter-container .bubble p {
  font-size: 1rem;
  width: 80%;
  margin: 0;
  font-weight: bold;
  color: #3668cf;
  font-style: italic;
}
.caracter-container .bubble:hover p {
  color: #cf364a;
}
.caracter-container a:hover {
  text-decoration: none;
}
.caracter-container .background-phylactere {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/* .caracter-container .caracter {
  margin-top: -6vh;
  margin-left: 15vh;
} */
.caracter-container .caracter img {
  height: 50vh;
  max-width: none;
}

.page-id-1009 .site-content {
  min-width: 100vw;
  min-height: 100vh;
}
.page-id-1009 article {
  background: transparent !important;
}
.page-id-1009 .ld_course_grid_price.ribbon-enrolled {
  color: #428bca !important;
  text-shadow: none !important;
}

:root {
  --meel-blue: #119eda;
  --meel-red: #800000; /*#ae3b47;*/
}
/* .education-menu {
  flex-grow: 1;
  text-align: right;
} */

/* FOrce update of colors */
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li.wpProQuiz_reviewQuestionTarget,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li.wpProQuiz_reviewQuestionTarget.wpProQuiz_reviewQuestionSolved,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewLegend span.wpProQuiz_reviewQuestion_Target {
  background-color: var(--meel-blue) !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewQuestion li.wpProQuiz_reviewQuestionSkip,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewLegend span.wpProQuiz_reviewColor_Review,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewQuestion li.wpProQuiz_reviewQuestionReview,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_box li.wpProQuiz_reviewQuestionReview {
  background-color: #dd8e21 !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewLegend span.wpProQuiz_reviewColor_Answer,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewQuestion li.wpProQuiz_reviewQuestionSolved,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_box li.wpProQuiz_reviewQuestionSolved {
  background-color: #ffeb3b !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem .wpProQuiz_sortable:before {
  font-family: Astra !important;
}

.menu-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #cccccc90;
  z-index: 9999;
  padding: 15px 20px;
  /* justify-content: space-between; */
}
.menu-header .branding {
  color: var(--meel-blue);
  min-width: 20%;
  /* padding: 15px 20px 15px 50px; */
  padding-left: 30px;
  font-size: 1.8rem;
  font-weight: 600;
}
.menu-header .branding .highlight {
  color: var(--meel-red);
}

.menu-header .spacer {
  flex-grow: 1;
}
.education-menu ul {
  list-style-type: none;
  padding-right: clamp(20px, 5%, 50px);
  margin: 0;
}

.education-menu ul li {
  display: inline-block;
  padding-left: 20px;
  font-size: 1.2rem;
}
.education-menu ul li a {
  color: var(--meel-blue);
  text-decoration: none;
}

.menu-header .logout-button {
  /* top: 30px;
  position: absolute;
  right: 5vw; */
  background-color: #dc3545 !important;
  color: white;
}

.topnav {
  overflow: hidden;
  background-color: transparent;
  /* flex-grow: 1; */
}

.topnav a {
  float: left;
  display: block;
  background-color: var(--meel-blue);
  color: var(--meel-red);
  border-radius: 8px;
  text-align: center;
  /* padding: 14px 16px; */
  padding: 0 16px;
  text-decoration: none;
  font-size: 17px;

  line-height: calc(1.5 * 1.8rem);
  margin-right: 10px;
}

.topnav a:hover {
  background-color: #ddd;
  color: var(--meel-blue);
  /* color: black; */
}

.topnav a.active {
  background-color: #4caf50;
  /* color: white; */
}

.topnav .icon {
  display: none;

  line-height: calc(1.5 * 1.8rem);
  padding: 0 15px;
}

@media screen and (max-width: 600px) {
  /* .topnav a:not(:first-child) {display: none;} */
  .topnav a {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: absolute;
    right: 20px;
    top: 15px;
    /* padding-right: 40px; */
    padding-top: calc(1.5 * 1.8rem + 15px);
    overflow: visible;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    background: #cccccc90;
    position: relative;
    right: -20px;
  }
  .topnav.responsive a:not(.icon) {
    padding-right: 20px;
  }
}

#primary {
  padding-top: calc(1.5 * 1.8rem + 30px) !important;
  min-height: 100vh;
}

.remerciement {
  width: clamp(100px, 30vw, 250px);
  background: #ffffff80;
  position: absolute;
  bottom: 40px;
  left: 40px;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
}
.remerciement p {
  margin: 0;
}

.remerciement.right {
  right: 40px;
  left: auto;
}

.remerciement img.logo {
  width: 100px;
  max-width: 30vw;
  margin: 10px 0;
}
.remerciement.right img.logo {
  width: 200px;
  max-width: 60vw;
}

@media screen and (max-width: 600px) {
  .caracter-container {
    bottom: 10%;
    position: relative;
    margin-top: 30vh;
  }
  .remerciement {
    bottom: auto;
    /* top: 90%; */
    left: 10%;
    width: 80%;
    position: relative;
    /* top: calc(90vh - (1.5 * 1.8rem + 30px)); */
    top: 0;
  }

  .remerciement.right {
    margin-top: 20px;
    margin-bottom: 20px;
    right: auto;
    left: 10%;
  }

  .lrm-login.bubble,
  .bubble-link {
    position: absolute;
  }

  .lrm-login.bubble {
    bottom: 80%;
    right: 60%;
    max-width: 35vh;
  }

  .bubble-link {
    left: 55%;
    bottom: 30%;
    max-width: 35vh;
  }
  .bubble-link .bubble.secondary {
    left: 0;
    bottom: 0;

    -webkit-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: 'FlipV';
  }

  .bubble-link .bubble.secondary p {
    -webkit-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: 'FlipV';
  }
}

/* LEARNDASH CUSTOM*/
.learndash-wrapper .ld-content-actions .ld-content-action {
  flex-basis: 30%;
}
.quiz_back_to_lesson_link {
  margin: 0 10px;
}
.back_to_lesson_link {
  margin: 0;
  border-radius: 20px;
  background-color: #00a2e8;
  color: white;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-transform: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.75em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  max-width: 385px;
  white-space: nowrap;
  text-shadow: none;
  border: 0;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: auto;
  padding: 0.75em 1.5em;
  text-align: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  background: #019e7c;
}

.wpProQuiz_almostCorrect {
  background-color: #dda618 !important;
}

/* Homepage open courses link */
.open-courses-link {
  position: fixed;
  right: 0;
  bottom: 0;
  text-align: right;
  color: #3668cf;
  width: auto;
}

/* .open-courses-link a{
  text-decoration: none;
} */
.open-courses-link a:hover {
  color: #cf364a;
  text-decoration: none;
}

.open-courses-link .lutin {
  --lutin-height: max(15vw, 20vh);
  height: var(--lutin-height, 10vh);
  width: auto;
  position: relative;
  z-index: 10;
  top: calc(-0.2 * var(--lutin-height));
}

.open-courses-link .bubble,
.open-courses-link .bubble p {
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: 'FlipH';
}

.open-courses-link .bubble {
  position: relative;
  z-index: 20;
  cursor: pointer;
  /* margin-right: 15vh; */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* width: 60vw;
  height: 50vw;
  max-width: 250px;
  max-height: 250px; */
  text-align: center;
  padding: 10% 15% 15% 15%;
}
.open-courses-link .bubble p {
  font-size: 1rem;
  width: 80%;
  margin: 0;
  font-weight: bold;
  color: inherit;
  font-style: italic;
}

.lrm-switch-to--reset-password {
  display: none;
}

.wpProQuiz_incorrect .wpProQuiz_AnswerMessage {
  font-size: 1.5rem;
  color: #800000;
  font-weight: 700;
}
.wpProQuiz_correct .wpProQuiz_AnswerMessage {
  font-size: 1.5rem;
  color: #008080;
  font-weight: 700;
}

main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table td {
  border-width: 1px;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table td:first-child {
  border-right-width: 1px;
}

@media (max-width: 640px) {
  main .learndash-wrapper .wpProQuiz_content .wpProQuiz_button.wpProQuiz_TipButton,
  main .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2.wpProQuiz_TipButton {
    display: block !important;
    padding: 1em 2em !important;
    margin-bottom: 1em !important;
  }
}

.wpProQuiz_tipp {
  color: #333399;
}
.wpProQuiz_tipp h6,
.wpProQuiz_tipp h5,
.wpProQuiz_tipp h4,
.wpProQuiz_tipp h3,
.wpProQuiz_tipp h2,
.wpProQuiz_tipp p {
  color: inherit !important;
}

.wpProQuiz_incorrect .wpProQuiz_AnswerMessage h6,
.wpProQuiz_incorrect .wpProQuiz_AnswerMessage h5,
.wpProQuiz_incorrect .wpProQuiz_AnswerMessage h4,
.wpProQuiz_incorrect .wpProQuiz_AnswerMessage h3,
.wpProQuiz_incorrect .wpProQuiz_AnswerMessage h2,
.wpProQuiz_incorrect .wpProQuiz_AnswerMessage p {
  color: #800000;
}

.wpProQuiz_correct .wpProQuiz_AnswerMessage h6,
.wpProQuiz_correct .wpProQuiz_AnswerMessage h5,
.wpProQuiz_correct .wpProQuiz_AnswerMessage h4,
.wpProQuiz_correct .wpProQuiz_AnswerMessage h3,
.wpProQuiz_correct .wpProQuiz_AnswerMessage h2,
.wpProQuiz_correct .wpProQuiz_AnswerMessage p {
  color: #008080;
}

/* FIT INPUT TABLE */
main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table.fit-input tr {
  display: flex;
  flex-direction: row;
  align-items: center;
}
main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table.fit-input td {
  display: flex;
  flex-direction: row;
  align-items: center;
}
main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table.fit-input td * {
  flex-shrink: 0;
}
main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table.fit-input td .wpProQuiz_cloze {
  flex: 1;
}
main .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem > table.fit-input td .wpProQuiz_cloze input {
  width: 100%;
}

.learndash-wrapper.hide-breadcrumb .ld-breadcrumbs {
  display: none;
  visibility: hidden;
  opacity: 0;
}

div.projet-3-4.ball-container {
  display: grid;
  place-items: center;
  --ballWidth: min(300px, 60vw);
  --ballBackgroundPosition: calc(var(--ballWidth, 300) / 3);
}
.ball {
  display: grid;
  place-items: center;
  background: black;
  margin: 0;
  border-radius: 50%;
  height: var(--ballWidth, 300px);
  width: var(--ballWidth, 300px);
  background: radial-gradient(circle at var(--ballBackgroundPosition, 100px) var(--ballBackgroundPosition, 100px), #1212f4, #000);
}
.ball .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 50%);
  -webkit-transform: rotateX(90deg) translateZ(-150px);
  -moz-transform: rotateX(90deg) translateZ(-150px);
  -ms-transform: rotateX(90deg) translateZ(-150px);
  -o-transform: rotateX(90deg) translateZ(-150px);
  transform: rotateX(90deg) translateZ(-150px);
  z-index: -1;
}
.ball .text {
  color: white;
  font-size: 2rem;
  font-family: 'Dancing Script', sans-serif;
}
div.projet-3-4.ball-container a {
  opacity: 0;
  position: relative;
  /* animation: 750ms ease 1500ms forwards boucingBall; */
  animation-duration: 2000ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-name: combined;
  animation-delay: 750ms;
  /* animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1); */
}

@keyframes combined {
  0% {
    top: 0;
  }
  1% {
    opacity: 1;
    top: -190px;
  }
  16%,
  48%,
  78% {
    top: 0; /* -190px; */
    animation-timing-function: ease-out;
  }
  32% {
    top: -140px; /*-50px;*/
    animation-timing-function: ease-in;
  }
  62% {
    top: -90px; /*-100px;*/
    animation-timing-function: ease-in;
  }
  90% {
    top: -40px; /*-150px;*/
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 1;
    transform: rotate(360deg);
    top: 0; /* 190px; */

    animation-timing-function: ease-out;
    /*left:100%;*/
  }
}
@-webkit-keyframes combined {
  0% {
    top: 0;
  }
  1% {
    opacity: 1;
    top: -190px;
  }
  16%,
  48%,
  78% {
    top: 0; /* -190px; */
    -webkit-animation-timing-function: ease-out;
  }
  32% {
    top: -140px; /*-50px;*/
    -webkit-animation-timing-function: ease-in;
  }
  62% {
    top: -90px; /*-100px;*/
    -webkit-animation-timing-function: ease-in;
  }
  90% {
    top: -40px; /*-150px;*/
    -webkit-animation-timing-function: ease-in;
  }
  100% {
    opacity: 1;
    -webkit-transform: rotate(360deg);
    /* top: 190px; */
    top: 0;
    -webkit-animation-timing-function: ease-out;
    /*        left:100%;*/
  }
}

/* MATRIX SORT QUESTION LAYOUT */
.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] .wpProQuiz_sortStringItem {
  background-color: #d2cfcf;
}
.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] .wpProQuiz_sortStringItem::before {
  display: none;
}

.horizontal-matrix.learndash-wrapper .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] .wpProQuiz_question ul.wpProQuiz_questionList {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-y: scroll;
}
.horizontal-matrix ul.wpProQuiz_questionList::-webkit-scrollbar {
  width: 0;
  height: 1em;
}

.horizontal-matrix ul.wpProQuiz_questionList::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.horizontal-matrix ul.wpProQuiz_questionList::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem {
  flex: 1;
  min-width: min(200px, 30vw);
}

.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem table {
  height: 100%;
}
.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem tr.wpProQuiz_mextrixTr {
  display: flex;
  flex-direction: column-reverse;
}
.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem tr.wpProQuiz_mextrixTr td {
  min-height: 80px;
  width: 100%;
}

.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem tr.wpProQuiz_mextrixTr td .wpProQuiz_maxtrixSortText {
  text-align: center;
}
.horizontal-matrix .wpProQuiz_content .wpProQuiz_listItem[data-type='matrix_sort_answer'] li.wpProQuiz_questionListItem tr.wpProQuiz_mextrixTr td ul.wpProQuiz_maxtrixSortCriterion {
  border: 2px solid #d2cfcf;
}

/* EARNING MODAL */
#earningModal {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: #33333380;
}

#earningModal #modalContent {
  width: 90%;
  max-width: 800px;
  height: 60vh;
  margin: auto;
  margin-top: 20vh;
  overflow-y: auto;

  background-color: #ffffff;
  border-radius: 20px;

  display: grid;
  place-items: center;

  padding: 15px;
}

#earningModal #modalContent .spinner,
#earningsContent .spinner {
  animation: rotate 2s linear infinite;
  width: 50px;
  height: 50px;
}
#earningModal #modalContent .spinner .path,
#earningsContent .spinner .path {
  stroke: hsl(210, 70%, 75%);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

#earningModal #modalContent img.point_image {
  display: inline;
  height: 1rem;
  width: auto;
  vertical-align: middle;
}

#earningModal #modalContent img.achievement_image {
  display: inline;
  height: 3rem;
  width: auto;
  vertical-align: middle;
}

.quiz_earnings {
  background-color: #eeeeeecc;
  border-radius: 5px;
  padding: 15px 20px;
}
.quiz_earnings .spinner {
  display: block;
  margin: auto;
}

.quiz_earnings .points,
.quiz_earnings .achievement {
  margin-bottom: 20px;
}

.quiz_earnings .points .coin {
  display: flex;
  align-items: center;
}
.quiz_earnings .points .coin img {
  width: 20%;
  padding-right: 1em;
}
.quiz_earnings .points .coin .message {
  color: #222222;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.quiz_earnings .achievement .medal {
  display: flex;
  align-items: center;
}
.quiz_earnings .achievement .medal img {
  width: 20%;
  padding-right: 1em;
}
.quiz_earnings .achievement .medal .message {
  color: #222222;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.quiz_earnings .title {
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.quiz_earnings .gamipress-points.gamipress-user-points-meeliard {
  display: flex;
  align-items: center;
}
.quiz_earnings .gamipress-points.gamipress-user-points-meeliard .gamipress-user-points-image {
  width: 20%;
}
.quiz_earnings .gamipress-points.gamipress-user-points-meeliard .gamipress-user-points-image img {
  width: 100%;
  padding-right: 1em;
}
.quiz_earnings .gamipress-points.gamipress-user-points-meeliard .gamipress-user-points-description {
  font-family: 'Montserrat', sans-serif;
}

.quiz-list-page a.elementor-button.elementor-button-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.quiz-list-page a.elementor-button.elementor-button-link.next-quiz {
  background-color: #196fea;
}
.quiz-list-page a.elementor-button.elementor-button-link.closed {
  background-color: #999999;
}

/* Element rounded button */
.round-button.button-200 {
  --round-button-width: 200px;
}
.round-button .elementor-button {
  width: var(--round-button-width, 150px) !important;
  aspect-ratio: 1/1 !important;
  /* height:150px!important; */
  border: double !important;
  border-radius: 50% !important;
  text-align: center !important;
}
.round-button .elementor-button .elementor-button-content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.round-button .elementor-button .elementor-button-content-wrapper .elementor-button-text {
  flex-grow: 0;
  padding-bottom: 10px;
}

/* H5P hide assessment answer */
.hidden-assesment-answer .wpProQuiz_question .wpProQuiz_questionListItem {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}
.hidden-assesment-answer .wpProQuiz_question .wpProQuiz_questionListItem p {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

/* layout homepage*/
.ld-course-list-items.row {
  justify-content: center;
}
#primary.myCourses.content-area {
  display: flex;
  flex-wrap: wrap;
}
#primary.myCourses.content-area .ball-container {
  flex: 1;
}
#primary.myCourses:not(.with3-4) .site-main {
  flex: 1;
}

@media (min-width: 768px) {
  #primary.myCourses.with3-4 .ld-course-list-items .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* PODIUM */
.podium {
  width: 80%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

.podium .pod {
  flex: 1;
  max-width: 200px;
}
.podium .personnages {
  position: absolute;
  width: 70%;
  max-width: 500px;
  bottom: 50px;
}

.podium .personnages.no-podium {
  position: relative;
  bottom: unset;
}

.podium .pod .head {
  text-align: center;
}

.podium .pod .head .name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3668cf;
}

.podium .pod .head .point {
  padding-bottom: 20px;
}
.podium .pod .head .point span.meeliard {
  font-weight: 700;
  color: #9f643a;
}

.no-podium-message {
  font-family: 'Caveat', Sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  width: 80%;
  max-width: 900px;
  margin: auto;
}

@media (max-width: 768px) {
  .podium .pod:nth-child(4),
  .podium .pod:nth-child(5) {
    display: none;
  }
}
