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


@media (min-width: 1200px) {
	.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
		max-width: 1200px;
	}
}

.table-action-menu .dropdown-menu {
	min-width: 12rem;
}

@media (max-width: 767.98px) {
	.mobile-card-table,
	.mobile-card-table tbody,
	.mobile-card-table tr,
	.mobile-card-table td {
		display: block;
		width: 100%;
	}

	.mobile-card-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.mobile-card-table {
		border: 0;
	}

	.mobile-card-table tr {
		margin-bottom: 1rem;
		border: 1px solid var(--bs-border-color);
		border-radius: var(--bs-border-radius);
	}

	.mobile-card-table td {
		display: grid;
		grid-template-columns: minmax(7.5rem, 40%) minmax(0, 1fr);
		gap: .5rem;
		align-items: center;
		padding: .75rem;
		border: 0;
		overflow-wrap: anywhere;
	}

	.mobile-card-table td + td {
		border-top: 1px solid var(--bs-border-color-translucent);
	}

	.mobile-card-table td::before {
		content: attr(data-label);
		font-weight: 600;
	}

	.mobile-card-table .table-actions {
		grid-template-columns: minmax(7.5rem, 40%) minmax(0, 1fr);
	}

	.mobile-card-table .table-action-menu {
		justify-self: end;
	}

	.mobile-card-table .token-copy-button {
		white-space: normal;
		text-align: left;
	}

	.mobile-card-table .table-actions > :not(.table-action-menu):not(.btn-toolbar) {
		grid-column: 2;
		max-width: 100%;
	}

	.mobile-card-table .table-actions .btn {
		max-width: 100%;
		white-space: normal;
	}
}
