/* Hide the image and text on the application launcher page */
.jumbotron.jumbotron-fluid {
    display: none !important;
}

/* Make the highlight color of values in a ref field drop down darker to improve contrast */
.select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #001970 !important;
}

/* Change the info icon displayed when a side panel is enabled for a list view to use the fa-arrow-right-from-bracket icon */
.fa-info:before {
    content: "\f08b";
}

/* 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;
}

/* Hide any Generate Text links for form/create views, specifically hiding this on the Body field in Send Email modal */
span#id_gen_text_span {
    display: none;
}

/* 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;
}

/* Hide the Send Email button on Activities related lists */
a.btn.d-inline.send-mail-from-task-btn {
    display: none !important;
}

/* Make all detail views display with 2 columns instead of 1 for large screens */
@media (min-width: 992px) {
    .detail-view-detail-inner.col-md-12 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}