.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.card-header .button-right {
    float: right;
}

.datatable-Show input:disabled {
    background-color: #B22222;
}

nav.showoffice {
    background-color: #B22222;
}

nav.showoffice .nav-link {
    font-weight: bold;
    background-color: #000000;
    color: #fcfcfc;
}

table.cart {
    width: 100%;
    font-size: small;
}

table.cart th, table.cart td  {
    padding: .5rem;
}

label.block {
    display: block;
}

label.block input {
    margin-right: 5px;
}

.flex-item fieldset ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.flex-item fieldset legend {
    width: auto;
    line-height: 20px;
    font-size: inherit;
}

.flex-item fieldset {
    border: 1px solid black;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.flex-item {
    padding: .75rem;
    font-size: inherit;
}
.flex-item h4 {
    background: rgba(0, 0, 0, .05);
    margin: 0;
    font-size: inherit;
    padding: 10px;
}
.wrap {
    flex-wrap: wrap;
}
.flex-container {
    padding: 0;
    margin: 0;
    list-style: none;
    border: 0px solid silver;
    display: flex;
    font-size: 1rem;
}

.group_header  {
    background: #ccc;
    text-align: left;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.hidden {
    display: none;
}

#showallaround .dt-column-order::before, #showallaround .dt-column-order::after {
    visibility: hidden;
}

.truncate {
    max-width:0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.input_result, .input_entrynumber {
    min-width: 40%;
    max-width: 40%;
}

input.input_result::-webkit-outer-spin-button,
input.input_result::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.input_result[type=number]{
    -moz-appearance: textfield;
}

#showrevenue thead, #showcost thead {
    display: none;
}

.dataTable .btn {
    min-width: 42px;
}

table.details {
    width: 100%;
}

td.nowrap {white-space: nowrap;}

table.details td, table.details th {
    padding: 0.15rem !important;
}

.badge {
    padding: 2px 9px 4px 9px;
    border-radius: 9px;
    background-color: #999;
    color: #fff;
}

tr.break {
    background-color: #e1b86e !important;
}

tr.classinclass, tr.yes  {
    background-color: #a6cda6 !important;
    color: #000;
}

@media (min-width: 1000px) {
   .modal-xlg {
      max-width: 95%;
   }
}

table.dataTable tbody tr.over td {
  background-color: #ffa;
}

.container {
    max-width: 100% !important;
}

a.tab.active {
    color: #ffffff;
    background-color: #007bff !important;
    border-color: #007bff;
}

.tab-content {
    border: 1px solid #dee2e6;
    padding: 10px;
}

.tab-content>.tab-pane {
    /*overflow-x: auto;*/
}

.tab-pane .table-responsive {
    overflow-x: hidden;
}

.ck-editor__editable,
textarea {
    min-height: 150px;
}

table.dataTable th.dt-type-numeric, table.dataTable td.reorder {
 text-align: unset;
}

table.dataTable th.no-hide.dt-ordering-asc, table.dataTable th.no-hide.dt-ordering-desc {
padding: .75rem;
}

table.dataTable th.no-hide span.dt-column-order {
    display: none;
}

.datatable, .dataTable {
    width: 100% !important;
}

#allClasses_wrapper {
    max-height: 80vh;
    overflow-y: scroll;
}

#allClasses_wrapper div.row {
    margin: 0;
}

#classesModal {
    overflow-x: hidden;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
    margin-left: 5px;
}

.navbar-nav .nav-item {
    margin-left: 5px;
}


.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}
