body, html {
    height: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px; 
}

li.with_spacing {
    padding-bottom: var(--global-space);
}

.btn {
    padding: 0.65em 1.0em;
}

.btn-linkedin {
    padding: 0.73em 1.0em;
    padding-left:65px;
    background-image: url("/static/img/linkedin_logo.9aa4fbfbbd17.png");
    background-position-y: center;
    background-repeat: no-repeat;
    background-color:#0077B5;
    border-color:#0077B5;
    color:white;
    text-align:center;
    font-weight: bold;
}

.module_navigation_link {
    font-size:14px;
}

.btn-linkedin:hover {
    padding: 0.73em 1.0em;
    padding-left:65px;
    background-image: url("/static/img/linkedin_logo.9aa4fbfbbd17.png");
    background-position-y: center;
    background-repeat: no-repeat;
    background-color:#008CC9;
    border-color:#008CC9;
    color:white;
    font-weight: bold;
    text-decoration: none;
}

select {
    color: var(--font-color);
    background-color: var(--background-color);
    padding: 0.7em 0.5em;
}

code::after, code::before {
    content: "";
    display: none;
}
.staff_paginator {
    text-align: center;
}
.staff_paginator li {
    padding-left: calc(var(--global-space) * 2);
}

.staff_mentor_review_not-asked {
    background-color: grey;
}

.staff_mentor_review_sent-for-review {
    background-color: var(--error-color);
}

.staff_mentor_review_reviewed {
    background-color: var(--success);
}

.btn-next {
    margin-left: 0px;
    margin-right: 50px;
    min-width: 30%;
    max-width: 70%;
}

.menu_icon {
    width: 25px;
    height: 25px;
    display: unset;
    margin-bottom: 0px;
    float: left;
    margin-right: 4px;
    margin-top: 2px;
    fill: var(--success);
}

