
/* Override enum badges to make them all the same */
span.badge.text-shadow.shadow-sm:not(.badge-info):not(.badge-primary):not(.badge-warning):not(.badge-success):not(.badge-danger):not(.badge-dark):not(.badge-light):not(.badge-black):not(.badge-white) {
    background-color: #535a60 !important;
    color: #fff !important;
}
span.badge.text-shadow.shadow-sm {
    text-shadow: none;
}

/* date picker: cells with prior days have too low of contrast */
.datepicker table tr td.new, .datepicker table tr td.old {
    color: #747474 !important;
}

/* Improve color contrast on Error pages when code is displayed */
p code {
    color: #d1377e;
}


/* Remove redundant bottom margin on related list elements, given that the iFrames already have bottom margin */
.main-content .content div.mb-4:not(.card):not(:first-of-type) {
    margin-bottom: 0 !important;
}

/* Reduce the top padding on card bodies (detail views) */
.main-content .content div.card div.card-body {
    padding-top: .25rem;
}

/* Reduce the top margin of show section fields on detail views */
.detail-view-detail-inner h5.font-weight-bold.mt-4 {
    margin-top: .75rem !important;
}

