th {
    text-align: center !important;
}

div.table-responsive th,
div.table-responsive td {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

div.calculator>div {
    /* height: calc(100vh - 350px); */
    height: calc(100vh - 820px);
    border: 1px solid black;
}

div.calculator-test>div {
    height: 220px;
    border: 1px solid black;
}

nav.navbar {
    /* Make Navbar higher then offcanvas */
    z-index: 1050 !important;
}

/* div.sidebar {
    width: 300px;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    overflow-y: auto;
    padding-bottom: 70px;
    z-index: 10;
} */
div.sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding-bottom: 50px;
    background-color: white;
    border-right: 1px solid #dee2e6;
    z-index: 10;
    display: none;
    /* hidden by default (mobile) */
}

div.offcanvas-body div.sticky-top {
    padding-top: 50px;
}

div.sidebar div.sticky-top {
    padding-top: 70px;
}

/* Content area */
div.main-content {
    padding-top: 70px;
    padding-right: 10px;
}

@media (min-width: 992px) {
    div.sidebar {
        display: block;
    }

    div.main-content {
        margin-left: 300px;
    }

    .menu-toggle {
        display: none !important;
    }

    table th.sticky-column,
    td.sticky-column {
        position: sticky;
        left: 0;
        z-index: 3;
    }
}

div.price-ticker {
    width: 100%;
    z-index: 1050;
    position: fixed;
    bottom: 0
}

label.form-check-label {
    cursor: pointer;
}

div.modal-90w {
    width: 90vw;
    max-width: none;
}

table.table-amount td:not(:first-child) {
    min-width: 150px;
    max-width: 150px;
}

table thead.sticky {
    position: sticky !important;
    top: 0;
    z-index: 2;
    border-bottom: 2px solid #000;
}

.fw-light-sm {
    font-weight: 300 !important;
    font-size: 0.840rem !important;
}

.fw-lighter-sm {
    font-weight: lighter !important;
    font-size: 0.850rem !important;
}

.fs-sm {
    font-size: 0.875rem !important;
}

.hide-below-sm {
    display: block;
}

.show-below-sm {
    display: none;
}

@media (max-width: 799px),
(max-height: 999px) {
    .hide-below-sm {
        display: none;
    }

    .show-below-sm {
        display: block;
        /* or inline / inline-block / flex as needed */
    }
}