/* Custom CSS overrides for Django Admin with Jazzmin theme */

.select2-container--admin-autocomplete .select2-results__option--highlighted {
    background-color: #007bff !important;
    color: #ffffff !important;
}

/* django-admin-sortable2 inlines rendered with tabular-jazzmin.html */
fieldset.sortable table tr.form-row.has_original td.original p.sortable-handle {
    background: none;
    width: auto;
    margin: .5rem 0 0;
    white-space: nowrap;
    color: #6c757d;
}

fieldset.sortable td.original p.sortable-handle span.sort {
    float: none;
    margin: 0 0 0 .5rem;
}

/* Login page: the school logo is gold on transparent, so it sits on the brand
   navy instead of the light page background. */
.login-logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    box-sizing: border-box;
    padding: 1.25rem 1.5rem;
    border-radius: .5rem;
    background: #15284b;
}

/* Sidebar brand: square logo mark, shown without AdminLTE's dimming. */
.brand-link .brand-image {
    opacity: 1 !important;
    box-shadow: none !important;
}
