﻿/* Task historik */
#table-historik {
    width: 100%;

    /* Cellspacing 5px */
    border-collapse: separate;
    border-spacing: 3px 15px;

}

#table-historik thead tr th {
    background-color: var(--theme-primary-color);;
    color: var(--theme-primary-text-color);;
    padding: 8px;
    font-size: 15px;
    height: 20px;
    font-weight: bold ;
}

#table-historik tr.tr-historik td {
    padding: 7px;
}

#table-historik tr.tr-historik td.loginMetodePadding {
    padding: 7px 7px 0;
}

#table-historik tr.tr-historik td.lightgrey {
    background-color: #E6E6E6;
}

#table-historik tr.tr-historik td h3 {
    font-size: 16px !important;
    font-weight: bold !important;
    margin: 0 !important;
    color: black !important;
    padding-bottom: 5px !important;
}

#table-historik tr.tr-historik td p {
    font-size: 10px;
    padding: 0;
}

#table-historik tr.tr-historik td.td-historik-type {
    color: black;
    width: 230px;
}

#table-historik tr.tr-historik td.td-historik-type.loginMetodePadding div.td-historik-div {
    margin-bottom: -7px;
}

#table-historik tr.tr-historik td.td-historik-note-navn {
    width: 230px;
}

#table-historik tr.tr-historik td.td-historik-note-navn h3 {
    color: black !important;
}

#table-historik tr.tr-historik td.td-historik-type.green {
    background-color: #85dc9c;
}

#table-historik tr.tr-historik td.td-historik-type.yellow {
    background-color: #eeaf1a;
}

#table-historik tr.tr-historik td.td-historik-type.lightBlue {
    background-color: #DCEEFA;
}

#table-historik tr.tr-historik td.td-historik-type.red {
    background-color: #fc7e7a;
}

#table-historik tr.tr-historik .td-historik-type.grey {
    background-color: #BDBDBD;
}

#table-historik tr.tr-historik td.td-historik-type.blue {
    background-color: #89C2F0;
}

#table-historik .tr-historik .td-historik-type div.td-historik-div.last {
    padding-bottom: 14px;
}

#table-historik .tr-historik .td-historik-type div.td-historik-div.arrow:after {
    position: relative;
    top: 20px;
    left: 50%;
    display: block;
    content: " ";
    width: 0;
    height: 0;
    margin-left: -14px;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
}

#table-historik .tr-historik .td-historik-type.loginMetodePadding div.td-historik-div.arrow:after {
    position: relative;
    top: 7px;
    left: 50%;
    display: block;
    content: " ";
    width: 0;
    height: 0;
    margin-left: -14px;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
}

#table-historik .tr-historik .td-historik-type.green div.td-historik-div.arrow:after {
    border-top: 14px solid #85dc9c;
}
#table-historik .tr-historik .td-historik-type.yellow div.td-historik-div.arrow:after {
    border-top: 14px solid #eeaf1a;
}
#table-historik .tr-historik .td-historik-type.lightBlue div.td-historik-div.arrow:after {
    border-top: 14px solid #DCEEFA;
}

#table-historik .tr-historik .td-historik-type.red div.td-historik-div.arrow:after {
    border-top: 14px solid #fc7e7a;
}

#table-historik .tr-historik .td-historik-type.blue div.td-historik-div.arrow:after {
    border-top: 14px solid #89C2F0;
}

#table-historik .td-historik-type.grey div.td-historik-div.arrow:after {
    border-top: 14px solid #BDBDBD;
}

#table-historik tr.tr-historik td.td-historik-tidspunkt {
    background-color: #787878;
    color: white;
    text-align: center;
    width: 70px;
}

#table-historik .tr-historik .td-historik-type div.td-historik-div img.nemid {
    margin: 11px 0px 5px 11px;
}
#table-historik tr.tr-historik td.td-historik-beskrivelse {
    width: 320px;
}

#table-historik tr.tr-historik td.td-historik-beskrivelse span.green {
    background-color: #85dc9c;
    padding: 3px;
}

#table-historik tr.tr-historik td.td-historik-beskrivelse span.yellow {
    background-color: #eeaf1a;
    padding: 3px;
}

#table-historik tr.tr-historik td.td-historik-beskrivelse span.lightBlue {
    background-color: #DCEEFA;
    padding: 3px;
}


#table-historik tr.tr-historik td.td-historik-beskrivelse span.red {
    background-color: #fc7e7a;
    padding: 3px;
}

#table-historik tr.tr-historik td.td-historik-beskrivelse span.blue {
    background-color: #89C2F0;
    padding: 3px;
}

#table-historik tr.tr-historik td.td-historik-se {
    width: 60px;
    font-size: 12px;
    cursor: pointer;
    color: #555555;
    font-weight: bold;
    text-align: center;
}

#table-historik tr.tr-historik td.td-historik-sefremtidigmail {
    width: 60px;
    font-size: 18px;
    cursor: pointer;
    background-color: #e9e9e9;
    color: #8c8c8c;
    font-weight: bold;
    text-align: right;
}

#table-historik tr.tr-historik td.td-historik-se .glyphicon {
    font-size: 18px;
}

#table-historik tr.tr-historik td.td-historik-sefremtidigmail .glyphicon {
    margin-right: 10px !important;
}

.task-history-note {
    overflow-wrap: anywhere;
    white-space: normal;
    max-height: 60vh;
    overflow-y: auto;
}

.signeretnemidok {
    margin-left: 90px;
    vertical-align: middle;
    font-size: 1.5em
}

.tr-historik {
    margin-bottom: 20px;
}

.td-historik-flex{
    display: flex;
    flex-direction: row;
}

.th.table-secondary {
    background-color: var(--theme-primary-color);
    font-weight: bold;
    color: var(--theme-primary-text-color);
}

.td.table-secondary {
    background-color: #89C2F0;
    font-weight: bold;
    color: var(--theme-primary-text-color);
}