/*---------------------------------------------------------------------*/
/* BASIC SETUP */
/*---------------------------------------------------------------------*/
html {
  background-color: #FBFBF4;
}

body {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  background-color: #FBFBF4;
}

/*****************************************************************
* Patch for drag and drop container to resolve iphone scroll issue
* Added to the main #app container but the mounted() function of
* the vue component
******************************************************************/
#app.drag-drop-scroll-patch {
  top: 0;
  bottom: 0;
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
}

@media only screen and (min-device-width: 401px) and (max-device-width: 480px) {
  html {
    font-size: 0.95em;
  }
}
@media only screen and (min-device-width: 321px) and (max-device-width: 400px) {
  html {
    font-size: 0.875em;
  }
}
@media only screen and (min-device-width: 240px) and (max-device-width: 320px) {
  html {
    font-size: 0.8em;
  }
}
a:hover, a:focus, a:active {
  text-decoration: none;
  outline: none;
}

ul li, li {
  list-style: none;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  border: none;
  box-shadow: none;
  outline: none;
}

.btn.active:focus, select:focus {
  outline: none;
}

/*---------------------------------------------------------------------*/
/* REUSABLE COMPONENTS */
/*---------------------------------------------------------------------*/
/* -------------------- Margin Top & Bottom ---------------- */
/* margin top */
.mt-0 {
  margin-top: 0px !important;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-25 {
  margin-top: 25px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-35 {
  margin-top: 35px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-60 {
  margin-top: 60px;
}

/* margin bottom */
.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px !important;
}

/* mix margin-top and bottom*/
.my-10 {
  margin: 10px 0px !important;
}

.my-20 {
  margin: 20px 0px !important;
}

/* mix margin on all sides */
.ma-0 {
  margin: 0px !important;
}

/* --------------------- Margin Left & Right --------------- */
/* margin left */
.ml-0 {
  margin-left: 0px !important;
}

.ml-15 {
  margin-left: 15px !important;
}

/* margin right */
.mr-0 {
  margin-right: 0px !important;
}

.mr-3 {
  margin-right: 3px;
}

.mr-10 {
  margin-right: 10px;
}

/* margin left and right */
.mx-0 {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/* ----------------------- Padding ------------------------- */
.pt-10 {
  padding-top: 10px !important;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pl-20 {
  padding-left: 20px;
}

.pr-20 {
  padding-right: 20px;
}

/* -------------- Mix padding top and bottom -------------- */
.py-20 {
  padding: 20px 0px !important;
}

.px-0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.pl-0 {
  padding-left: 0px !important;
}

.pr-0 {
  padding-right: 0px !important;
}

/* mix padding on all sides */
.ma-0 {
  margin: 0px !important;
}

.pa-8 {
  padding: 8px !important;
}

/* font-size */
.font-20 {
  font-size: 1.2rem !important;
}

/* label */
.lb-md {
  font-size: 1rem;
  color: #0F2346;
  border-radius: 25px;
}

/* display block and inline */
.d-block {
  display: block;
  margin: 0 auto;
}

.d-inline {
  display: inline-block !important;
}

/* display none options */
.opacity-0 {
  opacity: 0;
}

[v-cloak] {
  display: none;
}

.no-display {
  display: none;
}

/* bg color */
.border-blue {
  border: 1px solid #41D2F1 !important;
}

.bg-blue {
  background-color: #41D2F1 !important;
}

.btn-blue {
  background-color: #41D2F1;
  color: #0F2346;
  font-size: 1rem;
  padding: 6px 16px;
}

/* -------------------- Buttons ---------------- */
.btn {
  border-radius: 25px;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

.btn, .btn.active, .check-next .btn {
  box-shadow: none;
}
@media only screen and (min-device-width: 240px) and (max-device-width: 320px) and (orientation: portrait) {
  .btn, .btn.active, .check-next .btn {
    width: 100%;
  }
}

.btn.active a {
  color: #fff;
}

/* properties for buttons error, ok and selected */
.btn-selected {
  background-color: #A5A8C6 !important;
  border: 2px solid #0F2346 !important;
  color: #0F2346 !important;
}

.btn-error {
  background-color: #F9CEBE !important;
  border: 2px solid #FF0505 !important;
  color: #FF0505 !important;
}

.btn-ok {
  background-color: #E6F2C4 !important;
  border: 2px solid #7DDB27 !important;
  color: #0F2346 !important;
}

.btn-correction {
  background-color: #E6F2C4 !important;
  border: 2px solid #7DDB27 !important;
  color: #0F2346 !important;
  transition: all 2s;
}

/* answers properties */
.correct {
  background-color: #E6F2C4 !important;
  color: #0F2346 !important;
  border: 1px solid #7DDB27 !important;
}

.incorrect {
  background-color: #F9CEBE !important;
  border: 1px solid #FF0505 !important;
  color: #FF0505 !important;
}

.selected {
  background-color: #A5A8C6 !important;
  border: 1px solid #0F2346 !important;
  color: #0F2346 !important;
}

/* btns icons inside check and error */
.marking-icon {
  display: block;
  float: right;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 1.3rem;
  transition: all 1s;
}
.marking-icon.inline {
  display: inline-block;
  float: none;
}
.marking-icon.ok {
  background: url("~/images/check-round.png") no-repeat;
  background-size: contain;
}
.marking-icon.error {
  background: url("~/images/error-round.png") no-repeat;
  background-size: contain;
}

/* hover event on clickable element */
.button-hover:hover {
  cursor: pointer;
}

/* Main wrap to appear below menu */
#main-wrap {
  margin-top: 75px;
}

/* Quiz head panel in all lesson */
.exercise-head-bx {
  margin-top: 10px;
}
.exercise-head-bx img {
  cursor: pointer;
  max-width: 100%;
  max-height: 200px;
  padding: 15px;
}

/*---------------------------------------------------------------------*/
/* LOGIN and REGISTER */
/*---------------------------------------------------------------------*/
.login-wrap {
  margin-top: 20px;
  background-color: #fff;
  overflow: hidden;
}
.login-wrap .form-icon {
  text-align: center;
  margin: 0 auto 40px auto;
}
.login-wrap .login-inner {
  padding: 20px 15px;
}
.login-wrap .login-inner .form-login {
  width: 100%;
}
.login-wrap .login-inner .form-login .btn {
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.1rem;
  border-radius: 5rem;
  padding: 10px 20px;
}
.login-wrap .login-inner .form-login .form-group {
  position: relative;
  margin-bottom: 15px;
}
.login-wrap .login-inner .form-login .form-group input {
  height: auto;
  padding: 10px 20px;
  border-radius: 20px;
  border: 2px solid #d3d2d2;
  box-shadow: none;
  -webkit-box-shadow: none;
}
.login-wrap .login-inner .form-login .form-group input:-webkit-input-placeholder, .login-wrap .login-inner .form-login .form-group input:-ms-input-placeholder, .login-wrap .login-inner .form-login .form-group input:-moz-placeholder, .login-wrap .login-inner .form-login .form-group input:placeholder {
  color: #b9b9b9 !important;
}
.login-wrap .forgot-pass {
  text-align: right;
  margin: 20px 0px 20px 0px;
}
.login-wrap .forgot-pass a {
  color: #4285f4;
}
.login-wrap .form-btns {
  text-align: center;
  margin-bottom: 20px;
}
.login-wrap .form-btns .btn img {
  margin-right: 10px;
}
.login-wrap .btn-login {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.login-wrap .btn-login:hover, .login-wrap .btn-login:focus {
  color: #fff;
}
.login-wrap .btn-google {
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  color: #4285f4;
  padding: 10px 20px;
  margin-right: 10px;
}
.login-wrap .btn-google:hover, .login-wrap .btn-google:focus {
  color: #4285f4;
}
.login-wrap .btn-facebook {
  background-color: #fff;
  color: #3b5998;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  padding: 10px 20px;
}
.login-wrap .btn-facebook:hover, .login-wrap .btn-facebook:focus {
  color: #3b5998;
}
.login-wrap .form-txt {
  margin-top: 30px;
  text-align: center;
}
.login-wrap .form-txt p, .login-wrap .form-txt a {
  color: #b9b9b9;
}
.login-wrap .form-account {
  font-size: 1.05rem;
  font-weight: bold;
  color: #848181;
  margin-top: 20px;
  text-align: center;
}
.login-wrap .form-account a {
  color: #41D2F1;
  margin-left: 5px;
}

/*---------------------------------------------------------------------*/
/* Transition for sliding exercises */
/*---------------------------------------------------------------------*/
.transition-container,
.transition-element {
  width: 100%;
}

.transition-container {
  position: relative;
  margin-top: 54px;
}

.transition-element {
  position: absolute;
}

.transition-leave-active,
.transition-enter-active {
  transition: 0.5s;
}

.transition-enter {
  transform: translate(100%, 0);
}

.transition-leave-to {
  transform: translate(-100%, 0);
}

/*---------------------------------------------------------------------*/
/* Fade in transition */
/*---------------------------------------------------------------------*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* FAQ Styling */
.faq-container {
  padding-bottom: 30px;
}
.faq-container__heading {
  font-weight: 700;
  font-size: 20px;
  color: #00337A;
}
.faq-container a.question-lint {
  width: 100%;
  position: relative;
  margin: 0 auto 20px 0;
  display: flex;
  color: #011E41;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  padding-left: 35px;
}
.faq-container a.question-lint span {
  display: none !important;
  font-size: 15px;
  letter-spacing: 1px;
  margin-right: 6px;
  color: red;
}
.faq-container a.question-lint::before {
  position: absolute;
  left: 0;
  height: 23px;
  width: 23px;
  text-align: center;
  font-size: 16px;
  margin-right: 20px;
  color: #00337A;
  filter: unset;
  border-radius: 50px;
}
.faq-container .font-weight-normal {
  width: 76%;
  font-size: 14px;
  font-weight: 300;
  margin: 0 auto;
  line-height: 120%;
}
.faq-container .font-weight-normal a {
  text-decoration: underline;
}

/* Terms Styling */
.games_title .title-top {
  font-weight: 700;
  font-size: 14px;
  color: #011E41;
}

h2.h2 {
  font-weight: normal;
  color: #011E41 !important;
}

.terms-info {
  margin: 20px auto 10px auto;
  padding: 0 0;
  font-size: 14px;
  font-weight: lighter;
  line-height: 15.23px;
  text-align: left;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  color: #011E41 !important;
}

.terms-item {
  margin: 15px 0;
  padding: 0 0;
  font-weight: 300;
}
.terms-item .terms-section {
  width: 100%;
  position: relative;
  margin: 20px auto 20px auto;
  display: flex;
  color: #011E41;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 700;
}
.terms-item .terms-title {
  width: 100%;
  position: relative;
  margin: 0 auto 20px auto;
  display: flex;
  color: #011E41;
  align-items: flex-start;
  font-size: 14px;
  font-weight: lighter;
  line-height: 15.23px;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}
.terms-item .terms-title span {
  font-size: 14px;
  letter-spacing: 1px;
  margin-right: 6px;
}
.terms-item .terms-text {
  width: 100%;
  font-size: 15px;
  margin: 0 auto;
}
.terms-item .terms-text a {
  text-decoration: underline;
}

.terms-card {
  max-height: 14rem;
  margin: 1rem 0;
  background-color: #011E41;
  padding: 1rem;
  border-radius: 0.75rem;
  color: #fff;
}
.terms-card .header {
  display: flex;
  align-items: center;
}
.terms-card .header .back-arrow {
  background-color: white;
  border-radius: 50px;
  min-width: 33.88px;
  min-height: 33.88px;
  color: #011E41;
  font-size: 1.5rem;
  line-height: 32.92px;
  margin-right: 1rem;
  text-align: center;
}
.terms-card .header h2 {
  font-size: 18.33px;
  font-weight: 700;
  margin: 0;
}
.terms-card .description {
  font-size: 14px;
  font-weight: 400;
  padding: 5px 15px;
  color: #fff;
}

p.terms-text_block {
  line-height: normal;
  font-size: 14px;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

/* Footer Styling */
#footer {
  background-color: #FBFBF4;
  padding-top: 12px;
  padding-bottom: 8px;
}
#footer .links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
#footer .links a {
  color: #011E41;
  font-size: 14px;
  font-weight: 300;
}
#footer .links a:hover {
  text-decoration: underline;
}
#footer .footer_logo {
  height: 5ch;
  margin-right: 14px;
  width: 65px;
  background: url("/images/infinite_plus.png") center center/contain no-repeat;
  filter: brightness(0) invert(1);
}
#footer p.text.service-name {
  display: none !important;
}
#footer hr {
  display: none !important;
}