.btn-success {
    background-color: var(--success);
    border: 0px;
    color:  var(--background-color);
    border-radius: 0;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.btn-email-form {
    padding: 0.8em;
    margin-top:8px;
    width: 30%;
}

input.email-form[type="email"] {
    width:50%;
}

.btn-grey {
    background-color: #a3abba;
    border: 0px;
    border-radius: 0;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.telegram_color {
    color: #0088cc;
}

.icon_home {
    background: url("/static/img/home.f68fb8a5f1d2.png");
    background-size: 25px 25px;
    height: 25px;
    width: 25px;
    float: left;
}

.icon_profile {
    background: url("/static/img/profile.4abbbc1d53bb.png");
    background-size: 25px 25px;
    height: 25px;
    width: 25px;
    float: left;
}

.icon_menu_title {
    margin-left: 7px;
    float:left;
    margin-top:3px;
}

fieldset {
    border: none;
    padding: 0;
}

label {
    display: inline;
}

summary { cursor: pointer; }

table td, table th {
    border-color: var(--secondary-color);
}

img {
    width: 90%;
    display: block;
    margin: auto;
    margin-bottom: var(--global-line-height);
}

img.formula {
    filter: invert(1);
    width: auto;
}

hr {
    margin: calc(var(--global-space) * 2) 0;
}

h3 {
    margin-bottom: calc(var(--global-line-height) * 0.5);
    margin-top: var(--global-line-height);
}

div.block {
    margin-bottom: calc(var(--global-space) * 3);
}

div.block_admin {
    width: 30%;
    padding: var(--global-space) 0;
    color: var(--error-color);
}

div.block_admin a {
    color: var(--error-color);
}

input.error {
    border-color: var(--error-color);
}

div.header {
    margin-top: var(--global-line-height);
}

div.logo {
    font-size: calc(var(--global-font-size) * 2);
}

div.logo a {
    color: var(--font-color);
}

div.logo a:hover{
    color: var(--font-color);
    background-color: transparent;
    text-decoration: none;
}

.logo__do {
    color: #00aa33;
}

.no-click {
    pointer-events: none;
}

.profile-icon {
    font-size: calc(var(--global-font-size) * 2);
}

.payment_btn {
    background-color: var(--progress-bar-background);
    border: 1px var(--progress-bar-background) solid;
    border-radius:0;
    font-size: 1.0rem;
    margin-top:5px;
}

.payment_btn_success {
    background-color: var(--success);
    border: 1px var(--success) solid;
    color: var(--background-secondary-color);
    border-radius:0;
    font-size: 1.0rem;
}

.payment_btn_coupon {
  font-size: 1.0rem;
}

@media only screen and (max-width : 768px) {
    div.logo {
       font-size: calc(var(--global-font-size) * 1.2);
    }
    .profile-icon {
        font-size: calc(var(--global-font-size) * 1.2);
    }
    .terminal-menu ul {
        flex-direction: row-reverse;
        text-align: right;
        justify-content: flex-start;
    }
    .terminal-menu li {
        margin-right: 12px;
        display: block;
    }
    .terminal-menu {
        padding-top:18px;
    }
    .terminal-nav {
        flex-direction: row;
    }
    .module_navigation_link {
        font-size:15px;
    }
    div.popup_div__title {
        font-size: 1.2rem;
    }
    h1 {
        font-size:1.9rem;
    }
}

span.subtitle {
    font-size: 1.2rem;
    font-weight: normal;
    line-height: normal;
}

div.teachers_comment_multiselect {
    font-size:  0.8em;
}
div.teachers_comment_incorrect {
    color: red;
}
div.teachers_comment_correct {
    color: green;
}

div.incorrect-answer {
    padding-left: var(--global-line-height);
    border-left: 5px solid red;
    padding-top: var(--global-line-height)/2;
    padding-bottom: var(--global-line-height)/2;
}

div.correct-answer {
    padding-left: var(--global-line-height);
    border-left: 5px solid green;
    padding-top: var(--global-line-height);
    padding-bottom: var(--global-line-height);
}

div.just-answer {
    padding-left: var(--global-line-height);
    border-left: 5px solid var(--background-color);
    padding-top: var(--global-line-height);
    padding-bottom: var(--global-line-height);
}

div.no-show-correct-answer {
    padding-left: var(--global-line-height);
    border-left: 5px solid grey;
    padding-top: 10px;
    padding-bottom: 10px;
}

div.question_report {
    padding-left: var(--global-line-height);
    border-left: 5px solid var(--secondary-color);
    padding-top: var(--global-line-height);
    padding-bottom: var(--global-line-height);
}

div.payment_return_block {
    background-color: var(--code-bg-color);
    border-radius: 15px;
    padding:30px;
}

div.payment_return_small_block {
    flex: 0 0 48%; /* Adjust the percentage to control the width */
    max-width: 48%;
}
.payment_return_comment{
    font-size: 0.8rem;
    color: var(--secondary-color);
    line-height: 1.0rem;
    margin-top:0.6em;
}
.btn_payment_return {
    border-radius:9px;
    background-color:black;
    color:white;
    padding: 0.7em 2em;
    font-weight: normal;
}
.payment_return_info{
    font-size: 1.2rem;
}
.payment_return_discount{
    font-weight: bold;
    font-size: 1.9rem;
    margin:0.7em;
    margin-top:0.4em;
}
.payment_return_subheader{
    font-size: 1.1rem;
}
.btn_payment_return:hover {
    background-color:var(--success);
    font-weight: normal;
    color:white;
}
pre code {
    color: black;
    word-break: break-word;
}

.lang {
    font-weight:bold;
    width:30px;
    padding:3px;
    text-align:center;
}

.active-lang {
    background-color: var(--success);
    display: block;
}

.correct_color {
    color: #00ff66;
}

.incorrect_color {
    color: red;   
}

div.disagree {
    margin-top: calc(var(--global-line-height) * 0.5);
    font-size: 80%;
}

div.disagree a {
    text-decoration: underline;
    text-decoration-style: dotted;
    color: var(--secondary-color);
}

div.disagree a:hover {
    color: var(--primary-color);
    background-color: transparent;
}

.open_lesson {
    cursor: pointer;
    color: var(--secondary-color);

}

.open_lesson:hover {
    color: var(--primary-color);
    background-color: transparent;
}

table.userstory-table {
    width: 100%;
    margin: 0;
}

table.userstory-table tr td.story-title {
    padding: calc(var(--global-line-height)) calc(var(--global-space)/ 2);
}

table.userstory-table tr td.story-test {
    height: calc(var(--global-line-height) * 5);
}



table.userstory-table tr td {
    min-height: calc(var(--global-line-height) * 2);
}


table.userstory-table td:first-child {
    font-weight: normal;
}

/* Lesson/Module headers */

.lesson_image {

  /* Set a specific height */
    width: 100%;
    display: block;
    margin: auto;
    object-fit: cover;
}

.task_image {

  /* Set a specific height */
    width: 100%;
    display: block;
    margin: auto;
    background-color: white;
}


/* Persona */

div.persona_userpic {
    display: inline-block;
}

img.persona_image {
    width: 100px;
    border-radius: 50px;
    filter: grayscale(1);
    display: inline-block;
    vertical-align: middle;
}

div.persona_name {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
}

span.persona_title {
    font-size: 18px;
    font-weight: normal;
}

@media only screen and (max-width : 768px) {
    img.persona_image {
        width: 60px;
    }

    div.persona_name {
        font-size: 1.2em;
    }

    span.persona_title {
        font-size: 0.7em;
    }
}

@media only screen and (max-width : 768px) {
    #disagree_popup {
        width: 100%;
        margin: 0;
        left: 0;
    }
    div.payment_return_small_block {
        flex: 0 0 100%; /* Adjust the percentage to control the width */
        max-width: 100%;
    }
}

div.disagree_popup__header {
    overflow: hidden;
    margin-bottom: calc(var(--global-space) * 2);
}

div.disagree_popup__title {
    padding: .375rem 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1.2rem;
}

.disagree_popup__header button {
    padding: .375rem .75rem;
    float: right;
}

#disagree_button {
    margin: 0;
    float: right;
}


