body {
    padding-top: calc(56px + 30px);
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

/* Add a simple line below display headings */
.display-4 {
    font-size: 2.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

/* Flashes (messages) styles */
.flashes {
    position: fixed;
    top: 20px;
    right: 0;
    z-index: 1050;
}
.flashes .inner {
    position: absolute;
    top: 0;
    right: 20px;
}
.flashes .toast {
    min-width: 270px;
}

/* Little color swatch to show calendar color */
#calendar_instance_calendarColor_help {
 position: relative;
}
#calendar_instance_calendarColor_help::after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: -38px;
    right: 5px;
    background: var(--calendar-color);
    border-radius: 3px;
    border: 1px solid #AAA;
}

/* Special indicator badge */
.badge.badge-indicator {
    height: 15px;
    width: 15px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    color: var(--bs-heading-color); /* Comes from Bootstrap */
}

/* Allow selection in the Bootstrap popover */
.popover .popover-body {
    user-select: text;
}

/* Github link icon */
.github-link {
    background-image: url("/images/github-mark.png");
    background-repeat: no-repeat;
    background-size: 23px;
    height: 23px;
    width: 23px;
}
[data-bs-theme=dark] .github-link {
    background-image: url("/images/github-mark-white.png");
}
