body {
    max-width: 1600px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.deployment-banner {
    color: black;
    width: 100%;
    padding: 2px 0;
    text-align: center;
}

*[data-bs-toggle="tooltip"]:not(a) {
    cursor: context-menu;
}

*[data-clipboard]{
    cursor: pointer;
}

/*
===============================================================================
*/
/* arrow line between to stacked dates */
.dates-stacked-arrow {
    position: relative;
    font-variant-numeric: tabular-nums;
}

/* horizontal and vertical line */
.arrow-line {
    position: absolute;
    left: -12px; /* start the arrow from the left of the lower date */
    top: 50%; /* center the arrow vertically relative to the lower date */
    width: 10px; /* horizontal line length */
    height: 50%; /* vertical line length */
    border-top: 1px solid black; /* upper horizontal line */
    border-left: 1px solid black; /* vertical line */
    border-bottom: 1px solid black; /* lower horizontal line */
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    transform: translateY(-50%); /* vertical centering */
}

/* arrowhead on top */
.arrow-line::after {
    content: '';
    position: absolute;
    top: -4px; /* vertical alignment */
    left: 75%; /* horizontal alignment */
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-left: 6px solid black; /* arrowhead */
    border-bottom: 4px solid transparent;
}

/*
===============================================================================
*/

.no-stretch {
    white-space: nowrap;
    width: 1px;
}

.info-block {
    position: relative;
    padding-left: 2.5em;

    .info-block-icon {
        position: absolute;
        top: calc(50% - 0.75em);
        left: 0;
        text-align: center;
    }
    .info-block-content {

    }
    .info-block-content ul,
    .info-block-content ol {
        padding-left: 1em;
    }
}

.item-logo {
    width: 1.5em;
}

.input-reset-marker {
    position: absolute;
    top: 1em;
    right: 2em;
    color: #444444;
}

.form-floating .input-reset-marker {
    top: 0;
    right: 0.5em;
}

.input-reset-marker:hover {
    color: #0088cc;
}

/*
===============================================================================
*/

/* smaller font sizes */
.fs-7 {
  font-size: 0.85rem;
}

/*
===============================================================================
*/
/* collapsing horizontal divider with icon */
.collapse-divider {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 10px;
  padding: 4px 0;
}
.collapse-divider hr {
  flex: 1;
  margin: 0;
  border: none;
  border-top: 1.5px solid var(--bs-border-color);
  transition: border-color 0.2s;
}
.collapse-divider:hover hr {
  border-color: var(--bs-secondary-color);
}
.collapse-icon {
  width:26px;
  height:26px;
  flex-shrink:0;
}
.collapse-icon i {
  transition: transform 0.25s ease;
}
.collapse-divider[aria-expanded="false"] .collapse-icon i {
  transform: rotate(-180deg);
}
/* certification groups in the member tab: chevron points right when closed */
.certification-group-toggle .fa-chevron-down {
  transition: transform 0.25s ease;
}
.certification-group-toggle[aria-expanded="false"] .fa-chevron-down {
  transform: rotate(-90deg);
}
/* the history switch fades with the group's collapse animation (0.35s); below md it wraps onto its own line, so it is removed there to leave no gap */
.certification-history-switch {
  transition: opacity 0.35s ease, visibility 0.35s;
}
.certification-group-toggle[aria-expanded="false"] ~ .certification-history-switch {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 767.98px) {
  .certification-group-toggle[aria-expanded="false"] ~ .certification-history-switch {
    display: none;
  }
}
/* no rotation or fading when the system asks for reduced motion, like Bootstrap's collapse */
@media (prefers-reduced-motion: reduce) {
  .certification-group-toggle .fa-chevron-down,
  .certification-history-switch {
    transition: none;
  }
}
/* keeps the rows' bottom margin inside, otherwise it collapses with the next header once the animation ends and the page jumps */
.certification-collapse {
  display: flow-root;
}
/* Bootstrap's striped background for single rows, so a group of rows can share one stripe */
.table > tbody > tr.table-stripe > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}
/* unread counter next to the inbox link*/
.inbox-badge {
  font-size: .7em;
  padding: .25em .5em;
  vertical-align: .2em;
}
.svg-container img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
}
/* course booking: member list and selection table share the row markup, each hides the other's cells */
.member-table.pick-list .selection-only, .member-table.selection .pick-only { display: none; }
.member-table .drag-handle { cursor: grab; }
.member-table tr.sortable-ghost { opacity: .4; }
.member-table tr.row-leaving { transition: opacity .25s; opacity: 0; }
.member-table tr.row-arrived td { animation: row-arrived 1.5s ease-out; }
@keyframes row-arrived { from { background-color: var(--bs-success-bg-subtle); } to { background-color: transparent; } }
.booking-selection-bar { background: var(--bs-body-bg); border-top: 1px solid var(--bs-border-color); box-shadow: 0 -2px 6px rgba(0, 0, 0, .08); z-index: 1020; }
