table.irregular-verbs {
    width: 100%;
    border-collapse: collapse;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}
/* Zebra striping */
table.irregular-verbs tr:nth-of-type(odd) {
    background: #f1f1f1;
}

table.irregular-verbs th {
    /*background: #333;*/
    /*color: white;*/
    font-weight: bold;
}

table.irregular-verbs td {
    color: #2f57ae;
}

table.irregular-verbs td,
table.irregular-verbs th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
    line-height: 19px;
}

table.irregular-verbs td:nth-of-type(4) {
    color: #808080;
    font-weight: bold;
}

.speech-el {
    cursor: pointer;
}

.speech-el:before {
    content: '\1F508';
    padding-right: 3px;
}

.speech-el:hover {
    font-weight: bold;
}

@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table.irregular-verbs,
    table.irregular-verbs thead,
    table.irregular-verbs tbody,
    table.irregular-verbs th,
    table.irregular-verbs td,
    table.irregular-verbs tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.irregular-verbs thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.irregular-verbs tr {
        border: 1px solid #ccc;
        margin-bottom: 11px;
    }

    table.irregular-verbs td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #adadad;
        position: relative;
        padding-left: 50%;
        padding-bottom: 10px;
        margin-top: 7px;
    }

    table.irregular-verbs 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;
        font-weight: bold;
        color: #2c2c2c;
    }

    /*
    Label the data
    */
    table.irregular-verbs td:nth-of-type(1):before { content: "Infinitive:"; }
    table.irregular-verbs td:nth-of-type(2):before { content: "Past Simple:"; }
    table.irregular-verbs td:nth-of-type(3):before { content: "Past Participle:"; }
    table.irregular-verbs td:nth-of-type(4):before { content: "Перевод:"; }

}