/* #jazzy-navbar.main-header.navbar.navbar-expand.navbar-white.navbar-light { background-color: black !important; }
#jazzy-navbar { background-color: red;}
*/

/* make all Select2 the same width. Neater 
 now updated via /templates/admin/slick-reporting/base.html */
.select2.select2-container { width: 50%!important; }


.risklow { 
  padding: 4px 6px 4px 6px; border-radius: 6px; color: white; background-color: mediumseagreen
}

.riskmedium { 
  padding: 4px 6px 4px 6px; border-radius: 6px; color: white; background-color: orange
}

.riskhigh { 
  padding: 4px 6px 4px 6px; border-radius: 6px; color: white; background-color: red
}

.riskextreme { 
  padding: 4px 6px 4px 6px; border-radius: 6px; color: white; background-color: darkred
}

/* https://github.com/farridav/django-jazzmin/issues/137 
 to make tables fixed width. But only for lists. Inlines needs different approach*/
#changelist-form table {
  table-layout: fixed; /* default is auto. try fixed */
}
#changelist-form .djn-checkbox-select-all {
  width: 50px;
}
fieldset.module table {
  word-wrap: break-word !important; white-space: normal !important;
}


/* move the Add another 'model' button to the left */
tr.add-row td a {
  float: left!important;
}

/* templates/admin/index.html uses details and summary for Dashboard 
 * Styling for caret */

 details summary {
  display: block;
}
 
/* app/templates/admin/model-inlinemodel-tabular.html */
a.custom-add-new-btn {
  margin: 6px 0 0 22px;
}

[class*="sidebar-dark-"] .nav-header {
  color: rgba(255, 255, 255, 0.6);
}
li.select2-selection__choice
{
  background-color: cadetblue!important;
}


.inline-group .form-row .field-box {
  width: 50px; /* Adjust the width as needed */
  display: inline-block;
}

.inline-group .form-row {
  margin-bottom: 5px; /* Adjust spacing between rows */
}

.vTimeField, .vDateField { 
  min-width: 100px; /* forms a bit thinner mainly for inlines */
}