﻿/* ===== Plain black & white look ===== */

body {
    color: #000;
    font-size: 1.1rem;
}

a, .btn-link {
    color: #000;
}

/* Black buttons with bold white text */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    font-weight: bold;
}

    .btn-primary:hover {
        background-color: #333 !important;
        border-color: #333 !important;
        color: #fff !important;
    }

.list-group-item-action:hover {
    background-color: #eee;
}

.loading-progress circle:last-child {
    stroke: #000;
}

/* Page layout */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.content {
    padding-top: 1.1rem;
}

/* Black sidebar */
.sidebar {
    background: #000 !important;
}

    .sidebar .top-row {
        min-height: 3.5rem;
        background-color: #000;
    }

    .sidebar .navbar-brand {
        color: #fff;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .sidebar .nav-item {
        font-size: 1rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

    /* Bold white menu links */
    .sidebar .nav-link {
        color: #fff !important;
        font-weight: bold;
        padding-left: 1rem !important;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
    }

        .sidebar .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        /* The page you're on: white box, black text */
        .sidebar .nav-link.active,
        .sidebar .nav-link.active:hover {
            background-color: #fff;
            color: #000 !important;
        }

/* Computer screens: sidebar on the left, no menu button */
@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

        .sidebar .navbar-toggler {
            display: none;
        }

        .sidebar .collapse {
            display: block;
        }

    .nav-scrollable {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* Blue "Find your part" buttons */
.btn-find,
.btn-find:focus,
.btn-find:active {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
    font-weight: bold;
}

    .btn-find:hover {
        background-color: #0a58ca !important;
        border-color: #0a58ca !important;
        color: #fff !important;
    }