﻿/* ==========================================================
   BM TABLE BLOCK
   ========================================================== */

.bm-table-block {
    width: 100%;
}


/* ==========================================================
   TITLE
   ========================================================== */

.bm-table-block__title {
    margin: 0 0 30px;
    font-size: 35px;
    line-height: 40px;
    color: #1364AB;
    font-weight: 600;
}


/* ==========================================================
   RESPONSIVE TABLE CONTAINER
   ========================================================== */

.bm-table-block__responsive {
    width: 100%;
    overflow: hidden;
}

.bm-table-block__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   TABLE
   ========================================================== */

.bm-table-block__table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}


    /* ==========================================================
   TABLE HEADER
   ========================================================== */

    .bm-table-block__table thead th {
        padding: 16px 20px;
        text-align: left;
        vertical-align: middle;
        font-weight: 600;
        border-bottom: 1px solid #000;
    }


    /* ==========================================================
   TABLE BODY
   ========================================================== */

    .bm-table-block__table tbody th,
    .bm-table-block__table tbody td {
        padding: 16px 20px;
        text-align: left;
        vertical-align: middle;
        border-bottom: 1px solid #d9d9d9;
    }


    /* First column */

    .bm-table-block__table tbody th {
        font-weight: 400;
    }


    /* ==========================================================
   COLUMN WIDTHS
   ========================================================== */

    .bm-table-block__table th:first-child,
    .bm-table-block__table td:first-child {
        width: 50%;
    }

    .bm-table-block__table th:nth-child(2),
    .bm-table-block__table td:nth-child(2) {
        width: 25%;
    }

    .bm-table-block__table th:nth-child(3),
    .bm-table-block__table td:nth-child(3) {
        width: 25%;
    }


    /* ==========================================================
   EMPHASIZED ROW
   ========================================================== */

    .bm-table-block__table
    .bm-table-block__row--emphasized th,
    .bm-table-block__table
    .bm-table-block__row--emphasized td {
        font-weight: 700;
    }


/* ==========================================================
   INFORMATION
   ========================================================== */

.bm-table-block__information {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.5;
}


/* ==========================================================
   FOOTNOTE
   ========================================================== */

.bm-table-block__footnote {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
}

    .bm-table-block__footnote p {
        margin: 0 0 8px;
    }

        .bm-table-block__footnote p:last-child {
            margin-bottom: 0;
        }


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

    .bm-table-block__title {
        margin-bottom: 20px;
    }

    .bm-table-block__table {
        min-width: 650px;
    }

        .bm-table-block__table thead th,
        .bm-table-block__table tbody th,
        .bm-table-block__table tbody td {
            padding: 12px 15px;
        }

    .bm-table-block__information {
        margin-top: 15px;
    }
}
