﻿
/* Buttons nur anzeigen, wenn Maus über Zeile "hovert"; 
    Geht derzeit auf alle Button Tags einer Zeile. Ansonsten im CSS etwa "a.button" verwenden, um ein Tag "<a class="button">" anzusprechen.
*/
.table-hoverbuttons tr td button {
    /* filter: alpha(opacity=100);*/
    opacity: 0;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1s ease-out;
}

.table-hoverbuttons tr:hover td button {
    /*  filter: alpha(opacity=100);*/
    opacity: 1.00;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1s ease-out;
}

.table-striped > tbody > tr.selected:nth-of-type(odd) {
    background-color: #e9ebfe !important;
}

.table-striped > tbody > tr.selected:nth-of-type(even) {
    background-color: #dadcff;
}

.table-hover > tbody > tr:hover {
    background-color: #ecf0f1;
}

.table-hover > tbody > tr.active {
    font-weight: 700;
    font-style: italic;
    /*font-size: 18px;*/
    border-left: 2px solid #f1958d;
}

.table-hover > tbody > tr.info {
    font-weight: 700;
    font-style: italic;
    /*font-size: 18px;*/
    border-left: 2px solid #f1958d;
}

table col[class*="col-"] {
    position: static;
    float: none;
    display: table-column;
}

table td[class*="col-"],
table th[class*="col-"] {
    position: static;
    float: none;
    display: table-cell;
}


/* Bootgrid fixed col width */
@media (max-width: 767px) {
    .keepcolvisible {
        width: 60px !important;
    }

    .hidecolxs {
        width: 0px !important;
    }

    .colwidth660, .colwidth600, .colwidth570, .colwidth320, .colwidth310, .colwidth300, .colwidth290, .colwidth280, .colwidth270, .colwidth260, .colwidth250, .colwidth240, .colwidth230, .colwidth200, .colwidth170, .colwidth160, .colwidth150, .colwidth140, .colwidth130, .colwidth120, .colwidth110, .colwidth100, .colwidth90, .colwidth80, .colwidth70, .colwidth60, .colwidth50, .colwidth40, .colwidth30, .colwidth20 {
        width: auto;
    }
}

@media (min-width: 768px) {

    .colwidth660 {
        width: 660px;
    }

    .colwidth600 {
        width: 600px;
    }

    .colwidth570 {
        width: 570px;
    }

    .colwidth320 {
        width: 320px;
    }

    .colwidth310 {
        width: 310px;
    }

    .colwidth300 {
        width: 300px;
    }

    .colwidth290 {
        width: 290px;
    }
    .colwidth280 {
        width: 280px;
    }
    .colwidth270 {
        width: 270px;
    }
    .colwidth260 {
        width: 260px;
    }

    .colwidth250 {
        width: 250px;
    }
    .colwidth240 {
        width: 240px;
    }
    .colwidth230 {
        width: 230px;
    }

    .colwidth200 {
        width: 200px;
    }

    .colwidth170 {
        width: 170px;
    }

    .colwidth160 {
        width: 160px;
    }

    .colwidth150 {
        width: 150px;
    }

    .colwidth140 {
        width: 140px;
    }

    .colwidth130 {
        width: 130px;
    }

    .colwidth120 {
        width: 120px;
    }

    .colwidth110 {
        width: 110px;
    }

    .colwidth100 {
        width: 100px;
    }

    .colwidth90 {
        width: 90px;
    }

    .colwidth80 {
        width: 80px;
    }

    .colwidth70 {
        width: 70px;
    }

    .colwidth60 {
        width: 60px;
    }

    .colwidth50 {
        width: 50px;
    }

    .colwidth40 {
        width: 40px;
    }

    .colwidth30 {
        width: 30px;
    }

    .colwidth20 {
        width: 20px;
    }
}


.colwidthlarger {
    width: 17%;
}

.colwidthsmaller {
    width: 5%;
}

.colwidth0 {
    width: 0px;
}

.colwidthauto {
    width: auto !important;
}

.colwidth20p {
    width: 20% !important;
}

.colwidth25p {
    width: 25% !important;
}


.colfilterfield {
    max-width: unset !important;
    height: 35px;
    padding: 10px 10px;
    font-size: 15px;
    margin: 0px !important;
}

.filterth {
    padding: 4px 2px !important;
}

    .filterth:hover {
        background: #E6E5E5 !important;
    }

.filterrow {
    background: #E6E5E5;
}


.fixtable {
    max-height: 67vh;
    height: 67vh;
    overflow-y: auto;
    padding: 4px;
}

.fixtablenh {
    max-height: 74vh;
    height: 74vh;
    overflow-y: auto;
    padding: 4px;
}

.fixtablenh2 {
    max-height: 70vh;
    height: 70vh;
    overflow-y: auto;
    padding: 4px;
}

.fixtablenh3 {
    max-height: 65vh;
    height: 65vh;
    overflow-y: auto;
    padding: 4px;
}

.fixtableverteiler {
    max-height: 64vh;
    height: 64vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px 4px 4px 4px;
    margin-top: 8px;
}

.fixheadline {
    position: sticky;
    top: -5px; 
    z-index: 1;
    background-color: #ffffff;
}

.fixfooter {
    position: fixed;
    bottom: 14px;
    /*width: 95%;*/
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.l0 {
    margin-left: 0px;
    margin-right:0px;
}

.p4{
    padding: 8px 4px !important;
}

.max-width {
    max-width: unset !important;
}

.bold {
    font-weight: bold;
}


.visiblecol, .rocol, .u1col, .u2col{
    max-width: 60px;
}
.u1col {
    padding-right: 0px !important;
    margin-right: 0px !important;
}
.u2col {
/*    margin-right: 0px !important;*/    
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.formeltd{
    overflow: visible !important;
}

.grid-input-wrapper {
    position: relative;
}


/* Das Input-Feld im Normalzustand */
.zoom-on-focus {
    width: 100%;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}

    /* Das Input-Feld im Fokus-Modus (Overlay / Zoom) */
    .zoom-on-focus:focus {
        position: absolute;
        top: -9px; /* Leicht nach oben versetzt */
        left: -5px; /* Leicht nach links versetzt */
        width: calc(100% + 250px); /* Breiter als die Spalte */
        height: 45px; /* Höher als die Zeile */
        font-size: 32px !important; /* Größere Schrift für bessere Lesbarkeit */
        z-index: 9999 !important; /* Schwebend über allen anderen TD-Elementen */
        box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Schatten für den Overlay-Effekt */
    }
