/** Login page */
/* DELETE FOR HEB */
.chidon-container.chidon-login,
.chidon-container.chidon-question,
.chidon-container.chidon-finish,
.chidon-container.chidon-top-score,
.chidon-container.chidon-welcome {
  direction: rtl;
  font-weight: normal;
}
/* END DELETE FOR HEB */

.d-none {
  display: none !important;
}

/** Breadcrumbs **/
.ahl-chidon .breadcrumbs {
  display: none;
}
/** End Breadcrumbs **/

/** Body Style **/
body.ahl-chidon .chidon-container-main {
  width: 900px;
  /*height: 432px;*/
  height: auto;
  padding: 0;
}

body.ahl-chidon .chidon-container {
  padding: 20px 40px;
}

.ahl-chidon button:hover {
  cursor: pointer;
}
/** End Body Style **/
/** Welcome Page **/
.chidon-container.chidon-welcome {
  position: relative;
}
.welcome-title-before,
.welcome-title-after {
  margin: auto 0;
  font-family: Assistant, arial, sans-serif;
  font-size: 65px;
  font-weight: bold;
  text-align: left;
  color: #155478;
  width: 200px;
  vertical-align: middle;
}
.chidon-welcome .row-head {
  display: flex;
  flex-direction: column;
}
.chidon-welcome .title-container {
  margin: 0 auto;
  position: relative;
}
.chidon-container-main .chidon-container .chidon-welcome img.logo-chidon {
  margin: 0 10px 0px 10px;
  object-fit: contain;
}
.chidon-welcome h2.title-chidon {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  color: #d52531;
  width: max-content;
  margin: auto;
  line-height: 1.6;
}
.chidon-container-main .chidon-container.chidon-welcome .subtitle-container p {
  margin: 0px auto 17px;
  font-family: Assistant, arial, sans-serif;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  color: #155478;
}

/** End Welcome Page **/
/** Login Page **/
.chidon-container.chidon-login {
  position: relative;
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.logo-chidon {
  width: 206px;
  height: 206px;
  margin: 0 8px 10px 8px;
  object-fit: contain;
}

.title-chidon {
  width: auto;
  height: auto;
  margin: 187px 12px 15px 35px;
  font-family: Assistant, arial, sans-serif;
  font-size: 24px;
  line-height: 1.56;
  text-align: right;
  color: #155478;
  min-height: 23px;
}

.chidon-login .row-head {
  display: flex;
  flex-direction: row;
}

.title-container {
  position: absolute;
  top: 0px;
}

.input-row {
  display: flex;
  gap: 22px;
}

.chidon-container-main .input-row input {
  width: 258px;
  height: 43px;
  margin: 10px 0 17px;
  padding: 0 13px 0 13px;
  border-radius: 5px;
  box-shadow: 0.1px 1px 5px 0.1px rgba(69, 79, 94, 0.4);
  background-color: #ffffff;
  border-color: rgba(69, 79, 94, 0.1);
  border-width: 1px;
  color: #808285;
}

.term-input-row input[type="checkbox"]:focus {
  outline: unset;
}

.input-row input::placeholder {
  font-family: Assistant, arial, sans-serif;
  font-size: 19.5px;
  line-height: 1.74;
  color: #808285;
}

.input-row input#email::placeholder {
  text-align: right;
}

.input-row input#email {
  direction: ltr;
}

.term-row {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin-right: 20px;
  min-height: 40px;
}

.term-row label {
  font-family: Assistant, arial, sans-serif;
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: -0.24px;
  color: #808285;
  vertical-align: middle;
}

.term-input-row input[type="checkbox"] {
  width: 1px;
  height: 1px;
  vertical-align: text-top;
  position: relative;
  z-index: 10;
}

.term-input-row input[type="checkbox"]::before {
  content: " ";
  display: inline-block;
  width: 22px;
  height: 22px;
  border: solid 1px #939393;
  margin-right: -20px;
}

.term-input-row input[type="checkbox"]:checked::before {
  background-image: url(../images/check.png);
  background-repeat: no-repeat;
  border: 0px;
  background-size: cover;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 10;
}
.term-input-row input[type="checkbox"]:checked::after {
  content: " ";
  display: inline-block;
  width: 22px;
  height: 22px;
  border: solid 1px #939393;
  margin-right: -20px;
  position: absolute;
  top: 0;
  right: 0;
}

