.h5peditor .ui-dialog .h5p-joubelui-button, .h5peditor .h5p-joubelui-button, .h5p-joubelui-button {
    background: #191919;
    color: #ffffff;
}
.h5peditor .ui-dialog .h5p-joubelui-button, .h5peditor .h5p-joubelui-button, .h5p-joubelui-button:hover,.h5peditor .ui-dialog .h5p-joubelui-button, .h5peditor .h5p-joubelui-button, .h5p-joubelui-button:active{
    background: #191919;
    box-shadow: none;
}
/* .h5p-true-false-answer:hover{
    border-color: #8C1D40;
} */
/* .h5p-blanks .h5p-text-input:focus,.h5p-true-false-answer:focus{
    box-shadow: 0 0 0.5em 0 #8C1D40;
    border-color: #8C1D40;
} */
/* .progress-dot.current{
    background: #8C1D40;
} */
/* .h5p-true-false-answer[aria-checked=true]{
    background: #8c1d403d;
    border-color: #8C1D40;
    color: #000;
} */
/* .h5p-multichoice .h5p-answer[aria-checked="true"] .h5p-alternative-container{
    color: #000;
    background: #8c1d403d;
    box-shadow: 0 0.1em 0 #8C1D40;;
} */
/* .h5p-question-feedback{
    color: #8C1D40;
} */
.h5p-joubelui-button:hover, .h5p-joubelui-button:focus{
    background: #191919;
}
.h5p-question-image img{
    object-fit: contain !important;
}

.h5p-question .h5p-question-buttons {display: flex;justify-content: flex-start;align-items: center;}
.h5p-question .h5p-question-buttons .h5p-question-check-answer{
    order: 4;margin-left: 
    auto;background: #FFF;
    color: #191919;
    border: 2px solid #191919;
    font-size: 14px;
    font-weight: 700;
    height: 35px;
    margin-right: 0px;
    padding: 8px 24px;
}
.h5p-question .h5p-question-buttons .h5p-question-check-answer:before {content: "\F00C";}
.h5p-question .h5p-question-buttons .h5p-question-next{order: 3;margin: 0;}
.h5p-question .h5p-question-buttons .qs-footer{order: 2;margin: 0 15px 0 10px;}
.h5p-question .h5p-question-buttons .h5p-question-show-solution{
    order: 5;
    margin-left: auto;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 700; 
    height: 35px;
    margin-right: 0px;
}
.h5p-question .h5p-question-buttons .h5p-question-prev{order: 1;}
.h5p-question .h5p-question-buttons .disabled{cursor: not-allowed;pointer-events: none;background-color: #BFBFBF;color: #FFF;border: 1px solid #BFBFBF;}
.h5p-question .h5p-question-buttons .qs-footer .progress-text{font-size: 14px;font-weight: 700;}
.h5p-question .h5p-question-buttons.h5p-question-visible {margin-top: 2em;}
/* .h5p-nav-group{
    display: flex;
    margin: 0 auto;
    align-items: center;
    order: 2;
    position: relative;
}
.h5p-question-check-answer.h5p-joubelui-button{
    margin-right: -6% !important;
}

.h5p-question-finish .h5p-joubelui-button{
    padding-right: 0px !important;
}
/* .h5p-question-show-solution.h5p-joubelui-button{
    margin-right:9.5% !important;
} */
.h5p-question-buttons.has-scorebar:has(> .h5p-nav-group:only-child) {
    width: unset !important;
} */
.h5p-joubelui-button:before {
    padding-right: 0px !important;
}
/* .h5p-question-visible:has(> button.h5p-question-finish) {
    width: 100%;
} */
.h5p-question-finish.h5p-joubelui-button{
    order: 6;
    margin-right: 0px;
    width: 90px;
    height: 35px;
    font-size: 14px;
    font-weight: 700;
    margin-left: auto;
}
.learningmap-asset-viewer-wrapper .h5p-container.h5p-standalone:not(:has(> .questionset-results)) {
    padding-bottom: 75px;
}

.h5p-question-buttons.h5p-question-visible{
    width: 100%;
}

.h5p-question .h5p-question-finish:before {
    content: "" !important;
    padding-right: 0px !important;
} 

.h5p-question-buttons:has(.h5p-question-show-solution + .h5p-question-try-again) .h5p-question-show-solution,
.h5p-question-buttons:has(.h5p-question-try-again + .h5p-question-show-solution) .h5p-question-show-solution {
  margin-left: 0;
}

.h5p-question-buttons:has(.h5p-question-prev + .h5p-question-try-again) .h5p-question-show-solution {
  margin-left: 0;
}
.h5p-question-try-again.h5p-joubelui-button{
    background: white;
    color: black;
    border-color: black;
    border: 2px black solid;
    order: 4; 
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    margin-right: 0px;
    padding: 8px 24px;
}
.h5p-question-show-solution.h5p-joubelui-button{
    background: white;
    color: black;
    border-color: black;
    border: 2px black solid; 
    font-size: 14px;
    font-weight: 700;
    padding: 8px 24px;
}

.h5p-question-scorebar.h5p-question-visible{
    margin-bottom: 0px !important;
}

.h5p-question-buttons.h5p-question-visible.has-scorebar {
    margin-top: 16px !important;
}
.h5p-question-buttons.h5p-question-visible{
    margin-top: 24px !important;
}

.h5p-question-buttons:has(.h5p-question-show-solution):has(.h5p-question-try-again):has(.h5p-question-finish) .h5p-question-show-solution,
.h5p-question-buttons:has(.h5p-question-show-solution):has(.h5p-question-prev):has(.h5p-question-try-again) .h5p-question-try-again,
.h5p-question-buttons:has(.h5p-question-show-solution):has(.h5p-question-try-again):has(.h5p-question-finish) .h5p-question-try-again,
.h5p-question-buttons:has(.h5p-question-check-answer + .h5p-question-finish) .h5p-question-check-answer,
.h5p-question-buttons:has(.h5p-question-try-again + .h5p-question-finish) .h5p-question-try-again,
.h5p-question-buttons:has(.h5p-question-show-solution + .h5p-question-finish) .h5p-question-show-solution  {
  margin-right: 16px;
}

.h5p-question-buttons:has(.h5p-question-check-answer + .h5p-question-finish) .h5p-question-finish,
.h5p-question-buttons:has(.h5p-question-show-solution):has(.h5p-question-try-again):has(.h5p-question-finish) .h5p-question-finish,
.h5p-question-buttons:has(.h5p-question-try-again + .h5p-question-finish) .h5p-question-finish,
.h5p-question-buttons:has(.h5p-question-show-solution + .h5p-question-finish) .h5p-question-finish {
    margin-left: 0px;
}

/* remove the below css when button for reuse and embed is disabled permanently */
.h5p-question-content{
    margin: 0rem !important;
}

.h5p-question-introduction {
    margin: 0rem !important;
}

.h5p-question-buttons.h5p-question-visible {
    margin-left: 0px !important;
}

.h5p-content {
    border: none !important;
}
.h5p-question-scorebar.h5p-question-visible {
    margin: 0px !important;
}
/* remove the above css when button for reuse and embed is disabled permanently */