﻿*, *::before, *::after {
    box-sizing: border-box;
}

.table-resp body {
    font-family: sans-serif;
}

.table-resp table {
    width: 100%;
    border-collapse: collapse;
}


@keyframes animation {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(10px);
    }
}
/*.table-resp tr {
    height: 15px;
    color: white;
    text-align: center;
}*/
.table-resp th, td {
    padding: 5px;
    text-align: center;
    border: solid 1px #ccc;
}

.table-resp th {
    background-color: #0082ff;
    color: #fff;
    font-size: 10.5px;
}

.table-resp tr:nth-child(odd) {
    background-color: #eee;
}


@media(max-width:920px) {
    .table-resp table,
    .table-resp thead,
    .table-resp tbody,
    .table-resp tr,
    .table-resp th,
    .table-resp td {
        display: block;
    }

    .table-resp thead {
        display: none;
    }

    .table-resp td {
        padding-left: 150px;
        position: relative;
        margin-top: -1px;
        background: #fff;
    }

        .table-resp td:nth-child(odd) {
            background-color: #eee;
        }

        .table-resp td::before {
            padding: 5px;
            content: attr(data-label);
            position: absolute;
            top: 0;
            left: 0;
            width: 130px;
            bottom: 0;
            background-color: #0082ff;
            color: #fff;
            display: flex;
            align-items: center;
            font-weight: bold;
        }

    .table-resp tr {
        margin-bottom: 1rem;
    }
}
