/* Bootstrap 3's sizes on Bootstrap 5's look: its 14px font size, line
   height and headings' top margin. Delete this block to see plain
   Bootstrap 5. (Also in online-edit-react.css.) */
:root {
    font-size: 14px;
    --bs-body-line-height: 1.428571429;
}

h1, h2, h3 {
    margin-top: 20px;
}

/* Links underlined on hover and keyboard focus only, as with Bootstrap 3
   (see online-edit-react.css). */
a:not([class]) {
    text-decoration: none;
}

a:not([class]):hover,
a:not([class]):focus-visible {
    text-decoration: underline;
}

/* A form's button that looks like those links: Log Out. */
.link-button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--bs-link-color);
}

.link-button:hover,
.link-button:focus-visible {
    color: var(--bs-link-hover-color);
    text-decoration: underline;
}

#login-info {float: right; margin-top: -15px;}
#tw-icon-cont {
    margin:0;
    clear:both
}
#tw-icon {
    float:left;
    margin:10px 0px 0px 30px;
    width: 100px;
    height: 100px;
    /* Drawn at twice its size, for high-resolution screens */
    background: url("/online/images/header-icon.png") 0 0 / 100px 100px;
}

#tw-title {
    float:left;
    margin:38px 0px 0px 30px;
    width: 580px;
    height: 49px;
    background: url("/online/images/header-title.svg") 0 0 / 580px 49px no-repeat;
}
.clear {
    clear: both
}
#footer {
    text-align: center
}
.devise-form {
    width: 400px
}

/* Dark mode (color-mode.js), in the app's colours */
html[data-bs-theme=dark] {
    --bs-body-bg: #121212;
    --bs-body-bg-rgb: 18, 18, 18;
    --bs-body-color: #f5f5f5;
    --bs-body-color-rgb: 245, 245, 245;
    --bs-secondary-bg: #2a2a2a;
    --bs-secondary-bg-rgb: 42, 42, 42;
    --bs-tertiary-bg: #333333;
    --bs-tertiary-bg-rgb: 51, 51, 51;
    --bs-border-color: #444;
}

html[data-bs-theme=dark] .form-control {
    --bs-body-bg: #1e1e1e;
}

html[data-bs-theme=dark] #tw-title {
    background-image: url("/online/images/header-title-dark.svg");
}
