
/*Responsive tables*/
table.responsive-table thead th {
    font-weight: 600;
}

table.responsive-table thead th.min-width {
    width: 1px;
}

table.responsive-table thead th, table.responsive-table tbody td {
    padding: .8rem;
    font-size: 1.4rem;
    background-color: white;
}

table.responsive-table tbody td>.header {
    display: none;
}

table.responsive-table tbody tr td:first-child .toggle-icon {
    display: none;
}

table.responsive-table tbody tr td .card-header {
    display: none;
    vertical-align: middle;
    margin-left: 8px;
}

table.responsive-table tbody tr td .card-header > span{
    display: block;
}

@media screen and (max-width: 600px) {
    table.responsive-table-xxs tr.contrib-placeholder td {
        margin: 0;
        padding: 0;
        height: 0;
    }

    table.responsive-table-xxs tr:nth-child(2).contrib-placeholder td {
        border-width: 0 !important;
    }

    table.responsive-table-xxs tr.contrib-placeholder {
        background: white;
        margin-top: -1px;
    }


    table.responsive-table-xxs thead { display: none; }
    table.responsive-table-xxs tbody td {
        display: block;
        padding: .6rem;
    }

    table.responsive-table-xxs tbody tr {
        display: block;
    }

    table.responsive-table-xxs tbody tr td {
        border-style: solid;
        border-color: #ddd;
        border-width: 0 1px;
    }

    table.responsive-table-xxs tbody tr td:first-child {
        border-top-width: 1px;
    }

    table.responsive-table-xxs tbody tr td:first-child.expanded {
        border-bottom-width: 1px;
    }


    table.responsive-table-xxs tbody tr:not(.contrib-placeholder) td:last-child {
        border-bottom-width: 1px;
    }

    table.responsive-table-xxs tbody tr td .card-header {
        display: inline-block;
        width: 70%;
    }

    table.responsive-table-xxs tbody tr .table-only {
        display: none;
    }

    table.responsive-table-xxs tbody tr:not(:first-child) {
        margin-top: -1px;
    }

    table.responsive-table-xxs tbody tr td:first-child {
        color: #333;
        background-color: #f5f5f5;
        position: relative;
    }

    table.responsive-table-xxs tbody tr td:not(:first-child)>div {
        padding: 6px;
    }

    table.responsive-table-xxs tbody tr td:not(:first-child) {
        padding: 0 0;
    }

    table.responsive-table-xxs tbody tr td{
        color: #333;
        background-color: #fff;
    }

    table.responsive-table-xxs tbody tr td:first-child .toggle-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        display: inline-block;
    }

    table.responsive-table-xxs tbody td>.header {
        display: inline-block;
        font-weight: bold;
        text-align: left;
        padding-bottom: 5px;
        padding-right: 5px;
        padding-top: 5px;
    }

    table.responsive-table-xxs tbody td.text-center {
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    table.responsive-table-xs thead { display: none; }
    table.responsive-table-xs tbody td {
        display: block;
        padding: .6rem;
    }

    table.responsive-table-xs tbody tr {
        display: block;
    }

    table.responsive-table-xs tbody tr td {
        border-style: solid;
        border-color: #ddd;
        border-width: 0 1px;
    }

    table.responsive-table-xs tbody tr td:first-child {
        border-top-width: 1px;
    }

    table.responsive-table-xs tbody tr td:first-child.expanded {
        border-bottom-width: 1px;
    }


    table.responsive-table-xs tbody tr td:last-child {
        border-bottom-width: 1px;
    }

    table.responsive-table-xs tbody tr td .card-header {
        display: inline-block;
    }

    table.responsive-table-xs tbody tr td .link-url {
        display: block;
        width: 75%;
    }

    table.responsive-table-xs tbody tr .table-only {
        display: none;
    }

    table.responsive-table-xs tbody tr:not(:first-child) {
        margin-top: -1px;
    }

    table.responsive-table-xs tbody tr td:first-child {
        color: #333;
        background-color: #f5f5f5;
        position: relative;
    }

    table.responsive-table-xs tbody tr td:not(:first-child)>div {
        padding: 6px;
    }

    table.responsive-table-xs tbody tr td:not(:first-child) {
        padding: 0 0;
    }

    table.responsive-table-xs tbody tr td{
        color: #333;
        background-color: #fff;
    }

    table.responsive-table-xs tbody tr td:first-child .toggle-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        display: inline-block;
    }

    table.responsive-table-xs tbody td>.header {
        display: inline-block;
        font-weight: bold;
        text-align: left;
        padding-bottom: 5px;
        padding-right: 5px;
        padding-top: 5px;
    }

    table.responsive-table-xs tbody td.text-center {
        text-align: left;
    }
}
