.journal-overlay {
    box-sizing: border-box;
    background: #222;
    font-size: 10pt;
    color: #fff;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.journal-overlay > .header {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    flex: none;
}

.journal-overlay > .header > h3 {
    font-size: 10pt;
    margin: 16px;
    flex-grow: 2;
}

.journal-overlay > .header > button {
    width: 120px;
    margin: 0 16px;
    color: #fff;
    fill: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
}

.journal-overlay > .header > button:hover {
    border: 1px solid rgba(255, 255, 255, .5);
    background: none!important;
}

.journal-overlay > .header > .search-input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .1);
}

.journal-overlay > .header > .search-input input {
    color: #fff;
    background: transparent;
}

.journal-overlay > .list-holder {
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    flex-grow: 2;
}

.journal-overlay > .list-holder > .list {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    position: relative;
}

.journal-overlay > .list-holder > .list > .stretcher {
    flex: none;
    width: 0;
}

.journal-overlay > .list-holder > .list > .sign {
    display: flex;
    flex-grow: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    justify-self: stretch;
    opacity: .5;
}

.journal-overlay > .list-holder > .list > .sign > .icon {
    width: 64px;
    height: 64px;
}

.journal-overlay > .list-holder > .list > .sign.empty > .icon {
    background: url(empty.svg) no-repeat center;

}

.journal-overlay > .list-holder > .list > .sign.retriever > .icon {
    background: url(../connection-status/refresh.svg) no-repeat center;
    background-size: 48px 48px;
    animation-name: retriever-animation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes retriever-animation {
    0% { transform:rotate(0deg); }
    100% { transform:rotate(-360deg); }
}

.journal-overlay > .list-holder > .list > .sign > .title {
    font-size: var(--header-font-size);
    font-family: var(--header-font-family);
    margin-top: 16px;
    color: #fbfeff;
}

.journal-overlay > .list-holder > .list > .sign > .subtitle {
    color: #fbfeff;
}

.journal-overlay > .list-holder::-webkit-scrollbar {
    width: 8px;
    height: 100%;
}

.journal-overlay > .list-holder::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

.journal-overlay > .list-holder > .list > .line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33px;
    flex: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    user-select: text;
    opacity: .8;
    transition: all .2s;
}

.journal-overlay > .list-holder > .list > .line:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
    opacity: 1;
}

.journal-overlay > .list-holder > .list > .line b {
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    color: lightgreen;
}

.journal-overlay > .list-holder > .list > .line b.param-value {
    color: lightblue;
}

.journal-overlay > .list-holder > .list > .line b.username {
    background: url(user.svg) no-repeat left center;
    background-size: 10px 10px;
    padding-left: 13px;
}

.journal-overlay > .list-holder > .list > .line b.param-id {
    background: url(gear.svg) no-repeat left center;
    background-size: 10px 10px;
    padding-left: 13px;
}

.journal-overlay > .list-holder > .list > .line > .ts {
    font-size: .8em;
    width: 80px;
    flex: none;
    font-family: "Montserrat SemiBold", sans-serif;
    padding-left: 12px;
}

.journal-overlay > .list-holder > .list > .line > .tag {
    font-size: .7em;
    flex: none;
    margin-right: 8px;
    padding: 2px 4px;
    border-radius: 3px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    min-width: 36px;
    text-align: center;
    flex: none;
    background: dimgray;
    display: none;
}

.journal-overlay > .list-holder > .list > .line.param > .tag {
    background: #56711a;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.param > .tag:after {
    content: 'Set';
}

.journal-overlay > .list-holder > .list > .line.sys > .tag {
    background: darkslategray;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.sys > .tag:after {
    content: 'Sys';
}

.journal-overlay > .list-holder > .list > .line.error > .tag {
    background: darkred;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.error > .tag:after {
    content: 'Err';
}

.journal-overlay > .list-holder > .list > .line.trade_mode_automaton > .tag {
    background: teal;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.trade_mode_automaton > .tag:after {
    content: 'Auto';
}

.journal-overlay > .list-holder > .list > .line.vertical > .tag {
    background: coral;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.vertical > .tag:after {
    content: 'Algo';
}

.journal-overlay > .list-holder > .list > .line.hand > .tag {
    background: steelblue;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.hand > .tag:after {
    content: 'Hand';
}

.journal-overlay > .list-holder > .list > .line.correction > .tag {
    background: deeppink;
    display: block;
}
.journal-overlay > .list-holder > .list > .line.correction > .tag:after {
    content: 'Corr';
}

.journal-overlay > .list-holder > .list > .line > .text {
    flex-grow: 2;
}

.journal-overlay > .list-holder > .list > .line > .text > .orderbook {
    display: inline-flex;
    color: #fff;
    padding: 1px 2px;
    border-radius: 3px;
    font-size: .9em;
}

.journal-overlay > .list-holder > .list > .line > .text > .orderbook.A {
    background: red;
}

.journal-overlay > .list-holder > .list > .line > .text > .orderbook.B {
    background: darkgreen;
}

.journal-overlay > .list-holder > .list > .line > .text > .badge {
    display: inline-flex;
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: .9em;
    background: teal;
}

.journal-overlay > .list-holder > .list > .line > .context {
    width: 100px;
    flex: none;
    background: url(user.svg) no-repeat left center;
    background-size: 10px 10px;
    color: lightgreen;
    padding-left: 13px;
}

.journal-overlay > .list-holder > .list > .line > .context.bot {
    background: url(bot.svg) no-repeat left center;
    background-size: 12px 12px;
    padding-left: 15px;
}

.journal-overlay > .list-holder > .list > .line > .result {
    min-width: 120px;
    flex: none;
    text-align: center;
    text-transform: uppercase;
    margin: 0 12px;
    font-size: .8em;
    font-weight: bold;
}