:root {
    --color-primary: #1B6FC6;
}

.body-style,
.body-color {
    background-color: #e2e6f3;
}

body {
    color: #343434;
}

@media (min-width: 1200px) {
    .super_container_home {
        width: 80%;
    }
}

@media (min-width: 1230px) {
    .nav_li_change_role {
        display: inline-block !important;
    }
}

#home_knob_rating {
    display: none;
}

#home_knob_progress {
    margin-left: 17%;
}

.side-bar-hr {
    border-top: 2px solid #B1B4B4;
}

a.side-bar-tests-a {
    color: #343434;
    text-decoration: none;
}

a.side-bar-tests-a:hover {
    text-decoration: underline;
}

.sidebar-nav li a {
    color: #5E5E5E;
}

a,
.btn-link {
    color: #565696;
}

.class-active {
    border: 1px solid #5C5F64;
}

.sw-bg-default {
    background-color: #BCC4C6;
}

.sw-bg-white {
    background-color: #FFFFFF;
}

.sw-bg-primary {
    color: #ffffff;
    background-color: #B02786;
}

.label-primary,
.sw-label-primary {
    background-color: #1B6FC6 !important;
}

.panel-primary>.panel-heading {
    background-color: #FFD300 !important;
    color: #222 !important;
    border-color: #FFD300 !important;
}

.panel-primary {
    border-color: #FFD300 !important;
}

#filter_tabs ul.tabs {
    max-height: 50px;
    line-height: 50px;
    margin-top: -15px
}

#filter_tabs ul.tabs .hide_tabs {
    margin-top: 55px !important;
}

#filter_tabs ul.tabs>li:hover {
    background: #C9C9C9;
}

#filter_tabs ul.tabs>li {
    background: #FFF;
    margin: 0;
    margin-top: 1px;
    padding: 5px 25px 0 25px;
    height: auto;
    box-shadow: 0 0 4px 0 rgba(40, 40, 44, 0.2);
    width: 50px;
    height: 70px;
    border-radius: 25px 25px 0 0;
}

#filter_tabs ul.tabs>li i {
    color: #C9C9C9;
    font-size: 20px;
    margin-left: -8px
}

#filter_tabs ul.tabs>li img {
    height: 20px;
    width: 20px;
    max-width: inherit;
    margin-left: -8px;
    opacity: 0.4;
}

.filter_button_home i.fa-home,
.filter_button_home.theory img,
.filter_button_home.slideshow img {
    transform: rotate(90deg)
}

#filter_tabs .tabs_icon_packages {
    background-image: url(/assets/packages/liber/images/icons/pen.svg);
}

/* buttons start */

.btn,
.btn:hover,
.btn:focus,
.btn:active {
    border-radius: 24px !important;
}

.btn-action,
.btn-action:focus,
.btn-action:hover {
    background-color: #FFBA00;
    color: #003B5E !important;
    border-color: #FFBA00;
    box-shadow: 0 2px 0 0 #CC9400;
}

.btn-action:hover {
    background: #E5A700;
    border-color: #E5A700;
    box-shadow: 0 2px 0 0 #BD8900;
}

.btn-action:active {
    background: #FFBA00;
    box-shadow: none;
    margin-bottom: -2px;
    margin-top: 2px;
}

.btn-nav,
.btn-nav:focus,
.btn-nav:hover {
    background-color: #1B6FC6;
    color: #FFF;
    border-color: #1B6FC6;
    box-shadow: 0 2px 0 0 #15589E;
}

.btn-nav:hover {
    background: #1863B1;
    border-color: #1863B1;
    box-shadow: 0 2px 0 0 #1863B1;
}

.btn-nav:active {
    background: #15589E;
    box-shadow: none;
    margin-bottom: -2px;
    margin-top: 2px;
}

.btn.disabled,
.btn[disabled],
.btn.disabled:hover,
.btn[disabled]:hover,
.btn.disabled:focus,
.btn[disabled]:focus,
.btn.disabled:active,
.btn[disabled]:active {
    border-radius: 24px !important;
    background-color: #DEE1E2;
    color: #434343 !important;
    border-color: #DEE1E2;
    box-shadow: none;
    margin-bottom: 0px;
    margin-top: 0px;
}

/* buttons end */

/* home start */

.last_viewed {
    background: #1B6FC6
}

.arrow_img {
    color: #1B6FC6
}

/* custom liber home*/

.category-list-icon .fa {
    display: none;
}

.category-list-icon {
    margin-top: 0;
    margin-left: -15px;
}

.home-category-row {
    background: #F4F4F4;
    margin: 0;
    min-height: 110px;
    padding-left: 0;
}

.category-title,
.sub-category-list-name {
    display: flex;
}

.sub-category-list-name {
    height: 70px;
    align-items: center;
}

.category-grade-col {
    padding-top: 35px;
}

.category-grade-col>div,
.category-grade-col>span {
    margin-right: 10px;
    cursor: pointer;
}

.category-list-container h3 {
    margin-bottom: 0px;
    margin-top: 0px;
    padding-top: 40px;
    padding-left: 30px;
}

@media (max-width: 768px) {
    .category-list-container h3 {
        padding-top: 10px;
        padding-left: 0px;
    }
}

.category-title-img {
    padding-left: 0;
    overflow: hidden;
}

.category-diagnostic-test-icon {
    margin: auto auto auto -16px;
}

.home-category-line {
    display: none;
}

.sub-category-list-row {
    height: 70px;
    padding-right: 15px;
    margin-right: 0;
    border-bottom: 1px solid rgb(52, 52, 52, .2);
}

.sub-category-list-row:empty {
    height: 10px;
    border-bottom: 0;
}

.sub-category-list-name h4 {
    font-size: 24px;
}

.sub-category-list-container .teacher_home_context_menu {
    top: inherit;
    left: -45px;
}

.home_border_fix {
    border-bottom: 0;
    margin-bottom: 20px;
}

.flip-container {
    margin-left: 15px;
    margin-right: 15px;
}

.teacher_home_context_menu {
    left: 15px;
    top: 5px;
}

.teacher_home_context_menu_dropdown {
    box-shadow: 1px 2px 5px 0px #777;
    font-size: 20px;
}

.teacher_home_context_menu_dropdown>a>i.glyphicon-option-vertical {
    transform: rotate(90deg);
    top: 4px;
    margin-left: -3px;
    vertical-align: super;
}

.teacher_home_context_menu_dropdown.open>a>i.glyphicon-option-vertical,
.teacher_home_context_menu_dropdown.open>a>i.fa-lock {
    display: none;
}

