* {
    touch-action: manipulation;
}

#app>div>section {
    padding-top: 0 !important;
}

.section {
    padding: 1.5rem;
}

.participants {
    margin-top: 20px;
}

@media only screen and (min-width: 850px) {
    td:first-child {
        max-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.paid {
    background-color: lightgreen;
}

@media only screen and (min-width: 850px) and (max-width: 1023px) {
    #app>div>section .table {
        margin: .5rem -1.5rem !important;
        width: 100vw;
    }

}

@media only screen and (min-width: 850px) and (max-width: 1023px) {

    .modal button,
    .modal span {
        transform: scale(0.7);
    }

    .modal .column {
        padding: 0.10rem;
    }

    .modal-card-foot,
    .modal-card-head {
        padding: 5px;
    }
}

@media only screen and (max-width: 849px) {

    .participants tr td:not(:first-child) {
        display: none;
    }

    .modal-card {
        height: 100vh;
        max-height: -webkit-fill-available;
        margin: 0px
    }

    .modal-card-head,
    .modal-card-foot {
        border-radius: 0;
    }

    /* 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;
    }

    tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right !important;
    }

    tr:last-child td {
        border-bottom-width: 1px !important;
    }

    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;
    }

    .participants td:nth-of-type(1) {
        font-weight: bold;
        text-align: center !important;
    }

    .participants td:nth-of-type(2):before {
        content: "EANx Singel";
    }

    .participants td:nth-of-type(3):before {
        content: "EANx Dubbel";
    }

    .participants td:nth-of-type(4):before {
        content: "Syrgas (per liter)";
    }

    .participants td:nth-of-type(5):before {
        content: "Helium (Per liter)";
    }

    .participants td:nth-of-type(6):before {
        content: "Luft";
    }

    .participants td:nth-of-type(7):before {
        content: "Dräktgas";
    }

    .participants td:nth-of-type(8):before {
        content: "Summa";
    }

    .participants td:nth-of-type(9):before {
        content: "Betalt";
    }

    .participants td:nth-of-type(10):before {
        content: "Saldo";
    }

    .bank tr td:not(:first-child) {
        display: none;
    }

    .bank td:nth-of-type(1) {
        font-weight: bold;
        text-align: left !important;
    }

    .bank td:nth-of-type(2):before {
        content: "Typ";
    }

    .bank td:nth-of-type(3):before {
        content: "Tryck";
    }

    .bank td:nth-of-type(4):before {
        content: "Tillagd";
    }

    .bank td:nth-of-type(5):before {
        content: "Gruvan";
    }

    .bank td:nth-of-type(6):before {
        content: "Inline";
    }

    .bank td:nth-of-type(7):before {
        content: "Containern";
    }

    .bank td:nth-of-type(8):before {
        content: "Återlämnad";
    }

    .log td:nth-of-type(1) {
        font-weight: bold;
        text-align: center !important;
    }

    .log td:nth-of-type(2):before {
        content: "Datum";
    }

    .log td:nth-of-type(3):before {
        content: "Kommentar";
    }

    .log td:nth-of-type(4):before {
        content: "Timmar";
    }

    .log td:nth-of-type(5):before {
        content: "Filer";
    }

    .modal-card {
        width: 100vw;
    }
}

ul.questions li>div {
    display: flex;
    border-bottom: 1px #ccc solid;
    padding: 5px;
    max-width: 700px;
}

ul.questions li>div label {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

ul.questions li>div label div {
    width: 25px;
    text-align: right;
}