﻿/* Fonts
-------------------------------------------------- */
@font-face {
    font-family: "Roboto Mono";
    src: url('/fonts/RobotoMono-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: "Roboto Mono";
    src: url('/fonts/RobotoMono-Bold.ttf');
    font-weight: bold;
}

body {
    font-family: "Roboto Mono";
}


/* Navbar etc
-------------------------------------------------- */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    padding-bottom: 0;
}

/* Provide sufficient contrast against white background */
a {
    color: #101010;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Black & white paginations
-------------------------------------------------- */

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

    .page-link:hover {
        z-index: 2;
        color: #121416;
        text-decoration: none;
        background-color: rgba(0,0,0,.03);
        border-color: #dee2e6;
    }

    .page-link:focus {
        z-index: 2;
        outline: 0;
        box-shadow: 0 0 0 0rem rgba(0,0,0,.03);
    }

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
    z-index: 1;
    color: #212529;
    background-color: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.03);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Ultra small paginations
-------------------------------------------------- */

.pagination-titlebar {
    margin: 0px;
}

.pagination-usm .page-link {
    padding: 0.10rem 0.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.pagination-usm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.pagination-usm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Stuff
-------------------------------------------------- */

.center-link {
    display: block;
    width: 100%;
    text-align: center;
}