.teacher_home_context_menu_dropdown.open>a>i.fa-times {
    display: inline-block !important;
}

.sub-category-list-container .sub-category-list-item .teacher_home_context_menu {
    left: 30px;
    margin-top: 15px;
}

.teacher .sub-category-list-item-container {
    padding-left: 75px;
}

.teacher_home_context_menu_dropdown:not(.open)>a>i.fa-times {
    display: none;
}

.teacher_home_context_menu_dropdown .dropdown-menu>li>a {
    color: #222;
}

/* hide test passin ggrade -> liber usses own test grading */
.teacher-test-setting-passinggrade,
#dropdown_groups_released {
    display: none !important;
}

/* hide class start an end date */
h4.teacher-setting-date,
h4.teacher-setting-only-test {
    display: none !important;
}

h4.teacher-setting-mode {
    border-top: 0 !important;
}

.sub-category-list-item-line {
    display: none;
}

.sub-category-list-item {
    background-color: #FBFBFB;
    margin-bottom: 10px;
    min-height: 70px;
}

.sub-category-list-item:first-of-type {
    margin-top: 10px;
}

.sub-category-list-item-container {
    display: flex;
    align-items: center;
    height: 70px;
}

.home-content-icon-img {
    display: block;
    height: auto;
}

.sub-category-list-item>a:hover {
    text-decoration: none;
}

.sub-category-list-package-link .package-arrow {
    display: none;
}

.home-breadcrumb-name-wrapper {
    max-width: 75%;
}

.package-mastered-icon {
    display: inline-block;
    font-size: 7px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    border-radius: 30px !important;
    background-color: #B6E673;
    border: 3px solid #B6E673;
    text-align: center;
}

.package-mastered-icon {
    background-image: url(/images/icons/check.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
}

.package-mastered-icon i {
    display: none;
}

.exercise-header .package-mastered-icon {
    width: 30px;
    height: 30px;
}

.teacher_home_context_menu_dropdown {
    display: inline-block;
    color: rgb(51, 51, 51);
    line-height: 30px;
    margin-left: 4px;
    width: 40px;
    height: 40px;
    border: 2px solid #FFF;
    border-radius: 30px !important;
    background-color: transparent;
    box-shadow: none;
    text-align: center;
}

.teacher_home_context_menu_btn,
.teacher_home_context_menu_btn:hover,
.teacher_home_context_menu_btn:focus,
.teacher_home_context_menu_btn:active {
    color: #222;
    background-color: transparent;
}

.sub-category-list-container .teacher_home_context_menu .teacher_home_context_menu_btn>i {
    font-size: 20px;
}

.sub-category-list-container .teacher_home_context_menu .teacher_home_context_menu_btn>i {
    font-size: 20px;
}

.sub-category-list-container .sub-category-list-item .teacher_home_context_menu a.teacher_home_context_menu_btn>i {
    font-size: 20px;
}

.sub-category-list-container .sub-category-list-name .teacher_home_context_menu {
    left: auto;
}

/* home end*/

/* analytics start */

.analytics .widget__wrapper--title {
    background-color: #B1B4B4;
    color: #fff;
}

.analytics .widget__wrapper {
    border: 1px solid #B1B4B4;
}

score--red {
    color: #EE372F;
    stroke: #EE372F
}

.score--yellow {
    color: #FFBA00;
    stroke: #FFBA00
}

.score--green {
    color: #00AE34;
    stroke: #00AE34
}

.attempt_viewer_history_box_selected {
    background-color: #1B6FC6 !important;
}

.attempt_viewer_history_box:hover {
    border: 3px solid #337ab7;
}

.package-exercise-anchor .exercise_thumb>i {
    display: none;
}

/* analytics end */

/* exercise start */

.return-home-btn,
.btn-where {
    color: #fff;
    background-color: #1B6FC6;
    color: #FFF;
    border-color: #1B6FC6;
    opacity: 1;
}

.return-home-btn:hover,
.return-home-btn:focus,
.btn-where:hover,
btn-where:focus {
    color: #fff;
    opacity: 0.8;
}

.progress-bar-warning {
    background: #FFBA00;
}

.progress-bar-success,
.test-total.sw-label-success {
    background: #00AE34;
}

.progress-bar-danger {
    background: #EE372F;
}

.home-exercise_thumb,
.exercise_thumb,
.test_thumb,
.sw-bg-default {
    background-color: #FFF;
    border-radius: 24px;
    border: var(--border-width, 3px) solid #DEE1E2;
}

.analytics .test_thumb_error {
    border: var(--border-width, 3px) solid #FFBA00;
}

.analytics .test_thumb_error:after {
    margin-left: 0;
    margin-top: 3px;
    left: 3px;
    display: none;
}

.analytics .widget--selector .test_thumb_number {
    top: -1px;
}

.package-history-selector span:after {
    display: none;
}

.mc_row {
    background-color: #F5F7F8;
}

.mc_row:hover {
    background-color: #FCE199 !important;
}

.mc_row>div {
    border-color: #DEE1E2;
    border-top: 1px solid #DEE1E2;
    border-bottom: 1px solid #DEE1E2;
}

.mc_row>div:first-child {
    border-radius: 5px 0 0 5px;
    border-left: 1px solid #DEE1E2;
}

.mc_row>div:last-child {
    border-radius: 0 5px 5px 0;
    border-right: 1px solid #DEE1E2;
}

.mc_checkbox {
    min-width: 35px;
}

.mc input[type=radio]+span,
.mc input[type=checkbox]+span {
    background-color: transparent;
    border: 1px solid #B1B4B4;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-bottom: -3px;
}

.mc input[type=radio]+span {
    border-radius: 10px;
}

.mc input[type=radio]+span:before,
.mc input[type=checkbox]+span:before {
    color: #1B6FC6;
    font-family: FontAwesome;
    content: "";
    font-size: 8px;
    position: absolute;
    margin: auto;
    text-align: center;
    margin-left: -1.5px;
    line-height: 18px;
}

.mc .question_extra_mc_table input[type=checkbox]+span:before {
    margin-left: 3px;
}

.mc input[type=radio]:checked+span,
.mc input[type=checkbox]:checked+span {
    color: #B1B4B4;
    background-color: #FFF;
    border: 1px solid #1B6FC6;
}

.mc input[type=radio]:checked+span:before {
    content: "\f111";
}

.mc input[type=checkbox]:checked+span:before {
    content: "■";
    font-size: 18px;
    font-family: inherit;
    display: inline-block;
}

.mc_wrong>div {
    background-color: #F5F7F8 !important;
}

.mc_wrong.mc_row input[type=radio]+span {
    color: #EE372F;
    border-color: #BB2B24;
    background-color: #FFF;
}

.mc_wrong.mc_row input[type=radio]+span:before {
    color: #EE372F;
    border-color: #BB2B24;
    content: "\f111";
}

.mc_wrong.mc_row .mc_result_wrong:before {
    color: #EE372F;
    border-right: 1px solid #BB2B24;
    font-family: FontAwesome;
    float: right;
    content: "\f00d";
    border: 0;
}

.mc_wrong.mc_row>div {
    border-top: 1px solid #BB2B24;
    border-bottom: 1px solid #BB2B24;
}

.mc_wrong.mc_row>div:first-child {
    border-left: 1px solid #BB2B24;
}

.mc_wrong.mc_row>div:last-child {
    border-right: 1px solid #BB2B24;
}

.mc_wrong label,
.mc_result_wrong {
    color: #BF3D37;
}

.mc_correct>div {
    background-color: #F5F7F8 !important;
}

.mc_correct.mc_row input[type=radio]+span,
.mc_correct.mc_row input[type=checkbox]+span {
    color: #4EB781;
    border-color: #4EB781;
    background-color: #FFF;
}

.mc_correct.mc_row input[type=radio]+span:before {
    color: #4EB781;
    border-color: #4EB781;
    content: "\f111";
}

.mc_correct.mc_row input[type=checkbox]+span:before {
    color: #4EB781;
    border-color: #4EB781;
}

.mc_correct.mc_row .mc_result_correct:before {
    color: #4EB781;
    border-right: 1px solid #4EB781;
    font-family: FontAwesome;
    float: right;
    content: "\f00c";
    border: 0;
}

.mc_correct.mc_row>div {
    border-top: 1px solid #56A37D;
    border-bottom: 1px solid #56A37D;
}

.mc_correct.mc_row>div:first-child {
    border-left: 1px solid #56A37D;
}

.mc_correct.mc_row>div:last-child {
    border-right: 1px solid #56A37D;
}

.mc_correct label,
.mc_result_correct {
    color: #6AAE8C;
}

input.form-control[type=text],
input.form-control[type=password] {
    color: #1B6FC6;
    border: 1px solid #1B6FC6;
    border-radius: 5px !important;
}

.open>a {
    border-color: #1B6FC6 !important;
}

.open>a>i.fa-times {
    margin-left: -2px;
}

.mcoptions .btn,
.open>.dropdown-toggle.btn-default {
    border-radius: 5px !important;
    border: 1px solid #DEE1E2;
}

.dropdown_caret {
    color: #1B6FC6;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1B6FC6;
}

.dropdown-menu>li>a,
.exercise_wrapper .dropdown-menu>li>a,
.selected_from_dropdown {
    color: #1B6FC6;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a>.MathJax:hover {
    color: #FFF;
    background-color: #1B6FC6
}

.dropdown-menu {
    box-shadow: 0 3px 10px 0 rgba(52, 52, 52, 0.5);
}

.teacher_home_context_menu_dropdown .dropdown-menu {
    box-shadow: inherit;
}

.sw-solution, .sw-correct {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 15px;
    padding-right: 0px;
}

#view_student_attempts_btn i {
    font-size: 20px;
    margin-top: 6px;
}

