[x-cloak] { display: none !important; }

.uppy-Dashboard-inner {
   /* background-color: transparent;
    border: none;
    */
}

.was-validated .form-control-solid:invalid, .form-control-solid.is-invalid,
.fv-plugins-bootstrap5-row-invalid .form-control-solid {
    border-color: var(--bs-form-invalid-border-color);
}

.feedback-container.valid-feedback, .feedback-container.invalid-feedback.is-invalid{
    display: block;

}

.invalid-feedback{
    font-size: 1.1rem;
}

.card-box-active {
    background-color: #FFFCEDFF !important
}


.btn-outline-info {
    --bs-btn-disabled-border-color: #9b9fa6;
}

.question-text p{
    margin-bottom:0; !important;
}

.filepond--root { font-size: 1.3rem; }

.filepond--root .filepond--credits {
    display: none;

}
.filepond--root .filepond--image-preview {
   // background: #004391;
}

.simple-drop {
    min-height: auto;
    padding: 1.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    border: 1px dashed var(--bs-primary);
    background-color: var(--bs-primary-light);
    border-radius: 0.475rem !important;
}

.lesson-list-item:hover {
    background-color: var(--bs-primary-bg-subtle);
    cursor: pointer;
}

.module-header {
        font-weight: 500;
        font-size: 1.275rem;
        color: var(--bs-text-gray-900);
}

.modules-top-header {
    font-weight: 500;
    font-size: 1.275rem;
    color: var(--bs-text-gray-900);

    padding: 1em;
}

.add-content-button {
        border: 1px dashed var(--bs-border-dashed-color);
        border-radius: 0.85rem;
}

@media (min-width: 651px) {
    .ce-block__content, .ce-toolbar__content {
        max-width: calc(100% - 80px) !important;
        margin: 0 60px 0 0;
    }
}

.cdx-block {
    max-width: 100% !important;
}

.handle-primary .noUi-handle {
    background-color: var( --bs-primary );
}

.ce-block__content,
.ce-toolbar__content {
    max-width: unset;
}

/* Apply the block width to EditorJS elements */
.ce-block__content,  /* Content inside each block */
.ce-block,           /* The block wrapper */
.codex-editor__redactor, /* Main editing area */
.ce-toolbar__content { /* Toolbar content for editing */
    max-width: var(--block-width); /* Use the block width set in :root */
    width: var(--block-width); /* Apply the block width */
    /*    margin: 0 auto; Center the blocks
    margin-left: 20px;
     */

}

/* Adjust the toolbar position in narrow mode (optional) */
.codex-editor--narrow .ce-toolbar__actions {
}


.audio-player {
    --player-button-width: 3em;
    --sound-button-width: 2em;
    --space: .5em;
}

.icon-container {
    width: 100%;
    height: 100%;
    background-color: var( --bs-primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-icon {
    width: 90%;
    height: 90%;
}

.controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.player-button {
    background-color: transparent;
    border: 0;
    width: var(--player-button-width);
    height: var(--player-button-width);
    cursor: pointer;
    padding: 0;
}

.playertimeline {
    -webkit-appearance: none;
    width: calc(100% - (var(--player-button-width) + var(--sound-button-width) + var(--space)));
    height: .5em;
    background-color: #e5e5e5;
    border-radius: 5px;
    background-size: 0% 100%;
    background-image: linear-gradient(var( --bs-primary), var( --bs-primary));
    background-repeat: no-repeat;
    margin-right: var(--space);
}

.playertimeline::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    background-color: var( --bs-primary);
}

.playertimeline::-moz-range-thumb {
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    background-color: var( --bs-primary);
}

.playertimeline::-ms-thumb {
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    background-color: var( --bs-primary);
}

.playertimeline::-webkit-slider-thumb:hover {
    background-color: var( --bs-primary);
}

.playertimeline:hover::-webkit-slider-thumb {
    opacity: 1;
}

.playertimeline::-moz-range-thumb:hover {
    background-color: var( --bs-cyan );
}

.playertimeline:hover::-moz-range-thumb {
    opacity: 1;
}

.playertimeline::-ms-thumb:hover {
    background-color: var( --bs-cyan );
}

.playertimeline:hover::-ms-thumb {
    opacity: 1;
}

.playertimeline::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.playertimeline::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.playertimeline::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.sound-button {
    background-color: transparent;
    border: 0;
    width: var(--sound-button-width);
    height: var(--sound-button-width);
    cursor: pointer;
    padding: 0;
}

.file-attachment-link {
    color: #3a3a3a;
    text-decoration: none;

    margin-bottom: 2em;
}

.file-attachment {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #EFF0F1;
    border-radius: 7px;
    background: #fff;

    .file-info {
        display: grid;
        grid-gap: 4px;
        max-width: calc(100% - 80px);
        margin: auto 0;
        flex-grow: 2;

        color: #3a3a3a;
        text-decoration: none;
    }

    .download-button {
        display: flex;
        align-items: center;
        background: #F8F8F8;
        padding: 6px;
        border-radius: 6px;
        margin: auto 0 auto auto;
    }

    .download-button:hover {
        background: #f2f2f2;
    }

    .download-button svg {
        width: 20px;
        height: 20px;
        fill: none;
    }

    .file-icon {
        position: relative;
    }

    .file-icon-background {
        background-color: rgb(219, 47, 47);

        width: 27px;
        height: 30px;
        margin-right: 12px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .file-icon-label {
        position: absolute;
        left: 3px;
        top: 11px;
        background: inherit;
        text-transform: uppercase;
        line-height: 1em;
        color: #fff;
        padding: 1px 2px;
        border-radius: 3px;
        font-size: 10px;
        font-weight: bold;
        /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.22); */
        font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
        letter-spacing: 0.02em;
        background-color: rgb(219, 47, 47);
    }

    .file-icon svg {
        width: 20px;
        height: 20px;
    }

    .file-icon path {
        stroke: #fff;
    }

    .size {
        color: #707684;
        font-size: 12px;
        line-height: 1em;

        text-decoration: none;
    }

    .size::after {
        content: attr(data-size);
        margin-left: 0.2em;
    }

    .title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        outline: none;
        max-width: 90%;
        font-size: 14px;
        font-weight: 500;
        line-height: 1em;
    }

    .title:empty::before {
        content: attr(data-placeholder);
        color: #7b7e89;
    }

    @supports(-webkit-mask-box-image: url('')){

        .file-icon-background {
            border-radius: 0;
            -webkit-mask-box-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10.3872C0 1.83334 1.83334 0 10.3872 0H13.6128C22.1667 0 24 1.83334 24 10.3872V13.6128C24 22.1667 22.1667 24 13.6128 24H10.3872C1.83334 24 0 22.1667 0 13.6128V10.3872Z' fill='black'/%3E%3C/svg%3E%0A") 48% 41% 37.9% 53.3%
        };
    }
}

