/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Jan 14, 2020, 9:26:01 PM
    Author     : Infinity
*/

.DivDialog {
    background: white;

}

.DialogHeader {
    width: 100%;
    background: #104C72;
    color: white;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 5px;
}

.TableKeys {
    border: 1px solid black;
    border-collapse: collapse;
}

.TableKeys th {
    background: #004d99;
    color: white;
    text-align: center;
}

.TableKeys th, .TableKeys td {
    border-bottom: 1px solid #999999;
    border-collapse: collapse;
    padding-left: 5px;
    font-weight: bold;
    text-align: center;
}


.TableKeys .RowNormal {
    background: lightblue;
}
.TableKeys .RowSelected {
    background: #555555;
    color: white
}



.TableKeys tbody {
    display:block;
    height:520px;
    overflow:auto;
}
.TableKeys thead, .TableKeys tbody tr {
    display:table;
    width:100%;
    table-layout:fixed;/* even columns width , fix width of table too*/
    cursor: pointer;
}
.TableKeys thead {
    width: calc( 100% - 1em )/* scrollbar is average 1em/16px width, remove it from thead width */
}
.TableKeys  {
//width:400px;
}


.TableInfinite {
    /*border: 2px solid #004d99;*/
    padding: none;
    margin: none;
    width: 100%;
    /*max-height: calc(100vh - 25px);*/
    border-collapse: collapse;
}

.TableInfinite tr {
    border-bottom: 1px solid grey;
}

.TableInfinite th {
    background: #004d99;
    color: white;
}
.TableInfinite th, .TableInfinite td {
    border-bottom: 1px solid #999999;
    border-collapse: collapse;
    padding-left: 5px;
    font-weight: bold;
}

.RowRed{
    background: lightpink;
}

.RowGreen{
    background: lightgreen;
}



#snackbar {
    visibility: hidden;
    min-width: 400px;
    margin-left: -130px;
    background-color: #004d99;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 7px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    font-size: 15px;
    line-height: 29px;
}

#snackbar.snackTemporary {
    visibility: visible;
    -webkit-animation: fadein 0.4s, fadeout 0.4s 1.6s;
    animation: fadein 0.4s, fadeout 0.4s 1.6s;
}

#snackbar.snackPermanent {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
