.result_test_history{
    display:flex;
    min-height:100vh;
    width:100%;
    align-items:center;
    flex-direction:column;
    overflow:auto;
    background:#ccc;
}

.result_test_history__error_message{
    background:white;
    padding:10px;
    font-size:20px;
}

.result_test_history__header{
    flex-shrink:0;
    width:100%;
    padding:10px 0;
    background:white;
    box-shadow:0 3px 3px rgba(0,0,0,0.2);
    display:flex;
    align-items:center;
}
.result_test_history__header img{
    height:90px;
    margin-left:10px;
}
.result_test_history__patient_data{
    line-height:1.4;
    margin-left:15px;
    padding-left:5px;
    border-left:1px solid #aaa;
}
.result_test_history__patient_data > div > span:nth-child(1){
    font-weight:bold;
}
.result_test_history__patient_data > div > span:nth-child(2){
    padding:1px 5px;
}

.result_test_history__table_container{
    position:relative;   
    width:calc(100% - 20px);
    margin:10px;
    box-shadow:3px 3px 3px rgba(0,0,0,0.2);
}
.result_test_history__table_container_overflow{
    position:absolute;
    width:calc(100% - 1px);
    border-right:1px solid rgb(170, 170, 170);
    left:0;
    top:0;
    overflow-x:auto;
    overflow-y:hidden;
}

.result_test_history__table_container table{
    border-collapse:collapse;
    padding-bottom:1px;
}
.result_test_history__table_container table td{
    border:1px solid rgb(170, 170, 170);
    height:24px;
    box-sizing:border-box;
    vertical-align:middle;
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgb(240, 240, 240);
}

.result_test_history__table_static{
    width:550px;
    table-layout: fixed;
    position:absolute;
    left:0;
    top:0;
    z-index:2;
}

.result_test_history__table td:last-child{
    border-right:0;
}

.result_test_history__table{
    table-layout: fixed;
    margin-left:550px;
}
.result_test_history__table_static tr:nth-child(1) td{
    height:48px;
    background:rgb(223, 223, 223);
}
.result_test_history__table_static tr td:nth-child(1){
    width:70px;
    text-align:center;
    background:rgb(223, 223, 223);
}
.result_test_history__table_static tr td:nth-child(2){
    width:250px;
    padding:0 10px;
}
.result_test_history__table_static tr td:nth-child(3),td:nth-child(4){
    width:115px;
    text-align:center;
}
.result_test_history__table_static tr:nth-child(2) td{
    background: rgb(240, 240, 240);
}
.result_test_history__table_static tr:nth-child(n + 3) td:nth-child(n + 2){
    background: rgb(240, 240, 240);
}
.result_test_history__table_static tr:nth-child(2n + 3) td:nth-child(n + 2){
    background: rgb(249, 249, 249);
}

.result_test_history__table tr:nth-child(1) td, .result_test_history__table tr:nth-child(2) td{
    background:rgb(207, 223, 255);
}
.result_test_history__table tr:nth-child(n + 4) td{
    background:rgb(223, 240, 255);
}
.result_test_history__table tr:nth-child(2n + 4) td{
    background:rgb(207, 240, 255);
}

.result_test_history__table td{
    text-align:center;
}
.result_test_history__table tr:nth-child(n + 2) td{
    min-width:220px;
}





.back_fixed_center_dark{
    display:none;
    opacity:0;
    justify-content:center;
    align-items:center;
    
    z-index:99;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.4);
}
.chat_view{
    width:600px;
    background:white;
    display:none;
}
.chat_view-selected{
    display:block;
}
.chat_view__container{
    padding:0 15px 15px;
    max-height:65vh;
    overflow:auto;
    display:flex;
    flex-direction:column;
}

.chat_view__sender_email{
    margin-top:15px;
    padding: 5px 0;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.3);
}

.chat_view__date{
    margin-top: 20px;
    align-self: center;
    font-size: 14px;
    background: #848484;
    color: white;
    border-radius: 5px;
    padding: 4px 10px;
}

.chat_view__message{
    width: calc(50% - 100px);
    position:relative;
}
.chat_view__message-left{
    align-self:flex-start;
}
.chat_view__message-right{
    align-self:flex-end;
}
.chat_view__message_text{
    word-break:break-all;
    background: #f0f0f0;
    font-size:18px;
    padding: 8px;
    margin-top:5px;
}
.chat_view__message-left .chat_view__message_text{
    border-radius: 0 5px 5px 5px;
}
.chat_view__message-right .chat_view__message_text{
    border-radius: 5px 0 5px 5px;
}
.chat_view__message-right .chat_view__message_title{
    text-align:right;
}
.chat_view__message_title{
    font-size:20px;
    margin-top:15px 4px 5px;
}
.chat_view__message_time{
    position: absolute;
    bottom: 8px;
    width: 100px;
}
.chat_view__message-left .chat_view__message_time{
    left: calc(100% + 5px);
}
.chat_view__message-right .chat_view__message_time{
    right: calc(100% + 5px);
    text-align:right;
}