/* .h5p-link a{
    color: #191919;
} */

.h5p-answer .h5p-alternative-container .MathJax_Display{
    margin: 0px !important;
}
.h5p-answer .h5p-alternative-container {
    line-height: 1em !important;
}
.h5p-answer.h5p-should .h5p-alternative-container {
    background: #b6e4ce !important;
    border-color: #b6e4ce !important;
    color: #255c41 !important;
    box-shadow: 0 0.1em 0 #a2bdb0 !important;
}
.h5p-multichoice .h5p-answer.h5p-should:not(.h5p-correct) .h5p-alternative-container:before {
    font-family: 'H5PFontAwesome4';
    border: medium none;
    display: block;
    height: 1em;
    width: 1em;
    position: absolute;
    left: 2.5em;
    top: 0.5em;
    margin: auto;
    text-decoration: none;
    content: "\f00c"!important;
    color: #255c41!important;
}
.h5p-multichoice .h5p-answer-icon {
    top: 0.4em!important;
}

/* Show user selection for radio buttons  */
.h5p-multichoice .h5p-answer .h5p-solution-icon-radio:before {
    content: "\e600" !important;
}
.h5p-multichoice .h5p-answer.h5p-wrong .h5p-solution-icon-radio:before,
.h5p-multichoice .h5p-answer.h5p-correct .h5p-solution-icon-radio:before  {
    content: "\e603" !important;
}

/* Show user selection for checkboxes  */
.h5p-multichoice .h5p-answer .h5p-solution-icon-checkbox:before {
    content: "\e602" !important;
}
.h5p-multichoice .h5p-answer.h5p-wrong .h5p-solution-icon-checkbox:before,
.h5p-multichoice .h5p-answer.h5p-correct .h5p-solution-icon-checkbox:before  {
    content: "\e601" !important;
}

.h5p-summary-table-header.score span{
    color: #747474 !important; 
}

.h5p-control.h5p-time{
    color: white !important;
}

/* active progressbar */
.h5p-joubelui-progressbar-background
{
    background: #006bb3 !important;
}

/*  progressbar background */
.h5p-joubelui-progressbar{
    background: #e8e8e8 !important;
}

.h5p-joubelui-score-bar-progress{
    background: #298557 !important;
}
*::-webkit-scrollbar 
{
    display: none;
}
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  

   /* custom ckeditor styles */
.ckerditor-custom-container {
    position: relative;
}

.ckerditor-custom-container:hover .overlay {
    opacity: 1;
}

.display-inline-block {
    display: inline-block;
}

.display-block {
    display: block;
}

.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: black;
    height: 100%;
    top: 0;
    opacity: 0;
    left: 0;
    right: 0;
    transition: .3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive::before {
    display: block;
    content: "";
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
}
.embed-responsive-21by9::before {
    padding-top: 42.857143%;
}
.embed-responsive-4by3::before {
    padding-top: 75%;
}
.embed-responsive-1by1::before {
    padding-top: 100%;
}

.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media print {
  /* Watermark */
  .h5p-iframe::before {
    content: "Material is protected by copyright"; /* Change the text as needed */
    color: #747474; /* color for watermark */
    font-size: 3em; /* Adjust the size as necessary */
    font-weight: bold;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg); /* Rotate to make diagonal */
    z-index: 9999;
    white-space: nowrap;
    opacity: 0.2; /* Make it more transparent */
    pointer-events: none;
  }
  .global_header{
    display:none;
  }
  #default-footer{
    display:none;
  }
}