#app table {
    width: 100%;
}

#app td {
    text-align: left;
    padding: 4px 4px 4px 4px;
}

#app th {
    width: 100px;
    text-align: left;
    padding: 4px 4px 4px 4px;
}

#app td span {
    margin: 4px 4px 4px 4px;
}

#app tr.first th {
    text-align: center;
    background-color: rgb(202, 194, 194)
}

#app tr.first th:first-child {
    text-align: left;
}

#app tr.last th {
    text-align: center;
}

#app td.active {
    background-color: green !important;
    padding: 3px;
}

#app td.interv-title {
    text-align: right;
    font-size: 11px;
    min-width: 100px;
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    min-height:50px;
}

#app td.interv-cost {
    text-align: right;
    font-size: 12px;
    min-width: 120px;
}

#app td.interv-cost span {
    text-align: right!important;
    font-size: 12px;
}

#app tr.odd {
    background-color: lightgray;
    padding: 5px;
}

#app tr.even {
    background-color: white;
     padding: 5px;
}

@media only print{
    #app th {
        width: 40px;
        max-width: 40px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap !important;
    }
}

@media only screen and (max-width: 1000px) {
    
    /* Force table to not be like tables anymore */
    #app table, 
    #app thead, 
    #app tbody, 
    #app th, 
    #app td, 
    #app tr { 
        display: block; 
    }
 
    /* Hide table headers (but not display: none;, for accessibility) */
    #app thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
 
    #app tr { border: 1px solid #ccc; }
 
    #app td { 
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 50%; 
        white-space: normal;
        text-align:left;
    }
 
    #app 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;
        text-align:left;
        font-weight: bold;
    }
 
    /*
    Label the data
    */
    #app td:before { content: attr(data-title); }
}