.row-btn {
  display: flex;
}

.chidon-btn {
  width: 300px;
  min-height: 44px;
  margin: 0 auto;
  border-radius: 5px;
  background-color: #155478;
  color: white;
  font-family: Assistant, arial, sans-serif;
  font-size: 24px;
  border: 0;
}

.chidon-btn:focus {
  box-shadow: inset 0.5px 0.9px 5.8px 0.2px #000000;
  background-color: #155478;
  outline: none;
}

.chidon-validation-msg {
  color: #d22830;
}

/** End Login page **/
/** Quesiton Page **/

.chidon-head {
  height: auto !important;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
}
.chidon-question .chidon-head,
.chidon-finish .chidon-head {
  display: flex;
}

.question-text-zone .text-title,
.finish-text-zone .text-title,
.top-score-text-zone .text-title {
  width: 372px;
  height: 30px;
  margin: 0 2px 71px 0px;
  font-family: Assistant, arial, sans-serif;
  font-size: 19px;
  line-height: 1em;
  color: #155478;
}

.question-text-zone span.text-title-desc,
.finish-text-zone span.text-title-desc,
.top-score-text-zone span.text-title-desc {
  color: #d52531;
}

.chidon-popup-text {
  font-family: Assistant, arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: #155478;
  text-align: right;
}

.chidon-container-main .chidon-container .chidon-popup-text p {
  text-align: right;
}

.chidon-popup--timeout .chidon-popup-text {
  font-size: 30px;
  max-width: 350px;
  text-align: center;
}

.chidon-popup-btn-container {
  width: 100%;
  text-align: center;
  padding-bottom: 2em;
}

.question-text-zone .question-text,
.finish-text-zone .finish-text {
  width: 340px;
  height: auto !important;
  margin: 71px 0 38px 0px;
  font-family: Assistant, arial, sans-serif;
  font-size: 30px;
  line-height: 1em;
  letter-spacing: 0.15px;
  color: #155478;
  text-align: right;
}

.chidon-container-main .chidon-container img.question-img,
.chidon-container-main .chidon-container img.finish-img {
  margin: 0;
}

img.question-img {
  width: 401px;
  height: 186px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.chidon-loading {
  width: 100%;
  height: 17px;
  background-color: #5ca40c;
  transition: width 100ms;
}
.chidon-loading-background {
  background-color: #c1152e;
  width: 100%;
}

.loading-container {
  display: flex;
  flex-direction: row;
  height: 17px;
  margin: 4px 0 9px;
}

.chidon-container-main .chidon-container img.question-timer-img {
  margin: 0 0 0 3px;
}

.chidon-btn-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 11px;
}

button.question-btn {
  width: 402px;
  min-height: 50px;
  border-radius: 4px;
  box-shadow: 0 0 2.9px 0.1px #454f5e;
  background-color: #ffff;
  border: 0;
  font-family: Assistant, arial, sans-serif;
  font-size: 27px;
  letter-spacing: 0.14px;
  color: #155478;
  padding: 0 40px;
}

button.question-btn.clicked {
  border: 2px solid #454f5e;
  background-color: #155478;
  color: white;
}

button.question-btn.correct {
  box-shadow: inset 0.5px 0.9px 6.4px 0.6px #000000;
  background-color: #5ca40c;
  color: #fff;
  position: relative;
}

button.question-btn.correct:before {
  position: absolute;
  right: 15px;
  top: 5px;
  height: auto;
  content: url(../images/v_icon.png);
  vertical-align: -50%;
}

button.question-btn.wrong {
  box-shadow: inset 0.5px 0.9px 6.4px 0.6px #000000;
  background-color: #c1152e;
  color: #fff;
  position: relative;
}

button.question-btn.wrong:before {
  position: absolute;
  right: 10px;
  top: 4px;
  height: auto;
  content: url(../images/x_icon.png);
  transform: scale(0.4);
  vertical-align: -50%;
}

.question-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 20px;
  margin: 30px 0 6px 0;
  font-family: Assistant, arial, sans-serif;
  font-size: 27px;
  line-height: 1em;
  letter-spacing: 0.15px;
  text-align: left;
  color: #155478;
}