/* exercise end */

#test_table {
    background: white;
    color: black;
}

.padding_fix_home.progress_bar_wrapper {
    padding: 0 10px 0 0;
}

/* liber style guide updates */
body {
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 600 !important;
}

.class-active {
    font-weight: normal;
}

a.side-bar-tests-a {
    font-weight: normal;
    margin-left: -15px;
}

a.side-bar-tests-a>i {
    margin-right: 8.33333333% !important;
    float: left;
    padding-right: 3px;
    margin-top: 3px;
}

.side-bar-tests-hr {
    margin-left: 0 !important;
}

.side-bar-tests-header {
    text-transform: capitalize;
}

.side-bar-tests-header,
span.side-bar-tests-a {
    font-weight: normal;
}

.dropdown-menu>li>a.active {
    font-weight: 600
}

.theory_body div,
.theory_body ol,
.theory_body p,
.theory_body ul {
    font-weight: 400;
}

.jumbotron p {
    font-weight: 400;
}

b,
optgroup,
strong {
    font-weight: 600;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

/* override bootstrap styling that removes the outline for dropdowns - known issue https://github.com/twbs/bootstrap/issues/16412 */
.dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color !important;
}

/* change the url to use for loading from the white background img to the default ajax-loader in imgs */
.sw-waiting, .sw-polling {
    background: url(/assets/packages/liber/images/ajax-loader.gif) left center no-repeat;
}

/* custom menu styling */
.navbar-fixed-top {
    top: 0;
    border-width: 0;
}

.navbar-inverse {
    background-color: #343434;
    border-top: 4px solid #FFC71C;
}

.nav-menu-container {
    padding: 0;
}

.sw-collapse {
    background-color: #343434;
}

.sw-collapse>.nav>li>a {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.menu-icon-with-text {
    display: flex;
    flex-direction: row;
    margin: 10px 20px;
}

.menu-icon-img-container {
    height: 20px;
    display: flex;
    justify-content: center;
}

#nav_link_admin .menu-icon-img-container > img,
#nav_link_teacher .menu-icon-img-container > img,
#nav_link_author .menu-icon-img-container > img,
#nav_link_change_role .menu-icon-img-container > img
{
    margin-top: 8px;
}

.menu-icon-with-text>p {
    font-size: 12px;
    color: white;
    text-transform: none;
    margin-left: 10px;
    text-align: center;
}

@media (min-width: 768px) {

    /* when menu navbar is not collapsed show the icon above the text in a column */
    .menu-icon-with-text {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 7px 20px 1px;
    }

    .menu-icon-with-text>p {
        margin: 0;
        padding-top: 1px;
    }

    .navbar_li_separator {
        width: 0;
        height: 40px;
        border-right: 1.5px solid #5C5F64;
        /* using 1 px wasn't displaying on chrome for some separators */
    }
}

@media (min-width: 1200px) {

    /* custom menu width to align left and right menu items with content */
    .nav-menu-container {
        width: 80%;
        padding: 0;
    }
}

/* change active color when navbar item is selected */
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    background-color: #5C5F64;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    background-color: #5C5F64;
}

/* change the hover color effect */
.menu-profile li:hover,
.sw-nav-ul li:hover {
    background-color: #5C5F64;
}

/* custom hover effect for the active selection in the navbar */
.nav-menu-container .navbar-nav>.active>a:hover {
    background-color: #8D8F93;
}

