#xgPopup {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #00000099 !important;
    display: none;
    padding: 20px;
    color: #FFF;
}
#xgPopup > div:first-child {
    display: block;
    z-index: 100;
    width: 100%;
    border: #F90 1px solid;
    background-color: #000000AA;
    padding: 20px;
}
.winbtns {
    font-size: 2em; position: absolute; top: 20; right: 20;
}
.winbtns > a {
    cursor:pointer;
}
h1,h2,h3 {
    margin: 0; padding: 0;
}
a {
    color: #F90;
}
.o25 {
    opacity: 0.25;
}
.o50 {
    opacity: 0.5;
}
.o75 {
    opacity: 0.75;
}
.tab100 {
    display: flex;
    flex-direction: column;
}
.tab100 > * {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-bottom: #FFF 1px solid;
    padding: 10px;
    color: inherit;
    text-decoration: none;
}
.tab100 > * > div {
    width: auto;
}
.tab100 > * > div:nth-child(1) {
    text-align: left;
    min-width: 75px;
    padding-right: 10px;
    white-space: nowrap;
}
.tab100 > * > div:nth-child(2) {
    min-width: 70px;
    padding-right: 10px;
}
.tab100 > *.O > div:nth-child(2) {
    text-align: right;
}
.tab100 *.n {
    color: #FAA;
}
h1.total {
    padding: 10px;
}
.tab100 > * > div:last-child > a {
    width: 60px;
    display: block;
    margin-left: 10px;
}
.tab100 img {
    height: 18px;
}
.tab100 *.S {
    color: #777;
}
.tab100 *.P {
    color: #F33;
}
.tab100 *.D {
    color: #333;
}
.fq {
    margin-top: 4em;
    color: #0FF;
}
.event {
    color: #000;
    background-color: #F99;
    cursor: pointer;
}
.event:hover {
    background-color: #FFF;
}
.event[class~="r"] {
    background-color: #FF9;
}
.event[class~="ok"] {
    background-color: #060;
    color: #FFF;
}
.event[class~="alert"] {
    background-color: #F90;
    color: #FFF;
}


.tab100 *.owe {
    color: #F33;
}
.tab100 *.owed {
    color: #0F0;
}
.tab100 *.error {
    background-color: red !important;
    color: #000 !important;
}