﻿/* table base */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    margin-top: 10px;
}

    .table th,
    .table td {
        padding: 15px 25px;
        line-height: 1.5;
        vertical-align: middle;
        text-align: center;
        font-size: 1em;
        font-family: PFDinDisplayPro-Med;
		position: relative;
    }

    .table tr:hover {
        background: #D3EAF8;
    }

    .table thead th {
        background-color: #f3fbfd;
    }

/* border table */

.table-bordered {
    border-collapse: separate;
    border: 2px solid #3ab4d5;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}

    .table-bordered > thead > tr > th {
        border-bottom: 2px solid #3ab4d5;
        border-right: 2px solid #3ab4d5;
    }

        .table-bordered > thead > tr > th a {
            color: inherit;
            text-decoration: none;
            font-family: inherit;
            font-weight: normal;
        }

            .table-bordered > thead > tr > th a:hover {
                text-decoration: underline;
            }

        .table-bordered > thead > tr > th:nth-child(6),
        .table-headless tr > th:nth-child(6) {
            border-right: none;
        }

        .table-bordered > thead > tr > th:not(.hide):first-child,
        .table-headless tr:first-child > td:first-child {
            border-top-left-radius: 5px;
        }

        /* :not:last-child doesnt work */
        .table-bordered > thead > tr > th:last-child,
        .table-headless tr:first-child > td:last-child,
        .table-bordered > thead > tr > th.last-child {
            border-right: none;
            border-top-right-radius: 5px;
        }

        .table-bordered > tbody > tr:last-child > td:not(.hide):first-child {
            border-bottom-left-radius: 5px;
        }

        .table-bordered > tbody > tr:last-child > td:last-child,
        .table-bordered > tbody > tr:last-child > td.last-child {
            border-right: none;
            border-bottom-right-radius: 5px;
        }

    .table-bordered tr td:not(:last-child) {
        border-right: 2px solid #3ab4d5;
        
    }

    .table-bordered tr:not(:last-child) td {
        border-bottom: 1px solid #d3edf7;
    }

    

/* other */

.hide {
    display: none !important;
}
