.DisplayNone{display: none;}

.Link{
    text-decoration: none;
    color: inherit;
}

#MT_Container{
    position: relative;
    margin: 0 auto;
    /*font-family: Helvetica;
    font-size: small;*/
}

    #TableMenu{
        height: 60px;
        background-color: lavender;
    }

        .TopHeaderButton{
            display: inline-block;
            width: fit-content;
            margin: 10px;
            padding: 10px;
            font-weight: 700;
            background-color: white;
            border: 1px solid gray;
            border-radius: 3px;
            cursor: pointer;
        }

        .TopHeaderButton:hover{
            background-color: lavenderblush;
        }

            #SearchAllColumnsContainer{
                position: absolute;
                top: 47px;
                margin: 0 0 0 -11px;
                width: fit-content;
                padding: 10px;
                border: 1px solid grey;
                border-radius: 3px;
                background-color: white;
                z-index: 60;
            }

            #ExportSelectionContainer{
                position: absolute;
                top: 47px;
                margin: 0 0 0 -11px;
                width: fit-content;
                padding: 10px;
                border: 1px solid grey;
                border-radius: 3px;
                background-color: white;
                box-shadow: 3px 3px 6px grey;
                z-index: 60;
            }

                .ExportButton{
                    /*display: block;*/
                    padding: 10px;
                    width: 100%;
                    text-align: left;
                    border: 0;
                    background-color: white;
                    cursor: pointer;
                }

                .ExportButton:hover{
                    background-color: lavenderblush;
                    border: 1px solid gray;
                }
        
    
        #TableMenuColumns{
            position: absolute;
            margin: -10px 0 0 10px;
            padding: 15px;
            background-color: white;
            border: 1px solid gray;
            box-shadow: 3px 3px 6px grey;
            z-index: 60;
        }

            .ColumnsGroup{
                padding: 0 0 10px;
                border-bottom: 1px solid lavender;
            }
        
                .ColumnsGroupTitle{
                    margin: 10px 0 3px;
                    font-weight: 700;
                }

                .TableMenuColumnsCheckboxContainer{
                    display: inline-block;
                    padding: 5px;
                }

                .TableMenuColumnsCheckboxContainer:hover{
                    background-color: lavenderblush;
                }
                            
                .CheckboxToggleColumn{
                    -webkit-appearance: none;
                    -moz-appearance: none;
                    appearance: none;
                    height:15px;
                    width:15px;
                    border: 1px solid gray;
                }

                .CheckboxToggleColumn:checked{
                    padding: 2px;
                    background: gray;
                    background-clip: content-box;
                }

                .LabelToggleColumn{
                    vertical-align: super;
                    cursor:pointer;
                }


    #TableResultsInfo{
        margin: 10px 0;
        padding: 10px;
        text-align: center;
        color: darkslategray;
        font-size: larger;
    }


    /*#MT_TableDataContainer {
        transform: rotateX(180deg);
    }

    #MT_TableDataContainer * {
        transform: rotateX(180deg);
    }*/


    
    #MT_HeaderRow{
        width: 100%;
        overflow: hidden;
    }

    #MT_SummatoryRow{
        width: 100%;
        overflow: hidden;
    }

    .MT_Row{
        width: 100%;
        height: 47px;
        overflow: hidden;
    }

        #RowHeaderCheckboxContainer{
            /*position: absolute;*/
            display: inline-block;
            height: 57px;
            width: 45px;
            background-color: lavender;
            border: 1px solid gray;
            vertical-align: top;    
        }

            #RowHeaderCheckboxContainer input{
                margin: 20px 15px;
            }

            .RemoveSearchButton{
                position: absolute;
                /*top: -6px;
                right: 0px;*/
                top: -3px;
                right: 2px;
                color: firebrick;
                /*font-size: x-large;*/
                font-size: larger;
            }

            .OrderSearchButton{
                position: absolute;
                bottom: -3px;
                right: 2px;
                font-size: larger;
            }

        #RowSummatoryCheckboxContainer{
            /*position: absolute;*/
            display: inline-block;
            height: 45px;
            width: 45px;
            border: 1px solid lavender;
            background-color: aliceblue;
            vertical-align: top;    
        }
    
        .RowCheckboxContainer{
            display: inline-block;
            height: 45px;
            width: 45px;
            border: 1px solid lavender;
            vertical-align: top;
        }

            .RowCheckboxContainer input{
                margin: 15px;
            }
    
        .ColumnFixed{
            position: absolute;
            left: 0;
            z-index: 1;
            background-color: white;
            box-shadow: 3px 3px 6px grey;
        }
        
        .MT_HeaderColumn{
            /*position: relative;*/
            display: inline-block;
            /*height: 15px;
            padding: 20px 10px;*/
            padding: 0 10px;
            font-weight: 700;
            background-color: lavender;
            border: 1px solid gray;
            white-space: nowrap;
            text-overflow: ellipsis;
            cursor: pointer;
        }

            .HeaderColumnTop{
                position: relative;
                height: 20px;
                text-align: right;
            }

                .HeaderMenuButton{
                    float: right;
                    margin: -3px -5px 0 0;
                    width: fit-content;
                    font-size: large;
                }
            
                .HeaderFixColumnButton{
                    float: left;
                    margin: 3px 0 0 -7px;
                    height: 8px;
                    width: 8px;
                    background-color: white;
                    border: 1px solid gray;
                    border-radius: 3px;
                }

                .HeaderFixColumnButtonChecked{
                    background-color: skyblue;
                }

            .HeaderColumnMiddle{
                position: relative;
                height: 20px;
                padding-left: 10px;/* 2025-09 */
            }

            .HeaderColumnBottom{
                position: relative;
                height: 15px;
                text-align: right;
            }
            
                .HeaderColumnSortingArrow{
                    position: absolute;
                    bottom: 3px;
                    right: -7px;
                    font-size: large;
                    height: 15px;
                    float: right;
                    z-index: 20;
                }

            .HeaderCellMenuContainer{
                position: absolute;
                top:-40px;
                left: -1px;
                /*width: calc(100% - 20px);*/
                margin: 0 0 0 -10px;
                width: 100%;
                padding:12px 10px;
                text-align: center;
                background-color: white;
                border: 1px solid gray;
                border-radius: 3px;
                box-shadow: 3px 3px 6px grey;
                z-index: 10;
            }

                .ColumnSearch{
                    width: calc(90% - 10px);
                    padding: 5px;
                    color: firebrick;
                    outline: none;
                }

                .ColumnDatePicker{
                    width: 70px;
                }
        
        .MT_SummatoryColumn{
            display: inline-block;
            height: 15px;
            padding: 15px 10px;
            font-weight: 700;
            border: 1px solid lavender;
            background-color: aliceblue;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        
        .MT_Column{
            display: inline-block;
            /*height: 15px;*/
            padding: 15px 10px;
            border: 1px solid lavender;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: clip;/* I detest CSS so much. Without this, text-overflow won't work. Only Fate knows why */
        }

        .MT_ColumnWithMenu{
            display: inline-block;
            /*height: 15px;*/
            padding: 6px 10px;
            border: 1px solid lavender;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .MT_Column:hover{
            /*background-color: lavender;*/
        }

            .CellButtonMenu{
                margin: -3px 0 0 0;
                width: 100%;
                padding: 10px;
                text-align: left;
                font-weight: 700;
                white-space: nowrap;
                text-overflow: ellipsis;
                background-color: lavender;
                border: 1px solid lightgray;
                overflow: hidden;
                cursor: pointer;
            }

            .CellButtonMenu:hover{
                background-color: lavenderblush;
            }

            .CellMenuContainer{
                position: absolute;
                margin: -9px 0 0 11px;
                padding: 10px;
                width: fit-content;
                background-color: white;
                border: 1px solid gray;
                border-radius: 3px;
                box-shadow: 3px 3px 6px gray;
                z-index:40;
            }

                .CellMenuColumn{
                    float:left;
                    padding: 0 10px 0;
                }

                    .CellMenuRowHeader{
                        margin: 5px 0;
                        color: gray;
                        font-weight: 700;
                        font-size: medium;
                    }
                
                    .CellMenuRow{
                        padding: 10px 5px;
                    }

                        .CellMenuRow a{
                            color:gray;
                        }

                        .CellMenuRow a:hover{
                            color:darkgray;
                        }

                        .CellMenuRow a:visited{
                            color:gray;
                        }

        .EmptyCell{
            display: none;
        }

.PaginationContainer{
    display: inline-block;
    margin: 10px;
}

    .PageButton{
        display: inline-block;
        margin: 0 5px;
        padding: 10px 15px;
        border: 1px solid lavender;
        border-radius: 5px;
        cursor: pointer;
    }

    .PageButtonClicked{
        font-weight: 700;
        background-color: lavender;
    }

#PageRowsSelectContainer{
    float: right;
    margin: 10px;
}

    #PageRowsSelect{
        margin: 10px;
        padding: 10px 15px;
        border: 1px solid lavender;
        border-radius: 5px;
        outline: none;
    }

    #PageRowsSelect option{
        height: 50px;
        line-height: 50px;
    }