
.loadinggif 
{
   background:
     url('/wp-content/plugins/kb-crm/assets/ajax-loader.gif')
     no-repeat
     left center;
}

table.event_list {
    width: 100%;
}

table.event_list th {
    text-align: left;
    padding: 5px;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
}

table.event_list td {
    padding: 5px;
    border-bottom: solid 1px black;
}

table.event_list td.action_buttons {
    text-align: right;
}

table.event_list .event_status_nieuw {
    background-color: red;
    color: white;
    animation: blinker 1s linear 10;
}

table.event_list .event_status_gewijzigd {
    background-color: orange;
    color: white;
    animation: blinker 1s linear 10;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/*
 * Inschrijving goedkeuring table
 */


/*
Styling van de planning tabel, for Desktops/Laptops
*/
table.kbcrm_inschrijving_goedkeuren_table {
    width: 100%;
    border-collapse: collapse;
}
/* Zebra striping */
table.kbcrm_inschrijving_goedkeuren_table tr:nth-of-type(odd) {
    background: #eee;
}
table.kbcrm_inschrijving_goedkeuren_table th {
    background: #333;
    color: white;
    font-weight: bold;
}
table.kbcrm_inschrijving_goedkeuren_table td, table.kbcrm_inschrijving_goedkeuren_table th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
}

table.kbcrm_inschrijving_goedkeuren_table thead th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px)  {
    /* Force table to not be like tables anymore */
    table.kbcrm_inschrijving_goedkeuren_table, table.kbcrm_inschrijving_goedkeuren_table thead, table.kbcrm_inschrijving_goedkeuren_table tbody, table.kbcrm_inschrijving_goedkeuren_table th, table.kbcrm_inschrijving_goedkeuren_table td, table.kbcrm_inschrijving_goedkeuren_table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.kbcrm_inschrijving_goedkeuren_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.kbcrm_inschrijving_goedkeuren_table tr { border: 1px solid #ccc; }

    table.kbcrm_inschrijving_goedkeuren_table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    table.kbcrm_inschrijving_goedkeuren_table 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;
    }

    /*
    Label the data
    */
    table.kbcrm_inschrijving_goedkeuren_table td:nth-of-type(1):before { content: "Datum"; }
    table.kbcrm_inschrijving_goedkeuren_table td:nth-of-type(2):before { content: "Naam"; }
    table.kbcrm_inschrijving_goedkeuren_table td:nth-of-type(3):before { content: ""; }
}
