﻿/*Table*/
.rwd-table, .break-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    display: table;
}

    .rwd-table .dashed-left, .break-table .dashed-left {
        border-left: dashed 1px #cccccc;
    }

    .rwd-table > thead > tr > th {
        background-color: #eaeaea;
    }

    .rwd-table > tbody > tr {
        display: table-row;
        background-color: #ffffff;
    }

        .rwd-table > tbody > tr:nth-child(2n+1) {
            background-color: #f9f9f9;
        }

        .rwd-table > tbody > tr:hover {
            background-color: #EEEEEE;
        }

        .rwd-table > tbody > tr.del {
            text-decoration: line-through;
            background-color: #999999;
        }

            .rwd-table > tbody > tr.del .td {
                text-decoration: line-through;
            }

    /*.rwd-table tbody:only-child tr:first-child > *:first-child, .rwd-table th:first-child {
        border-top-left-radius: 5px;
    }

    .rwd-table tbody:only-child tr:first-child > *:last-child, .rwd-table th:last-child {
        border-top-right-radius: 5px;
    }

    .rwd-table > tbody > tr:last-child > td:first-child {
        border-bottom-left-radius: 5px;
    }

    .rwd-table > tbody > tr:last-child > td:last-child {
        border-bottom-right-radius: 5px;
    }*/

    .rwd-table td, .rwd-table th, .break-table td, .break-table th {
        padding: 8px 10px;
        display: table-cell;
        border-top: #ddd 1px solid;
        border-bottom: #ddd 1px solid;
    }

    .rwd-table td, .break-table td {
        color: #666666;
    }

    .rwd-table th, .break-table th {
        color: #000000;
        font-weight: bolder;
    }

    .rwd-table thead {
        display: table-header-group;
    }

    .rwd-table tbody {
        display: table-row-group;
    }

    .rwd-table .event > * {
        padding: 5px;
    }

/*@media all and (max-width:767px) {*/
@media only screen and (max-width: 960px) {
    .rwd-table .dashed-left, .break-table .dashed-left {
        border-left: none;
    }

    .rwd-table {
        background-color: transparent;
    }

        .rwd-table thead {
            display: none;
        }

        .rwd-table tr {
            display: block;
            border: #ddd 1px solid;
            margin-bottom: -1px;
            background: #ffffff;
            float: left;
            width: 100%;
        }

        .rwd-table > tbody > tr:nth-child(2n+1) {
            background-color: #FFFFFF;
        }

        .rwd-table > tbody > tr:hover {
            background-color: #FFFFFF;
        }

        .rwd-table > tbody > tr.del {
            background-color: #999999;
        }

        .rwd-table tr:first-child {
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
        }

        .rwd-table tr:last-child {
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }

        .rwd-table th,
        .rwd-table td {
            display: inline-block;
            border: none;
            float: left;
        }

        .rwd-table .event {
            display: block;
            float: right;
        }
    /* Force table to not be like tables anymore */
    .break-table {
        background-color: transparent !important;
    }

        .break-table,
        .break-table thead,
        .break-table tbody,
        .break-table th,
        .break-table td,
        .break-table tr {
            display: block;
        }

            /* Hide table headers (but not display: none;, for accessibility) */
            .break-table thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            .break-table tr {
                border-radius: 5px;
                border: 1px solid #ccc;
                margin-bottom: 10px;
                background-color: #ffffff;
            }

            .break-table td {
                /* Behave  like a "row" */
                border: none !important;
                border-bottom: 1px solid #eee !important;
                position: relative;
                padding-left: 35% !important;
                white-space: normal;
                text-align: left;
            }

                .break-table td:before {
                    /* Now like a table header */
                    position: absolute;
                    /* Top/left values mimic padding */
                    top: 6px;
                    left: 6px;
                    width: 30%;
                    padding-right: 10px;
                    white-space: nowrap;
                    text-align: left;
                    font-weight: bold;
                    color: #1a1a1a;
                }

                .break-table td:before {
                    content: attr(data-title);
                }
}
