﻿:root {
    --lightborder: #abadb3;
    --darkbackground: #494A4D;
    --background-hover: #f5f5f5;
}

.flex-grow-2 {
    flex-grow: 2;
}

.flex-grow-3 {
    flex-grow: 3;
}

.flex-grow-4 {
    flex-grow: 4;
}

.teditgrid {
    width: fit-content;
}

    .teditgrid:focus {
        outline: none;
    }

.teditgridborder {
    border-left: 1px solid var(--lightborder);
}

.tcellrowhover {
    visibility: hidden !important;
    opacity: 0.4;
    user-select: none;
}

.teditrow {
    width: fit-content;
    min-height: 20px;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--lightborder);
}
    .teditrow.tselected{
        background-color: rgba(var(--mud-palette-primary-rgb),0.25);
    }
    .teditrow.tselected:hover {
        background-color: rgba(var(--mud-palette-primary-rgb),0.4);
    }

    .teditrow:hover {
        background-color: var(--background-hover);
    }

        .teditrow:hover .tcellrowhover {
            visibility: visible !important;
        }


/*.teditrow .editcell {
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}*/

.theaderrow {
    width: fit-content;
    min-height: 25px;
    display: flex;
    flex-direction: row;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: bold;
}

.tcellbutton {
    fill: var(--mud-palette-text-primary);
    height: 1.5rem;
    width: 1.5rem;
}

.tcellheader {
    white-space: pre;
    overflow: hidden;
    margin-top: -4px;
    margin-bottom: -4px;
    display: flex;
    margin-left: -5px;
    margin-right: -5px;
    background-color: transparent;
    padding-top: 8px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

    .tcellheader:focus-within {
        background-color: var(--mud-palette-primary);
    }
    .tcellheader:hover {
        background-color: var(--mud-palette-primary);
        filter: brightness(110%);
    }

.theadertext {
    flex-grow: 1;
    user-select: none;
}

.tcellsvg {
    fill: var(--mud-palette-primary-text);
    height: 25px;
    width: 25px;
}

.tcellcontainerborder {
    border-right: 1px solid var(--lightborder);
}

.tcellheadercontainer {
    margin-top: 0px;
    position: relative;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: transparent;
    padding-top: 4px;
    padding-bottom: 4px;
}

.tcellreadonlycontainer {
    margin-top: 0px;
    position: relative;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: transparent;
    padding-top: 4px;
    padding-bottom: 4px;
}

.tcellcontainer {
    margin-top: 0px;
    position: relative;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: transparent;
    padding-top: 4px;
    padding-bottom: 4px;
}

    .tcellcontainer:focus {
        outline: none;
        border: 1.5px dashed var(--lightborder);
    }

    .tcellcontainer:focus-within {
        border: 1.5px dashed var(--lightborder);
        background: white;
    }

.toverflowhidden {
    overflow: hidden;
    top: 0%;
    position: static;
}

.teditcell {
    white-space: pre;
    padding: 0px;
    position: relative;
    margin: 0px;
    border: 0;
    width: auto;
    background-color: transparent;
}

    .teditcell:focus {
        outline: none;
    }

.cellcurrent {
    border: 1.5px dashed var(--lightborder);
}

.tcelleditor {
    white-space: pre;
    padding: 0px;
    margin: 0px;
    border: 0;
    width: 98%;
    align-items: center;
    background-color: transparent;
    border-bottom: 1.5px solid var(--lightborder);
}

    .tcelleditor:focus {
        outline: none;
    }


.tfontLarge {
    font-size: 1.05em;
}

.tfontSmall {
    font-size: 0.92em;
}

.tfontBold {
    font-weight: 600;
}

.tfontItalic {
    font-style: italic;
}

.tcellviewer {
    white-space: pre;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 8px;
    padding-left: 8px;
    margin: 0px;
    width: auto;
    border: 1px;
    background-color: transparent;
}

.tstackedcolumn {
    white-space: pre;
    outline-color: red;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .tstackedcolumn > * {
        white-space: pre;
    }

/*.tstackedcolumn > .tcellviewer {
        display: block;
    }*/


.tstackedrow {
    width: auto;
}

    .tstackedrow > * {
        display: inline;
    }

/*    .tstackedrow > .tcellviewer {
        display: block;
    }
*/

.teditdropdown {
    overflow: inherit;
    height: min-content;
    display: inline-block;
    position: relative;
    white-space: normal;
}

.teditinnerdropdown{
    position: static;
}
/*.editdropdown:focus .editdropdown-content {
        display: block!important;
    }*/
/*.editdropdown:focus-within .editdropdown-content {
        display: block!important;
    }*/

.teditdropdown-dropdown {
    visibility: hidden;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 180px;
    width: max-content;
    min-height: 100px;
    overflow-y: auto;
    max-height: 450px;
    border-radius: .25rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 5px 5px;
    z-index: 1;
}

    .teditdropdown-dropdown.tvisible {
        visibility: visible;
    }
/*@keyframes fadeInFromNone {
    0% {
        visibility: hidden;
        opacity: 0;
    }

    1% {
        visibility: visible;
        opacity: 0;
    }

    100% {
        visibility: visible;
        opacity: 1;
    }
}
*/
.teditcalendar {
    width: fit-content;
    display: block;
}

.teditcalendar-header {
    height: 35px;
    font-size: 1.1rem;
    line-height: 35px;
    display: flex;
    background-color: var(--mud-palette-primary);
    -webkit-justify-content: space-around;
    justify-content: space-around;
    color: var(--mud-palette-primary-text);
}

.teditcalendar-button {
    background-color: inherit;
    border: none;
    color: var(--mud-palette-primary-text);
    font-size: 1.1rem;
    line-height: 35px;
    cursor: pointer;
    outline: none;
}

    .teditcalendar-button:hover {
        background-color: inherit;
        filter: brightness(110%);
    }

.teditcalendar-row {
}

.teditcalendardayofweek {
    text-align: center;
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    width: 30px;
    color: var(--mud-palette-text-primary);
    height: 30px;
    margin: 3px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.teditcalendarday {
    text-align: center;
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    width: 30px;
    color: var(--mud-palette-text-primary);
    height: 30px;
    margin: 3px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

    .teditcalendarday:hover {
        background-color: rgba(211, 211, 211, 0.7);
        color: black;
    }

    .teditcalendarday.tcurrentday {
        background-color: var(--mud-palette-primary);
        font-weight: bold;
        color: var(--mud-palette-primary-text);
    }

    .teditcalendarday.tnotcurrentmonth {
        color: lightslategray;
        opacity: 0.5;
    }

.tsvgbutton {
    height: 25px;
    width: 25px;
}

.teditlist {
    display: flex;
    width: 100%;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}
    .teditlist:focus {
        outline: none;
    }

.teditlist-item {
    width: 100%;
    min-height: 1.5rem;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    color: var(--mud-palette-text-primary);
}
    .teditlist-item:hover {
        background-color: var(--background-hover);
    }
    .teditlist-item.tselected {
        background-color: rgba(var(--mud-palette-primary-rgb),0.4);
    }

.tfont22{
    font-size: 22px;
}
.tfont20{
    font-size: 20px;
}
.tfont18 {
    font-size: 18px;
}
.tfont16{
    font-size: 16px;
}
.tfont14 {
    font-size: 14px;
}
.tfont12{
    font-size: 12px;
}
.tfont10{
    font-size: 10px;
}

.tfillpanel{
    width: 100%;
}

.tbody{
    overflow-y: auto;
}