/* custom background style for color behind widget */
.super_container_home {
    background-color: #FBFBFB;
}


.navbar-inverse>.container-fluid {
    border-bottom: 1px solid #5C5F64;
}

/* styling for search dropdown */
#menu_search_dropdown {
    padding-bottom: 0;
    border: none;
    cursor: default;
    text-transform: capitalize;
    width: 600px;
}

#search_bar_field,
#menu_search_dropdown {
    background-color: #5C5F64;
}

#search_bar_field {
    display: flex;
    flex-direction: row;
    padding: 20px 80px 20px 20px;
}

#dropdown_search_input {
    border: 2px solid #343434;
    border-radius: 25px;
    height: 40px;
    padding-left: 20px;
    padding-right: 10px;
    width: 250px;
}

#dropdown_search_button {
    background-color: #FFC71C;
    border-radius: 20px;
    border-color: transparent;
    width: 40px;
    height: 40px;
    padding: 5px;
    margin-left: 15px;
}

#search_bar_results {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
}

#search_results_text {
    margin: 0;
    color: #343434;
    font-size: 16px;
    padding: 10px 15px;
}

#search_results_list {
    list-style-type: none;
    background-color: #E0E0E0;
    padding: 0;
    max-height: 28.125em;
    overflow-y: auto;
}

#search_results_list li {
    display: flex;
    cursor: pointer;
    color: #343434;
    background-color: #E0E0E0;
}

#search_results_list li:first-child {
    border-top: 1px solid #5E5E5E;
}

#search_results_list li:not(:last-child) {
    border-bottom: 1px solid #343434;
}

#search_results_list li>a {
    padding: 10px 15px;
    text-decoration: none;
    color: #343434;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#search_results_list li>a>p {
    margin: 0;
}

#search_results_list li>a>img {
    padding-left: 10px;
}

#scrollable {
    width: 100%;
    max-width: none;
    background-color: transparent;
    padding-left: 4px;
}

.inner_footer {
    margin-top: 20px !important;
}

.inner_footer a {
    color: #FFFFFF;
}

/* add margin on exercise containers since menu is always present */
#content_container {
    margin-top: 50px;
}

/* to make responsive design work and have the menu line up on all pages */

@media (max-width: 992px) {
    .menu-icon-with-text {
        padding: 7px 14px 1px;
    }
}

.content_main>#container>#super_container {
    margin-top: 0;
    padding-top: 40px;
    background: #FBFBFB;
}

@media (min-width: 1000px) {
    #main_content_container,
    .content_main>#container>#super_container,
    #content_container>#super_container
    {
        width: 100%;
    }
}

@media (min-width: 1100px) {
    #main_content_container,
    .content_main>#container>#super_container,
    #content_container>#super_container
    {
        width: 95%;
    }
}


@media (min-width: 1350px) {
    #main_content_container,
    .content_main>#container>#super_container,
    #content_container>#super_container
    {
        width: 80%;
    }
}



#content_container>#super_container {
    margin-top: 0;
    background: #FBFBFB;
}

#content_container>#super_container #white_page {
    margin-top: 0;
    padding-top: 10px;
}

.notifi-center-top {
    top: 51px !important;
}

#test-top-nav #pag-overview {
    margin-right: 0;
}

/* Row with equal height columns */
.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* set sidebar background color for Forum, Profile, Results, and Teacher pages */
.content-sidebar {
    background-color: #FBFBFB;
}

#wrapper {
    padding-bottom: 0;
}

#white_page {
    padding-bottom: 600px;
}

#white_page.analytics {
    padding-bottom: 0;
}

#main_content_container.analytics_main_content_container {
    padding-left: 0;
    padding-right: 0;
}

#footer_copyright_link {
    color: #000000;
}

/* styling for the readspeaker dropdown */
#menu_readspeaker_dropdown {
    padding-bottom: 0;
    border: none;
    cursor: default;
    text-transform: capitalize;
    background-color: #5C5F64;
    left: -200%;
}

#readspeaker_dropdown_container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 20px 15px;
}

#readspeaker_dropdown_container .audio-button {
    height: 3.125em;
    ;
    width: 3.125em;
    ;
    background-color: transparent;
    border: none;
    text-decoration: none;
    padding: .3125em;
    fill: #5E5E5E;
}

#readspeaker_dropdown_container .progress-container {
    width: 10em;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-container {
    position: relative;
}

#readspeaker_progress,
#readspeaker_progress_background {
    position: absolute;
    z-index: 2;
    width: 1%;
    background-color: #FFC71C;
    height: .3125em;
    padding-left: 0.0625em;
    padding-top: 0.0625em;
    border-radius: .15625em;
}

#readspeaker_progress_background {
    background-color: #000000;
    width: 100%;
    z-index: 1;
}

#readspeaker_play_button {
    visibility: hidden;
}

.category_name_link,
.category_name_link:hover,
.category_name_link:focus {
    cursor: pointer !important;
    text-decoration: none;
    color: #343434 !important;
}

.subcategory_name_link,
.subcategory_name_link:hover,
.subcategory_name_link:focus {
    cursor: pointer !important;
    text-decoration: none;
    color: #343434 !important;
}

#readspeaker_dropdown_container .audio-button:hover {
    background-color: #8D8F93;
    border-radius: 60%;
    border: 5px solid #5C5F64;
}

#volume_input_control {
    background-color: #5C5F64;
    top: auto;
    left: auto;
    width: 3.125em;
    height: 11.5em;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
}

#readspeaker_volume_bar {
    background: #000000;
    width: 0.3125em;
    height: 10em;
    margin-left: 1.40625em;
    margin-top: 0.75em;
    display: inline-block;
    float: left;
    border-radius: 0.15625em;
}

#readspeaker_volume_thumb {
    background-color: #FFC71C;
    position: relative;
    width: 1.25em;
    height: 1.25em;
    margin-left: 0.9375em;
    border-radius: 50%;
    max-width: none;
}

#volume_input_control.readspeaker-volume-open,
#readspeaker_volume_button.readspeaker-volume-open {
    background-color: #8D8F93;
}

#readspeaker_dropdown_container #readspeaker_volume_button:hover {
    background-color: #8D8F93;
    border-radius: 60%;
    border: 5px solid #8D8F93;
}

#readspeaker_volume_dropdown.readspeaker-volume-open {
    background-color: #8D8F93;
}

/* custom styling for teacher context menu */
.teacher_home_context_menu_dropdown {
    display: flex;
    justify-content: center;
    border: none;
}

