.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Change body background color */
body {
  background-color: #f4f4f4;
}

/* Underline active and semi-active nav links */
.navbar-nav a.nav-link.semi-active, .navbar-nav a.nav-link.active {
  text-decoration: underline;
}

/* Event navigation bar */
/* Enables scrollbar */
.nav-underline {
  overflow-x: auto;
  overflow-y: hidden;
}
/* Fix active link color */
.nav-underline a.nav-link.active {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
}

/* Fix select2widget clear button */
.select2-container .select2-selection--single .select2-selection__clear {
  position: absolute !important;
}

/* Fix disabled form fields */
input.disabled[type='text'],
input.disabled[type='number'],
select.disabled,
textarea.disabled,
input.disabled ~ div.input-group-addon,
input.disabled[type='text'] + label,
input.disabled[type='number'] + label {
  background-color: var(--bs-secondary);
  pointer-events: none;
}
input[type='checkbox'].disabled {
  background-color: var(--bs-tertiary-color);
  pointer-events: none;
}

/* Enable focus border for django-prose-editor */
.ProseMirror {
  background-color: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
  border-radius: 0 !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: 254px;
}
.ProseMirror:focus {
  border: var(--bs-border-width) solid #939ac5 !important;
  box-shadow: 0 0 0 0.25rem rgba(39, 52, 138, 0.25);
  outline: none;
}

/* No mail sent striped background */
.no-mail-sent {
  background: repeating-linear-gradient(
    45deg,
    #ffffff,
    #ffffff 20px,
    var(--bs-secondary) 20px,
    var(--bs-secondary) 40px
  );
}

/* Pre without indentation */
pre {
  white-space: pre-line;
}

/* Smaller action buttons */
.btn-action {
  --bs-btn-padding-y: .125rem;
  --bs-btn-padding-x: .5rem;
  --bs-btn-font-size: .75rem;
}

/* Tables2 */
table.table th.ordered, table.table td.ordered {
  background-color: var(--bs-secondary) !important;
}
table.table th {
  white-space: nowrap;
}
table.table th.asc:after {
  content: '↑';
}
table.table th.desc:after {
  content: '↓';
}
