﻿
#blazor-error-ui {
    font-family: "Roboto Mono", monospace;
    font-size: 24px;
    box-sizing: border-box;
    user-select: none;
    position: fixed;
    width: 35%;
    left: 35%;
    text-align: center;
    margin-bottom: 50px;
    background: #ffe500;
    color: #000;
    line-height: 50px;
    border-radius: 25px;
}

.reload {
    width: 20%;
    padding: 10px;
    color: white !important;
    background-color: black;
    border-radius: 25px;
    text-align: center;
    text-decoration: none !important;
}

#verysmall svg.mud-icon-size-medium {
    font-size: 0.75em;
}

#table_formatting td.mud-table-cell {
    padding: 0 !important;
}

.table-with-group td:first-child {
    width: 0px;
}

.lower-expansion-panel-content-padding div.mud-expand-panel-content {
    padding: 0px 4px 0px 4px !important;
}

.mud-file-upload {
    margin-top: 0 !important;
}

.main-category-extension-panel {
    /*background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(255,255,255,1) 5%);*/
    overflow: hidden;
}

    .main-category-extension-panel.header-image > .mud-expand-panel-header {
        /*background-image: url(blood2.png);*/
        background-repeat: repeat-x;
        background-size: contain;
    }

    .main-category-extension-panel.header-microlesson-image > .mud-expand-panel-header {
        background-image: url(pb.png);
        background-repeat: repeat-x;
        background-size: contain;
    }

    .main-category-extension-panel.header-image .mud-expand-panel-header {
        padding: 2px;
    }

        .main-category-extension-panel.header-image .mud-expand-panel-header h6 {
            padding: 8px 0;
        }

    .main-category-extension-panel .mud-expand-panel-header > svg.mud-icon-root {
        margin-right: 20px;
    }

.expand-panel-wrapper .mud-panel-expanded {
    border-bottom: solid !important;
    border-bottom-width: 1px !important;
}

.expand-panel-wrapper .mud-expand-panel:last-child {
    border-bottom: solid !important;
    border-bottom-width: 1px !important;
}

iframe#lesson {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
}

.no-selection {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.commentSection {
    user-select: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

    .commentSection:hover {
        border: 4px solid #e79829;
        transition: 0.1s;
    }

.commentSection-selected .commentSection {
    border: 4px;
    border-color: var(--mud-palette-primary);
    border-style: solid;
    pointer-events: none;
    -webkit-touch-callout: initial; /* iOS Safari */
    -webkit-user-select: initial; /* Safari */
    -moz-user-select: initial; /* Old versions of Firefox */
    -ms-user-select: initial; /* Internet Explorer/Edge */
    user-select: initial; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.commentCounter {
    border: 2px;
    border-radius: 50%;
    border-style: solid;
    top: 20px;
    left: 20px;
    position: absolute;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 35px;
    z-index: 9999999;
    font-weight: bold;
    color: white;
    background-color: black;
}

.commentCounter--unseen {
    color: black !important;
    background-color: steelblue !important;
}

.commentPanel {
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}

a {
    color: var(--mud-palette-info);
    text-decoration: none;
}

.mentioned {
    display: inline;
    color: var(--mud-palette-success);
}

    .mentioned:hover {
        background-color: var(--mud-palette-primary);
        opacity: 0.85;
        transition: 0.2s;
    }

a:hover {
    opacity: 0.85;
    transition: 0.1s;
}

.slide-in {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

@keyframes slide-in {
    0% {
        transform: translateX(150%);
    }

    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slide-in {
    0% {
        transform: translateX(150%);
    }

    100% {
        -webkit-transform: translateX(0%);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(150%);
    }
}

@-webkit-keyframes slide-out {
    0% {
        -webkit-transform: translateX(0%);
    }

    100% {
        -webkit-transform: translateX(150%);
    }
}

.commentBubble button {
    opacity: 100%;
}

.commentBubble:hover button {
    opacity: 100%;
    transition: .2s;
}

.commentBubble-selected {
    border: 2px solid var(--mud-palette-primary);
}

@media screen and (min-width: 1280px) {
    .mainlayout {
        display: flex;
    }

    .mainlayout-left {
        width: 15%;
    }

    .mainlayout-right {
        width: 15%;
    }

    .appBar {
        visibility: hidden;
        width: 0;
        height: 0;
    }
}

@media screen and (max-width: 1280px) {
    .mainlayout {
        padding-top: 0;
    }

    .mainlayout-left {
        width: 0%;
        visibility: hidden;
    }

    .mainlayout-right {
        width: 0%;
        visibility: hidden;
    }

    .appBar {
        visibility: visible;
        height: 2%;
    }

    .hide-on-small-size {
        visibility: hidden;
        display: none;
        height: 0;
    }
}

.table--no-border tr {
    border: none !important;
}

.table--no-border td:not(:has(div > .mud-table-row-expander)) {
     border: none !important;
}

.mud-table-row-very-small .mud-table-cell {
    padding-inline-end: 0px !important;
}

.mud-table-small-cells .mud-table-cell {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.comment_images_gallery .nGY2Gallery {
    text-align: left !important;
}

.mud-tooltip-root .mud-popover-cascading-value {
    max-width: 100px;
}

.mud-drop-item {
    cursor: default !important;
}

.mud-table-container > table {
    table-layout: fixed;
}

.mud-table-root > .mud-table-body:last-child > .mud-table-row:last-child > .mud-table-cell:has(b) {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.mud-table-root > .mud-table-body:last-child > .mud-table-row:last-child > td:has(div > .mud-table-row-expander) {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.no-scroll .mud-tabs-tabbar-wrapper {
    transform: translateX(0) !important;
}

.no-scroll .mud-tabs-scroll-button {
    visibility: hidden;
    width: 0px;
}

.selectedTaskRow {
    animation-delay: 1s;
    animation: selectedTaskAnim 1s ease;
}

@keyframes selectedTaskAnim {
    from {
        outline: 2px dashed rgb(75, 187, 217, 1);
    }

    to {
        outline: 2px dashed rgb(75, 187, 217, 0);
    }
}

.dragable:hover {
    color: black;
}

.categoryPanel {
    height: 80%;
    width: 80vw;
}

.navigationPanel {
    width: 80vw;
}

.languageContainer{
    position: relative;
}

.languagePopOver {
    position: absolute;
    top: 48px;
    right: 48px;
}

.popover-invisible{
    opacity: 0;
    cursor: auto;
}

.popover-visible{
    opacity: 1;
    cursor: pointer;
}

.newCommentLineDiv{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: -16px;
}

.commentIconDiv{
    position: relative;
    display: flex;
}

.newCommentIconLabel{
    position: absolute;
    color: whitesmoke;
    top: 5px;
    right: 8px;
    font-size: 10px;
    font-weight: bold;
}

.newCommentLine {
    border-top: 2px solid var(--mud-palette-error);
    width: 100%;
    height: 0px;
    margin-left: -3px;
}

.editorCharacterCountDiv{
    display: flex;
    justify-content: start;
    padding-left: 10px;
    margin-bottom: -22px;
}

.itemGroupBorder {
    border: 1px solid var(--mud-palette-lines-default);
}

.itemGroupBorder tr:last-child > td > hr{
    opacity: 0;
}

.comment-text > ol{
    padding-left: 20px;
}

.comment-text > ul{
    padding-left: 20px;
}

.disabled-to-group-assign {
    background-color: var(--mud-palette-action-disabled-background);
}

.language-table-row:hover{
    background-color: transparent !important;
}