.teacher_home_context_menu_btn,
.teacher_home_context_menu_btn:hover,
.teacher_home_context_menu_btn:focus,
.teacher_home_context_menu_btn:active {
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.teacher_home_context_menu_btn>i {
    margin-right: 0 !important;
}

.teacher_show_hide,
.teacher_lock,
.admin_context_edit,
.teacher_preview_content {
    display: flex;
    flex-direction: row;
}

.teacher_show_hide>button,
.teacher_lock>button,
.admin_context_edit>button,
.teacher_preview_content>button {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: none;
}

.teacher_show_hide>button:hover,
.teacher_lock>button:hover,
.admin_context_edit>button:hover,
.teacher_preview_content>button:hover {
    background-color: #8D8F93;
    color: white !important;
}

.teacher_show_hide>button>i,
.teacher_lock>button>i,
.admin_context_edit>button>i,
.teacher_preview_content>button>i {
    padding-right: 20px;
}

/* to make hover focus on subcategories work normally */
.sub-category-list-name .teacher_home_context_menu {
    height: 70px;
    display: flex;
    align-items: center;
}

.subcategory_name_link:focus {
    outline-offset: 0;
}

/* fix separator issue showing on hover and active in navbar */
.nav-menu-container li:hover .navbar_li_separator {
    visibility: hidden;
}

.nav-menu-container li.active .navbar_li_separator {
    visibility: hidden;
}

.nav-menu-container li:hover+li .navbar_li_separator:first-child {
    visibility: hidden;
}

.nav-menu-container li.active+li .navbar_li_separator:first-child {
    visibility: hidden;
}

.nav-menu-container li.open+li .navbar_li_separator:first-child {
    visibility: hidden;
}

/* role dropdown in navbar styling */
.change-role-dropdown {
    border: none;
}

.change-role-dropdown li {
    display: flex;
    flex-direction: column;
}

.change-role-button {
    border: none;
    text-align: left;
    background-color: #5C5F64;
    padding: 10px;
    color: #FFFFFF;
}

.change-role-button.active {
    background-color: #8D8F93;
}

.change-role-button:hover {
    background-color: #8D8F93;
}

/* Fix Navbar overflow by removing text in menu */
@media (min-width: 768px) {
    .hide-text-tablet {
        display: none;
    }

    .show-text-tablet {
        text-transform: capitalize;
    }
}

@media (min-width: 1200px) {
    .hide-text-tablet {
        display: inline;
        text-transform: capitalize;
    }

    .show-text-tablet {
        text-transform: lowercase;
    }
}

/* update from trello board card overriding styleguide */
a,
.btn-link {
    color: #0054AF;
}

.class-inactive>a,
.class-active>a {
    color: #343434;
}

/* All text and numbers color #343434 in content menu */
#subcat-content-wrapper h3,
.category-list-container h3,
.sub_category_name_header,
.home-number-of-exercises,
a>.sub-category-list-item-container,
.side-bar-span,
.side-bar-span:hover {
    color: #343434;
}

#stop_home_button {
    display: none;
}

/* style exercise buttons */
.content-page-button {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    min-height: 35px;
    min-width: 140px;
    color: #343434 !important;
    text-transform: lowercase;
    box-shadow: none;
    background-color: #FFFFFF;
    border: 2px solid #343434;
    padding: 6px 12px;
}

.content-page-button i {
    display: none;
}

.calculator-button {
    padding: 6px 12px;
}

.calculator-button i {
    display: none;
}

.content-page-button:first-letter {
    text-transform: uppercase;
}

.content-page-button:hover {
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15) !important;
    color: #343434 !important;
    background-color: #FFFFFF;
    border: 2px solid #343434;
}

.content-page-button:focus {
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15) !important;
    color: #343434 !important;
    background-color: #FFFFFF;
    border: 2px solid #343434;
}

.content-page-button:active {
    background: #FFFFFF;
    margin-top: 0;
    margin-bottom: 0;
}

/* style buttons at the bottom of the exercise once a package is complete*/
.content-page-button #exercise_last_home_button {
    display: none;
}

#continue_button i,
.content-page-button#continue_button i {
    display: inline;
    float: right;
    font-weight: 600;
}

#button_container #check_button {
    background-color: #FFC71C;
    border-color: transparent;
}

#finished_buttons {
    display: flex;
    flex-direction: column;
}

.exercise-finished-buttons #continue_button {
    background-color: #FFC71C;
    border-color: transparent;
    float: right !important;
}

#content_theory #buttons #continue_button,
.content-page-button#continue_button {
    background-color: #FFC71C;
    border-color: transparent;
}

#content_vote_wrapper {
    margin-right: 40px;
    padding-top: 20px;
}

/* Home page Widget styles */
.widget-class-button {
    border: none;
    padding: 10px 15px;
    background: #FFFFFF;
}

#scrollable-sm {
    margin-top: 8px;
}

.widget-header-button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    width: 100%;
    margin-bottom: 20px;
    padding: 5px 0 10px;
    border: 0;
    border-bottom: 2px solid #B1B4B4;
}

.widget-header-span {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.widget-class-ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.span-widget-shortcut-button {
    color: #343434;
}

.span-widget-shortcut-button:hover {
    color: #343434;
}

/* replace glyphicon used on teacher context menu that is changed to a lock */
.glyphicon-option-vertical {
    font-family: fontawesome !important;
    speak: none;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    font: normal normal normal 14px/1 fontawesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.glyphicon-option-vertical:before {
    content: "\f141";
    ;
}

.exercise_thumb, .home-exercise_thumb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-color: #5C5F64 !important;
    background-color: #FFF;
}

.next-step.current-step:after {
    margin-top: 1px;
}

.exercise_thumb span.test_thumb_number.current-main-step-from-sub-step {
    color: transparent !important;
    width: 0;
    min-width: 0;
    margin: 0;
}

.exercise_thumb span.test_thumb_number.current-main-step-from-sub-step:after {
    display: inline-block;
    border: 0;
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    font-size: 16px;
    color: #5C5F64;
    width: auto;
    height: auto;
    margin: -3px 0 0 -18px;
    top: 0;
}

.exercise_thumb.thumb_correct.next-step:after,
.exercise_thumb.thumb_approx.next-step:after {
    margin-left: -2px;
}

.exercise_thumb.thumb_approx span.test_thumb_number:after,
.exercise_thumb.thumb_correct span.test_thumb_number:after {
    margin-left: -20px;
}

.breadcrumb-number {
    font-size: 10px;
}

/* END styling for exercise breadcrumbs */

#close-subcat-wrapper-x {
    display: flex;
    text-decoration: none;
}

/* Change color of icons in test widget on home page */
#test-overview i {
    color: #343434;
}