/* Common styling */
#app {
  min-height: calc(100vh - 112px);
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
  outline: none;
}

.help-wrapper_text {
  margin-top: 7px;
}

.h1.title-top {
  margin-top: 7px;
}

.h1 {
  color: #00337A;
  font-weight: 700;
  font-size: 1.4rem;
}

.h2 {
  color: #00337A;
  font-weight: 700;
  font-size: 1rem;
}

.main-container {
  min-height: calc(100vh - 112px);
  color: #011E41;
  padding-top: 60px;
}

.margin-top-without-header {
  margin-top: -60px;
}

.company-info {
  margin: 0;
}

/* Preloader Styling */
@keyframes preloader_wrapper {
  100% {
    transform: rotate(180deg);
  }
}
@keyframes preloader1 {
  0% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  10% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  50% {
    transform: rotate(135deg) scale(0.8);
    top: -15px;
    left: -15px;
    border-radius: 50%;
  }
  90% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  100% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
}
@keyframes preloader2 {
  0% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  10% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  50% {
    transform: rotate(-135deg) scale(0.8);
    top: -15px;
    left: 15px;
    border-radius: 50%;
  }
  90% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  100% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
}
@keyframes preloader3 {
  0% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  10% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  50% {
    transform: rotate(225deg) scale(0.8);
    top: 15px;
    left: 15px;
    border-radius: 50%;
  }
  90% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
  100% {
    transform: rotate(45deg);
    top: 0;
    left: 0;
  }
}
@keyframes preloader4 {
  0% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  10% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  50% {
    transform: rotate(-225deg) scale(0.8);
    top: 15px;
    left: -15px;
    border-radius: 50%;
  }
  90% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
  100% {
    transform: rotate(-45deg);
    top: 0;
    left: 0;
  }
}
.preloader {
  position: fixed;
  z-index: 9999999999;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-inner {
  width: 100px;
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  animation: preloader_wrapper 2s infinite;
}

.preloader__cube {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 5px 8px;
  left: 0;
  top: 0;
  background-color: rgb(222, 72, 71);
}

.preloader__cube:nth-of-type(1) {
  transform: rotate(-45deg);
  animation: preloader1 2s infinite;
}

.preloader__cube:nth-of-type(2) {
  transform: rotate(45deg);
  animation: preloader2 2s infinite;
}

.preloader__cube:nth-of-type(3) {
  transform: rotate(-45deg);
  animation: preloader4 2s infinite;
}

.preloader__cube:nth-of-type(4) {
  transform: rotate(45deg);
  animation: preloader3 2s infinite;
}

/* Contact Styling */
.contact-form-field {
  border-radius: 10px;
  border: 0px;
}

#contact_form {
  display: block;
}
#contact_form label {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #2c3e50;
  line-height: 24px;
  padding-top: 14px;
}
#contact_form label.required:after {
  color: red;
  content: "*";
  margin-left: 3px;
}
#contact_form ul > li {
  color: red;
}
#contact_form_error {
  text-align: center;
  color: red;
  margin-bottom: 10px;
}

