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

:root {
	--shadow: 0 0 2px 1px #aaa;
	--shadow-hover: 0 0 2px 2px white;
	--color: #333;
}

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;
}

.version {
	color: #aaa;
	position: absolute;
	top: 0;
	right: 3rem;
	font-size: 0.8em;
	size: 0.8em;
	height: 0.8em;
	user-select: none;
}
.privacy-policy {
	cursor: pointer;
	color: #52c3df !important;
}

a.site-switch {
	font-size: 0.8rem;
}

/* 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 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

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

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

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	white-space: nowrap;
	line-height: 60px;
	/* Vertically center the text there */
}
/* Header
-------------------------------------------------- */
.header {
	position: fixed;
	z-index: 999;
	width: 100%;
	top: 0;
}
.header-logo {
	margin: 8px 20px 10px 0;
}
.header-logo > a > img {
	width: 95px;
}
.dropdown-toggle::after {
	margin-left: 0.5em;
	vertical-align: 0.15em;
}
.dropdown-menu {
	background: #dfe6e8;
}
/* Login
-------------------------------------------------- */
.auth-page section {
	min-width: 20rem;
	max-width: 30rem;
}
/* Reports
-------------------------------------------------- */
.sidebar {
	background-color: #6a8194 !important;
}

.sidebar a.nav-link {
	color: white;
}

.sidebar a.nav-link.active {
	font-weight: 500;
}

html,
body {
	height: 100%;
	color: var(--color);
	font-family: "Montserrat";
}
/* Reports
-------------------------------------------------- */
.reports-menu .nav-link.active {
	background: white;
	color: #6a8194;
	font-weight: bold !important;
}

.reports-menu .nav-link:hover:not(.active) {
	background: #8ea8bd;
}
/* Admin
-------------------------------------------------- */
.admin-menu .nav-link.active {
	background: white;
	color: #6a8194;
	font-weight: bold !important;
}

.admin-menu .nav-link:hover:not(.active) {
	background: #8ea8bd;
}

/* User: Site switch
-------------------------------------------------- */
.site-switch .radio-group {
	border: 1px solid #bbb;
	border-radius: 3px;
	margin-bottom: 2rem;
}
.site-switch .form-check {
	padding: 1rem 2rem;
	cursor: pointer;
	border-bottom: 1px solid #bbb;
}
.site-switch .form-check:last-child {
	border-bottom: none;
}
.site-switch .form-check:hover {
	background: #eee;
}
.site-switch .form-check:checked {
	background: #6a8194;
}