/* Home page Chapter row - move teacher context menu to center right */
.row.home-category-row {
    display: flex;
}

.row.home-category-row .teacher_home_context_menu {
    position: absolute;
    align-self: center;
    right: 60px;
    left: auto;
    top: auto;
}

/* Home page Sub-chapter row - move teacher context menu to center right */
.sub-category-list-name .teacher_home_context_menu {
    position: absolute;
    right: 30px;
    top: auto;
    left: auto;
}

.teacher_home_context_menu_dropdown {
    margin-left: 0;
}

/* Home page Content row - move teacher context menu to center right */

.sub-category-list-container .sub-category-list-item .teacher_home_context_menu {
    position: absolute;
    right: 45px;
    left: auto;
    top: auto;
}

.teacher .sub-category-list-item-container {
    padding-left: 10px;
}

/* Forum page styling divs changed to buttons */
.forum_dropdown_button {
    border: none;
    padding: 0;
    margin: 14px;
    background-color: transparent;
    border-bottom: 2px solid #B1B4B4;
}

.forum_dropdown_button span {
    float: left;
}

.forum_dropdown_button_text_wrapper {
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.forum_dropdown_button_text_wrapper i {
    font-size: 20px;
}

@media (min-width: 768px) {
    .forum_dropdown_button_row {
        display: flex;
        flex-direction: row;
    }
}

/* new forum ui tweaks */
.page-header.flat-header.-forum-post {
    margin-top: -1px;
}

.container-fluid.view_forum {
    margin-top: 0 !important;
}

.question_answers .question-answers-label,
.question_view_question_wrapper,
.view_forum .post_wrapper,
.question_view_box,
.forum-question,
.question_view_answer_wrapper,
.question_view_comment_comment_link_text,
.question_view_comment_wrapper,
.tag-dropdown .dropdown-toggle,
.tag-dropdown:hover>.dropdown-menu {
    border-radius: 0 !important;
}

.forum-answer-red {
    background-color: #ff2525;
}

.tag-dropdown .dropdown-toggle {
    background-color: #1B6FC6;
}

.tag-dropdown:hover>.dropdown-toggle,
.tag-dropdown .dropdown-toggle:hover {
    color: #1B6FC6;
    background-color: #FFFFFF;
}

.tag-dropdown:hover>.dropdown-menu {
    border-color: #1B6FC6;
}

.tag-dropdown:hover>.dropdown-menu span {
    display: inline-block;
}

/* disablereport problem */
#report_problem {
    display: none;
}

/* remove the stopp button at the end of a package since the home button is always in the menu navbar */
#exercise_last_home_button {
    display: none;
}

/* style for arrow to expand solution when correct answer is given */
.package-append-solution {
    border: none;
}

.package-append-solution:hover {
    background-color: transparent;
}

/* vertically center chapter header name and grade column */
.category-title {
    flex-direction: row;
    align-items: center;
}

.category-list-container h3 {
    padding: 0 15px 0 5px;
}

.category-grade-col {
    padding-top: 0;
}

/* hide the mobile readspeaker player */
#rsmpl_container {
    visibility: hidden !important;
}

/* make the color of the text in the content name link black */
.sub-category-list-item .content_name {
    color: #343434 !important;
}

/* remove underline on link hover */
a.active_link:focus,
a.active_link:hover {
    text-decoration: none;
}

/* add styling to add readspeaker and other list items to dropdown menu for mobile (menu collapses at width 767 pixels) */
@media (max-width: 767px) {
    .menu-profile {
        float: none;
    }

    .menu-profile li {
        padding-left: 12px;
    }
}

/* hide the outline on the search bar field */
#dropdown_search_input:focus {
    outline: none;
}

/* change the background on search results on hover */
#search_results_list a:hover,
#search_results_list a:focus {
    background-color: #ffffff;
}

/* hide the link to the documentation on how to write a formula */
.how-to-write-formula {
    display: none;
}

/* add contrast to blue text on class widget on homepage */
.widget-class-button {
    color: #0073ae;
}

.widget-class-button:hover,
.widget-class-button:focus {
    color: #004C72;
}

/* add contrast on hover color for teacher context menu */
.teacher_home_context_menu_dropdown .dropdown-menu button:hover,
.teacher_home_context_menu_dropdown .dropdown-menu button:focus {
    color: #ffffff;
    background-color: #5c5f64;
}

.mce-readspeaker-tinymce {
    display: inline-block;
}

/* add custom style for ReadSpeaker button in tinymce editor */
.mce-readspeaker-tinymce button i {
    background-size: contain;
    background-repeat: no-repeat;
}

/* remove the opacity on inactive class buttons that is causing bad color contrast on home page */
.class-inactive {
    opacity: 1;
}

/* hide the settings for text and font for ReadSpeaker simplified view */
#readspeaker34 {
    display: none;
}

/* hide all links to the teacher manual as the page is in English and some doesn't apply to Liber */
a[href='/docs/teacher_manual'] {
    display: none;
}

/* slightly move author edit buttons to give room beneath the fixed top menu */
#author_edit_buttons {
    margin-top: 58px !important;
    margin-left: -66px !important;
}

#side_button_bar li button{
    border-radius: 0 !important;
}

/* change the layout for creating a test */
#source-preview-course_material .mc_row {
    background-color: transparent;
}

#source-preview-course_material .mc_row:hover {
    background-color: transparent !important;
}

#source-preview-course_material .mc_checkbox {
    border: none;
}

#source-preview-course_material .mc_label {
    border: none;
}

#source-preview-course_material .mc_checkbox span {
    border-color: black;
    background-color: transparent;
}

#source-preview-course_material .mc_checkbox span:before {
    color: black;
    font-size: 23px;
}

/* end change layout for creating a test */

/* fix home page test widget layout issue */
.side-bar-tests-a.home-link {
    margin-left: 0;
}

.back_to_courses {
    display: none;
}

.white_page {
    margin-top: -40px;
}

/* demo menu bar */
.demo_menu_left,
.demo_menu_right,
.demo_menu_item {
    display: flex;
}

.demo_menu_item {
    height: 50px;
}

.demo_menu_item span {
    margin: auto 0;
}

.demo_menu_item:not(.demo_menu_item_link) {
    cursor: auto !important;
}

/* end demo menu bar */

/* Start public courses */
.chapters-header-text {
    font-style: normal;
}

.chapters-header-text img {
    width: 9vw !important;
    height: auto !important;
    cursor: pointer;
    padding: 0.5vw;
    background: #FFF;
}

.modal-body-line-1 {
    align-self: center;
    font-weight: bolder;
    font-size: 30px;
}

