*, ::after, ::before {
    box-sizing: border-box;
}

html, body {
    margin: 0px;
    height: 100%;

    --white: #ffffff;
    --white-with-opacity: rgba(250, 250, 250, 0.75);
    --light-blue: #d4ebf9;
    --light-blue-with-opacity: rgba(212, 235, 249, 0.15);
    --dark-blue: #031b38;
    --dark-blue-with-opacity: rgba(3, 27, 56, 0.05);
    --black: #333333;
    --dark-red: rgb(128, 16, 16);
    --border: 1px solid var(--dark-blue);
}

@media screen and (max-width: 1000px) {
    html, body {
        font-size: 3vw;
    }
}

.navbar {
    background-color: var(--dark-blue);
    padding: 0.5rem 0.5rem 0.5rem 0;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 2;
}

.navbar-brand {
    min-width: 250px;
    max-width: 250px;
    padding-left: 1rem;
}

.navbar a {
    color: var(--white);
}

.login-form, .password-reset-form {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.card > .alert {
    border-radius: 0px;
}

.hello {
    text-align: center;
    font-size: 3rem;
    color: slategray;
}

.full-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 3.5rem;
    right: 0;
    bottom: 0;
    left: 0;
}

.full-page.scrollable {
    overflow-y: scroll;
}

.title {
    text-align: center;
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.select2 {
    width: 100% !important;
}

.monitor-builder-form .card-header {
    font-size: 1.2em;
}

.monitor,
.progress-details {
    margin: 1em 2em;
    width: calc(100vw - 4em);
    border-radius: 4px;
}

.monitor > .wrapper,
.progress-details > .wrapper {
    width: 100%;
    position: relative;
    overflow-x: scroll;
    overflow-y: visible;
}

.monitor > .wrapper > table,
.progress-details > .wrapper > table {
    border-collapse: separate;
    border-spacing: 0px;
}

.monitor > .wrapper > table > * > tr > .cell,
.progress-details > .wrapper > table > * > tr > .cell {
    white-space: nowrap;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    text-align: center;
}

.monitor > .wrapper > table > thead > tr > th,
.progress-details > .wrapper > table > thead > tr > th {
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.monitor > .wrapper > table > * > tr > *:first-child, .monitor > .wrapper > table > * > tr > *:last-child,
.progress-details > .wrapper > table > * > tr > *:first-child, .progress-details > .wrapper > table > * > tr > *:last-child {
    position: sticky;
    left: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 1);
}

.monitor > .wrapper > table > * > tr > *:first-child,
.progress-details > .wrapper > table > * > tr > *:first-child {
    text-align: justify;
}

.monitor > .wrapper > table > * > tr > *:last-child,
.progress-details > .wrapper > table > * > tr > *:last-child {
    left: auto;
    right: 0;
}

.monitor > .wrapper > table > * > tr:hover > td:first-child, .monitor > .wrapper > table > * > tr:hover > td:last-child,
.progress-details > .wrapper > table > * > tr:hover > td:first-child, .progress-details > .wrapper > table > * > tr:hover > td:last-child {
    background: rgba(224, 224, 224, 1);
}

.lyceum {
    width: 38px;
    background-image: url("/static/imgs/logo.ico");
    background-size: 100% 100%;
}

.monitor .cell.link a {
    color: inherit;
}