#history {
    font-family:'Roboto Mono';
}

#history span {
    display:inline-block;
}

#history .day {
    height:40px;
    line-height:40px;
    background-color:rgba(200,16,46,1);
    color:#fff;
    padding-left:20px;
    font-family:"Roboto Slab";
    font-size:16px;
    font-weight:bold;
    position:sticky;
    top:50px;
    z-index:10;
}

#history .group {
    height:30px;
    line-height:30px;
    background-color: #c63b52;
    color:#fff;
    font-weight:bold;
    padding-left:20px;
    overflow:auto;
}

#history .group .time {
    width:70px;
}

#history .group .trigramme {
    width:55px;
    text-align:right;
}

#history .group .amount {
    text-align:right;
    width:90px;
}

#history .group .valid_by {
    padding-left:20px
}

#history .group .comment {
    padding-left:20px;
}

#history .entry {
    position:relative;
    height:25px;
    line-height:24px;
    font-size:12px;
    padding-left:15px;
    overflow:auto;
}

#history .entry .amount {
    width:50px;
    text-align:right;
}

#history .entry .infos1 {
    width:80px;
    text-align:right;
}

#history .entry .infos2 {
    padding-left:15px;
}

#history .entry .addcost {
    padding-left:20px;
}

#history .entry .canceled {
    padding-left:20px;
}

#history div.entry.ui-selected, #history div.entry.ui-selecting {
    background-color:rgba(200,16,46,0.6);
    color:#FFF;
}

#history .entry.canceled {
    color:#444;
}

#history .entry.canceled::before {
    position: absolute;
    content: ' ';
    width:100%;
    left:0;
    top: 12px;
    border-top: 1px solid rgba(200,16,46,0.5);
}

#history .group .infos {
    text-align:center;
    width:145px;
}

#history .entry .glyphicon {
    padding-left:15px;
}

#history-form .form-group {
    position: relative;
}