.modal-body-line-2 {
    margin-top: 30px;
    font-weight: bolder;
}

.modal-body-line-2,
.modal-body-line-3,
.modal-body-line-4,
.modal-body-line-5 {
    font-size: 18px;
    line-height: 40px;
}

.modal-body-line-5 {
    font-weight: bolder;
}

#liberModal .modal-content {
    position: fixed;
    width: 820px;
    margin: 50% 0 0 -110px;
    transform: translate(0, -50%);
}

#liberModal .modal-body {
    display: flex;
    flex-direction: column;
    padding: 15px 50px;
    height: 350px
}

#liberModal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 50px;
    background: #DDD
}

#liberModal .modal-footer:hover {
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .modal-body-line-1 {
        font-size: 20px !important;
    }

    .modal-body-line-2 {
        margin-top: 22px !important;
    }

    .modal-body-line-2,
    .modal-body-line-3,
    .modal-body-line-4,
    .modal-body-line-5 {
        font-size: 14px !important;
        line-height: 25px !important;
    }

    #liberModal .modal-content {
        margin: 200px auto 0 auto !important;
        width: 80vw !important;
    }
}

.chapters-popup {
    display: none !important;
}

.chapters-header-text {
    padding-right: 0 !important;
}

.chapters-header-text img {
    width: 12.603vw !important;
    padding: 1.112vw 1.853vw 1.112vw 1.483vw !important;
}

@media screen and (min-width: 1350px) {
    .chapters-header-text img {
        width: 170px !important;
        padding: 15px 25px 15px 20px !important;
    }
}

/* End public courses */

/* START style changes for test overview pages */
#test-top-nav .thumb_correct:after {
    margin-left: 26px;
    margin-top: 2px;
    position: absolute;
}

#test-top-nav .thumb_wrong:after {
    position: absolute;
    margin-left: 23px;
    margin-top: 4px;
}

#test-top-nav i.fa-list-ul {
    margin-top: 4px;
}

.grade_wrapper .thumb_correct:after,
.grade_wrapper .thumb_wrong:after {
    content: none;
}

.grade_wrapper .thumb_correct,
.grade_wrapper .thumb_wrong {
    border: none;
}

/* always hide the standard overview table for teachers */
.teacher_grade_test_overview_table {
    display: none !important;
}

/* always hide the adjust score input for teachers */
.teacher-adjust-score-grp {
    display: none !important;
}

.grade_comment_row,
.grade_result_row {
    display: none;
}

.test_total_feedback {
    display: none !important;
}

/* END style changes for test overview pages */

/* Hide option to create tests from exercises */
#test-sources .course_material_row {
    display: none !important;
}


/* style changes for skolon logout */

.skolon-menu-button {
    height: 24px !important;
    width: 24px !important;
    background-size: contain !important;
    background-repeat: no-repeat;
}

.skolon-logout-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.skolon-logout-container .menu-icon-with-text {
    align-items: center;
}

/* START style for test section select button */
#source-preview-test .panel-heading .mc_row {
    background: none;
}

#source-preview-test .panel-heading .mc_checkbox,
#source-preview-test .panel-heading .mc_label {
    border: none;
}

#source-preview-test .panel-heading .mc_checkbox span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

#source-preview-test .panel-heading .mc_checkbox span:before {
    font-size: 24px;
    margin-left: 0;
}

/* END style for test section select button */


/* change margin for adaptive mode */
.category-diagnostic-test-icon {
    margin: 0 10px 0 0;
}

/* hide psychometric data tab for test results */
#psychometric_analytics_tab {
    display: none;
}

/* liber open courses*/
/* LIBER CHAPTERS HEADER */
.liber-chapters-header-text {
    display: flex;
    align-items: center;
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    padding: 0 0 0 40px;

    font-size: 4vw;
    line-height: 4vw;
    font-weight: bold;
    font-style: normal;
    user-select: none;

    color: #FFF;
}

.liber-chapters-header-text img {
    margin-left: auto;
    width: 12.603vw !important;
    height: auto;
    padding: 1.112vw 1.853vw 1.112vw 1.483vw !important;
    background: #FFF;
}

@media screen and (min-width: 1350px) {
    .liber-chapters-header-text img {
        width: 170px !important;
        padding: 15px 25px 15px 20px !important;
    }
}

/* end open courses*/

/* fix home page dropdown width */
#scrollable .select2-container--bootstrap {
    width: 100% !important;
}

/* add space to bottom of theory pop out on exercises to show all the theory text */
#subcat-content-wrapper .theory_body {
    padding-bottom: 50px !important;
}

/* ace editor styling */
.editor {
    width: 100%;
}

#editor {
    width: 100%;
}

.ace_hidden-cursors .ace_cursor {
    opacity: 1;
}

.teacher-only-icon {
    color: #FFBA00;
}

/* START RAISED HAND FEATURE */

/* The switch - the box around the slider */
#enable-raised-hand-feature .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-bottom: 0;
}

/* Hide default HTML checkbox */
#enable-raised-hand-feature .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
#enable-raised-hand-feature .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#enable-raised-hand-feature .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#enable-raised-hand-feature input:checked + .slider {
    background-color: var(--color-primary);
}

#enable-raised-hand-feature input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
#enable-raised-hand-feature .slider.round {
    border-radius: 24px;
}

#enable-raised-hand-feature .slider.round:before {
    border-radius: 50%;
}

#enable-raised-hand-feature .switch-col-container {
    display: flex;
    align-items: center;
}

#enable-raised-hand-feature .switch-col-container > span {
    margin-left: 15px;
}

/* END RAISED HAND FEATURE */

/* START BREADCRUMBS */

/* exercise breadcrumbs are in a fixed position and need to be moved based on screen size */
@media (min-width: 768px) {
    .exercise-breadcrumbs {
        left: -35px;
    }
}

@media (min-width: 992px) {
    .exercise-breadcrumbs {
        left: 33px;
    }
}


/* hide the square after content shown for test breadcrumbs */
.test-breadcrumbs .test_thumb_selected:not(.thumb_wrong):not(.thumb_correct):after {
    display: none;
}

.test-breadcrumbs .test_thumb .test_thumb_number {
    margin-right: 35px;
}

#test-top-nav .thumb_correct:after,
#test-top-nav .thumb_wrong:after {
    margin-left: 0;
    margin-top: 1px;
    position: absolute;
}

.test_thumb_selected {
    color: #bcc4c7 !important;
}

.breadcrumbs-wrapper {
    --border-width: 3px;
    --indicator-color: #8D8F93;
    display: grid;
    gap: 8px 10px;
    grid-template-columns: max-content var(--breadcrumb-size) max-content;
}

