html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.ws-home-div {
    background: #EEEEEE;
    padding: 40px;
    border-radius: 10px;
}

.ws-home-links {
    padding-top: 50px;
}

.submit-progress {
    position: fixed;
    top: 40%;
    left: 35%;
    height: 6em;
    padding-top: 2.3em;
    width: 600px;
    padding-left: 1.5em;
    background-color: white;
    color: black;
    z-index: 990;
    font-size: 22px;
    border: 4px solid Gray;
}

.submit-progress-bg {
    background-color: rgba(0, 0, 0, 0.55);
}

input[type=text]:disabled, input[type=text][readonly] {
    background-color: #D4D4D4;
    opacity: 0.7;
    color: #515967;
}

.pricecheck-row {
    background-color: rgba(230, 0, 35, 0.7) !important;
}

.below-cost-row > td {
    --bs-table-accent-bg: rgba(255, 214, 0, 0.7) !important;
    background-color: rgba(255, 214, 0, 0.7) !important;
}

/* Scoped by class, not by id: DataTables measures column widths on a clone that it strips the id from. */
table.dataTable.cr-compact-sort thead > tr > th {
    font-size: 0.8125rem;
}

table.dataTable.cr-compact-sort thead > tr > th.sorting,
table.dataTable.cr-compact-sort thead > tr > th.sorting_asc,
table.dataTable.cr-compact-sort thead > tr > th.sorting_desc {
    padding-right: 11px;
}

table.dataTable.cr-compact-sort thead > tr > th.sorting:before,
table.dataTable.cr-compact-sort thead > tr > th.sorting:after,
table.dataTable.cr-compact-sort thead > tr > th.sorting_asc:before,
table.dataTable.cr-compact-sort thead > tr > th.sorting_asc:after,
table.dataTable.cr-compact-sort thead > tr > th.sorting_desc:before,
table.dataTable.cr-compact-sort thead > tr > th.sorting_desc:after {
    right: 0;
}

@media (min-width: 576px) {
    #below-cost-modal .modal-dialog {
        max-width: 50%;
    }
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .container {
        max-width: 100%;
    }
}
