﻿table {
    border-collapse: separate;
    border-spacing: 0;
    width: 99%;
}
    /* Make only the first and last th have rounded top corners */
    table thead tr th:first-child {
        border-top-left-radius: 10px;
        padding-left: 25px;
    }

    table thead tr th:last-child {
        border-top-right-radius: 10px;
    }


    table thead tr th:nth-child(2) {
        padding-left: 0;
        padding-right: 40px;
    }

    table tbody td {
        border-bottom: 1px solid #D3D3D3;
        padding: 16px 8px;
    }

        table tbody td:first-child {
            /*border-left: 1px solid #D3D3D3;*/
            padding-left: 25px;
        }

        table tbody td:last-child {
            /*border-right: 1px solid #D3D3D3;*/
        }

    table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 10px;
    }

    table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 10px;
    }

    table tbody tr:last-child {
        border-bottom-right-radius: 10px;
        background-color: #ffffff;
    }

th, td {
    text-align: left;
    height: 30px;
    padding-left: 8px;
    font-size: 14px;
}

th {
    line-height: 10px;
}

tbody tr td:nth-child(2) {
    padding-left: 0;
    padding-right: 30px;
}

tbody tr:nth-child(even) td {
    background-color: #e8e9ed;
}

tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

.logbook_header {
    margin-left: 4px;
}

thead tr {
    background-color: #ffffff;
}

    thead tr th {
        background-color: #4D4D4D;
        font-weight: 100;
        padding: 16px 8px;
    }

/*------------*/
.ellipsis-cell {
    max-width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

    .ellipsis-cell span {
        cursor: pointer;
        font-weight: bolder;
        letter-spacing: .1em;
    }

.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    padding: 4px 0;
    font-size: .9em;
}

    .context-menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .context-menu li {
        padding: 8px 10px;
        cursor: pointer;
        align-items: flex-end;
    }

        .context-menu li:hover {
            background-color: #eee;
        }

        .context-menu li div {
        }

.red-font {
    color: #E70000;
}

/*for table pagination*/
/*******************************************************/
/* container flex */
.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* left info */
.pager-info {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666; /* muted grey */
}

/* right nav */
.pager-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.pager-nav li {
    margin: 0 6px;
}

/* links and spans share padding */
.pager-nav a,
.pager-nav span {
    padding: 0 6px;
    line-height: 1.5;
    text-decoration: none;
    color: #007aff; /* your brand blue */
    cursor: pointer;
}

/* disabled state */
.pager-nav li.disabled a {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

/* active page */
.pager-nav li.active span {
    background: white;
    color: #AEAEB2;
    border-radius: 3px;
    cursor: default;
}

/* ellipsis */
.pager-nav li.ellipsis span {
    color: #666;
    pointer-events: none;
    cursor: default;
}