/* General popup */

.popup_container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 102;
    overflow-y: scroll;
}

.popup_div {
    position: relative;
    width: 800px;
    top: 10%;
    height: 85%;
    left: 47%;
    margin-left: -350px;
    background-color: var(--background-color);
    border: 1px solid var(--progress-bar-background);
    padding: calc(var(--global-space) * 2);
}
.disagree_textarea {
    height:200px;
}

@media only screen and (max-width : 768px) {
    .popup_div {
        width: 100%;
        margin: 0;
        left: 0;
    }
}

div.popup_div__header {
    overflow: hidden;
    margin-bottom: calc(var(--global-space) * 2);
}

div.popup_div__title {
    padding: .375rem 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1.6rem;
}

div.popup_div__content {
    height: 85%;
    overflow:auto;
}

.popup_div__header button {
    padding: .375rem .75rem;
    float: right;
}


div.footer {
    min-height: 100px;
}

.answer_label, .green_label, .red_label, .white_label{
    border: 2px solid;
    padding: 2px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    color:white;
}

.correct_answer_label, .green_label {
    border-color: green;
    background-color:green;
}

.wrong_answer_label, .red_label {
    border-color: red;
    background-color:red;
}

.white_label {
    border-color: white;
    background-color:white;
}

.show_response_view_label {
    opacity: 0.8;
}

button.correct_answer {
    background-color:green;
}

button.wrong_answer {
    background-color:red;
}

/* Modifiers in text */

.code {
    color: #00ff66;
}

code {
    color: #00ff66;
}

.codeblock {
    white-space: pre-wrap;
    background-color: white;
    color: #008000;
    border: 1px solid #454545;
    display:block;
    font-style:monospace;
    margin-top:16px;
    margin-bottom:16px;
    padding:16px;
}

.quote {
    border-left: 5px solid var(--tertiary-color);
    display:block;
    margin-top:10px;
    margin-bottom:10px;
    padding:10px;
    padding-left: 20px;
}

.highlight {
    color: var(--font-color);
    font-weight: bold;
}

td.cell-number {
    text-align: right;
}

