/*
 Generic Styling, for Desktops/Laptops
 */
table.tx_gbevents {
    width: 100%;
    border-collapse: collapse;
}

.tx-gbevents-pi1 td:first-child {
    padding-left: 0px;
}

th {

    font-weight: bold;
}
table.tx_gbevents td, th {
    padding: 15px 6px;
    text-align: left;
    vertical-align: top;
}

table.tx_gbevents tr {
    border-top: 1px solid #dbdbdb;
}

table.tx_gbevents tr:first-of-type {
    border-top: 0px solid #dbdbdb;
}

.tx_gbevents td:nth-of-type(1), .tx_gbevents td:nth-of-type(2), .tx_gbevents td:nth-of-type(3) {
    white-space: nowrap;
}

table.contenttable td {
    padding-right: 20px;
}

@media (max-width: 768px) {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    td {
        /* Behave  like a "row" */
        border: none;
        padding: 5px 0px !important;
        position: relative;

    }

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

}

@media (min-device-height: 800px) and (max-device-width: 1280px) and (orientation: landscape) {
    
    
    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    td {
        /* Behave  like a "row" */
        border: none;
        padding: 5px 0px !important;
        position: relative;

    }

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    
    td, th {
        padding: 0px 3px !important;
    }
}

