/* ============================================================

  Screen styles for lists.

  Datei     :   list.css
  Datum     :   2020-06-09
  Autor     :   Christine Slotty
  Copyright :   Gradio

   ============================================================*/
@media screen {

    /* =========
        LISTS
       =========*/

    /* List Content */
    .content-list {
        width: 100%;
    }

    .content-list-title {
        font-size: 1rem;
        margin: 0;
        padding: 20px 25px;
        color: @content-table-title;
    }

    .content-list-table {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: auto;
        font-size: 16px;
        color: #212529;
    }

    .row {
        display: flex;
        width: 100%;
        border-top: 1px solid #f2f4f9;
        -webkit-transition-duration: .5s;
        transition-duration: .5s;
    }

    @media @tablet-down {
        .row {
            flex-direction: column;
        }

    }

    .row:hover {
        background-color: #f6f7f9;
    }

    .cell {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 1em 1.5em;
    }

    .cell-dense {
        padding: .1em .5em;
    }

    .centered {
        justify-content: center;
    }

    .c0 {
        flex-grow: 5;
        min-width: 20%;
    }

    .c1 {
        min-width: 40px;
        flex: 0 0 40px;
    }

    .c2 {
        min-width: 80px;
        flex: 0 0 80px;
    }

    .c3 {
        min-width: 160px;
        flex: 0 0 160px;
    }

    .c4 {
        min-width: 240px;
        flex: 0 0 240px;
    }

    .c5 {
        min-width: 320px;
        flex: 0 0 320px;
    }

    .c6 {
        min-width: 400px;
        flex: 0 0 400px;
    }

    @media @tablet-down {
        .cell {
            padding: .25em 1.5em;
        }

        .c1 {
            flex-basis: auto;
        }

        .c2 {
            flex-basis: auto;
        }

        .c3 {
            flex-basis: auto;
        }

        .c4 {
            flex-basis: auto;
        }

        .c5 {
            flex-basis: auto;
        }

        .c6 {
            flex-basis: auto;
        }

    }

    .header-cell {
        border-top: 1px solid @content-table-header-border;
        background-color: @content-table-header-bg;
        color: @content-table-header;
    }

    .content-list-table img,
    .content-list-table i {
        vertical-align: middle;
    }

    .content-list-table > span {
        font-size: .8em;
        padding: .5em 2em;
        vertical-align: middle;
    }

    /* Individual Tables XXX rm!! */
    .error-list {
        grid-template-columns: 2fr 2fr 5fr 1fr;
    }

    .transactions {
        grid-template-columns: 1fr 4fr 2fr 2fr;
    }

    .profile-img {
        width: 30px;
        height: 30px;
        border-radius: 6px;
        box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
        overflow: hidden;
        border-style: none;
        box-sizing: border-box;
        margin-right: 40px;
    }

    .tx-email {
        cursor: pointer;
        display: block;
        color: @content-table-header;
        font-weight: 400;
    }

    .small {
        font-size: 80%;
        font-weight: 400;
    }

    /*,
    .cell-icon .material-icons-outlined */
    .cell-icon {

        /*noch ungeklärt - icon ist nicht aligned */

        /*font-size: 1.25em;*/
        vertical-align: middle;
    }

    /* =====================================
    FORM TOP CONTENT (checkTransaction)
       =====================================*/
    .form-content {
        padding: 35px;
        padding-top: 20px;
        max-width: 80%;
        margin: auto;
    }

    .content-table {
        border: 1px solid @content-table-header-border;
        border-top: none;
        margin-bottom: 1.5rem;
    }

    .content-row {
        display: flex;
        justify-content: space-between;
        font-weight: 400;
        border-top: 1px solid @content-table-header-border;
    }

    .content-row-header {
        font-weight: 500;
        color: @content-table-header;
    }

    .content-row-bg {
        background-color: @content-row-bg;
    }

    .content-cell {
        display: block;
        border-collapse: collapse;
        padding: 10px 15px;
    }

    .form-button .material-icons-outlined {
        font-size: 1.25em;
    }

}
