﻿/* 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;
  }
}
@media (min-width: 1405px) {
  .container-fluid{
    width: 1400px;
  }
}
.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 */
}

#main {
    width: auto;
}

.siteTitle {
    color: #cdac50;
}

.PDF-file {
    font-size: 30px;
}

/* Admin dropdown: section labels are distinct from full-row navigation links. */
.menu > ul > li.admin-menu-parent {
    position: relative;
}

.menu > ul > li > ul.admin-menu {
    width: 350px;
    max-width: calc(100vw - 32px);
    left: auto;
    right: 0;
    padding: 10px !important; /* Override the shared menu's important padding. */
    border: 1px solid #65707a;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.menu > ul > li > ul.admin-menu > li {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0 !important; /* Override the shared mobile menu's list-item padding. */
}

.menu .admin-menu .admin-menu-heading {
    margin: 10px 6px 4px;
    padding: 12px 4px 2px;
    border-top: 1px solid #65707a;
    color: #e0c16e;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.menu .admin-menu > li:first-child .admin-menu-heading {
    margin-top: 0;
    padding-top: 4px;
    border-top: 0;
}

.menu > ul > li > ul.admin-menu a.admin-menu-link {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 30px 10px 16px;
    border: 0;
    border-radius: 4px;
    color: #f8f9fa;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
}

.menu .admin-menu-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: .7;
}

.menu > ul > li > ul.admin-menu a.admin-menu-link:hover,
.menu > ul > li > ul.admin-menu a.admin-menu-link:focus-visible {
    background-color: #56616c;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.menu > ul > li > ul.admin-menu a.admin-menu-link:focus-visible {
    outline: 2px solid #e0c16e;
    outline-offset: -2px;
}

@media only screen and (min-width: 960px) {
    .menu > ul > li.admin-menu-parent:focus-within > ul.admin-menu {
        display: block !important;
        opacity: 1 !important;
    }
}

@media only screen and (max-width: 959px) {
    .menu > ul > li > ul.admin-menu {
        width: 100%;
        max-width: 100%;
    }
}