textarea.contact-form-field {
  outline: none;
  resize: none;
}

.contact-underline {
  text-decoration: underline;
  font-weight: bold;
}

.send-button {
  display: block;
  height: 50px;
  background-color: #FF4343;
  width: 283px;
  font-size: 14px;
  font-weight: 700;
  margin: 10px auto 25px auto;
  border-radius: 30px;
}

.req-fields {
  margin-top: 12px;
  display: block;
  font-size: 12px;
}

.contact_us_thanks {
  text-align: center;
  font-size: 18px;
}

input#contact_us_email,
select#contact_us_type,
textarea#contact_us_comment {
  background: #F1F1F1;
  min-height: 49px;
  top: 307px;
}

form#contact_form,
p.help-wrapper_text.first_paragraph {
  padding: 0 10px;
}

#contact_form label {
  margin: 1rem 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 17.41px;
  text-align: left;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  color: #011E41;
}

.contact-card {
  max-height: 14rem;
  margin: 1rem 0;
  background-color: #011E41;
  padding: 1rem;
  border-radius: 0.75rem;
  color: #fff;
}
.contact-card .header {
  display: flex;
  align-items: center;
}
.contact-card .header .back-arrow {
  background-color: white;
  border-radius: 50px;
  min-width: 33.88px;
  min-height: 33.88px;
  color: #011E41;
  font-size: 1.5rem;
  line-height: 32.92px;
  margin-right: 1rem;
  text-align: center;
}
.contact-card .header h2 {
  font-size: 18.33px;
  font-weight: 700;
  margin: 0;
}
.contact-card .description {
  font-size: 14px;
  font-weight: 400;
  padding: 5px 15px;
  color: #fff;
}

.pagination > li > a, .pagination > li > span {
  position: relative;
  float: left;
  padding: 3px 8px;
  margin-left: 6px;
  color: black;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: smaller;
  font-weight: bolder;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
  color: #FF4343;
  border-color: #FF4343;
  background-color: #fff;
}

.pagination [disabled=disabled] {
  color: #fff !important;
  background-color: #919EAB !important;
}

.pagination-ellipsis span {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
}