.nav-toggle {
    display: none;
}

@media screen and (width <= 768px) {
    :root {
        --min-width: 0;
    }

    #content {
        width: auto;
        float: none;
    }

    #content-holder.two-column {
        flex-direction: column;
    }

    #left-column,
    #left-column ul,
    #left-column li {
        width: auto;
    }

    .nav-toggle {
        display: block;
        width: 100%;
        min-height: 44px;
        margin: 10px 0;
        padding: 0 20px;
        box-sizing: border-box;
        border: none;
        border-radius: 6px;
        color: #fff;
        background: #2f2f2f;
        background: linear-gradient(to bottom, rgb(100, 100, 100) 0%, rgba(47, 47, 47, 1) 100%);
        font-family: Quicksand, arial, helvetica, sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    #header {
        display: flow-root;
        min-height: 0;
        height: auto !important;
        padding-top: 0;
        margin-bottom: 10px;
    }

    #header .dashboard {
        position: static;
        float: none;
        display: block;
        margin-bottom: 10px;
        text-align: right;
    }

    #header-links {
        position: static;
        clear: both;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        padding-top: 10px;
    }

    #header-links li {
        float: none;
        padding-left: 0;
    }

    .sort-controls {
        position: static;
        margin-bottom: 10px;
    }

    #menu,
    #left-column {
        display: none;
    }

    body.nav-open #menu,
    body.nav-open #left-column {
        display: block;
        width: 100%;
    }

    #menu,
    #maintenance-message + #menu {
        position: static;
        top: auto;
        height: auto !important;
        margin-top: 10px;
    }

    #menu li {
        float: none;
        height: auto;
    }

    #menu > li > a,
    #menu > li > a > span {
        float: none;
        text-align: left;
    }

    #menu li > ul,
    #menu li:hover > ul,
    #menu li:focus-within > ul {
        position: static;
        width: auto;
        max-height: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    #menu li li,
    #menu ul a {
        width: auto;
    }

    .content-table:not(.hidden),
    .content-table > tbody,
    .content-table > tbody > tr:not(.hidden),
    .content-table > tbody > tr > td:not(.hidden) {
        display: block;
        width: auto;
    }

    .content-table[class*="fixed-width"] > tbody > tr > td:nth-child(2) {
        width: auto;
        max-width: none;
    }

    .content-table.fixed-width.wide-inputs input {
        min-width: 0;
    }

    .content-table > tbody > tr > td:not(:last-child) {
        padding-bottom: 2px;
    }

    .content-table > tbody > tr > td + td {
        padding-top: 2px;
    }

    .content-table input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]),
    .content-table select,
    .content-table textarea {
        box-sizing: border-box;
        margin-right: 0;
        width: calc(100% - 2em);
    }

    .content-table select[id$="_DropDownListDay"],
    .content-table select[id$="_DropDownListMonth"],
    .content-table select[id$="_DropDownListYear"] {
        width: auto;
    }

    .phone-number-editor .phone-country-widget,
    .phone-number-editor .phone-number-value {
        display: block;
        min-width: 0;
        width: calc(100% - 2em);
    }

    .phone-number-editor .phone-number-value {
        margin-top: 6px;
    }

    .table-holder {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-holder th,
    .table-holder td {
        white-space: nowrap;
    }

    .table-holder td:nth-child(2),
    .table-holder td[colspan] {
        white-space: normal;
    }

    .table-holder td.banner-cell > .padded-box {
        position: sticky;
        left: 0;
        box-sizing: border-box;
        max-width: calc(100vw - 80px);
    }

    .nqt-manager-button:not(.hidden),
    #pagination a,
    #pagination-top a {
        min-height: 44px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (width <= 480px) {
    .button-holder a:not(.hidden),
    .button-holder input:not(.hidden):not([type="hidden"]),
    .button-holder button:not(.hidden) {
        display: flex;
        width: 100%;
        margin: 0 0 8px;
    }
}
