﻿/* 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;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

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

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

/*Sidebar*/
#sidebar {
    z-index: 25;
    border-right: 2px solid #d3d3d3;
    margin-right: 15px;
    margin-left: -15px;
    min-width: 375px;
    max-width: 40vw;
    overflow-y: auto
}

    #sidebar a, #sidebar a:focus, #sidebar a:hover {
        color: inherit
    }

    #sidebar .sidebar-header {
        padding: 20px
    }

        #sidebar .sidebar-header h4 {
            color: inherit;
            padding: 0
        }

    #sidebar > ul {
        padding: 0;
        margin: 0
    }

    #sidebar + div {
        padding: 45px 0;
        margin: 0 45px
    }

    #sidebar > ul > li {
        font-weight: 700
    }

    #sidebar > ul ul {
        font-weight: 400;
        padding-left: 15px
    }

    #sidebar ul p {
        color: #fff;
        padding: 10px
    }

    #sidebar .sidebar-element-link, #sidebar ul li > a {
        padding: 10px;
        font-size: 1.1em;
        display: block
    }

        #sidebar .sidebar-element-link-container:hover, #sidebar ul li > a:hover {
            background: rgba(0,0,0,.05)
        }

    #sidebar .sidebar-header.active, #sidebar li.active > .sidebar-element-link-container, #sidebar ul li.active > a {
        color: #fff;
        background: #007c41
    }

    #sidebar a.warning, #sidebar a[data-toggle=collapse] {
        position: relative
    }

    #sidebar a[aria-expanded=false]:before, #sidebar a[aria-expanded=true]:before {
        content: "\f054";
        display: block;
        position: absolute;
        right: 20px;
        top: 13px;
        font-family: FontAwesome;
        font-size: .75em
    }

    #sidebar a[aria-expanded=true]:before {
        content: "\f078"
    }

    #sidebar a.warning:after {
        content: "";
        display: block;
        position: absolute;
        top: 10px;
        right: 40px;
        font-family: FontAwesome;
        font-weight: 400;
        text-shadow: 0 0 3px rgba(0,0,0,.75)
    }

    #sidebar a.warning.required:after {
        content: "\f071";
        color: gold
    }

    #sidebar a.warning.edits:after {
        content: "\f0f6";
        color: gold
    }

    #sidebar a.warning.incomplete:after {
        content: "";
        color: gold
    }

    #sidebar a[aria-expanded=true].warning:after {
        content: ""
    }

    #sidebar .sidebar-element-link-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    #sidebar .sidebar-element-link {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1
    }

    #sidebar .sidebar-element-link-icons {
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-right: .5em
    }