div.finish_line {
    color: var(--invert-font-color);
    text-align: center;
    background-color: var(--secondary-color);
    padding: .5em 0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

div.lesson_results {
    border: 1px solid var(--secondary-color);
    padding: calc(var(--global-space) * 4);
}

div.lesson_results__percent {
    font-size: 1.7rem;
    line-height: var(--global-line-height);
}

div.lesson_results__score {
    font-size: 1.5rem;
    line-height: var(--global-line-height);
}

span.dotted_underline {
    line-height: var(--global-line-height);
}

/* Styles for star rating widget */

.rating-group {
  display: inline-flex;
}
.rating__icon {
  pointer-events: none;
}
.rating__input {
  position: absolute !important;
  left: -9999px !important;
}
.rating__input--none {
  display: none;
}
.rating__label {
  cursor: pointer;
  padding: 0 0.1em;
  font-size: 2rem;
}
.rating__icon--star {
  color: #008000;
}
.rating__input:checked ~ .rating__label .rating__icon--star {
  color: #aaa;
}
.rating-group:hover .rating__label .rating__icon--star {
  color: #008000;
}
.rating__input:hover ~ .rating__label .rating__icon--star {
  color: #aaa;
}

.homepage_lesson_title_div {
    height:30px;
    padding-top:3px;
}


@media screen and (max-width: 600px) {
  .btn {
    font-size: 20px;
  }

  .payment_btn_success {
        font-size: 16px;
   }
  .btn-next {
    max-width: 100%;
    min-width: 50%;
    margin-top: 10px;
    white-space: normal;
    font-size: var(--global-font-size);
  }
    .rating__label {
      cursor: pointer;
      padding: 0 0.1em;
      font-size: 1.2rem;
    }
  .homepage_lesson_title { 
    font-size: 11px;
  }

  .homepage_lesson_title_div {
    height:30px;
    padding-top:3px;
    line-height:11px;
  }

  .btn-email-form {
        padding: 0.8em;
        margin-top:8px;
        width: 80%;
  }

  input.email-form[type="email"] {
        width:100%;
  }
  .payment_btn_coupon {
      font-size: 0.75rem;
      height: 53px;
  }
}

/* Styles for staff pages */
table th {
    color: var(--invert-font-color);
    background-color: var(--secondary-color);
}

fieldset.disabled {
    border:0px;
    opacity: 0.5;
}
.pd_progressbar {
    width: 100%;
}
.pd_module_progressbar {
    width: 100%;
    margin-top:7px;
    margin-bottom:7px;
}
.percentCount {
    float:left;
    margin-left:3px;
}

.sticky {
  position: sticky;
  position: -webkit-sticky;
  width: 100%;
  top: 0px;
  padding-top:20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  z-index:100;
}

.sticky_feedback {
    top: 65px;
    color: var(--success);
    font-weight: bold;
    font-size: 1.0rem;
    padding-top:3px;
    padding-bottom:3px;
    text-align: center;
}

.module_block {
    background-color: var(--background-secondary-color);
    padding: 20px;
    padding-bottom: 5px;
}
.module_progress_value {
    color: var(--success);
    font-size: 0.8rem;
    z-index: 9;
    position: absolute;
    top: -15px;
}
.module_price {
    color: var(--success);
    font-size: 1.3rem;
    font-weight: bold;
}
.module_meta {
    color: var(--secondary);
    margin-bottom: 5px;
}
.module_block_more {
    color: var(--secondary);
    margin-bottom: 20px;
    background-color: var(--background-secondary-color);
    padding: 20px;
    border-top: 2px  var(--background-color) solid;
}
.module_title {
    
}
.progressbar { 
    margin: 0px;
}
a.certificate_button {
    color: var(--success);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

a.certificate_button:hover {
    color: white;
    background-color: var(--success);
}

.payment_price {
    font-size: 1.5rem;   
    margin-bottom:10px;
    margin-top:10px;
}

.bundle_discount {
    color:var(--error-color);
    font-size:0.6em
}

.bundle_module {
    margin-top: 5px;
}
.bundle_module label{
    font-size: 0.9rem;   
}
.bundle_module input {
    margin-right: 7px;
}

input.payment_input {
    background-color: var(--background-tertiary-color);
    border-color: var(--background-tertiary-color);
    margin-top:5px;
}

.payment_comment {
    margin-top:10px;
    font-size: 0.7rem;
    color: #898989;
    line-height: 1.0rem;
}

.productdoformfield{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}