﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* colours in logo - Blue = #0f47ff  Pinky/Maroon #a60067;  Background light blue #ccd8ff */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.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;
}
.bold {
    font-weight: bold;
}
.field-medium {
    min-width: 500px; 
    max-width: 900px; 
}

.admin-instruction {
    font-style: italic;
    color: #6c757d; 
    background-color: #f8f9fa; 
    padding: 10px;
    border-left: 4px solid #007bff; 
    border-radius: 4px;
}

/* 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 */
}


body {
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 68px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Content
 */

[role="main"] {
    padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
    [role="main"] {
        padding-top: 48px; /* Space for fixed navbar */
    }
}

/*
 * Navbar
 */

.navbar-brand {
    /*padding-top: .75rem;
    padding-bottom: .75rem;*/
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff
}

    .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2)
    }

.dropdown-menu {
    background-color: rgba(33, 37, 41, .7);
}

.dropdown-item {
    color: #fff;
}

.background {
    background-color: #ccd8ff;
    height: 600px;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.space-at-the-top {
    padding-top: 100px;
}

.narrow-card-deck {
    margin-left: 20px;
    margin-right: 20px;
}

@media screen and (min-width: 1100px) {
    .narrow-card-deck {
        margin-left: 200px;
        margin-right: 200px;
    }
}

/*override all "success" on buttons - Craig if you're not happy with this, can we use "danger" or "warning" or "info" instead? This is for buttons on the home page (Index & _Layout).*/
.btn-success, .btn-success:hover, .btn-success:active, .btn-success:visited, .btn-success:focus, .btn-success:active:focus {
    background-color: #A60067 !important; /* pinky maroon */
    border-color: #A60067 !important;
}

/* Tag editing */
.tags-input {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    width: 70%;
}

/*    .tags-input input {
        flex: 1;
        border: none;
        height: 32px;
        border: 1px solid crimson;
        border-radius: 2px;
        max-width: 200px;
    }

        .tags-input input:focus {
            border: none;
        }*/

    .tags-input ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 8px 0 0 0;
    }

        .tags-input ul li {
            margin-right: 8px;
            margin-bottom: 8px;
            padding: 8px;
            background-color: #ddd;
            border-radius: 4px;
        }
