* {
    box-sizing: border-box;
}
body {
    font-family: 'Gotham Book';
    font-size: 16px;
    display: flex;
}
#investor-list {
    position: relative;
    display: inline-block;
    max-width: 600px;
    width: 100%;
    margin: 15px auto;
}
#investor-list tr {
    display: grid;
    grid-template-columns: [first] 70% [second] auto;
}
#investor-list tr .deal_count {
    cursor: pointer;
}
#investor-list tbody tr:hover {
    background-color: #D6ECFF;
}
/*deal list*/
div#deal-list {
/*    grid-row: 2;*/
    display: grid;
    grid-template-rows: [row1-start] 30px [row1-end] auto [last-line];
    overflow: hidden;
/*    border: 1px solid #d8dde3;*/
    border-radius: 3px;
    width: 500px;
    position: fixed;
    z-index: 10;
    top: 25px;
    left: -515px;
/*    max-height: 400px;*/
/*    min-height: 350px;*/
    transition: 0.5s;
    box-shadow: 0 8px 9px rgba(0,0,0,0.24),
      0 1px 8px rgba(0,0,0,0.12);
}
#deal-list table tbody {
/*    grid-row-gap: 5px;*/
/*    margin: 5px;*/
    overflow: auto;
    height: 90%;
}
#deal-list tr {
    display: grid;
    grid-template-columns: [first] 40% [second] auto [third] 40%;
}
#deal-list table {
    grid-row: 2;
}
#deal-list table tbody {
    grid-row: 2;
    max-height: 250px;
}
#blanket {
    content: "";
    display: block;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
}
#deal-list #close_panel {
    background-color: white;
    text-align: center;
}
#deal-list .closebtn {
    grid-row: 1;
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 20px;
    margin-left: 50px;
    cursor: pointer;
    color: #B7BDC4;
}
#close_panel div {
    padding: 10px;
}
div #investor_name {
    color: #1D5080;
}
#deal-list a.closebtn:hover {
    color: #D8DDE3;
}
#deal-list table tbody tr {
    font-size: 12px;
}
#deal-list table thead tr {
    font-size: 14px;
}
table {
    width: 100%;
}
thead {
    font-family: 'Gotham Medium';
    text-align: left;
    display: block;
    border-bottom: solid 2px rgb(44, 201, 183);
}
thead tr {
    padding: 5px 0;
    background-color: white;
/*    background-color: #F7F8FA;*/
}
tbody {
    overflow: auto;
    display: block;
/*    max-height: 500px;*/
/*    margin-bottom: 10px;*/
}
table tbody tr {
    font-size: 12px;
    width: 100%;
/*    cursor: pointer;*/
    border-collapse: collapse;
    border-bottom: 2px solid #D8DDE3;
/*    height: 32px;*/
}
td, th {
    padding: 7px 10px;
}
tbody tr:nth-child(odd) {
    background-color: #F7F8FA;
}
tbody tr:nth-child(even) {
/*    background-color: rgb(233, 239, 245);*/
    background-color: white;
}
tbody tr:last-child {
    /* border-bottom: solid 1px white; */
}
th {
/*    display: inline-block;*/
    color: #476990;
    font-family: 'Gotham Book';
/*    font-size: 12px;*/
    line-height: 1;
}
a {
    color: #26649E;
}
a:hover {
    text-decoration: none;
    cursor: pointer;
    color: #1D5080;
    font-family: 'Gotham Medium';
}
/*media queries*/
@media (max-width: 500px) {
    div#deal-list {
        width: 400px;
    }
    #deal-list tr {
        display: grid;
        grid-template-columns: [first] 50% [second] auto;
    }
    .column-3 {
        display: none;
    }
}
