body {
	padding-top: 5rem;
}

/* Show hand cursor when hovered over buttons */
button:hover {
	cursor: pointer;
}

/* Fix dropdown arrow vertical alignment */
.dropdown-toggle::after {
	vertical-align: 0.18em !important;
}

/* Fix navbar */
.nav-link.btn {
	line-height: 1.5;
	margin: -1px 2px -1px 2px;
}

.btn.btn-link {
	padding: 0;
	vertical-align: inherit;
	cursor: pointer;
}

/* Remove rounded corners */
.card {
	border-radius: 0;
}

a.card-link {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

/* Remove rounded corners */
.list-group-item:first-child {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* Remove rounded corners */
.list-group-item:last-child {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* Override navbar background */
.navbar-background {
	background-color: rgba(16, 16, 64, 1) !important;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.6);
}

/* Remove bottom margin from last form-group in a card */
.card .form-group:last-child {
	margin-bottom: 0;
}

/* Bold form labels */
label {
	font-weight: 600;
	font-size: 90%;
	margin-bottom: 0.5em;
}

.title {
	font-weight: 200;
	margin-bottom: 0.5em;
}

.title a:hover {
	text-decoration: none;
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child),
h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
	margin-top: 0.75em;
}

.link:hover {
	text-decoration: none;
}

h1 .link,
h2 .link,
h3 .link,
h4 .link,
h5 .link,
h6 .link {
	display: none;
}

h1:hover .link,
h2:hover .link,
h3:hover .link,
h4:hover .link,
h5:hover .link,
h6:hover .link {
	display: inline;
}

.hover-item .hover-controls {
	display: none;
}

.hover-item:hover .hover-controls {
	display: block;
}

.hr-or {
	color: lightgray;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 16px 16px;
}

.hr-or::before {
	content: "";
	border-bottom: 1px solid lightgray;
	flex-grow: 1;
	margin-right: 4px;
}

.hr-or::after {
	content: "";
	border-bottom: 1px solid lightgray;
	flex-grow: 1;
	margin-left: 4px;
}

.table td {
	vertical-align: middle;
}

input {
	border: 1px solid lightgray;
}

table.inner-border {
  border-collapse: collapse;
}

table.inner-border td, table th {
  border: 1px solid silver;
}

table.inner-border>thead>tr:first-child>th,
table.inner-border>thead>tr:first-child>td,
table.inner-border>tbody>tr:first-child>th,
table.inner-border>tbody>tr:first-child>td {
  border-top: 0;
}

table.inner-border>tbody>tr:last-child>td {
  border-bottom: 0;
}

table.inner-border>thead>tr>td:first-child,
table.inner-border>thead>tr>th:first-child,
table.inner-border>tbody>tr>td:first-child,
table.inner-border>tbody>tr>th:first-child {
  border-left: 0;
}

table.inner-border>thead>tr>td:last-child,
table.inner-border>thead>tr>th:last-child,
table.inner-border>tbody>tr>td:last-child,
table.inner-border>tbody>tr>th:last-child {
  border-right: 0;
}

.opcodes>thead>tr>th,
.opcodes>tbody>tr>td {
	padding-left:  0.5em;
	padding-right: 0.5em;
}

.stack>tbody>tr>td {
	border: 1px solid dimgray;
	padding-left:  0.5em;
	padding-right: 0.5em;
}

.stack>tbody>tr>td:last-child {
	border-right: 0;
	width: 1em;
}

.opcode-table-compact td {
	padding-left:  0.4em;
	padding-right: 0.4em;
}

.icon {
	display: inline-block;
	border-radius: 20%;
	width: 1.25em;
	height: 1.25em;
	color: white;
	text-align: center;
	overflow: hidden;
	vertical-align: bottom;
	margin-right: 4px;
}

.icon-email {
	color: inherit;
}

.icon-email::before {
	content: "\f003";
}

.icon-flag {
	line-height: 100%;
}

.icon-flag img {
	vertical-align: baseline;
}

a.anchor {
	display: block;
	height: 5rem;
	margin-top: -5rem;
	visibility: hidden
}

a .fa-external-link {
	margin-left: 2px;
	font-size: 60%;
}

a.dropdown-toggle {
	cursor: pointer;
}