.chidon-popup {
  position: relative;
  max-width: min(90vw, 600px);
  max-height: 80vh;
  background: white;
  /*border: 1px solid black;*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px 10px 50px;
  overflow: hidden auto;
  box-shadow: 0 0 5px 2px #454f5e;
  border-radius: 4px;
  scrollbar-color: #155478 #f6fafc;
  scrollbar-width: thin;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.chidon-popup--timeout {
  padding: 40px 50px;
}

.chidon-popup::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

.chidon-popup::-webkit-scrollbar-track {
  background: #f6fafc; /* color of the tracking area */
}

.chidon-popup::-webkit-scrollbar-thumb {
  background-color: #155478; /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid #f6fafc; /* creates padding around scroll thumb */
}

.chidon-popup--timeout {
  width: 500px;
  height: 300px;
}

.chidon-popup.chidon-popup--loader {
  background-image: url("../images/loader-background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  width: 600px;
}

.chidon-popup.chidon-popup--loader .question-loader-img {
  height: 80px;
  width: 80px;
  float: unset;
  margin: 20px 0;
}

.chidon-popup--loader .chidon-popup-text {
  margin-bottom: 30px;
}

.chidon-popup-wrapper {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  z-index: 20;
}

.chidon-popup button {
  margin-top: 2em;
}

.term-row .link-popup {
  font-weight: 600;
  text-decoration: underline;
  color: #808285;
}

span.question-number-dec,
span.question-score-inc,
span.question-number-total {
  font-size: 30px;
}

/** End Question Page **/
/** Finish Page **/
img.finish-img {
  width: 413px;
  height: 165px;
  margin: 0 30px 27px 1px;
  object-fit: contain;
}

.finish-text-zone .finish-text {
  margin: 47px 1px 0 68px;
}

.finish-text-zone .text-title {
  margin: 0 2px 47px 21px;
}

.text-title-divider {
  color: #939393;
}

.finish-center-text {
  display: flex;
  flex-direction: column;
}

.center-text-title {
  min-height: 69px;
  margin: 7px 0 0 0;
  font-family: Assistant, arial, sans-serif;
  font-size: 30px;
  line-height: 0.9;
  text-align: center;
  color: #155478;
  border-bottom: 1px solid #155478;
}

.finish-score-container {
  display: flex;
  flex-direction: row;
}

.finish-score-block {
  width: 50%;
  height: fit-content;
  font-family: Assistant, arial, sans-serif;
  font-size: 27px;
  line-height: 1.33;
  text-align: center;
  color: #155478;
  padding-top: 18px;
  margin-bottom: 14px;
}

.finish-score-container div:first-of-type {
  border-left: 1px solid #155478;
}

.finish-score-container div.finish-score {
  border-left: none;
}

.finish-btn {
  width: 264px;
  height: 42px;
  border-radius: 4px;
  background-color: #155478;
  color: white;
  font-family: Assistant, arial, sans-serif;
  font-size: 25px;
  letter-spacing: 0.13px;
  text-align: center;
  margin-top: 2px;
  border: 0;
}

button.finish-btn:focus {
  box-shadow: inset 0.5px 0.9px 6.4px 0.6px #000000;
  background-color: #155478;
}
/** End Finsih page **/
/** Top Score Page **/
.top-score-text-zone .text-title {
  margin: 0 1px 37px 9px;
}

.center-score-zone {
  display: flex;
  flex-direction: row;
}

img.top-score-img {
  width: 61px;
  height: 74px;
  margin: 0 0 16px 17px;
  object-fit: contain;
}

.top-score-center-title {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #155478;
  height: fit-content;
}

.top-score-text {
  display: flex;
  flex-direction: row;
  height: 52px;
  margin-top: 15px;
  font-family: Assistant, arial, sans-serif;
  font-size: 55px;
  font-weight: bold;
  line-height: 0.39;
  color: #155478;
}

.top-score-text-small {
  height: 21px;
  font-family: Assistant, arial, sans-serif;
  font-size: 27px;
  line-height: 1.17;
  text-align: right;
  color: #155478;
  font-weight: normal;
  margin: 20px 13px 47px 0;
}

.top-score-container {
  margin-right: 75px;
  column-count: 2;
  column-gap: 50px;
}

.score-row {
  display: flex;
  font-family: Assistant, arial, sans-serif;
  font-size: 26px;
  line-height: 1.69;
  color: #155478;
}

div.score-row-num {
  display: inline-block;
  font-weight: bold;
  margin-left: 5px;
  width: 43px;
}

div.score-row-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.score-row-text .name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 50%;
}
/** End Top Score Page **/

