/**
  Author:    Ping Cheng Chung
  Partner:   Michael Blum, Shiyang Li, Sungyeon Han
  Date:      10/25/2021
  University of Utah
 */

/* 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. */

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;
    border-color: #a20000;
    background-color: #a20000;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    /* System Fonts as used by Medium and WordPress - https://css-tricks.com/snippets/css/system-font-stack/ */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2e2e2e;
    overflow-x: auto;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* -------------------------------------------------------------- */

/* System Fonts as used by Medium and WordPress */

/* https://css-tricks.com/snippets/css/system-font-stack/ */
body,
button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2e2e2e;
}

/* CSS for Navbar */
.nav-item {
    margin: 0 0.5em;
}

#nav-user-role {
    text-transform: capitalize;
    font-size: 12px;
}

#nav-user-indicator {
    display: flex;
    align-items: center;
}

/* Div holds user role and username */
#nav-user-indicator div {
    /* Adds a little space between username and the dropdown indicator */
    margin-right: 0.2em;
}

#nav-user img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 1em;
}

.navbar-brand img {
    height: 57px;
}

/* Taken from https://www.w3schools.com/howto/howto_css_animated_search.asp */
#global-search {
    width: 130px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

#global-search:focus {
    width: 250px;
}

/* Override bootstrap styles */
.btn-primary,
.btn-outline-primary {
    border-width: 2px;
    border-color: #a20000;
    color: #fff;
}

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled):focus,
    .btn-primary:hover,
    .btn-outline-primary:not(:disabled):not(.disabled):focus,
    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .btn-outline-primary:hover {
        background-color: #e22;
        border-color: #e22;
    }

.dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
    text-decoration: underline;
}

.nav-pills .nav-link.active {
    background-color: #a20000;
    border-color: #a20000;
}

body a {
    color: #a20000;
}

body a:hover {
    color: #e22;
}

.navbar{
    margin-bottom: 15px;
    z-index: 20;
    min-width: 1200px;
    padding-button:0;
}

.my-nav{
    flex-grow: 1;
    display: flex!important;
}