.tabs, #header {
    display: block;
    overflow-x: hidden;
    width: 100vw;

    tbody {
        display: block;
        width: 100%;
    }
}

#header tr {
    display: inline-block;
    width: 100%;

    &:last-child {
        display: grid;
        grid-template-columns: 100000000fr 1fr;
    }
}

#header td.main {
    white-space: normal !important;
    position: relative;
    font-size: 150% !important;
    /*display: block;*/
}

#header td.form {
    display: block;
    position: absolute;
    top: 4px;
    right: 0;
}

.tabs tr {
    display: flex;
    flex-direction: column-reverse;
}

.tabs td {
    display: block;
    a {
        display: inline-block;
    }
}

.content {
    overflow-x: scroll;
}
@media (width < 600px) {
	.content { padding: 0 !important; }
}

table.nowrap td {
    white-space: normal !important;
}