.chidon-to-homepage {
  text-align: center;
  margin-top: 1em;
  direction: rtl;
}

.chidon-to-homepage a {
  color: #d22830 !important;
}

.hide-in-desktop {
  display: none;
}

.hide-in-mobile {
  display: block;
}

.top-score-text.top-score-text-small {
  margin: 20px 13px 47px 0 !important;
}

/******* TABLET *******/
@media only screen and (min-width: 769px) and (max-width: 1283px) {
  .chidon-head {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-title {
    display: flex;
    justify-content: center;
  }

  .finish-text {
    width: -webkit-fill-available !important;
    margin-bottom: 10px !important;
  }
  /** Finish Page **/
  .chidon-container-main .chidon-container img.finish-img {
    max-width: 300px;
  }

  button.finish-btn {
    width: 220px;
  }

  form#finishForm {
    margin: 0 auto;
  }
  /** End finsih page **/

  /** Login page **/
  .input-row input {
    width: 30%;
    margin: 0 auto;
  }

  .term-row {
    margin-top: 0.4em;
  }

  .input-row {
    margin-top: 1vh;
  }
  /** End login page **/
}
/******* End TABLET ******/

/******* MOBILE *******/
@media only screen and (max-width: 1284px) {
  .chidon-head {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-title {
    display: flex;
    justify-content: center;
  }

  .hide-in-mobile {
    display: none;
  }

  .hide-in-desktop {
    display: block;
  }

  /** Template general design cancel **/
  body.ahl-chidon .chidon-container-main {
    width: auto;
  }

  body.ahl-chidon .chidon-container {
    width: auto;
    height: auto;
    margin: 0;
    background-color: #ebf7fe;
    padding: 20px;
  }

  /** TODO: Remove! will hide Mobile Menu */
  .mobile_sub_menu_wrapper {
    display: none;
  }

  .text-title {
    margin: 0 7px 74px 0;
    text-align: justify;
    letter-spacing: -0.61px;
    color: #155478;
  }

  /** Page Top Score **/
  .chidon-container-main .chidon-container img.top-score-img {
    object-fit: contain;
    margin-left: 15px;
    max-width: 65px;
  }

  .top-score-center-title {
    flex-direction: column;
    border: none;
  }

  .top-score-text {
    /* font-size: 47px;*/
    font-size: 1.8em;
    margin-top: 26px;
  }

  .top-score-text.top-score-text-small {
    font-size: 20px;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: max-content;
  }

  .top-score-container {
    height: auto;
    margin-right: 0;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
  }

  div.score-row-num {
    display: inline-block;
    margin-left: 10px;
    padding: 0px 10px 0px 10px;
    border-radius: 10px;
    box-shadow: 0.1px 2px 8px 0 rgba(69, 79, 94, 0.16);
    background-color: #ffff;
  }

  div.score-row-text {
    width: 270px;
    height: 32px;
    border-radius: 5px;
    box-shadow: 0.1px 2px 8px 0 rgba(69, 79, 94, 0.16);
    background-color: #ffff;
    padding: 0 20px;
  }

  .score-row-text .name {
    width: 50%;
  }

  .score-row {
    font-size: 20px;
    margin: 5px 0;
    width: 100%;
  }

  /** End Page Top Score **/

  /** Finsih page **/

  .finish-text-zone .text-title,
  .question-text-zone .text-title,
  .top-score-text-zone .text-title {
    margin-bottom: 30px;
    width: 100%;
    font-size: 0.8em;
  }

  .finish-text-zone .finish-text,
  .question-text-zone .question-text {
    margin-top: 0;
    font-size: 1.3em;
    /* font-size: 31px; */
    text-align: center;
    width: 100%;
  }

  .finish-text-zone {
    display: flex;
    flex-direction: column;
  }

  .chidon-finish .chidon-head,
  .chidon-question .chidon-head {
    flex-direction: column;
  }

  .center-text-title {
    margin-top: 0;
    min-height: 60px;
    padding-bottom: 0.5em;
  }

  .chidon-container-main .chidon-container img.finish-img,
  .chidon-container-main .chidon-container img.question-img {
    max-width: unset;
    float: none;
    width: 100%;
  }

  .chidon-btn-container {
    flex-direction: column;
  }

  form#finishForm {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }

  button.finish-btn {
    width: 100%;
  }

  /** End Finsih page **/

  /** Question page **/
  .question-text-zone {
    /* height: 250px !important; */
    /* margin-bottom: 2rem; */
  }
  .question-text-zone .question-text {
    width: 100%;
    font-size: 27px;
  }

  img.question-img {
    height: fit-content;
  }

  button.question-btn {
    width: 100%;
    height: auto;
    min-height: 50px;
  }

  .question-text-mobile {
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: Assistant, arial, sans-serif;
    font-size: 23px;
    line-height: 1.23;
    letter-spacing: 0.38px;
    text-align: center;
    color: #155478;
  }

  .chidon-popup {
  }

  .chidon-popup.chidon-popup--loader {
    background-image: url("../images/loader-background-small.jpg");
    padding: 40px 20px 10px 20px;
  }

  .chidon-popup.chidon-popup--timeout {
    overflow: hidden;
    height: auto;
  }

  .center-sub-title {
    font-size: 28px;
  }

  .loading-container img.question-timer-img {
    max-width: max-content;
  }
  /** End Question Page **/

  /** Login page **/
  .chidon-login .row-head {
    flex-direction: column;
  }

  .chidon-container-main .chidon-container img.logo-chidon {
    max-width: none;
    width: 170px;
    height: 100%;
    margin: auto;
  }

  .chidon-login .title-container {
    position: relative;
  }

  .chidon-container-main h2.title-chidon {
    width: 100%;
    margin: 10px auto;
    font-size: 23px;
    line-height: 1.7;
    text-align: center;
    font-weight: normal;
  }

  .chidon-login .input-row {
    flex-direction: column;
  }

  .chidon-login .input-row input {
    width: 100%;
    margin: 0;
  }

  .chidon-container-main .input-row input {
    box-shadow: 0.1px 2px 8px 0 rgba(69, 79, 94, 0.16);
    border-radius: 0;
  }

  .chidon-login .input-row input::placeholder {
    font-size: 18px;
  }

  .chidon-login .term-row {
    flex-direction: column;
    margin: 25px 10px auto 0px;
    gap: 0;
    margin-right: 20px;
  }

  .chidon-validation-msg {
    font-size: 0.8em;
  }

  .term-row label {
    font-size: 14px;
    line-height: 2.28;
    letter-spacing: -0.82px;
    font-weight: normal;
  }

  .chidon-login .row-btn {
    margin-top: 10px;
  }

  button.chidon-btn {
    width: 100%;
  }

  .question-footer {
    font-size: 1.2em;
  }

  span.question-number-dec,
  span.question-score-inc,
  span.question-number-total {
    font-size: 1em;
  }

  .chidon-login button.chidon-btn {
    font-size: 20px;
  }

  /** End Login Page **/

  /** Welcome Page **/
  .chidon-container-main .chidon-container .chidon-welcome img.logo-chidon {
    width: 150px;
  }

  .chidon-welcome .title-container {
    line-height: 1.2;
    margin-bottom: 0.8em;
  }

  .chidon-welcome h2.title-chidon {
    margin: 0 auto;
    font-size: 30px;
  }

  .welcome-mobile-title {
    margin: 17px auto 0 auto;
  }

  .chidon-container-main
    .chidon-container.chidon-welcome
    .welcome-mobile-title
    h2 {
    font-size: 34px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: #155478;
    margin: 0 auto;
    font-family: "Assistant";
  }

  .chidon-container-main
    .chidon-container
    .chidon-welcome
    .subtitle-container
    p {
    font-size: 16px;
    text-align: center;
    margin: 10px auto 30px;
  }
  /** End Welcome Page **/
}

@media (max-width: 500px) {
  body.ahl-chidon .chidon-container {
    padding-block: 10px !important;
  }

  body.ahl-chidon .chidon-container {
    padding-inline: 10px !important;
    box-sizing: border-box;
  }

  .content-sidebar #content .page {
    margin: 10px;
  }

  .finish-text-zone .finish-text {
    max-width: 100% !important;
    font-size: 32px !important;
  }

  .finish-text-zone {
    margin-bottom: 30px !important;
    max-width: -webkit-fill-available !important;
  }
}