.breadcrumbs-wrapper.with-bookmarks {
    grid-template-columns: max-content max-content var(--breadcrumb-size) max-content;
}

.breadcrumb-number.current-number:after, .breadcrumb-wrapper:has(.current-step) > .breadcrumb-number:after {
    border: 0;
    color: #5C5F64;
    content: "\f105";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 16px;
    height: auto;
    position: absolute;
    width: auto;
}

.breadcrumbs-wrapper .bookmark_icon {
    background: url(/images/icons/bookmark_exercise_grey.svg) no-repeat;
    cursor: pointer;
    height: 100%;
    opacity: .5;
    width: 10px;
}

.breadcrumbs-wrapper .bookmark_icon:hover {
    opacity: 1;
}

.breadcrumbs-wrapper .bookmark_active {
    background: url(/images/icons/bookmark_active.svg) no-repeat;
    opacity: 1;
}

.main-step:not(.test_thumb) {
    display: flex;
    /* updated from sticky to relative to solve bug with iPad not accepting sticky as a valid attribute */
    grid-column: span 2;
    position: relative;
}

.sub-steps {
    --breadcrumb-size: 25px;
    --main-step-order: 0;
    --sub-step-order: 0;
    height: var(--breadcrumb-size);
    width: var(--breadcrumb-size) !important;
}

.sub-steps .sub-step {
    display: inline-block;
    height: var(--breadcrumb-size);
    left: calc((var(--sub-step-order) - var(--main-step-order)) * 12px);
    position: absolute;
    width: var(--breadcrumb-size) !important;
    z-index: calc(0 - var(--sub-step-order));
}

.next-step,
.next-test-step {
    position: relative;
}

.test-breadcrumbs {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
    position: absolute;
    right: 25px;
}

.test_thumb_selected .test_thumb_number {
    color: #1B6FC6 !important;
    font-weight: bold;
}

.test_thumb_initial {
    background-color: #fff !important;
}

.test-thumb-wrapper .test_thumb,
.test_thumb {
    background-color: #1B6FC6;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.test_thumb:hover {
    background-color: #CCC !important;
}

.test-total.sw-label-success,
.thumb_correct,
.thumb_correct:not(.test-thumb-wrapper),
.thumb_correct .test_thumb {
    background-color: #389243 !important;
    color: white;
}

.thumb_correct:not(.try--selector):not(.attempt_viewer_history_box_selected):after,
.thumb_correct.sub-step:after,
.thumb_approx:not(.try--selector):not(.attempt_viewer_history_box_selected):after,
.thumb_approx.sub-step:after {
    border: 0;
    color: #FFFFFF;
    content: "\f00c";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 12px;
    height: auto;
    margin: 2px 0 0;
    position: absolute;
    width: auto;
    left: 3px;
}

.thumb_wrong,
.thumb_wrong:not(.test-thumb-wrapper),
.thumb_wrong .test_thumb {
    background-color: #EE372F !important;
    color: white;
}

.thumb_wrong:not(.try--selector):not(.attempt_viewer_history_box_selected):after,
.thumb_wrong.sub-step:after {
    border: 0;
    color: #FFFFFF;
    content: "\f00d";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 10px;
    font-weight: bold;
    height: auto;
    margin: 2px 0 0;
    position: absolute;
    width: auto;
    left: 5px;
}

.thumb_approx,
.thumb_error,
.thumb_approx:not(.test-thumb-wrapper),
.test_thumb_error:not(.test-thumb-wrapper),
.thumb_approx .test_thumb,
.test_thumb_error .test_thumb {
    background-color: #FFBA00 !important;
    color: white;
}

.thumb_approx .test_thumb_number:after
{
    color: #FFBA00;
    content: "\f00c";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 14px;
    margin-left: 13px;
    margin-top: 0;
    position: absolute;
}

.home-breadcrumb-wrapper .home-exercise_thumb.thumb_correct:after,
.home-breadcrumb-wrapper .home-exercise_thumb.thumb_approx:after,
.home-breadcrumb-wrapper .home-exercise_thumb.thumb_wrong:after
{
    font-size: 10px;
    left: 2px;
    top: -3px;
}

.exercise-breadcrumb-icon, .home-exercise-breadcrumb-icon{
    display: none;
}

.test-breadcrumbs-live .test_thumb_selected .test_thumb:not(.thumb_correct):not(.thumb_wrong):not(.thumb_approx) {
    background: #575757;
    border-color: #1B6FC6;
}

.test_thumb_empty .test_thumb {
    background: #888;
    color: #BCC4C7;
}

.exercise_thumb_popover {
    -webkit-box-shadow: none;
    border: 1px solid #61687D;
    box-shadow: none;
    padding: 0 !important;
}

.exercise_thumb_popover_btns>button:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.exercise_thumb_popover_btns>button {
    color: #594662;
    font-weight: bold;
    z-index: 1000;
}

.exercise_thumb_popover.right>.arrow:after {
    border-right-color: #594662;
}

.exercise_thumb_popover_btns>button:hover {
    background-color: #1B6FC6;
    border-color: #1B6FC6;
    color: #fff;
}

.current-step {
    background: #1B6FC6;
    border: var(--border-width) solid #1863B1;
    border-radius: 24px;
    outline: none;
}

.current-step:after,
.sub-step.current-step:after {
    display: none;
}

.attempt_viewer_history_box_selected.thumb_correct,
.try--selector.thumb_correct,
.try--selector.thumb_correct:hover {
    background-color: #00AE34 !important;
    border: 3px solid #00AE34 !important;
}

.attempt_viewer_history_box_selected.thumb_wrong,
.try--selector.thumb_wrong,
.try--selector.thumb_wrong:hover {
    background-color: #EE372F !important;
    border: 3px solid #EE372F !important;
}

.attempt_viewer_history_box_selected.test_thumb_error,
.try--selector.test_thumb_error,
.try--selector.test_thumb_error:hover {
    background-color: #FFBA00 !important;
    border: 3px solid #FFBA00 !important;
}

.attempt_viewer_history_box_selected {
    border-radius: 0;
}

.prev-test-step:after {
    position: inherit;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    transform: none;
    background: transparent;
    z-index: auto;
}

/* END BREADCRUMBS */

/* Author tabs */
.nav-tabs {
    --author-tabs-color: #0054AF;
    --author-tabs-active-color: #555;
    --author-tabs-border-color: #DDD;
    --author-tabs-active-border-bottom-color: white;
    --author-tabs-border-width: 1px;
    --author-tabs-border-radius: 0;
}

/* end Author tabs */
